Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-04 23:59:02.795342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/57/image_04012025_23_57_03_136470_0003.jpg', '/home/pi/Desktop/images/04012025/23/58/image_04012025_23_58_02_224052_0000.jpg', '/home/pi/Desktop/images/04012025/23/58/image_04012025_23_58_02_224052_0001.jpg', '/home/pi/Desktop/images/04012025/23/58/image_04012025_23_58_02_224052_0002.jpg', '/home/pi/Desktop/images/04012025/23/58/image_04012025_23_58_02_224052_0003.jpg', '/home/pi/Desktop/images/04012025/23/59/image_04012025_23_59_02_347240_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/57/image_04012025_23_57_03_136470_0003.jpg
/home/pi/Desktop/images/04012025/23/58/image_04012025_23_58_02_224052_0000.jpg
/home/pi/Desktop/images/04012025/23/58/image_04012025_23_58_02_224052_0001.jpg
/home/pi/Desktop/images/04012025/23/58/image_04012025_23_58_02_224052_0002.jpg
/home/pi/Desktop/images/04012025/23/58/image_04012025_23_58_02_224052_0003.jpg
/home/pi/Desktop/images/04012025/23/59/image_04012025_23_59_02_347240_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":["1326823073","1326823070","1326823067","1326823075","1326823071","1326823074"],"photo_ids_order":["1326823067","1326823070","1326823071","1326823073","1326823074","1326823075"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eac1ef06926c1536d4999080c78402d6.jpg","text":"TemporaryFile(/tmp/multipartBody4925585010066097947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031619298,"filename":"image_04012025_23_58_02_224052_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b332683b418cac15e3c79b5385220c7c.jpg","text":"TemporaryFile(/tmp/multipartBody345799858008509471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031619298,"filename":"image_04012025_23_58_02_224052_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4b5384accaa02c38b7228d481ac692fc.jpg","text":"TemporaryFile(/tmp/multipartBody3292732129448548517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031619298,"filename":"image_04012025_23_57_03_136470_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/87d731c456152b76267a8230d20c1ca3.jpg","text":"TemporaryFile(/tmp/multipartBody4118757584182163861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031619298,"filename":"image_04012025_23_59_02_347240_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3917012b228090f9c9f41bda2e6b40fe.jpg","text":"TemporaryFile(/tmp/multipartBody2772457772005667717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031619298,"filename":"image_04012025_23_58_02_224052_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e60cb9e88a19a4a230265d55631bd6d4.jpg","text":"TemporaryFile(/tmp/multipartBody5529157854917688707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031619298,"filename":"image_04012025_23_58_02_224052_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326823071","file1":"1326823070","file0":"1326823067","file4":"1326823074","file5":"1326823075","file3":"1326823073"},"map_files_photo_id_array":[{"photo_id":"1326823075","filename":"file5"},{"photo_id":"1326823071","filename":"file2"},{"photo_id":"1326823074","filename":"file4"},{"photo_id":"1326823070","filename":"file1"},{"photo_id":"1326823067","filename":"file0"},{"photo_id":"1326823073","filename":"file3"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326823073":["hashtag1","hashtag2"]},{"1326823070":["hashtag1","hashtag2"]},{"1326823067":["hashtag1","hashtag2"]},{"1326823075":["hashtag1","hashtag2"]},{"1326823071":["hashtag1","hashtag2"]},{"1326823074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326823073, 1326823070, 1326823067, 1326823075, 1326823071, 1326823074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.67398643493652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 00:00:22.309422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 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_05012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'portfolio_id': 19417920, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1736031683000}
533
2466362
533
  port_id : 19417920
  datou_current_id : 2466362
in upload_from_sqlite, uploading in 19417920
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/00/image_05012025_00_00_02_531085_0000.jpg', '/home/pi/Desktop/images/05012025/00/00/image_05012025_00_00_02_531085_0001.jpg', '/home/pi/Desktop/images/05012025/00/00/image_05012025_00_00_02_531085_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/00/00/image_05012025_00_00_02_531085_0000.jpg
/home/pi/Desktop/images/05012025/00/00/image_05012025_00_00_02_531085_0001.jpg
/home/pi/Desktop/images/05012025/00/00/image_05012025_00_00_02_531085_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326823088","1326823084","1326823081"],"photo_ids_order":["1326823081","1326823084","1326823088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b67c749d6164af2995b60a1b70aa67c6.jpg","text":"TemporaryFile(/tmp/multipartBody9138961470359054226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031693419,"filename":"image_05012025_00_00_02_531085_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7d74bbea2191f82f2a33e0f60fc2c580.jpg","text":"TemporaryFile(/tmp/multipartBody134056525063477562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031693419,"filename":"image_05012025_00_00_02_531085_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/58618a94df5fb6e89de1c0ec57656e7d.jpg","text":"TemporaryFile(/tmp/multipartBody2074761730727624818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031693419,"filename":"image_05012025_00_00_02_531085_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326823088","file1":"1326823084","file0":"1326823081"},"map_files_photo_id_array":[{"photo_id":"1326823088","filename":"file2"},{"photo_id":"1326823084","filename":"file1"},{"photo_id":"1326823081","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326823088":["hashtag1","hashtag2"]},{"1326823084":["hashtag1","hashtag2"]},{"1326823081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326823088, 1326823084, 1326823081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.08113646507263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:01:03.058729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
  port_id : 19403015
  datou_current_id : 2464341
in upload_from_sqlite, uploading in 19403015
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04012025/23/59/image_04012025_23_59_02_347240_0001.jpg', '/home/pi/Desktop/images/04012025/23/59/image_04012025_23_59_02_347240_0002.jpg', '/home/pi/Desktop/images/04012025/23/59/image_04012025_23_59_02_347240_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2464341&datou=0
/home/pi/Desktop/images/04012025/23/59/image_04012025_23_59_02_347240_0001.jpg
/home/pi/Desktop/images/04012025/23/59/image_04012025_23_59_02_347240_0002.jpg
/home/pi/Desktop/images/04012025/23/59/image_04012025_23_59_02_347240_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326823100","1326823095","1326823092"],"photo_ids_order":["1326823092","1326823095","1326823100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eb148944a09a608f47210a746358701b.jpg","text":"TemporaryFile(/tmp/multipartBody7921634657999091741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031731943,"filename":"image_04012025_23_59_02_347240_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/07e9ccf1bc6575aad4554543dbb72b17.jpg","text":"TemporaryFile(/tmp/multipartBody7193528103843494601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031731943,"filename":"image_04012025_23_59_02_347240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/706a9b9823db1287839635bbc9882171.jpg","text":"TemporaryFile(/tmp/multipartBody2040362097431712312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031731943,"filename":"image_04012025_23_59_02_347240_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326823100","file1":"1326823095","file0":"1326823092"},"map_files_photo_id_array":[{"photo_id":"1326823100","filename":"file2"},{"photo_id":"1326823095","filename":"file1"},{"photo_id":"1326823092","filename":"file0"}],"portfolio_id":19403015,"hashtag_by_photo_ids":[{"1326823100":["hashtag1","hashtag2"]},{"1326823095":["hashtag1","hashtag2"]},{"1326823092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19403015 used, photo_id : ArrayBuffer(1326823100, 1326823095, 1326823092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.14630126953125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:01:52.450928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:02:03.015758
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/00/image_05012025_00_00_02_531085_0003.jpg', '/home/pi/Desktop/images/05012025/00/01/image_05012025_00_01_02_679061_0000.jpg', '/home/pi/Desktop/images/05012025/00/01/image_05012025_00_01_02_679061_0001.jpg', '/home/pi/Desktop/images/05012025/00/01/image_05012025_00_01_02_679061_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/00/00/image_05012025_00_00_02_531085_0003.jpg
/home/pi/Desktop/images/05012025/00/01/image_05012025_00_01_02_679061_0000.jpg
/home/pi/Desktop/images/05012025/00/01/image_05012025_00_01_02_679061_0001.jpg
/home/pi/Desktop/images/05012025/00/01/image_05012025_00_01_02_679061_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326823145","1326823148","1326823133","1326823129"],"photo_ids_order":["1326823129","1326823133","1326823145","1326823148"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d358d3ecb8d9db266c8bbc438357eed8.jpg","text":"TemporaryFile(/tmp/multipartBody564478179813490108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031793513,"filename":"image_05012025_00_01_02_679061_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a9ef8710acd56679a7db2b399ca1714.jpg","text":"TemporaryFile(/tmp/multipartBody1649132295987825791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031793513,"filename":"image_05012025_00_01_02_679061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7bb54e945eba1f41750b997f95410f8f.jpg","text":"TemporaryFile(/tmp/multipartBody2619048016281333856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031793513,"filename":"image_05012025_00_01_02_679061_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f7f998198665f074057da8c90aa4b20.jpg","text":"TemporaryFile(/tmp/multipartBody381547445550023049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031793513,"filename":"image_05012025_00_00_02_531085_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326823145","file1":"1326823133","file0":"1326823129","file3":"1326823148"},"map_files_photo_id_array":[{"photo_id":"1326823145","filename":"file2"},{"photo_id":"1326823133","filename":"file1"},{"photo_id":"1326823129","filename":"file0"},{"photo_id":"1326823148","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326823145":["hashtag1","hashtag2"]},{"1326823148":["hashtag1","hashtag2"]},{"1326823133":["hashtag1","hashtag2"]},{"1326823129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326823145, 1326823148, 1326823133, 1326823129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.02457070350647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:02:52.628270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:03:02.344185
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/01/image_05012025_00_01_02_679061_0003.jpg', '/home/pi/Desktop/images/05012025/00/02/image_05012025_00_02_02_840432_0000.jpg', '/home/pi/Desktop/images/05012025/00/02/image_05012025_00_02_02_840432_0001.jpg', '/home/pi/Desktop/images/05012025/00/02/image_05012025_00_02_02_840432_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/00/01/image_05012025_00_01_02_679061_0003.jpg
/home/pi/Desktop/images/05012025/00/02/image_05012025_00_02_02_840432_0000.jpg
/home/pi/Desktop/images/05012025/00/02/image_05012025_00_02_02_840432_0001.jpg
/home/pi/Desktop/images/05012025/00/02/image_05012025_00_02_02_840432_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326823310","1326823301","1326823305","1326823314"],"photo_ids_order":["1326823301","1326823305","1326823310","1326823314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/24a679874ab32413199b92646c6dc144.jpg","text":"TemporaryFile(/tmp/multipartBody4986841722631312337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031852848,"filename":"image_05012025_00_02_02_840432_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d3cd4946d5d0d75f57ffc783fa697f55.jpg","text":"TemporaryFile(/tmp/multipartBody9049901076040841978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031852848,"filename":"image_05012025_00_01_02_679061_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/423213c9bea3728cf86e1a2ad513573b.jpg","text":"TemporaryFile(/tmp/multipartBody4291897068457988342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031852848,"filename":"image_05012025_00_02_02_840432_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6fa504e6e12a4721b03e336cf4e08a4e.jpg","text":"TemporaryFile(/tmp/multipartBody4876043317331234944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031852848,"filename":"image_05012025_00_02_02_840432_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326823310","file1":"1326823305","file0":"1326823301","file3":"1326823314"},"map_files_photo_id_array":[{"photo_id":"1326823310","filename":"file2"},{"photo_id":"1326823305","filename":"file1"},{"photo_id":"1326823301","filename":"file0"},{"photo_id":"1326823314","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326823310":["hashtag1","hashtag2"]},{"1326823301":["hashtag1","hashtag2"]},{"1326823305":["hashtag1","hashtag2"]},{"1326823314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326823310, 1326823301, 1326823305, 1326823314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.749109506607056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:03:51.772086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:04:02.291498
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/02/image_05012025_00_02_02_840432_0003.jpg', '/home/pi/Desktop/images/05012025/00/03/image_05012025_00_03_03_083920_0000.jpg', '/home/pi/Desktop/images/05012025/00/03/image_05012025_00_03_03_083920_0001.jpg', '/home/pi/Desktop/images/05012025/00/03/image_05012025_00_03_03_083920_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/00/02/image_05012025_00_02_02_840432_0003.jpg
/home/pi/Desktop/images/05012025/00/03/image_05012025_00_03_03_083920_0000.jpg
/home/pi/Desktop/images/05012025/00/03/image_05012025_00_03_03_083920_0001.jpg
/home/pi/Desktop/images/05012025/00/03/image_05012025_00_03_03_083920_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326823484","1326823469","1326823523","1326823546"],"photo_ids_order":["1326823469","1326823484","1326823523","1326823546"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/360d986d36acf34b68454f5b14e6df36.jpg","text":"TemporaryFile(/tmp/multipartBody6160853810278826519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031912715,"filename":"image_05012025_00_03_03_083920_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d510cc6756a4426e61afc147812de527.jpg","text":"TemporaryFile(/tmp/multipartBody2198534412803082402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031912715,"filename":"image_05012025_00_02_02_840432_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/116b4a6ed47c6a9a0a78c3c4faec4221.jpg","text":"TemporaryFile(/tmp/multipartBody1215264112378349478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031912715,"filename":"image_05012025_00_03_03_083920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b97be4fc89613381fc782c49cf075068.jpg","text":"TemporaryFile(/tmp/multipartBody5417793474952269018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031912715,"filename":"image_05012025_00_03_03_083920_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326823523","file1":"1326823484","file0":"1326823469","file3":"1326823546"},"map_files_photo_id_array":[{"photo_id":"1326823523","filename":"file2"},{"photo_id":"1326823484","filename":"file1"},{"photo_id":"1326823469","filename":"file0"},{"photo_id":"1326823546","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326823484":["hashtag1","hashtag2"]},{"1326823469":["hashtag1","hashtag2"]},{"1326823523":["hashtag1","hashtag2"]},{"1326823546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326823484, 1326823469, 1326823523, 1326823546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.81216597557068 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:04:51.969575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:05:02.733110
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/03/image_05012025_00_03_03_083920_0003.jpg', '/home/pi/Desktop/images/05012025/00/04/image_05012025_00_04_02_203716_0000.jpg', '/home/pi/Desktop/images/05012025/00/04/image_05012025_00_04_02_203716_0001.jpg', '/home/pi/Desktop/images/05012025/00/04/image_05012025_00_04_02_203716_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/00/03/image_05012025_00_03_03_083920_0003.jpg
/home/pi/Desktop/images/05012025/00/04/image_05012025_00_04_02_203716_0000.jpg
/home/pi/Desktop/images/05012025/00/04/image_05012025_00_04_02_203716_0001.jpg
/home/pi/Desktop/images/05012025/00/04/image_05012025_00_04_02_203716_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326823561","1326823555","1326823552","1326823560"],"photo_ids_order":["1326823552","1326823555","1326823560","1326823561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f2a6faea8076c73b62ebe4a35291d784.jpg","text":"TemporaryFile(/tmp/multipartBody6140153109820724987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031973042,"filename":"image_05012025_00_04_02_203716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/65f6ea5badaf6c592b83ce02f935deb3.jpg","text":"TemporaryFile(/tmp/multipartBody5257301381127814049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031973042,"filename":"image_05012025_00_04_02_203716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aad8ba39cfa0cdab53c56c808d30760f.jpg","text":"TemporaryFile(/tmp/multipartBody525298473120180472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031973042,"filename":"image_05012025_00_03_03_083920_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f647c801da561853de43f5d139e76c15.jpg","text":"TemporaryFile(/tmp/multipartBody7239581847493734623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736031973042,"filename":"image_05012025_00_04_02_203716_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326823560","file1":"1326823555","file0":"1326823552","file3":"1326823561"},"map_files_photo_id_array":[{"photo_id":"1326823560","filename":"file2"},{"photo_id":"1326823555","filename":"file1"},{"photo_id":"1326823552","filename":"file0"},{"photo_id":"1326823561","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326823561":["hashtag1","hashtag2"]},{"1326823555":["hashtag1","hashtag2"]},{"1326823552":["hashtag1","hashtag2"]},{"1326823560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326823561, 1326823555, 1326823552, 1326823560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.2496280670166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:05:52.145886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:06:02.714186
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/04/image_05012025_00_04_02_203716_0003.jpg', '/home/pi/Desktop/images/05012025/00/05/image_05012025_00_05_02_326367_0000.jpg', '/home/pi/Desktop/images/05012025/00/05/image_05012025_00_05_02_326367_0001.jpg', '/home/pi/Desktop/images/05012025/00/05/image_05012025_00_05_02_326367_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/00/04/image_05012025_00_04_02_203716_0003.jpg
/home/pi/Desktop/images/05012025/00/05/image_05012025_00_05_02_326367_0000.jpg
/home/pi/Desktop/images/05012025/00/05/image_05012025_00_05_02_326367_0001.jpg
/home/pi/Desktop/images/05012025/00/05/image_05012025_00_05_02_326367_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326823597","1326823896","1326823899","1326823902"],"photo_ids_order":["1326823597","1326823896","1326823899","1326823902"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a91046ea517763779dfc480867c9204f.jpg","text":"TemporaryFile(/tmp/multipartBody863478067051145965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032033235,"filename":"image_05012025_00_04_02_203716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/153a783ebd9e5917fb43d333ada591b1.jpg","text":"TemporaryFile(/tmp/multipartBody4906872953898593039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032033235,"filename":"image_05012025_00_05_02_326367_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ca8e4150d7a7197d82dda9b7c9f4a0c6.jpg","text":"TemporaryFile(/tmp/multipartBody7925290140749093766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032033235,"filename":"image_05012025_00_05_02_326367_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1e4ff0ae51b4b299952a1cae186e8893.jpg","text":"TemporaryFile(/tmp/multipartBody1152344550616205932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032033235,"filename":"image_05012025_00_05_02_326367_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326823899","file1":"1326823896","file0":"1326823597","file3":"1326823902"},"map_files_photo_id_array":[{"photo_id":"1326823899","filename":"file2"},{"photo_id":"1326823896","filename":"file1"},{"photo_id":"1326823597","filename":"file0"},{"photo_id":"1326823902","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326823597":["hashtag1","hashtag2"]},{"1326823896":["hashtag1","hashtag2"]},{"1326823899":["hashtag1","hashtag2"]},{"1326823902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326823597, 1326823896, 1326823899, 1326823902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.54836654663086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:06:52.323029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:07:03.116567
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/05/image_05012025_00_05_02_326367_0003.jpg', '/home/pi/Desktop/images/05012025/00/06/image_05012025_00_06_02_619808_0000.jpg', '/home/pi/Desktop/images/05012025/00/06/image_05012025_00_06_02_619808_0001.jpg', '/home/pi/Desktop/images/05012025/00/06/image_05012025_00_06_02_619808_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/00/05/image_05012025_00_05_02_326367_0003.jpg
/home/pi/Desktop/images/05012025/00/06/image_05012025_00_06_02_619808_0000.jpg
/home/pi/Desktop/images/05012025/00/06/image_05012025_00_06_02_619808_0001.jpg
/home/pi/Desktop/images/05012025/00/06/image_05012025_00_06_02_619808_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.969408988952637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 00:07:22.601634
SELECT 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/00/05/image_05012025_00_05_02_326367_0003.jpg', '/home/pi/Desktop/images/05012025/00/06/image_05012025_00_06_02_619808_0000.jpg', '/home/pi/Desktop/images/05012025/00/06/image_05012025_00_06_02_619808_0001.jpg', '/home/pi/Desktop/images/05012025/00/06/image_05012025_00_06_02_619808_0002.jpg', '/home/pi/Desktop/images/05012025/00/06/image_05012025_00_06_02_619808_0003.jpg', '/home/pi/Desktop/images/05012025/00/07/image_05012025_00_07_02_757606_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/00/05/image_05012025_00_05_02_326367_0003.jpg
/home/pi/Desktop/images/05012025/00/06/image_05012025_00_06_02_619808_0000.jpg
/home/pi/Desktop/images/05012025/00/06/image_05012025_00_06_02_619808_0001.jpg
/home/pi/Desktop/images/05012025/00/06/image_05012025_00_06_02_619808_0002.jpg
/home/pi/Desktop/images/05012025/00/06/image_05012025_00_06_02_619808_0003.jpg
/home/pi/Desktop/images/05012025/00/07/image_05012025_00_07_02_757606_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":["1326824738","1326824705","1326824670","1326824736","1326824735","1326824636"],"photo_ids_order":["1326824636","1326824670","1326824705","1326824735","1326824736","1326824738"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c2ba6c8177d83aa6b025d4eef4469d48.jpg","text":"TemporaryFile(/tmp/multipartBody454805842182895126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032117725,"filename":"image_05012025_00_07_02_757606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4e3e041a3bb71572346a2b7fd2b74c82.jpg","text":"TemporaryFile(/tmp/multipartBody5307619488291778389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032117725,"filename":"image_05012025_00_06_02_619808_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/697bc7485d5ea0ef1afffbf3a6d2956d.jpg","text":"TemporaryFile(/tmp/multipartBody2662493558518095551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032117725,"filename":"image_05012025_00_06_02_619808_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0306ec814a37f36f217f566d3a8e9b5e.jpg","text":"TemporaryFile(/tmp/multipartBody3798265641069408204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032117725,"filename":"image_05012025_00_06_02_619808_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f63ab9e8c9263b933919a38479100f7b.jpg","text":"TemporaryFile(/tmp/multipartBody644481413963664688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032117725,"filename":"image_05012025_00_06_02_619808_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb41ff791be2fef48715cc444985c72a.jpg","text":"TemporaryFile(/tmp/multipartBody1617423805764361996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032117725,"filename":"image_05012025_00_05_02_326367_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326824705","file1":"1326824670","file0":"1326824636","file4":"1326824736","file5":"1326824738","file3":"1326824735"},"map_files_photo_id_array":[{"photo_id":"1326824738","filename":"file5"},{"photo_id":"1326824705","filename":"file2"},{"photo_id":"1326824736","filename":"file4"},{"photo_id":"1326824670","filename":"file1"},{"photo_id":"1326824636","filename":"file0"},{"photo_id":"1326824735","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326824738":["hashtag1","hashtag2"]},{"1326824705":["hashtag1","hashtag2"]},{"1326824670":["hashtag1","hashtag2"]},{"1326824736":["hashtag1","hashtag2"]},{"1326824735":["hashtag1","hashtag2"]},{"1326824636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326824738, 1326824705, 1326824670, 1326824736, 1326824735, 1326824636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.36716270446777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 00:08:21.818172
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/07/image_05012025_00_07_02_757606_0001.jpg', '/home/pi/Desktop/images/05012025/00/07/image_05012025_00_07_02_757606_0002.jpg', '/home/pi/Desktop/images/05012025/00/07/image_05012025_00_07_02_757606_0003.jpg', '/home/pi/Desktop/images/05012025/00/08/image_05012025_00_08_02_848329_0000.jpg', '/home/pi/Desktop/images/05012025/00/08/image_05012025_00_08_02_848329_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/00/07/image_05012025_00_07_02_757606_0001.jpg
/home/pi/Desktop/images/05012025/00/07/image_05012025_00_07_02_757606_0002.jpg
/home/pi/Desktop/images/05012025/00/07/image_05012025_00_07_02_757606_0003.jpg
/home/pi/Desktop/images/05012025/00/08/image_05012025_00_08_02_848329_0000.jpg
/home/pi/Desktop/images/05012025/00/08/image_05012025_00_08_02_848329_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":["1326824750","1326824749","1326824751","1326824748","1326824747"],"photo_ids_order":["1326824747","1326824748","1326824749","1326824750","1326824751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d5619283d3b95d84c17fc5c5fbe5effb.jpg","text":"TemporaryFile(/tmp/multipartBody645701408069845148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032174597,"filename":"image_05012025_00_08_02_848329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e58634cd4e0fd06794f9dcd872fe2047.jpg","text":"TemporaryFile(/tmp/multipartBody7303019838965909003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032174597,"filename":"image_05012025_00_07_02_757606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce8a831fafc392ff39bf4a69f77df51b.jpg","text":"TemporaryFile(/tmp/multipartBody6047627140637277777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032174597,"filename":"image_05012025_00_08_02_848329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/949407651b689759e174c2ecdc7db731.jpg","text":"TemporaryFile(/tmp/multipartBody3786708125209121598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032174597,"filename":"image_05012025_00_07_02_757606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f123c1f704946718a864e78bf3be55cd.jpg","text":"TemporaryFile(/tmp/multipartBody6040923472777873671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032174597,"filename":"image_05012025_00_07_02_757606_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326824749","file1":"1326824748","file0":"1326824747","file4":"1326824751","file3":"1326824750"},"map_files_photo_id_array":[{"photo_id":"1326824749","filename":"file2"},{"photo_id":"1326824751","filename":"file4"},{"photo_id":"1326824748","filename":"file1"},{"photo_id":"1326824747","filename":"file0"},{"photo_id":"1326824750","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326824750":["hashtag1","hashtag2"]},{"1326824749":["hashtag1","hashtag2"]},{"1326824751":["hashtag1","hashtag2"]},{"1326824748":["hashtag1","hashtag2"]},{"1326824747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326824750, 1326824749, 1326824751, 1326824748, 1326824747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 52.100722551345825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 00:09:21.930385
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/08/image_05012025_00_08_02_848329_0002.jpg', '/home/pi/Desktop/images/05012025/00/09/image_05012025_00_09_02_181777_0000.jpg', '/home/pi/Desktop/images/05012025/00/09/image_05012025_00_09_02_181777_0001.jpg', '/home/pi/Desktop/images/05012025/00/09/image_05012025_00_09_02_181777_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/00/08/image_05012025_00_08_02_848329_0002.jpg
/home/pi/Desktop/images/05012025/00/09/image_05012025_00_09_02_181777_0000.jpg
/home/pi/Desktop/images/05012025/00/09/image_05012025_00_09_02_181777_0001.jpg
/home/pi/Desktop/images/05012025/00/09/image_05012025_00_09_02_181777_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":["1326824764","1326824760","1326824763","1326824765"],"photo_ids_order":["1326824760","1326824763","1326824764","1326824765"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/79c53f319f13868cd6213bad75181196.jpg","text":"TemporaryFile(/tmp/multipartBody2788862268900549869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032232429,"filename":"image_05012025_00_09_02_181777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ee54d46f0586e9c4b35bcc60318b734.jpg","text":"TemporaryFile(/tmp/multipartBody6319704602626562002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032232429,"filename":"image_05012025_00_08_02_848329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/96fa20105444c422a5a758072f340394.jpg","text":"TemporaryFile(/tmp/multipartBody6896979768562988887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032232429,"filename":"image_05012025_00_09_02_181777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a6102280ccb141ed216d745c5f7535ce.jpg","text":"TemporaryFile(/tmp/multipartBody3502541838884873308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032232429,"filename":"image_05012025_00_09_02_181777_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326824764","file1":"1326824763","file0":"1326824760","file3":"1326824765"},"map_files_photo_id_array":[{"photo_id":"1326824764","filename":"file2"},{"photo_id":"1326824763","filename":"file1"},{"photo_id":"1326824760","filename":"file0"},{"photo_id":"1326824765","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326824764":["hashtag1","hashtag2"]},{"1326824760":["hashtag1","hashtag2"]},{"1326824763":["hashtag1","hashtag2"]},{"1326824765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326824764, 1326824760, 1326824763, 1326824765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.08562207221985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 00:10:22.118931
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/09/image_05012025_00_09_02_181777_0003.jpg', '/home/pi/Desktop/images/05012025/00/10/image_05012025_00_10_02_293037_0000.jpg', '/home/pi/Desktop/images/05012025/00/10/image_05012025_00_10_02_293037_0001.jpg', '/home/pi/Desktop/images/05012025/00/10/image_05012025_00_10_02_293037_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/00/09/image_05012025_00_09_02_181777_0003.jpg
/home/pi/Desktop/images/05012025/00/10/image_05012025_00_10_02_293037_0000.jpg
/home/pi/Desktop/images/05012025/00/10/image_05012025_00_10_02_293037_0001.jpg
/home/pi/Desktop/images/05012025/00/10/image_05012025_00_10_02_293037_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.944424390792847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:10:52.152454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:11:02.917700
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/09/image_05012025_00_09_02_181777_0003.jpg', '/home/pi/Desktop/images/05012025/00/10/image_05012025_00_10_02_293037_0000.jpg', '/home/pi/Desktop/images/05012025/00/10/image_05012025_00_10_02_293037_0001.jpg', '/home/pi/Desktop/images/05012025/00/10/image_05012025_00_10_02_293037_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/00/09/image_05012025_00_09_02_181777_0003.jpg
/home/pi/Desktop/images/05012025/00/10/image_05012025_00_10_02_293037_0000.jpg
/home/pi/Desktop/images/05012025/00/10/image_05012025_00_10_02_293037_0001.jpg
/home/pi/Desktop/images/05012025/00/10/image_05012025_00_10_02_293037_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326826018","1326826095","1326826098","1326826128"],"photo_ids_order":["1326826018","1326826095","1326826098","1326826128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c29a0045378ea0ad0598b0c86ef4b1f9.jpg","text":"TemporaryFile(/tmp/multipartBody4955375386970285390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032333288,"filename":"image_05012025_00_09_02_181777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b1f0bd5df5c330c7fefdc07d1dd245d.jpg","text":"TemporaryFile(/tmp/multipartBody2031017337786516351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032333288,"filename":"image_05012025_00_10_02_293037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8b48d0acc35cc18da967143cf9f6a1d6.jpg","text":"TemporaryFile(/tmp/multipartBody437362535502511770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032333288,"filename":"image_05012025_00_10_02_293037_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/216c2b20e2140562f824fb3e0a37bf60.jpg","text":"TemporaryFile(/tmp/multipartBody9169380318663635483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032333288,"filename":"image_05012025_00_10_02_293037_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326826098","file1":"1326826095","file0":"1326826018","file3":"1326826128"},"map_files_photo_id_array":[{"photo_id":"1326826098","filename":"file2"},{"photo_id":"1326826095","filename":"file1"},{"photo_id":"1326826018","filename":"file0"},{"photo_id":"1326826128","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326826018":["hashtag1","hashtag2"]},{"1326826095":["hashtag1","hashtag2"]},{"1326826098":["hashtag1","hashtag2"]},{"1326826128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326826018, 1326826095, 1326826098, 1326826128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.305524587631226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:11:52.353598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:12:02.869206
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/10/image_05012025_00_10_02_293037_0003.jpg', '/home/pi/Desktop/images/05012025/00/11/image_05012025_00_11_02_494859_0000.jpg', '/home/pi/Desktop/images/05012025/00/11/image_05012025_00_11_02_494859_0001.jpg', '/home/pi/Desktop/images/05012025/00/11/image_05012025_00_11_02_494859_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/00/10/image_05012025_00_10_02_293037_0003.jpg
/home/pi/Desktop/images/05012025/00/11/image_05012025_00_11_02_494859_0000.jpg
/home/pi/Desktop/images/05012025/00/11/image_05012025_00_11_02_494859_0001.jpg
/home/pi/Desktop/images/05012025/00/11/image_05012025_00_11_02_494859_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326826473","1326826523","1326826387","1326826384"],"photo_ids_order":["1326826384","1326826387","1326826473","1326826523"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f73f675a6513fb59bbb48d92ee7faebb.jpg","text":"TemporaryFile(/tmp/multipartBody3457085244434853067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032393269,"filename":"image_05012025_00_11_02_494859_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d45280c0699bc2e147ccca69230c9192.jpg","text":"TemporaryFile(/tmp/multipartBody8799907934552339721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032393269,"filename":"image_05012025_00_11_02_494859_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7a4dbcd27c9e5c3ed06e111364b1f19d.jpg","text":"TemporaryFile(/tmp/multipartBody8453375173326739611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032393269,"filename":"image_05012025_00_11_02_494859_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7fb2fafac3a58e0391008574275243fb.jpg","text":"TemporaryFile(/tmp/multipartBody4666845451270706007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032393269,"filename":"image_05012025_00_10_02_293037_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326826473","file1":"1326826387","file0":"1326826384","file3":"1326826523"},"map_files_photo_id_array":[{"photo_id":"1326826473","filename":"file2"},{"photo_id":"1326826387","filename":"file1"},{"photo_id":"1326826384","filename":"file0"},{"photo_id":"1326826523","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326826473":["hashtag1","hashtag2"]},{"1326826523":["hashtag1","hashtag2"]},{"1326826387":["hashtag1","hashtag2"]},{"1326826384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326826473, 1326826523, 1326826387, 1326826384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.559772968292236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:12:52.546832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:13:03.388602
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/11/image_05012025_00_11_02_494859_0003.jpg', '/home/pi/Desktop/images/05012025/00/12/image_05012025_00_12_02_682738_0000.jpg', '/home/pi/Desktop/images/05012025/00/12/image_05012025_00_12_02_682738_0001.jpg', '/home/pi/Desktop/images/05012025/00/12/image_05012025_00_12_02_682738_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/00/11/image_05012025_00_11_02_494859_0003.jpg
/home/pi/Desktop/images/05012025/00/12/image_05012025_00_12_02_682738_0000.jpg
/home/pi/Desktop/images/05012025/00/12/image_05012025_00_12_02_682738_0001.jpg
/home/pi/Desktop/images/05012025/00/12/image_05012025_00_12_02_682738_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326826565","1326826568","1326826541","1326826570"],"photo_ids_order":["1326826541","1326826565","1326826568","1326826570"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4c543fdb4423382abafc3f33af200206.jpg","text":"TemporaryFile(/tmp/multipartBody3807021130237838897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032453641,"filename":"image_05012025_00_12_02_682738_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11b49f9ae1dc4115a7af380fe95849bf.jpg","text":"TemporaryFile(/tmp/multipartBody9114747712932696195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032453641,"filename":"image_05012025_00_12_02_682738_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/614c76172a39f22648cf7278f11586c1.jpg","text":"TemporaryFile(/tmp/multipartBody5544621606201320075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032453641,"filename":"image_05012025_00_11_02_494859_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/33ba4a975a1d79b02a1e92a1e42b626c.jpg","text":"TemporaryFile(/tmp/multipartBody142892024795775295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032453641,"filename":"image_05012025_00_12_02_682738_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326826568","file1":"1326826565","file0":"1326826541","file3":"1326826570"},"map_files_photo_id_array":[{"photo_id":"1326826568","filename":"file2"},{"photo_id":"1326826565","filename":"file1"},{"photo_id":"1326826541","filename":"file0"},{"photo_id":"1326826570","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326826565":["hashtag1","hashtag2"]},{"1326826568":["hashtag1","hashtag2"]},{"1326826541":["hashtag1","hashtag2"]},{"1326826570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326826565, 1326826568, 1326826541, 1326826570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.254173278808594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:13:52.714319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:14:02.297968
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/12/image_05012025_00_12_02_682738_0003.jpg', '/home/pi/Desktop/images/05012025/00/13/image_05012025_00_13_02_878307_0000.jpg', '/home/pi/Desktop/images/05012025/00/13/image_05012025_00_13_02_878307_0001.jpg', '/home/pi/Desktop/images/05012025/00/13/image_05012025_00_13_02_878307_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/00/12/image_05012025_00_12_02_682738_0003.jpg
/home/pi/Desktop/images/05012025/00/13/image_05012025_00_13_02_878307_0000.jpg
/home/pi/Desktop/images/05012025/00/13/image_05012025_00_13_02_878307_0001.jpg
/home/pi/Desktop/images/05012025/00/13/image_05012025_00_13_02_878307_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326827229","1326827220","1326827217","1326827225"],"photo_ids_order":["1326827217","1326827220","1326827225","1326827229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8c4708c59a1ade76ae3c851163ec4b51.jpg","text":"TemporaryFile(/tmp/multipartBody1070428247196710791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032512578,"filename":"image_05012025_00_13_02_878307_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fa5fe7ad668db09f1fb5bd02acec503b.jpg","text":"TemporaryFile(/tmp/multipartBody4068646335075168702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032512578,"filename":"image_05012025_00_13_02_878307_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c14370cb4ce9b7bc311a2402b9b4bae0.jpg","text":"TemporaryFile(/tmp/multipartBody8251854840463785678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032512578,"filename":"image_05012025_00_12_02_682738_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b5d10eccd76f2ea165385e1a286259f9.jpg","text":"TemporaryFile(/tmp/multipartBody5402221952143009287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032512578,"filename":"image_05012025_00_13_02_878307_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326827225","file1":"1326827220","file0":"1326827217","file3":"1326827229"},"map_files_photo_id_array":[{"photo_id":"1326827225","filename":"file2"},{"photo_id":"1326827220","filename":"file1"},{"photo_id":"1326827217","filename":"file0"},{"photo_id":"1326827229","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326827229":["hashtag1","hashtag2"]},{"1326827220":["hashtag1","hashtag2"]},{"1326827217":["hashtag1","hashtag2"]},{"1326827225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326827229, 1326827220, 1326827217, 1326827225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28349304199219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:14:51.881822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:15:02.647962
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/13/image_05012025_00_13_02_878307_0003.jpg', '/home/pi/Desktop/images/05012025/00/14/image_05012025_00_14_03_171339_0000.jpg', '/home/pi/Desktop/images/05012025/00/14/image_05012025_00_14_03_171339_0001.jpg', '/home/pi/Desktop/images/05012025/00/14/image_05012025_00_14_03_171339_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/00/13/image_05012025_00_13_02_878307_0003.jpg
/home/pi/Desktop/images/05012025/00/14/image_05012025_00_14_03_171339_0000.jpg
/home/pi/Desktop/images/05012025/00/14/image_05012025_00_14_03_171339_0001.jpg
/home/pi/Desktop/images/05012025/00/14/image_05012025_00_14_03_171339_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326827505","1326827480","1326827627","1326827476"],"photo_ids_order":["1326827476","1326827480","1326827505","1326827627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/22f2b6134b53b5a9ad981a100a75a41e.jpg","text":"TemporaryFile(/tmp/multipartBody7182950812465623362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032573139,"filename":"image_05012025_00_14_03_171339_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/90255a10953efd147a95795b94990903.jpg","text":"TemporaryFile(/tmp/multipartBody4916705738293025541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032573139,"filename":"image_05012025_00_14_03_171339_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ba87c5f04be08f6c811f179deede73d8.jpg","text":"TemporaryFile(/tmp/multipartBody8299963403988690379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032573139,"filename":"image_05012025_00_14_03_171339_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f7d8e6fc3328c3cd26200fe907994686.jpg","text":"TemporaryFile(/tmp/multipartBody4058629420407888242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032573139,"filename":"image_05012025_00_13_02_878307_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326827505","file1":"1326827480","file0":"1326827476","file3":"1326827627"},"map_files_photo_id_array":[{"photo_id":"1326827505","filename":"file2"},{"photo_id":"1326827480","filename":"file1"},{"photo_id":"1326827476","filename":"file0"},{"photo_id":"1326827627","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326827505":["hashtag1","hashtag2"]},{"1326827480":["hashtag1","hashtag2"]},{"1326827627":["hashtag1","hashtag2"]},{"1326827476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326827505, 1326827480, 1326827627, 1326827476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.59770965576172 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:15:52.048989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:16:02.715445
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/14/image_05012025_00_14_03_171339_0003.jpg', '/home/pi/Desktop/images/05012025/00/15/image_05012025_00_15_02_250166_0000.jpg', '/home/pi/Desktop/images/05012025/00/15/image_05012025_00_15_02_250166_0001.jpg', '/home/pi/Desktop/images/05012025/00/15/image_05012025_00_15_02_250166_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/00/14/image_05012025_00_14_03_171339_0003.jpg
/home/pi/Desktop/images/05012025/00/15/image_05012025_00_15_02_250166_0000.jpg
/home/pi/Desktop/images/05012025/00/15/image_05012025_00_15_02_250166_0001.jpg
/home/pi/Desktop/images/05012025/00/15/image_05012025_00_15_02_250166_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326827670","1326827678","1326827683","1326827673"],"photo_ids_order":["1326827670","1326827673","1326827678","1326827683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a441dff61c7c27e01153fc140995eb7.jpg","text":"TemporaryFile(/tmp/multipartBody3996248020051045736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032633223,"filename":"image_05012025_00_14_03_171339_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8e2bd76ed478349027cf3514989a7b59.jpg","text":"TemporaryFile(/tmp/multipartBody8759768092998895834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032633223,"filename":"image_05012025_00_15_02_250166_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/950964febdc13dcc4ab76b84b6729a18.jpg","text":"TemporaryFile(/tmp/multipartBody7942110873845631945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032633223,"filename":"image_05012025_00_15_02_250166_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/12cbbcffa0e195a5d45fac6abf39f18b.jpg","text":"TemporaryFile(/tmp/multipartBody2678109803630450406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032633223,"filename":"image_05012025_00_15_02_250166_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326827678","file1":"1326827673","file0":"1326827670","file3":"1326827683"},"map_files_photo_id_array":[{"photo_id":"1326827678","filename":"file2"},{"photo_id":"1326827673","filename":"file1"},{"photo_id":"1326827670","filename":"file0"},{"photo_id":"1326827683","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326827670":["hashtag1","hashtag2"]},{"1326827678":["hashtag1","hashtag2"]},{"1326827683":["hashtag1","hashtag2"]},{"1326827673":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326827670, 1326827678, 1326827683, 1326827673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.20454216003418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:16:52.202856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:17:03.010948
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/15/image_05012025_00_15_02_250166_0003.jpg', '/home/pi/Desktop/images/05012025/00/16/image_05012025_00_16_02_490000_0000.jpg', '/home/pi/Desktop/images/05012025/00/16/image_05012025_00_16_02_490000_0001.jpg', '/home/pi/Desktop/images/05012025/00/16/image_05012025_00_16_02_490000_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/00/15/image_05012025_00_15_02_250166_0003.jpg
/home/pi/Desktop/images/05012025/00/16/image_05012025_00_16_02_490000_0000.jpg
/home/pi/Desktop/images/05012025/00/16/image_05012025_00_16_02_490000_0001.jpg
/home/pi/Desktop/images/05012025/00/16/image_05012025_00_16_02_490000_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326827703","1326827695","1326827698","1326827707"],"photo_ids_order":["1326827695","1326827698","1326827703","1326827707"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/38af7da0e7abcc7577856ef1f9eef35d.jpg","text":"TemporaryFile(/tmp/multipartBody4150348861895106656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032693473,"filename":"image_05012025_00_16_02_490000_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e82a86cbbbd61d8f38fbbe63dfb354a1.jpg","text":"TemporaryFile(/tmp/multipartBody1720619498275639667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032693473,"filename":"image_05012025_00_15_02_250166_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f7f67c798d14653bbd784eeb2723464.jpg","text":"TemporaryFile(/tmp/multipartBody2019802774901861414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032693473,"filename":"image_05012025_00_16_02_490000_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9f7f9b990da42e08309ea3dc491ec96.jpg","text":"TemporaryFile(/tmp/multipartBody5469097924488898666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032693473,"filename":"image_05012025_00_16_02_490000_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326827703","file1":"1326827698","file0":"1326827695","file3":"1326827707"},"map_files_photo_id_array":[{"photo_id":"1326827703","filename":"file2"},{"photo_id":"1326827698","filename":"file1"},{"photo_id":"1326827695","filename":"file0"},{"photo_id":"1326827707","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326827703":["hashtag1","hashtag2"]},{"1326827695":["hashtag1","hashtag2"]},{"1326827698":["hashtag1","hashtag2"]},{"1326827707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326827703, 1326827695, 1326827698, 1326827707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.98736500740051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:17:52.352800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:18:02.960008
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/16/image_05012025_00_16_02_490000_0003.jpg', '/home/pi/Desktop/images/05012025/00/17/image_05012025_00_17_02_633674_0001.jpg', '/home/pi/Desktop/images/05012025/00/17/image_05012025_00_17_02_633674_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/00/16/image_05012025_00_16_02_490000_0003.jpg
/home/pi/Desktop/images/05012025/00/17/image_05012025_00_17_02_633674_0001.jpg
/home/pi/Desktop/images/05012025/00/17/image_05012025_00_17_02_633674_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326827724","1326827721","1326827719"],"photo_ids_order":["1326827719","1326827721","1326827724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/509b6f3fd7a57e1c540777bd62f8a89e.jpg","text":"TemporaryFile(/tmp/multipartBody4996813896952812502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032750853,"filename":"image_05012025_00_17_02_633674_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb630e1acba5c23507273f0fb7097fd2.jpg","text":"TemporaryFile(/tmp/multipartBody4107342929829896080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032750853,"filename":"image_05012025_00_17_02_633674_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7826a8bbc5ef0bc1d5eb580b64a5731c.jpg","text":"TemporaryFile(/tmp/multipartBody2114569956734274421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032750853,"filename":"image_05012025_00_16_02_490000_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326827724","file1":"1326827721","file0":"1326827719"},"map_files_photo_id_array":[{"photo_id":"1326827724","filename":"file2"},{"photo_id":"1326827721","filename":"file1"},{"photo_id":"1326827719","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326827724":["hashtag1","hashtag2"]},{"1326827721":["hashtag1","hashtag2"]},{"1326827719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326827724, 1326827721, 1326827719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.391077280044556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:18:52.516273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:19:03.385128
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/17/image_05012025_00_17_02_633674_0003.jpg', '/home/pi/Desktop/images/05012025/00/18/image_05012025_00_18_02_836666_0000.jpg', '/home/pi/Desktop/images/05012025/00/18/image_05012025_00_18_02_836666_0001.jpg', '/home/pi/Desktop/images/05012025/00/18/image_05012025_00_18_02_836666_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/00/17/image_05012025_00_17_02_633674_0003.jpg
/home/pi/Desktop/images/05012025/00/18/image_05012025_00_18_02_836666_0000.jpg
/home/pi/Desktop/images/05012025/00/18/image_05012025_00_18_02_836666_0001.jpg
/home/pi/Desktop/images/05012025/00/18/image_05012025_00_18_02_836666_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326827769","1326827763","1326827765","1326827772"],"photo_ids_order":["1326827763","1326827765","1326827769","1326827772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5e3eab54cd19b24615fc96c6bd452bda.jpg","text":"TemporaryFile(/tmp/multipartBody1952127882487845386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032814028,"filename":"image_05012025_00_18_02_836666_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a714997ed33a1b0e3152dc6fa3e12b71.jpg","text":"TemporaryFile(/tmp/multipartBody5730903729291921228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032814028,"filename":"image_05012025_00_17_02_633674_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb3415bf23670a582b4923d9c1db5f5d.jpg","text":"TemporaryFile(/tmp/multipartBody8006904243102765102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032814028,"filename":"image_05012025_00_18_02_836666_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a51c116aa25e8865e060cffc121d8842.jpg","text":"TemporaryFile(/tmp/multipartBody1932606703460300452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032814028,"filename":"image_05012025_00_18_02_836666_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326827769","file1":"1326827765","file0":"1326827763","file3":"1326827772"},"map_files_photo_id_array":[{"photo_id":"1326827769","filename":"file2"},{"photo_id":"1326827765","filename":"file1"},{"photo_id":"1326827763","filename":"file0"},{"photo_id":"1326827772","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326827769":["hashtag1","hashtag2"]},{"1326827763":["hashtag1","hashtag2"]},{"1326827765":["hashtag1","hashtag2"]},{"1326827772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326827769, 1326827763, 1326827765, 1326827772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.307595014572144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:19:52.705105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:20:02.313781
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/18/image_05012025_00_18_02_836666_0003.jpg', '/home/pi/Desktop/images/05012025/00/19/image_05012025_00_19_02_910658_0000.jpg', '/home/pi/Desktop/images/05012025/00/19/image_05012025_00_19_02_910658_0001.jpg', '/home/pi/Desktop/images/05012025/00/19/image_05012025_00_19_02_910658_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/00/18/image_05012025_00_18_02_836666_0003.jpg
/home/pi/Desktop/images/05012025/00/19/image_05012025_00_19_02_910658_0000.jpg
/home/pi/Desktop/images/05012025/00/19/image_05012025_00_19_02_910658_0001.jpg
/home/pi/Desktop/images/05012025/00/19/image_05012025_00_19_02_910658_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326827778","1326827783","1326827786","1326827780"],"photo_ids_order":["1326827778","1326827780","1326827783","1326827786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9bb28530a5ab6e6017d3945083e3ce30.jpg","text":"TemporaryFile(/tmp/multipartBody3721413516674253769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032872750,"filename":"image_05012025_00_18_02_836666_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/44d7ba2818779ea9d9f49a8cf57bec96.jpg","text":"TemporaryFile(/tmp/multipartBody1426019293443158932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032872750,"filename":"image_05012025_00_19_02_910658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5d5b5b62fdfa8b5117a3672d8a3951f2.jpg","text":"TemporaryFile(/tmp/multipartBody7207672242507720158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032872750,"filename":"image_05012025_00_19_02_910658_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/33438859db690e815110df97c823ab36.jpg","text":"TemporaryFile(/tmp/multipartBody6772114047369535849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032872750,"filename":"image_05012025_00_19_02_910658_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326827783","file1":"1326827780","file0":"1326827778","file3":"1326827786"},"map_files_photo_id_array":[{"photo_id":"1326827783","filename":"file2"},{"photo_id":"1326827780","filename":"file1"},{"photo_id":"1326827778","filename":"file0"},{"photo_id":"1326827786","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326827778":["hashtag1","hashtag2"]},{"1326827783":["hashtag1","hashtag2"]},{"1326827786":["hashtag1","hashtag2"]},{"1326827780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326827778, 1326827783, 1326827786, 1326827780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.06806659698486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:20:51.916235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:21:02.695634
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/19/image_05012025_00_19_02_910658_0003.jpg', '/home/pi/Desktop/images/05012025/00/20/image_05012025_00_20_03_087297_0000.jpg', '/home/pi/Desktop/images/05012025/00/20/image_05012025_00_20_03_087297_0001.jpg', '/home/pi/Desktop/images/05012025/00/20/image_05012025_00_20_03_087297_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/00/19/image_05012025_00_19_02_910658_0003.jpg
/home/pi/Desktop/images/05012025/00/20/image_05012025_00_20_03_087297_0000.jpg
/home/pi/Desktop/images/05012025/00/20/image_05012025_00_20_03_087297_0001.jpg
/home/pi/Desktop/images/05012025/00/20/image_05012025_00_20_03_087297_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326827823","1326827942","1326827824","1326827827"],"photo_ids_order":["1326827823","1326827824","1326827827","1326827942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a9e194b2f91953ac37e9361482f8e60e.jpg","text":"TemporaryFile(/tmp/multipartBody3088276700269897782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032933169,"filename":"image_05012025_00_19_02_910658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2bd9de1711c6014f3aee6424e21bc962.jpg","text":"TemporaryFile(/tmp/multipartBody8709568136852438431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032933169,"filename":"image_05012025_00_20_03_087297_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e53f004281b2a8b2dc56ac8c4fc78f7b.jpg","text":"TemporaryFile(/tmp/multipartBody5467348082871679740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032933169,"filename":"image_05012025_00_20_03_087297_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/72f4031ae5a509e659cae00507e1ae78.jpg","text":"TemporaryFile(/tmp/multipartBody4280748886111875963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032933169,"filename":"image_05012025_00_20_03_087297_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326827827","file1":"1326827824","file0":"1326827823","file3":"1326827942"},"map_files_photo_id_array":[{"photo_id":"1326827827","filename":"file2"},{"photo_id":"1326827824","filename":"file1"},{"photo_id":"1326827823","filename":"file0"},{"photo_id":"1326827942","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326827823":["hashtag1","hashtag2"]},{"1326827942":["hashtag1","hashtag2"]},{"1326827824":["hashtag1","hashtag2"]},{"1326827827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326827823, 1326827942, 1326827824, 1326827827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51609492301941 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:21:52.056799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:22:02.651089
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/20/image_05012025_00_20_03_087297_0003.jpg', '/home/pi/Desktop/images/05012025/00/21/image_05012025_00_21_02_209298_0000.jpg', '/home/pi/Desktop/images/05012025/00/21/image_05012025_00_21_02_209298_0001.jpg', '/home/pi/Desktop/images/05012025/00/21/image_05012025_00_21_02_209298_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/00/20/image_05012025_00_20_03_087297_0003.jpg
/home/pi/Desktop/images/05012025/00/21/image_05012025_00_21_02_209298_0000.jpg
/home/pi/Desktop/images/05012025/00/21/image_05012025_00_21_02_209298_0001.jpg
/home/pi/Desktop/images/05012025/00/21/image_05012025_00_21_02_209298_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326827994","1326827989","1326827997","1326827991"],"photo_ids_order":["1326827989","1326827991","1326827994","1326827997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3cffb80c7975df8b6a6abd04d1ed403e.jpg","text":"TemporaryFile(/tmp/multipartBody9121131288159977379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032993027,"filename":"image_05012025_00_21_02_209298_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7cebb1b32dd5427107f008f08dbf8067.jpg","text":"TemporaryFile(/tmp/multipartBody4436850494847334623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032993027,"filename":"image_05012025_00_20_03_087297_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6202fd859e1a74ec2c943b1f6f62ab63.jpg","text":"TemporaryFile(/tmp/multipartBody762751065186009988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032993027,"filename":"image_05012025_00_21_02_209298_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/878343cdac377d170c769313cd2f799e.jpg","text":"TemporaryFile(/tmp/multipartBody5110855677146690759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736032993027,"filename":"image_05012025_00_21_02_209298_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326827994","file1":"1326827991","file0":"1326827989","file3":"1326827997"},"map_files_photo_id_array":[{"photo_id":"1326827994","filename":"file2"},{"photo_id":"1326827991","filename":"file1"},{"photo_id":"1326827989","filename":"file0"},{"photo_id":"1326827997","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326827994":["hashtag1","hashtag2"]},{"1326827989":["hashtag1","hashtag2"]},{"1326827997":["hashtag1","hashtag2"]},{"1326827991":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326827994, 1326827989, 1326827997, 1326827991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.35150480270386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:22:52.234308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:23:03.068681
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/21/image_05012025_00_21_02_209298_0003.jpg', '/home/pi/Desktop/images/05012025/00/22/image_05012025_00_22_02_456189_0000.jpg', '/home/pi/Desktop/images/05012025/00/22/image_05012025_00_22_02_456189_0001.jpg', '/home/pi/Desktop/images/05012025/00/22/image_05012025_00_22_02_456189_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/00/21/image_05012025_00_21_02_209298_0003.jpg
/home/pi/Desktop/images/05012025/00/22/image_05012025_00_22_02_456189_0000.jpg
/home/pi/Desktop/images/05012025/00/22/image_05012025_00_22_02_456189_0001.jpg
/home/pi/Desktop/images/05012025/00/22/image_05012025_00_22_02_456189_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828006","1326828014","1326828008","1326828011"],"photo_ids_order":["1326828006","1326828008","1326828011","1326828014"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e4a0b4f4c2ff0a4043b85bd51504a084.jpg","text":"TemporaryFile(/tmp/multipartBody6802332051164921018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033053427,"filename":"image_05012025_00_21_02_209298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d10b4bef5951de2178847cd0ef6ceb81.jpg","text":"TemporaryFile(/tmp/multipartBody8701246780338142852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033053427,"filename":"image_05012025_00_22_02_456189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f4131f378a88fcc5c622c015a06e591.jpg","text":"TemporaryFile(/tmp/multipartBody7533852354242336336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033053427,"filename":"image_05012025_00_22_02_456189_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b65f520c809dd6460852e04dac5f6f0.jpg","text":"TemporaryFile(/tmp/multipartBody5432835054341050437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033053427,"filename":"image_05012025_00_22_02_456189_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828011","file1":"1326828008","file0":"1326828006","file3":"1326828014"},"map_files_photo_id_array":[{"photo_id":"1326828011","filename":"file2"},{"photo_id":"1326828008","filename":"file1"},{"photo_id":"1326828006","filename":"file0"},{"photo_id":"1326828014","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828006":["hashtag1","hashtag2"]},{"1326828014":["hashtag1","hashtag2"]},{"1326828008":["hashtag1","hashtag2"]},{"1326828011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828006, 1326828014, 1326828008, 1326828011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.521069288253784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:23:52.407385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:24:03.062595
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/22/image_05012025_00_22_02_456189_0003.jpg', '/home/pi/Desktop/images/05012025/00/23/image_05012025_00_23_02_616310_0000.jpg', '/home/pi/Desktop/images/05012025/00/23/image_05012025_00_23_02_616310_0001.jpg', '/home/pi/Desktop/images/05012025/00/23/image_05012025_00_23_02_616310_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/00/22/image_05012025_00_22_02_456189_0003.jpg
/home/pi/Desktop/images/05012025/00/23/image_05012025_00_23_02_616310_0000.jpg
/home/pi/Desktop/images/05012025/00/23/image_05012025_00_23_02_616310_0001.jpg
/home/pi/Desktop/images/05012025/00/23/image_05012025_00_23_02_616310_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828021","1326828024","1326828019","1326828028"],"photo_ids_order":["1326828019","1326828021","1326828024","1326828028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2097386d816ade3ed3cce93ef775dc38.jpg","text":"TemporaryFile(/tmp/multipartBody3567760749909737043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033113541,"filename":"image_05012025_00_23_02_616310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e0bdb240e422764e01b62a06c3215af5.jpg","text":"TemporaryFile(/tmp/multipartBody2804189808907351247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033113541,"filename":"image_05012025_00_23_02_616310_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eac8079d5483e574db091e5d8de19e03.jpg","text":"TemporaryFile(/tmp/multipartBody4373869887612076980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033113541,"filename":"image_05012025_00_22_02_456189_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f7da8becc94cf6ac41a7d92a7be9152a.jpg","text":"TemporaryFile(/tmp/multipartBody2435769252235930713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033113541,"filename":"image_05012025_00_23_02_616310_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828024","file1":"1326828021","file0":"1326828019","file3":"1326828028"},"map_files_photo_id_array":[{"photo_id":"1326828024","filename":"file2"},{"photo_id":"1326828021","filename":"file1"},{"photo_id":"1326828019","filename":"file0"},{"photo_id":"1326828028","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828021":["hashtag1","hashtag2"]},{"1326828024":["hashtag1","hashtag2"]},{"1326828019":["hashtag1","hashtag2"]},{"1326828028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828021, 1326828024, 1326828019, 1326828028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.38892078399658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:24:52.569052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:25:03.335109
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/23/image_05012025_00_23_02_616310_0003.jpg', '/home/pi/Desktop/images/05012025/00/24/image_05012025_00_24_02_829700_0000.jpg', '/home/pi/Desktop/images/05012025/00/24/image_05012025_00_24_02_829700_0001.jpg', '/home/pi/Desktop/images/05012025/00/24/image_05012025_00_24_02_829700_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/00/23/image_05012025_00_23_02_616310_0003.jpg
/home/pi/Desktop/images/05012025/00/24/image_05012025_00_24_02_829700_0000.jpg
/home/pi/Desktop/images/05012025/00/24/image_05012025_00_24_02_829700_0001.jpg
/home/pi/Desktop/images/05012025/00/24/image_05012025_00_24_02_829700_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828063","1326828059","1326828055","1326828066"],"photo_ids_order":["1326828055","1326828059","1326828063","1326828066"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/91710b7f4223f4e6044aa11ecb751420.jpg","text":"TemporaryFile(/tmp/multipartBody1006777136011259234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033173858,"filename":"image_05012025_00_24_02_829700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/84e781051e2b254ffc23aedb19fa97c2.jpg","text":"TemporaryFile(/tmp/multipartBody1077941044093314260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033173858,"filename":"image_05012025_00_24_02_829700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/43328de89451bb8d91f7b3c5873002cd.jpg","text":"TemporaryFile(/tmp/multipartBody1980212586908517848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033173858,"filename":"image_05012025_00_23_02_616310_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/270e97834a567aefad7349b309986133.jpg","text":"TemporaryFile(/tmp/multipartBody5871773889298491604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033173858,"filename":"image_05012025_00_24_02_829700_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828063","file1":"1326828059","file0":"1326828055","file3":"1326828066"},"map_files_photo_id_array":[{"photo_id":"1326828063","filename":"file2"},{"photo_id":"1326828059","filename":"file1"},{"photo_id":"1326828055","filename":"file0"},{"photo_id":"1326828066","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828063":["hashtag1","hashtag2"]},{"1326828059":["hashtag1","hashtag2"]},{"1326828055":["hashtag1","hashtag2"]},{"1326828066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828063, 1326828059, 1326828055, 1326828066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.860280990600586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:25:52.780330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:26:02.463065
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/24/image_05012025_00_24_02_829700_0003.jpg', '/home/pi/Desktop/images/05012025/00/25/image_05012025_00_25_03_086847_0000.jpg', '/home/pi/Desktop/images/05012025/00/25/image_05012025_00_25_03_086847_0001.jpg', '/home/pi/Desktop/images/05012025/00/25/image_05012025_00_25_03_086847_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/00/24/image_05012025_00_24_02_829700_0003.jpg
/home/pi/Desktop/images/05012025/00/25/image_05012025_00_25_03_086847_0000.jpg
/home/pi/Desktop/images/05012025/00/25/image_05012025_00_25_03_086847_0001.jpg
/home/pi/Desktop/images/05012025/00/25/image_05012025_00_25_03_086847_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828080","1326828074","1326828077","1326828072"],"photo_ids_order":["1326828072","1326828074","1326828077","1326828080"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0a45c4897e562a803f0b530c7fdd5ea8.jpg","text":"TemporaryFile(/tmp/multipartBody9207879396834411925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033233063,"filename":"image_05012025_00_25_03_086847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1508a6cdd6b08cdf06bed1f65c9931b4.jpg","text":"TemporaryFile(/tmp/multipartBody477899602278791921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033233063,"filename":"image_05012025_00_25_03_086847_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/705ae4f064e34839dca6742e3f7d8ff9.jpg","text":"TemporaryFile(/tmp/multipartBody1319243057489395912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033233063,"filename":"image_05012025_00_25_03_086847_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2c11881f934627efcd2ebe1bace3c4bb.jpg","text":"TemporaryFile(/tmp/multipartBody8283105579523732569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033233063,"filename":"image_05012025_00_24_02_829700_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828077","file1":"1326828074","file0":"1326828072","file3":"1326828080"},"map_files_photo_id_array":[{"photo_id":"1326828077","filename":"file2"},{"photo_id":"1326828074","filename":"file1"},{"photo_id":"1326828072","filename":"file0"},{"photo_id":"1326828080","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828080":["hashtag1","hashtag2"]},{"1326828074":["hashtag1","hashtag2"]},{"1326828077":["hashtag1","hashtag2"]},{"1326828072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828080, 1326828074, 1326828077, 1326828072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.19914746284485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:26:51.963462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:27:02.833381
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/25/image_05012025_00_25_03_086847_0003.jpg', '/home/pi/Desktop/images/05012025/00/26/image_05012025_00_26_03_131902_0000.jpg', '/home/pi/Desktop/images/05012025/00/26/image_05012025_00_26_03_131902_0001.jpg', '/home/pi/Desktop/images/05012025/00/26/image_05012025_00_26_03_131902_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/00/25/image_05012025_00_25_03_086847_0003.jpg
/home/pi/Desktop/images/05012025/00/26/image_05012025_00_26_03_131902_0000.jpg
/home/pi/Desktop/images/05012025/00/26/image_05012025_00_26_03_131902_0001.jpg
/home/pi/Desktop/images/05012025/00/26/image_05012025_00_26_03_131902_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.041000604629517 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 00:27:22.117555
SELECT 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/00/25/image_05012025_00_25_03_086847_0003.jpg', '/home/pi/Desktop/images/05012025/00/26/image_05012025_00_26_03_131902_0000.jpg', '/home/pi/Desktop/images/05012025/00/26/image_05012025_00_26_03_131902_0001.jpg', '/home/pi/Desktop/images/05012025/00/26/image_05012025_00_26_03_131902_0002.jpg', '/home/pi/Desktop/images/05012025/00/26/image_05012025_00_26_03_131902_0003.jpg', '/home/pi/Desktop/images/05012025/00/27/image_05012025_00_27_02_338087_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/00/25/image_05012025_00_25_03_086847_0003.jpg
/home/pi/Desktop/images/05012025/00/26/image_05012025_00_26_03_131902_0000.jpg
/home/pi/Desktop/images/05012025/00/26/image_05012025_00_26_03_131902_0001.jpg
/home/pi/Desktop/images/05012025/00/26/image_05012025_00_26_03_131902_0002.jpg
/home/pi/Desktop/images/05012025/00/26/image_05012025_00_26_03_131902_0003.jpg
/home/pi/Desktop/images/05012025/00/27/image_05012025_00_27_02_338087_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":["1326828105","1326828108","1326828101","1326828104","1326828103","1326828106"],"photo_ids_order":["1326828101","1326828103","1326828104","1326828105","1326828106","1326828108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/16d96b4ff883f6ac0667b04530031231.jpg","text":"TemporaryFile(/tmp/multipartBody6489992927983406909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033317460,"filename":"image_05012025_00_26_03_131902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e0fdb168fc3d8203388497242c6945fe.jpg","text":"TemporaryFile(/tmp/multipartBody4858615020256333765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033317460,"filename":"image_05012025_00_27_02_338087_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f84908e2ad8c4d724faa8d5f5df3eb8d.jpg","text":"TemporaryFile(/tmp/multipartBody624424833375122621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033317460,"filename":"image_05012025_00_25_03_086847_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/690ee70eafc257505f8a7dd9c28610dc.jpg","text":"TemporaryFile(/tmp/multipartBody7422371020940050519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033317460,"filename":"image_05012025_00_26_03_131902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b8ec72debf0052e3b2a3197f270f3dd0.jpg","text":"TemporaryFile(/tmp/multipartBody3559274394420831019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033317460,"filename":"image_05012025_00_26_03_131902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/840cad5e5a7ece26fe3bd3523c18cbe2.jpg","text":"TemporaryFile(/tmp/multipartBody63318143060418416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033317460,"filename":"image_05012025_00_26_03_131902_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828104","file1":"1326828103","file0":"1326828101","file4":"1326828106","file5":"1326828108","file3":"1326828105"},"map_files_photo_id_array":[{"photo_id":"1326828108","filename":"file5"},{"photo_id":"1326828104","filename":"file2"},{"photo_id":"1326828106","filename":"file4"},{"photo_id":"1326828103","filename":"file1"},{"photo_id":"1326828101","filename":"file0"},{"photo_id":"1326828105","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828105":["hashtag1","hashtag2"]},{"1326828108":["hashtag1","hashtag2"]},{"1326828101":["hashtag1","hashtag2"]},{"1326828104":["hashtag1","hashtag2"]},{"1326828103":["hashtag1","hashtag2"]},{"1326828106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828105, 1326828108, 1326828101, 1326828104, 1326828103, 1326828106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.65709900856018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 00:28:22.298010
SELECT 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/00/27/image_05012025_00_27_02_338087_0001.jpg', '/home/pi/Desktop/images/05012025/00/27/image_05012025_00_27_02_338087_0002.jpg', '/home/pi/Desktop/images/05012025/00/27/image_05012025_00_27_02_338087_0003.jpg', '/home/pi/Desktop/images/05012025/00/28/image_05012025_00_28_02_568512_0000.jpg', '/home/pi/Desktop/images/05012025/00/28/image_05012025_00_28_02_568512_0001.jpg', '/home/pi/Desktop/images/05012025/00/28/image_05012025_00_28_02_568512_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/00/27/image_05012025_00_27_02_338087_0001.jpg
/home/pi/Desktop/images/05012025/00/27/image_05012025_00_27_02_338087_0002.jpg
/home/pi/Desktop/images/05012025/00/27/image_05012025_00_27_02_338087_0003.jpg
/home/pi/Desktop/images/05012025/00/28/image_05012025_00_28_02_568512_0000.jpg
/home/pi/Desktop/images/05012025/00/28/image_05012025_00_28_02_568512_0001.jpg
/home/pi/Desktop/images/05012025/00/28/image_05012025_00_28_02_568512_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.969548225402832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:28:52.354317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:29:02.984110
SELECT 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/00/27/image_05012025_00_27_02_338087_0001.jpg', '/home/pi/Desktop/images/05012025/00/27/image_05012025_00_27_02_338087_0002.jpg', '/home/pi/Desktop/images/05012025/00/27/image_05012025_00_27_02_338087_0003.jpg', '/home/pi/Desktop/images/05012025/00/28/image_05012025_00_28_02_568512_0000.jpg', '/home/pi/Desktop/images/05012025/00/28/image_05012025_00_28_02_568512_0001.jpg', '/home/pi/Desktop/images/05012025/00/28/image_05012025_00_28_02_568512_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/00/27/image_05012025_00_27_02_338087_0001.jpg
/home/pi/Desktop/images/05012025/00/27/image_05012025_00_27_02_338087_0002.jpg
/home/pi/Desktop/images/05012025/00/27/image_05012025_00_27_02_338087_0003.jpg
/home/pi/Desktop/images/05012025/00/28/image_05012025_00_28_02_568512_0000.jpg
/home/pi/Desktop/images/05012025/00/28/image_05012025_00_28_02_568512_0001.jpg
/home/pi/Desktop/images/05012025/00/28/image_05012025_00_28_02_568512_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":["1326828162","1326828300","1326828294","1326828297","1326828183","1326828168"],"photo_ids_order":["1326828162","1326828168","1326828183","1326828294","1326828297","1326828300"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eadd63cce84eb0c0d982a4603de04c28.jpg","text":"TemporaryFile(/tmp/multipartBody9054672004966742893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033418492,"filename":"image_05012025_00_27_02_338087_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9dcde528e4cba3d784962b07a3982564.jpg","text":"TemporaryFile(/tmp/multipartBody5804739731453080522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033418492,"filename":"image_05012025_00_28_02_568512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/705b0cdbaa86610d753294afa76fc72d.jpg","text":"TemporaryFile(/tmp/multipartBody2398636206651288096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033418492,"filename":"image_05012025_00_28_02_568512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e96f2e418159248794c026cba6ef00fb.jpg","text":"TemporaryFile(/tmp/multipartBody4695922365524937147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033418492,"filename":"image_05012025_00_28_02_568512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/efd8d090b3260defbf7737eccbfd2e18.jpg","text":"TemporaryFile(/tmp/multipartBody9131284174252969002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033418492,"filename":"image_05012025_00_27_02_338087_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3b1ea400db3a725c06bcb540f367115e.jpg","text":"TemporaryFile(/tmp/multipartBody7979534632849620827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033418492,"filename":"image_05012025_00_27_02_338087_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828183","file1":"1326828168","file0":"1326828162","file4":"1326828297","file5":"1326828300","file3":"1326828294"},"map_files_photo_id_array":[{"photo_id":"1326828300","filename":"file5"},{"photo_id":"1326828183","filename":"file2"},{"photo_id":"1326828297","filename":"file4"},{"photo_id":"1326828168","filename":"file1"},{"photo_id":"1326828162","filename":"file0"},{"photo_id":"1326828294","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828162":["hashtag1","hashtag2"]},{"1326828300":["hashtag1","hashtag2"]},{"1326828294":["hashtag1","hashtag2"]},{"1326828297":["hashtag1","hashtag2"]},{"1326828183":["hashtag1","hashtag2"]},{"1326828168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828162, 1326828300, 1326828294, 1326828297, 1326828183, 1326828168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.25122380256653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:30:03.194054
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/28/image_05012025_00_28_02_568512_0003.jpg', '/home/pi/Desktop/images/05012025/00/29/image_05012025_00_29_02_661322_0000.jpg', '/home/pi/Desktop/images/05012025/00/29/image_05012025_00_29_02_661322_0001.jpg', '/home/pi/Desktop/images/05012025/00/29/image_05012025_00_29_02_661322_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/00/28/image_05012025_00_28_02_568512_0003.jpg
/home/pi/Desktop/images/05012025/00/29/image_05012025_00_29_02_661322_0000.jpg
/home/pi/Desktop/images/05012025/00/29/image_05012025_00_29_02_661322_0001.jpg
/home/pi/Desktop/images/05012025/00/29/image_05012025_00_29_02_661322_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828306","1326828309","1326828314","1326828304"],"photo_ids_order":["1326828304","1326828306","1326828309","1326828314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b401462189ac5c073117df7d1c0360d1.jpg","text":"TemporaryFile(/tmp/multipartBody5502585976790494600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033473699,"filename":"image_05012025_00_29_02_661322_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/200c293a6d2997848ab991e5f3633750.jpg","text":"TemporaryFile(/tmp/multipartBody1121978777714617294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033473699,"filename":"image_05012025_00_29_02_661322_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a37ac45562468e4e9183da098dbb678d.jpg","text":"TemporaryFile(/tmp/multipartBody1999620841860473016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033473699,"filename":"image_05012025_00_29_02_661322_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/96851f55f3c351741dbec790a2422121.jpg","text":"TemporaryFile(/tmp/multipartBody7404079814214493202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033473699,"filename":"image_05012025_00_28_02_568512_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828309","file1":"1326828306","file0":"1326828304","file3":"1326828314"},"map_files_photo_id_array":[{"photo_id":"1326828309","filename":"file2"},{"photo_id":"1326828306","filename":"file1"},{"photo_id":"1326828304","filename":"file0"},{"photo_id":"1326828314","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828306":["hashtag1","hashtag2"]},{"1326828309":["hashtag1","hashtag2"]},{"1326828314":["hashtag1","hashtag2"]},{"1326828304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828306, 1326828309, 1326828314, 1326828304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.24900794029236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:30:52.740260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:31:02.664148
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/29/image_05012025_00_29_02_661322_0003.jpg', '/home/pi/Desktop/images/05012025/00/30/image_05012025_00_30_02_978908_0000.jpg', '/home/pi/Desktop/images/05012025/00/30/image_05012025_00_30_02_978908_0001.jpg', '/home/pi/Desktop/images/05012025/00/30/image_05012025_00_30_02_978908_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/00/29/image_05012025_00_29_02_661322_0003.jpg
/home/pi/Desktop/images/05012025/00/30/image_05012025_00_30_02_978908_0000.jpg
/home/pi/Desktop/images/05012025/00/30/image_05012025_00_30_02_978908_0001.jpg
/home/pi/Desktop/images/05012025/00/30/image_05012025_00_30_02_978908_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828333","1326828340","1326828334","1326828337"],"photo_ids_order":["1326828333","1326828334","1326828337","1326828340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/13b9610cfb3e89ec4692c91d58c25a14.jpg","text":"TemporaryFile(/tmp/multipartBody5040002323617408307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033533109,"filename":"image_05012025_00_29_02_661322_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aaa76b17876802d587e381f642de789f.jpg","text":"TemporaryFile(/tmp/multipartBody5627275501510687992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033533109,"filename":"image_05012025_00_30_02_978908_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/634852bb393de6d83cadc111f1f17a93.jpg","text":"TemporaryFile(/tmp/multipartBody911033163878932139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033533109,"filename":"image_05012025_00_30_02_978908_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f29b80564db7f799e28a32d63c495d66.jpg","text":"TemporaryFile(/tmp/multipartBody1695755078267400792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033533109,"filename":"image_05012025_00_30_02_978908_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828337","file1":"1326828334","file0":"1326828333","file3":"1326828340"},"map_files_photo_id_array":[{"photo_id":"1326828337","filename":"file2"},{"photo_id":"1326828334","filename":"file1"},{"photo_id":"1326828333","filename":"file0"},{"photo_id":"1326828340","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828333":["hashtag1","hashtag2"]},{"1326828340":["hashtag1","hashtag2"]},{"1326828334":["hashtag1","hashtag2"]},{"1326828337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828333, 1326828340, 1326828334, 1326828337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.22894859313965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:31:51.949348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:32:02.519824
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/30/image_05012025_00_30_02_978908_0003.jpg', '/home/pi/Desktop/images/05012025/00/31/image_05012025_00_31_03_078479_0000.jpg', '/home/pi/Desktop/images/05012025/00/31/image_05012025_00_31_03_078479_0001.jpg', '/home/pi/Desktop/images/05012025/00/31/image_05012025_00_31_03_078479_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/00/30/image_05012025_00_30_02_978908_0003.jpg
/home/pi/Desktop/images/05012025/00/31/image_05012025_00_31_03_078479_0000.jpg
/home/pi/Desktop/images/05012025/00/31/image_05012025_00_31_03_078479_0001.jpg
/home/pi/Desktop/images/05012025/00/31/image_05012025_00_31_03_078479_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828354","1326828348","1326828346","1326828351"],"photo_ids_order":["1326828346","1326828348","1326828351","1326828354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a2d4a8d87c20f626b437d2a474f46cb.jpg","text":"TemporaryFile(/tmp/multipartBody3602455638880377547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033592855,"filename":"image_05012025_00_31_03_078479_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d0d2e7bacc30404e27b6c83718815e47.jpg","text":"TemporaryFile(/tmp/multipartBody2787200882723594454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033592855,"filename":"image_05012025_00_31_03_078479_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6031db2af73065729b29c0971d395402.jpg","text":"TemporaryFile(/tmp/multipartBody2518788995234117630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033592855,"filename":"image_05012025_00_30_02_978908_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c8bf0561e5784b6bc3f606a9b1839eb1.jpg","text":"TemporaryFile(/tmp/multipartBody7096379519718100938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033592855,"filename":"image_05012025_00_31_03_078479_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828351","file1":"1326828348","file0":"1326828346","file3":"1326828354"},"map_files_photo_id_array":[{"photo_id":"1326828351","filename":"file2"},{"photo_id":"1326828348","filename":"file1"},{"photo_id":"1326828346","filename":"file0"},{"photo_id":"1326828354","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828354":["hashtag1","hashtag2"]},{"1326828348":["hashtag1","hashtag2"]},{"1326828346":["hashtag1","hashtag2"]},{"1326828351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828354, 1326828348, 1326828346, 1326828351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.71513319015503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:32:52.145997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:33:02.798409
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/31/image_05012025_00_31_03_078479_0003.jpg', '/home/pi/Desktop/images/05012025/00/32/image_05012025_00_32_02_297372_0000.jpg', '/home/pi/Desktop/images/05012025/00/32/image_05012025_00_32_02_297372_0001.jpg', '/home/pi/Desktop/images/05012025/00/32/image_05012025_00_32_02_297372_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/00/31/image_05012025_00_31_03_078479_0003.jpg
/home/pi/Desktop/images/05012025/00/32/image_05012025_00_32_02_297372_0000.jpg
/home/pi/Desktop/images/05012025/00/32/image_05012025_00_32_02_297372_0001.jpg
/home/pi/Desktop/images/05012025/00/32/image_05012025_00_32_02_297372_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828368","1326828362","1326828365","1326828360"],"photo_ids_order":["1326828360","1326828362","1326828365","1326828368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/86f0ae78c33d0fb0c7222a10b656e0be.jpg","text":"TemporaryFile(/tmp/multipartBody532945053043072720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033653244,"filename":"image_05012025_00_32_02_297372_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/05c94b2cc799568c8e2d542088762e8a.jpg","text":"TemporaryFile(/tmp/multipartBody7036640783326237125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033653244,"filename":"image_05012025_00_32_02_297372_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f4e3ac6d47cc00048c67b06cc1df591.jpg","text":"TemporaryFile(/tmp/multipartBody859927908573707027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033653244,"filename":"image_05012025_00_32_02_297372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/00022cbb7cb7901883757930fece86e6.jpg","text":"TemporaryFile(/tmp/multipartBody2131021772079960752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033653244,"filename":"image_05012025_00_31_03_078479_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828365","file1":"1326828362","file0":"1326828360","file3":"1326828368"},"map_files_photo_id_array":[{"photo_id":"1326828365","filename":"file2"},{"photo_id":"1326828362","filename":"file1"},{"photo_id":"1326828360","filename":"file0"},{"photo_id":"1326828368","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828368":["hashtag1","hashtag2"]},{"1326828362":["hashtag1","hashtag2"]},{"1326828365":["hashtag1","hashtag2"]},{"1326828360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828368, 1326828362, 1326828365, 1326828360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.96741056442261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:33:52.330390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:34:02.890553
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/32/image_05012025_00_32_02_297372_0003.jpg', '/home/pi/Desktop/images/05012025/00/33/image_05012025_00_33_02_460203_0001.jpg', '/home/pi/Desktop/images/05012025/00/33/image_05012025_00_33_02_460203_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/00/32/image_05012025_00_32_02_297372_0003.jpg
/home/pi/Desktop/images/05012025/00/33/image_05012025_00_33_02_460203_0001.jpg
/home/pi/Desktop/images/05012025/00/33/image_05012025_00_33_02_460203_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828414","1326828410","1326828412"],"photo_ids_order":["1326828410","1326828412","1326828414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f8a43c085c836ae22822b2ae1d369d21.jpg","text":"TemporaryFile(/tmp/multipartBody4084772024016815086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033710789,"filename":"image_05012025_00_33_02_460203_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d4ea47f629f58c0fec0d4145eed5e92f.jpg","text":"TemporaryFile(/tmp/multipartBody3042850929443523293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033710789,"filename":"image_05012025_00_32_02_297372_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/21b5e7770c7be7aa5ce459297868ac39.jpg","text":"TemporaryFile(/tmp/multipartBody1006194393320294049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033710789,"filename":"image_05012025_00_33_02_460203_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828414","file1":"1326828412","file0":"1326828410"},"map_files_photo_id_array":[{"photo_id":"1326828414","filename":"file2"},{"photo_id":"1326828412","filename":"file1"},{"photo_id":"1326828410","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828414":["hashtag1","hashtag2"]},{"1326828410":["hashtag1","hashtag2"]},{"1326828412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828414, 1326828410, 1326828412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.862369060516357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:34:52.527681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:35:03.301764
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/33/image_05012025_00_33_02_460203_0003.jpg', '/home/pi/Desktop/images/05012025/00/34/image_05012025_00_34_02_717465_0000.jpg', '/home/pi/Desktop/images/05012025/00/34/image_05012025_00_34_02_717465_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/00/33/image_05012025_00_33_02_460203_0003.jpg
/home/pi/Desktop/images/05012025/00/34/image_05012025_00_34_02_717465_0000.jpg
/home/pi/Desktop/images/05012025/00/34/image_05012025_00_34_02_717465_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828490","1326828487","1326828424"],"photo_ids_order":["1326828424","1326828487","1326828490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dba1665cc3ab028304fcc2479edc53b0.jpg","text":"TemporaryFile(/tmp/multipartBody7885981181407927783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033771183,"filename":"image_05012025_00_34_02_717465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ea99b01cab02abb76d4a0a772374fdbf.jpg","text":"TemporaryFile(/tmp/multipartBody4506753040733570845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033771183,"filename":"image_05012025_00_34_02_717465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1b03d6bf7abc31f6a001ca6ab4f324bd.jpg","text":"TemporaryFile(/tmp/multipartBody2742167523275834912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033771183,"filename":"image_05012025_00_33_02_460203_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828490","file1":"1326828487","file0":"1326828424"},"map_files_photo_id_array":[{"photo_id":"1326828490","filename":"file2"},{"photo_id":"1326828487","filename":"file1"},{"photo_id":"1326828424","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828490":["hashtag1","hashtag2"]},{"1326828487":["hashtag1","hashtag2"]},{"1326828424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828490, 1326828487, 1326828424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.795475006103516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:35:52.762162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:36:02.331947
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/34/image_05012025_00_34_02_717465_0003.jpg', '/home/pi/Desktop/images/05012025/00/35/image_05012025_00_35_02_898794_0000.jpg', '/home/pi/Desktop/images/05012025/00/35/image_05012025_00_35_02_898794_0001.jpg', '/home/pi/Desktop/images/05012025/00/35/image_05012025_00_35_02_898794_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/00/34/image_05012025_00_34_02_717465_0003.jpg
/home/pi/Desktop/images/05012025/00/35/image_05012025_00_35_02_898794_0000.jpg
/home/pi/Desktop/images/05012025/00/35/image_05012025_00_35_02_898794_0001.jpg
/home/pi/Desktop/images/05012025/00/35/image_05012025_00_35_02_898794_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828503","1326828506","1326828500","1326828498"],"photo_ids_order":["1326828498","1326828500","1326828503","1326828506"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cdf198cca72bf33ebaa748e587744567.jpg","text":"TemporaryFile(/tmp/multipartBody4193154908318749351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033832772,"filename":"image_05012025_00_35_02_898794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f1baaf43c49ca722366d4e320a831dec.jpg","text":"TemporaryFile(/tmp/multipartBody138034982658813568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033832772,"filename":"image_05012025_00_35_02_898794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0c95908ef08e23bdcffa381194dc95d4.jpg","text":"TemporaryFile(/tmp/multipartBody5581361304193815121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033832772,"filename":"image_05012025_00_35_02_898794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/89378ab398e8ee8f4ffc5a3f1409da8b.jpg","text":"TemporaryFile(/tmp/multipartBody5473747607644427637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033832772,"filename":"image_05012025_00_34_02_717465_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828503","file1":"1326828500","file0":"1326828498","file3":"1326828506"},"map_files_photo_id_array":[{"photo_id":"1326828503","filename":"file2"},{"photo_id":"1326828500","filename":"file1"},{"photo_id":"1326828498","filename":"file0"},{"photo_id":"1326828506","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828503":["hashtag1","hashtag2"]},{"1326828506":["hashtag1","hashtag2"]},{"1326828500":["hashtag1","hashtag2"]},{"1326828498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828503, 1326828506, 1326828500, 1326828498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40200757980347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:36:51.961406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:37:02.710292
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/35/image_05012025_00_35_02_898794_0003.jpg', '/home/pi/Desktop/images/05012025/00/36/image_05012025_00_36_03_094454_0000.jpg', '/home/pi/Desktop/images/05012025/00/36/image_05012025_00_36_03_094454_0001.jpg', '/home/pi/Desktop/images/05012025/00/36/image_05012025_00_36_03_094454_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/00/35/image_05012025_00_35_02_898794_0003.jpg
/home/pi/Desktop/images/05012025/00/36/image_05012025_00_36_03_094454_0000.jpg
/home/pi/Desktop/images/05012025/00/36/image_05012025_00_36_03_094454_0001.jpg
/home/pi/Desktop/images/05012025/00/36/image_05012025_00_36_03_094454_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828552","1326828560","1326828554","1326828558"],"photo_ids_order":["1326828552","1326828554","1326828558","1326828560"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fc0c975c218f9c731ade4f35a4772c2a.jpg","text":"TemporaryFile(/tmp/multipartBody7770731221210168450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033893353,"filename":"image_05012025_00_35_02_898794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1139d8d53ba4bfa8dd209a6b042501d9.jpg","text":"TemporaryFile(/tmp/multipartBody8081528266795621350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033893353,"filename":"image_05012025_00_36_03_094454_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/18ac2a8d7856446bc92d6974ad4a96d6.jpg","text":"TemporaryFile(/tmp/multipartBody476590193663407406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033893353,"filename":"image_05012025_00_36_03_094454_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f80ffe1a78c4f11fac5fd02de1e4d1b.jpg","text":"TemporaryFile(/tmp/multipartBody751244683269065583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033893353,"filename":"image_05012025_00_36_03_094454_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828558","file1":"1326828554","file0":"1326828552","file3":"1326828560"},"map_files_photo_id_array":[{"photo_id":"1326828558","filename":"file2"},{"photo_id":"1326828554","filename":"file1"},{"photo_id":"1326828552","filename":"file0"},{"photo_id":"1326828560","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828552":["hashtag1","hashtag2"]},{"1326828560":["hashtag1","hashtag2"]},{"1326828554":["hashtag1","hashtag2"]},{"1326828558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828552, 1326828560, 1326828554, 1326828558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.26257634162903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:37:52.106034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:38:02.679421
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/36/image_05012025_00_36_03_094454_0003.jpg', '/home/pi/Desktop/images/05012025/00/37/image_05012025_00_37_02_312424_0000.jpg', '/home/pi/Desktop/images/05012025/00/37/image_05012025_00_37_02_312424_0001.jpg', '/home/pi/Desktop/images/05012025/00/37/image_05012025_00_37_02_312424_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/00/36/image_05012025_00_36_03_094454_0003.jpg
/home/pi/Desktop/images/05012025/00/37/image_05012025_00_37_02_312424_0000.jpg
/home/pi/Desktop/images/05012025/00/37/image_05012025_00_37_02_312424_0001.jpg
/home/pi/Desktop/images/05012025/00/37/image_05012025_00_37_02_312424_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828566","1326828569","1326828571","1326828564"],"photo_ids_order":["1326828564","1326828566","1326828569","1326828571"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/18ff56da656ab768ef6055bcae7eca23.jpg","text":"TemporaryFile(/tmp/multipartBody3370810658574118850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033953097,"filename":"image_05012025_00_37_02_312424_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c84ddbba752802ad68e9800efe57e258.jpg","text":"TemporaryFile(/tmp/multipartBody3272980322804873021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033953097,"filename":"image_05012025_00_37_02_312424_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ecce4e9dfb40aa3803d6b714be317e5d.jpg","text":"TemporaryFile(/tmp/multipartBody6523903134389272888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033953097,"filename":"image_05012025_00_37_02_312424_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8e705dc85a88c537ba4c02c96cd45c90.jpg","text":"TemporaryFile(/tmp/multipartBody6187338777298473172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736033953097,"filename":"image_05012025_00_36_03_094454_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828569","file1":"1326828566","file0":"1326828564","file3":"1326828571"},"map_files_photo_id_array":[{"photo_id":"1326828569","filename":"file2"},{"photo_id":"1326828566","filename":"file1"},{"photo_id":"1326828564","filename":"file0"},{"photo_id":"1326828571","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828566":["hashtag1","hashtag2"]},{"1326828569":["hashtag1","hashtag2"]},{"1326828571":["hashtag1","hashtag2"]},{"1326828564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828566, 1326828569, 1326828571, 1326828564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.007959604263306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:38:52.247166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:39:03.112230
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/37/image_05012025_00_37_02_312424_0003.jpg', '/home/pi/Desktop/images/05012025/00/38/image_05012025_00_38_02_547972_0000.jpg', '/home/pi/Desktop/images/05012025/00/38/image_05012025_00_38_02_547972_0001.jpg', '/home/pi/Desktop/images/05012025/00/38/image_05012025_00_38_02_547972_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/00/37/image_05012025_00_37_02_312424_0003.jpg
/home/pi/Desktop/images/05012025/00/38/image_05012025_00_38_02_547972_0000.jpg
/home/pi/Desktop/images/05012025/00/38/image_05012025_00_38_02_547972_0001.jpg
/home/pi/Desktop/images/05012025/00/38/image_05012025_00_38_02_547972_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828575","1326828580","1326828583","1326828577"],"photo_ids_order":["1326828575","1326828577","1326828580","1326828583"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/32358d5a5005762ffbc7fdd8084f1f54.jpg","text":"TemporaryFile(/tmp/multipartBody3660964738607660332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034013481,"filename":"image_05012025_00_37_02_312424_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d3602113ffe0b307e87ed8415c78ea61.jpg","text":"TemporaryFile(/tmp/multipartBody4918926945176603939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034013481,"filename":"image_05012025_00_38_02_547972_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3ab95bef11d32f635b8716eaf28ca8ce.jpg","text":"TemporaryFile(/tmp/multipartBody88967066187664055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034013481,"filename":"image_05012025_00_38_02_547972_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fa6cacc004ad7b4a81fae69d844361a8.jpg","text":"TemporaryFile(/tmp/multipartBody8938713482315612857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034013481,"filename":"image_05012025_00_38_02_547972_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828580","file1":"1326828577","file0":"1326828575","file3":"1326828583"},"map_files_photo_id_array":[{"photo_id":"1326828580","filename":"file2"},{"photo_id":"1326828577","filename":"file1"},{"photo_id":"1326828575","filename":"file0"},{"photo_id":"1326828583","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828575":["hashtag1","hashtag2"]},{"1326828580":["hashtag1","hashtag2"]},{"1326828583":["hashtag1","hashtag2"]},{"1326828577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828575, 1326828580, 1326828583, 1326828577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.792475938797 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:39:52.448424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:40:03.134023
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/38/image_05012025_00_38_02_547972_0003.jpg', '/home/pi/Desktop/images/05012025/00/39/image_05012025_00_39_02_683379_0000.jpg', '/home/pi/Desktop/images/05012025/00/39/image_05012025_00_39_02_683379_0001.jpg', '/home/pi/Desktop/images/05012025/00/39/image_05012025_00_39_02_683379_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/00/38/image_05012025_00_38_02_547972_0003.jpg
/home/pi/Desktop/images/05012025/00/39/image_05012025_00_39_02_683379_0000.jpg
/home/pi/Desktop/images/05012025/00/39/image_05012025_00_39_02_683379_0001.jpg
/home/pi/Desktop/images/05012025/00/39/image_05012025_00_39_02_683379_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828612","1326828609","1326828607","1326828616"],"photo_ids_order":["1326828607","1326828609","1326828612","1326828616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b3767e92a867410992a75c826e704e0a.jpg","text":"TemporaryFile(/tmp/multipartBody2529925062066351782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034073358,"filename":"image_05012025_00_39_02_683379_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f02a36ab83ce1d893cd571c74ed7b792.jpg","text":"TemporaryFile(/tmp/multipartBody1434596744852303606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034073358,"filename":"image_05012025_00_39_02_683379_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c0777f4b8111e9baf42a444b93ee58a.jpg","text":"TemporaryFile(/tmp/multipartBody7328439518336665010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034073358,"filename":"image_05012025_00_38_02_547972_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f1d009ac5279cfa9d340b1678643c3f.jpg","text":"TemporaryFile(/tmp/multipartBody1722117820266626444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034073358,"filename":"image_05012025_00_39_02_683379_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828612","file1":"1326828609","file0":"1326828607","file3":"1326828616"},"map_files_photo_id_array":[{"photo_id":"1326828612","filename":"file2"},{"photo_id":"1326828609","filename":"file1"},{"photo_id":"1326828607","filename":"file0"},{"photo_id":"1326828616","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828612":["hashtag1","hashtag2"]},{"1326828609":["hashtag1","hashtag2"]},{"1326828607":["hashtag1","hashtag2"]},{"1326828616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828612, 1326828609, 1326828607, 1326828616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.11393713951111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:40:52.638488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:41:02.377154
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/39/image_05012025_00_39_02_683379_0003.jpg', '/home/pi/Desktop/images/05012025/00/40/image_05012025_00_40_02_839018_0000.jpg', '/home/pi/Desktop/images/05012025/00/40/image_05012025_00_40_02_839018_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/00/39/image_05012025_00_39_02_683379_0003.jpg
/home/pi/Desktop/images/05012025/00/40/image_05012025_00_40_02_839018_0000.jpg
/home/pi/Desktop/images/05012025/00/40/image_05012025_00_40_02_839018_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828624","1326828626","1326828622"],"photo_ids_order":["1326828622","1326828624","1326828626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/36396ceb97b0879779299c99ec38855b.jpg","text":"TemporaryFile(/tmp/multipartBody5887844024173268000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034130338,"filename":"image_05012025_00_40_02_839018_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b5714f557a0b4d4d38d76080f87a6b19.jpg","text":"TemporaryFile(/tmp/multipartBody2334760176013347673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034130338,"filename":"image_05012025_00_40_02_839018_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a6857d0b746b7826e64627313649bda6.jpg","text":"TemporaryFile(/tmp/multipartBody2762045868915611795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034130338,"filename":"image_05012025_00_39_02_683379_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828626","file1":"1326828624","file0":"1326828622"},"map_files_photo_id_array":[{"photo_id":"1326828626","filename":"file2"},{"photo_id":"1326828624","filename":"file1"},{"photo_id":"1326828622","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828624":["hashtag1","hashtag2"]},{"1326828626":["hashtag1","hashtag2"]},{"1326828622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828624, 1326828626, 1326828622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.886068105697632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:41:51.788752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:42:02.464536
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/40/image_05012025_00_40_02_839018_0003.jpg', '/home/pi/Desktop/images/05012025/00/41/image_05012025_00_41_03_015364_0000.jpg', '/home/pi/Desktop/images/05012025/00/41/image_05012025_00_41_03_015364_0001.jpg', '/home/pi/Desktop/images/05012025/00/41/image_05012025_00_41_03_015364_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/00/40/image_05012025_00_40_02_839018_0003.jpg
/home/pi/Desktop/images/05012025/00/41/image_05012025_00_41_03_015364_0000.jpg
/home/pi/Desktop/images/05012025/00/41/image_05012025_00_41_03_015364_0001.jpg
/home/pi/Desktop/images/05012025/00/41/image_05012025_00_41_03_015364_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828645","1326828641","1326828638","1326828636"],"photo_ids_order":["1326828636","1326828638","1326828641","1326828645"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/20a1317fcb7017256128b45407b40a12.jpg","text":"TemporaryFile(/tmp/multipartBody5883244545129449226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034192742,"filename":"image_05012025_00_41_03_015364_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/33906256bf7a7b3c6e93f3362db6128f.jpg","text":"TemporaryFile(/tmp/multipartBody6231055186417079055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034192742,"filename":"image_05012025_00_41_03_015364_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/886a9a69d2a09ff9a7ad0b7433b0878b.jpg","text":"TemporaryFile(/tmp/multipartBody8335948690314426449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034192742,"filename":"image_05012025_00_41_03_015364_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/71677e0a56dd461491d5821619355c46.jpg","text":"TemporaryFile(/tmp/multipartBody4439906349883986863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034192742,"filename":"image_05012025_00_40_02_839018_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828641","file1":"1326828638","file0":"1326828636","file3":"1326828645"},"map_files_photo_id_array":[{"photo_id":"1326828641","filename":"file2"},{"photo_id":"1326828638","filename":"file1"},{"photo_id":"1326828636","filename":"file0"},{"photo_id":"1326828645","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828645":["hashtag1","hashtag2"]},{"1326828641":["hashtag1","hashtag2"]},{"1326828638":["hashtag1","hashtag2"]},{"1326828636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828645, 1326828641, 1326828638, 1326828636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.841155767440796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:42:52.016702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:43:02.828008
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/41/image_05012025_00_41_03_015364_0003.jpg', '/home/pi/Desktop/images/05012025/00/42/image_05012025_00_42_02_177847_0000.jpg', '/home/pi/Desktop/images/05012025/00/42/image_05012025_00_42_02_177847_0001.jpg', '/home/pi/Desktop/images/05012025/00/42/image_05012025_00_42_02_177847_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/00/41/image_05012025_00_41_03_015364_0003.jpg
/home/pi/Desktop/images/05012025/00/42/image_05012025_00_42_02_177847_0000.jpg
/home/pi/Desktop/images/05012025/00/42/image_05012025_00_42_02_177847_0001.jpg
/home/pi/Desktop/images/05012025/00/42/image_05012025_00_42_02_177847_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.939329385757446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 00:43:22.149988
SELECT 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/00/41/image_05012025_00_41_03_015364_0003.jpg', '/home/pi/Desktop/images/05012025/00/42/image_05012025_00_42_02_177847_0000.jpg', '/home/pi/Desktop/images/05012025/00/42/image_05012025_00_42_02_177847_0001.jpg', '/home/pi/Desktop/images/05012025/00/42/image_05012025_00_42_02_177847_0002.jpg', '/home/pi/Desktop/images/05012025/00/42/image_05012025_00_42_02_177847_0003.jpg', '/home/pi/Desktop/images/05012025/00/43/image_05012025_00_43_02_324905_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/00/41/image_05012025_00_41_03_015364_0003.jpg
/home/pi/Desktop/images/05012025/00/42/image_05012025_00_42_02_177847_0000.jpg
/home/pi/Desktop/images/05012025/00/42/image_05012025_00_42_02_177847_0001.jpg
/home/pi/Desktop/images/05012025/00/42/image_05012025_00_42_02_177847_0002.jpg
/home/pi/Desktop/images/05012025/00/42/image_05012025_00_42_02_177847_0003.jpg
/home/pi/Desktop/images/05012025/00/43/image_05012025_00_43_02_324905_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":["1326828695","1326828701","1326828691","1326828694","1326828697","1326828696"],"photo_ids_order":["1326828691","1326828694","1326828695","1326828696","1326828697","1326828701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b92d1bc38cf5ba923fc9502b5b164ce9.jpg","text":"TemporaryFile(/tmp/multipartBody4221248788947182906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034277276,"filename":"image_05012025_00_42_02_177847_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5cfe92f2f8b153b94ac58d4e65b50b53.jpg","text":"TemporaryFile(/tmp/multipartBody8034839046993302090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034277276,"filename":"image_05012025_00_43_02_324905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/505534321b3602ec2079e66ec93d963a.jpg","text":"TemporaryFile(/tmp/multipartBody1456982096796677874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034277276,"filename":"image_05012025_00_41_03_015364_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d3fcb01ea68083b5b61ab5bf7a183586.jpg","text":"TemporaryFile(/tmp/multipartBody4635009054214962223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034277276,"filename":"image_05012025_00_42_02_177847_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a267c24683c6a22b70b6f528de9c4b10.jpg","text":"TemporaryFile(/tmp/multipartBody1424303875028854488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034277276,"filename":"image_05012025_00_42_02_177847_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/13cd267b76833c81ec7611adcfe9c72a.jpg","text":"TemporaryFile(/tmp/multipartBody2413174122333838502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034277276,"filename":"image_05012025_00_42_02_177847_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828695","file1":"1326828694","file0":"1326828691","file4":"1326828697","file5":"1326828701","file3":"1326828696"},"map_files_photo_id_array":[{"photo_id":"1326828701","filename":"file5"},{"photo_id":"1326828695","filename":"file2"},{"photo_id":"1326828697","filename":"file4"},{"photo_id":"1326828694","filename":"file1"},{"photo_id":"1326828691","filename":"file0"},{"photo_id":"1326828696","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828695":["hashtag1","hashtag2"]},{"1326828701":["hashtag1","hashtag2"]},{"1326828691":["hashtag1","hashtag2"]},{"1326828694":["hashtag1","hashtag2"]},{"1326828697":["hashtag1","hashtag2"]},{"1326828696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828695, 1326828701, 1326828691, 1326828694, 1326828697, 1326828696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.7101035118103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 00:44:22.359613
SELECT 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/00/43/image_05012025_00_43_02_324905_0001.jpg', '/home/pi/Desktop/images/05012025/00/43/image_05012025_00_43_02_324905_0002.jpg', '/home/pi/Desktop/images/05012025/00/43/image_05012025_00_43_02_324905_0003.jpg', '/home/pi/Desktop/images/05012025/00/44/image_05012025_00_44_02_558562_0000.jpg', '/home/pi/Desktop/images/05012025/00/44/image_05012025_00_44_02_558562_0001.jpg', '/home/pi/Desktop/images/05012025/00/44/image_05012025_00_44_02_558562_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/00/43/image_05012025_00_43_02_324905_0001.jpg
/home/pi/Desktop/images/05012025/00/43/image_05012025_00_43_02_324905_0002.jpg
/home/pi/Desktop/images/05012025/00/43/image_05012025_00_43_02_324905_0003.jpg
/home/pi/Desktop/images/05012025/00/44/image_05012025_00_44_02_558562_0000.jpg
/home/pi/Desktop/images/05012025/00/44/image_05012025_00_44_02_558562_0001.jpg
/home/pi/Desktop/images/05012025/00/44/image_05012025_00_44_02_558562_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":["1326828738","1326828740","1326828742","1326828739","1326828828","1326828741"],"photo_ids_order":["1326828738","1326828739","1326828740","1326828741","1326828742","1326828828"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/328c2851a52348dbcc90f685b073e27a.jpg","text":"TemporaryFile(/tmp/multipartBody2062062766561683836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034337564,"filename":"image_05012025_00_43_02_324905_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e977393a819dae383463300d82814605.jpg","text":"TemporaryFile(/tmp/multipartBody2015071046280021207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034337564,"filename":"image_05012025_00_43_02_324905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c0052a3b4c7834062ed34eaccce78eb9.jpg","text":"TemporaryFile(/tmp/multipartBody6741028846750823866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034337564,"filename":"image_05012025_00_44_02_558562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/32f97f1d645271f869a357e4aecd8e59.jpg","text":"TemporaryFile(/tmp/multipartBody4191397568968165089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034337564,"filename":"image_05012025_00_43_02_324905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b1aa23247c54210d3785dbdfcd58b33c.jpg","text":"TemporaryFile(/tmp/multipartBody4528226049713979618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034337564,"filename":"image_05012025_00_44_02_558562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/67a0e411a841cacee3580ba51719e594.jpg","text":"TemporaryFile(/tmp/multipartBody7109593733917323645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034337564,"filename":"image_05012025_00_44_02_558562_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828740","file1":"1326828739","file0":"1326828738","file4":"1326828742","file5":"1326828828","file3":"1326828741"},"map_files_photo_id_array":[{"photo_id":"1326828828","filename":"file5"},{"photo_id":"1326828740","filename":"file2"},{"photo_id":"1326828742","filename":"file4"},{"photo_id":"1326828739","filename":"file1"},{"photo_id":"1326828738","filename":"file0"},{"photo_id":"1326828741","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828738":["hashtag1","hashtag2"]},{"1326828740":["hashtag1","hashtag2"]},{"1326828742":["hashtag1","hashtag2"]},{"1326828739":["hashtag1","hashtag2"]},{"1326828828":["hashtag1","hashtag2"]},{"1326828741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828738, 1326828740, 1326828742, 1326828739, 1326828828, 1326828741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.68708062171936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 00:45:22.507805
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/44/image_05012025_00_44_02_558562_0003.jpg', '/home/pi/Desktop/images/05012025/00/45/image_05012025_00_45_02_787163_0000.jpg', '/home/pi/Desktop/images/05012025/00/45/image_05012025_00_45_02_787163_0001.jpg', '/home/pi/Desktop/images/05012025/00/45/image_05012025_00_45_02_787163_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/00/44/image_05012025_00_44_02_558562_0003.jpg
/home/pi/Desktop/images/05012025/00/45/image_05012025_00_45_02_787163_0000.jpg
/home/pi/Desktop/images/05012025/00/45/image_05012025_00_45_02_787163_0001.jpg
/home/pi/Desktop/images/05012025/00/45/image_05012025_00_45_02_787163_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.936873435974121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:45:52.530872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:46:03.157611
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/44/image_05012025_00_44_02_558562_0003.jpg', '/home/pi/Desktop/images/05012025/00/45/image_05012025_00_45_02_787163_0000.jpg', '/home/pi/Desktop/images/05012025/00/45/image_05012025_00_45_02_787163_0001.jpg', '/home/pi/Desktop/images/05012025/00/45/image_05012025_00_45_02_787163_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/00/44/image_05012025_00_44_02_558562_0003.jpg
/home/pi/Desktop/images/05012025/00/45/image_05012025_00_45_02_787163_0000.jpg
/home/pi/Desktop/images/05012025/00/45/image_05012025_00_45_02_787163_0001.jpg
/home/pi/Desktop/images/05012025/00/45/image_05012025_00_45_02_787163_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828900","1326828903","1326828898","1326828907"],"photo_ids_order":["1326828898","1326828900","1326828903","1326828907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/253f5fa41baddb468980a3aeb54820d2.jpg","text":"TemporaryFile(/tmp/multipartBody1074958102497922175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034433552,"filename":"image_05012025_00_45_02_787163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c583afbc1d63e5a4ff2b8f9db253ce18.jpg","text":"TemporaryFile(/tmp/multipartBody4440025598619664099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034433552,"filename":"image_05012025_00_45_02_787163_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4b0be20958c2aa8ab28468585cf53e91.jpg","text":"TemporaryFile(/tmp/multipartBody5062007634390913177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034433552,"filename":"image_05012025_00_44_02_558562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b94e8a05f7b4e730564b1672a477f37f.jpg","text":"TemporaryFile(/tmp/multipartBody5465682399091388038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034433552,"filename":"image_05012025_00_45_02_787163_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828903","file1":"1326828900","file0":"1326828898","file3":"1326828907"},"map_files_photo_id_array":[{"photo_id":"1326828903","filename":"file2"},{"photo_id":"1326828900","filename":"file1"},{"photo_id":"1326828898","filename":"file0"},{"photo_id":"1326828907","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828900":["hashtag1","hashtag2"]},{"1326828903":["hashtag1","hashtag2"]},{"1326828898":["hashtag1","hashtag2"]},{"1326828907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828900, 1326828903, 1326828898, 1326828907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87232041358948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:46:52.732520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:47:02.560078
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/45/image_05012025_00_45_02_787163_0003.jpg', '/home/pi/Desktop/images/05012025/00/46/image_05012025_00_46_02_927078_0000.jpg', '/home/pi/Desktop/images/05012025/00/46/image_05012025_00_46_02_927078_0001.jpg', '/home/pi/Desktop/images/05012025/00/46/image_05012025_00_46_02_927078_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/00/45/image_05012025_00_45_02_787163_0003.jpg
/home/pi/Desktop/images/05012025/00/46/image_05012025_00_46_02_927078_0000.jpg
/home/pi/Desktop/images/05012025/00/46/image_05012025_00_46_02_927078_0001.jpg
/home/pi/Desktop/images/05012025/00/46/image_05012025_00_46_02_927078_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828914","1326828922","1326828916","1326828919"],"photo_ids_order":["1326828914","1326828916","1326828919","1326828922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8071eb71c8d86e2cd067ad1f766a9d46.jpg","text":"TemporaryFile(/tmp/multipartBody5241909207210784331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034493041,"filename":"image_05012025_00_45_02_787163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9d0bc63f38bceb2fe259673030b8c978.jpg","text":"TemporaryFile(/tmp/multipartBody6944318795842419868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034493041,"filename":"image_05012025_00_46_02_927078_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4dbc7d2936eb944c832ced358b15c383.jpg","text":"TemporaryFile(/tmp/multipartBody5493266558387647027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034493041,"filename":"image_05012025_00_46_02_927078_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/652c8755f8f293dc8de5740c944db769.jpg","text":"TemporaryFile(/tmp/multipartBody5611145106617504231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034493041,"filename":"image_05012025_00_46_02_927078_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828919","file1":"1326828916","file0":"1326828914","file3":"1326828922"},"map_files_photo_id_array":[{"photo_id":"1326828919","filename":"file2"},{"photo_id":"1326828916","filename":"file1"},{"photo_id":"1326828914","filename":"file0"},{"photo_id":"1326828922","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828914":["hashtag1","hashtag2"]},{"1326828922":["hashtag1","hashtag2"]},{"1326828916":["hashtag1","hashtag2"]},{"1326828919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828914, 1326828922, 1326828916, 1326828919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.68287992477417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:47:52.103938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:48:02.740539
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/46/image_05012025_00_46_02_927078_0003.jpg', '/home/pi/Desktop/images/05012025/00/47/image_05012025_00_47_03_102760_0000.jpg', '/home/pi/Desktop/images/05012025/00/47/image_05012025_00_47_03_102760_0001.jpg', '/home/pi/Desktop/images/05012025/00/47/image_05012025_00_47_03_102760_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/00/46/image_05012025_00_46_02_927078_0003.jpg
/home/pi/Desktop/images/05012025/00/47/image_05012025_00_47_03_102760_0000.jpg
/home/pi/Desktop/images/05012025/00/47/image_05012025_00_47_03_102760_0001.jpg
/home/pi/Desktop/images/05012025/00/47/image_05012025_00_47_03_102760_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326828932","1326828935","1326828929","1326828927"],"photo_ids_order":["1326828927","1326828929","1326828932","1326828935"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb57644d60bef5d717e8cf7b143b4f81.jpg","text":"TemporaryFile(/tmp/multipartBody1998520716239694069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034553275,"filename":"image_05012025_00_47_03_102760_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/538dc8e59aa9ae438da3302e293d850f.jpg","text":"TemporaryFile(/tmp/multipartBody2036605959036032808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034553275,"filename":"image_05012025_00_47_03_102760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b19c49224d7d622a623fbed2d95c606.jpg","text":"TemporaryFile(/tmp/multipartBody3901845513404965627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034553275,"filename":"image_05012025_00_47_03_102760_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/26f4d0abb1a40c26a81a87745b4908c8.jpg","text":"TemporaryFile(/tmp/multipartBody4501298786270460062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034553275,"filename":"image_05012025_00_46_02_927078_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828932","file1":"1326828929","file0":"1326828927","file3":"1326828935"},"map_files_photo_id_array":[{"photo_id":"1326828932","filename":"file2"},{"photo_id":"1326828929","filename":"file1"},{"photo_id":"1326828927","filename":"file0"},{"photo_id":"1326828935","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828932":["hashtag1","hashtag2"]},{"1326828935":["hashtag1","hashtag2"]},{"1326828929":["hashtag1","hashtag2"]},{"1326828927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828932, 1326828935, 1326828929, 1326828927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.30013966560364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:48:52.273992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:49:03.174141
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/47/image_05012025_00_47_03_102760_0003.jpg', '/home/pi/Desktop/images/05012025/00/48/image_05012025_00_48_02_269838_0000.jpg', '/home/pi/Desktop/images/05012025/00/48/image_05012025_00_48_02_269838_0001.jpg', '/home/pi/Desktop/images/05012025/00/48/image_05012025_00_48_02_269838_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/00/47/image_05012025_00_47_03_102760_0003.jpg
/home/pi/Desktop/images/05012025/00/48/image_05012025_00_48_02_269838_0000.jpg
/home/pi/Desktop/images/05012025/00/48/image_05012025_00_48_02_269838_0001.jpg
/home/pi/Desktop/images/05012025/00/48/image_05012025_00_48_02_269838_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.964542388916016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 00:49:22.468868
SELECT 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/00/47/image_05012025_00_47_03_102760_0003.jpg', '/home/pi/Desktop/images/05012025/00/48/image_05012025_00_48_02_269838_0000.jpg', '/home/pi/Desktop/images/05012025/00/48/image_05012025_00_48_02_269838_0001.jpg', '/home/pi/Desktop/images/05012025/00/48/image_05012025_00_48_02_269838_0002.jpg', '/home/pi/Desktop/images/05012025/00/48/image_05012025_00_48_02_269838_0003.jpg', '/home/pi/Desktop/images/05012025/00/49/image_05012025_00_49_02_625129_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/00/47/image_05012025_00_47_03_102760_0003.jpg
/home/pi/Desktop/images/05012025/00/48/image_05012025_00_48_02_269838_0000.jpg
/home/pi/Desktop/images/05012025/00/48/image_05012025_00_48_02_269838_0001.jpg
/home/pi/Desktop/images/05012025/00/48/image_05012025_00_48_02_269838_0002.jpg
/home/pi/Desktop/images/05012025/00/48/image_05012025_00_48_02_269838_0003.jpg
/home/pi/Desktop/images/05012025/00/49/image_05012025_00_49_02_625129_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":["1326828974","1326828971","1326828970","1326828973","1326828976","1326828972"],"photo_ids_order":["1326828970","1326828971","1326828972","1326828973","1326828974","1326828976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f2ca143a27e3c279b1af45a88b27f26.jpg","text":"TemporaryFile(/tmp/multipartBody3464865381240077659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034637641,"filename":"image_05012025_00_48_02_269838_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f1090a714448f169723f9858acceb549.jpg","text":"TemporaryFile(/tmp/multipartBody8951692238480374820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034637641,"filename":"image_05012025_00_48_02_269838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9e93d7013d0e4ffdffa354f952c9670d.jpg","text":"TemporaryFile(/tmp/multipartBody7379551250058159874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034637641,"filename":"image_05012025_00_47_03_102760_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd73b7994e194d49b3d486ae2ab45654.jpg","text":"TemporaryFile(/tmp/multipartBody1174259907765537251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034637641,"filename":"image_05012025_00_48_02_269838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2fb460dc494c4e783b740a9284b6aca5.jpg","text":"TemporaryFile(/tmp/multipartBody4958971693928458168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034637641,"filename":"image_05012025_00_49_02_625129_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ade0e81f0788fa58bf3332ea528d381f.jpg","text":"TemporaryFile(/tmp/multipartBody6076427798168478357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034637641,"filename":"image_05012025_00_48_02_269838_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828972","file1":"1326828971","file0":"1326828970","file4":"1326828974","file5":"1326828976","file3":"1326828973"},"map_files_photo_id_array":[{"photo_id":"1326828976","filename":"file5"},{"photo_id":"1326828972","filename":"file2"},{"photo_id":"1326828974","filename":"file4"},{"photo_id":"1326828971","filename":"file1"},{"photo_id":"1326828970","filename":"file0"},{"photo_id":"1326828973","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326828974":["hashtag1","hashtag2"]},{"1326828971":["hashtag1","hashtag2"]},{"1326828970":["hashtag1","hashtag2"]},{"1326828973":["hashtag1","hashtag2"]},{"1326828976":["hashtag1","hashtag2"]},{"1326828972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326828974, 1326828971, 1326828970, 1326828973, 1326828976, 1326828972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.79595732688904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 00:50:22.624024
SELECT 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/00/49/image_05012025_00_49_02_625129_0001.jpg', '/home/pi/Desktop/images/05012025/00/49/image_05012025_00_49_02_625129_0002.jpg', '/home/pi/Desktop/images/05012025/00/49/image_05012025_00_49_02_625129_0003.jpg', '/home/pi/Desktop/images/05012025/00/50/image_05012025_00_50_02_907646_0000.jpg', '/home/pi/Desktop/images/05012025/00/50/image_05012025_00_50_02_907646_0001.jpg', '/home/pi/Desktop/images/05012025/00/50/image_05012025_00_50_02_907646_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/00/49/image_05012025_00_49_02_625129_0001.jpg
/home/pi/Desktop/images/05012025/00/49/image_05012025_00_49_02_625129_0002.jpg
/home/pi/Desktop/images/05012025/00/49/image_05012025_00_49_02_625129_0003.jpg
/home/pi/Desktop/images/05012025/00/50/image_05012025_00_50_02_907646_0000.jpg
/home/pi/Desktop/images/05012025/00/50/image_05012025_00_50_02_907646_0001.jpg
/home/pi/Desktop/images/05012025/00/50/image_05012025_00_50_02_907646_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.88406777381897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:50:52.643406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:51:02.435999
SELECT 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/00/49/image_05012025_00_49_02_625129_0001.jpg', '/home/pi/Desktop/images/05012025/00/49/image_05012025_00_49_02_625129_0002.jpg', '/home/pi/Desktop/images/05012025/00/49/image_05012025_00_49_02_625129_0003.jpg', '/home/pi/Desktop/images/05012025/00/50/image_05012025_00_50_02_907646_0000.jpg', '/home/pi/Desktop/images/05012025/00/50/image_05012025_00_50_02_907646_0001.jpg', '/home/pi/Desktop/images/05012025/00/50/image_05012025_00_50_02_907646_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/00/49/image_05012025_00_49_02_625129_0001.jpg
/home/pi/Desktop/images/05012025/00/49/image_05012025_00_49_02_625129_0002.jpg
/home/pi/Desktop/images/05012025/00/49/image_05012025_00_49_02_625129_0003.jpg
/home/pi/Desktop/images/05012025/00/50/image_05012025_00_50_02_907646_0000.jpg
/home/pi/Desktop/images/05012025/00/50/image_05012025_00_50_02_907646_0001.jpg
/home/pi/Desktop/images/05012025/00/50/image_05012025_00_50_02_907646_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":["1326829001","1326828997","1326828994","1326829003","1326828999","1326829002"],"photo_ids_order":["1326828994","1326828997","1326828999","1326829001","1326829002","1326829003"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d089ef1d3bae5a8e97872bdcce757396.jpg","text":"TemporaryFile(/tmp/multipartBody234611480263994601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034737872,"filename":"image_05012025_00_50_02_907646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/afe88ef82752b9fefa9fc7887327a0ba.jpg","text":"TemporaryFile(/tmp/multipartBody6811955809360712793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034737872,"filename":"image_05012025_00_49_02_625129_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7077247e3737ffd4d165652e2c7b62dc.jpg","text":"TemporaryFile(/tmp/multipartBody173501601275916855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034737872,"filename":"image_05012025_00_49_02_625129_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ddccb29c8806196093b8408a2d4492ff.jpg","text":"TemporaryFile(/tmp/multipartBody3526410737637451987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034737872,"filename":"image_05012025_00_50_02_907646_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e69de775c622c15644c9c52652fcd61c.jpg","text":"TemporaryFile(/tmp/multipartBody8610121658832323147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034737872,"filename":"image_05012025_00_49_02_625129_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2fe51fae028d1efa510195483730051f.jpg","text":"TemporaryFile(/tmp/multipartBody1883916886263462299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034737872,"filename":"image_05012025_00_50_02_907646_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326828999","file1":"1326828997","file0":"1326828994","file4":"1326829002","file5":"1326829003","file3":"1326829001"},"map_files_photo_id_array":[{"photo_id":"1326829003","filename":"file5"},{"photo_id":"1326828999","filename":"file2"},{"photo_id":"1326829002","filename":"file4"},{"photo_id":"1326828997","filename":"file1"},{"photo_id":"1326828994","filename":"file0"},{"photo_id":"1326829001","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326829001":["hashtag1","hashtag2"]},{"1326828997":["hashtag1","hashtag2"]},{"1326828994":["hashtag1","hashtag2"]},{"1326829003":["hashtag1","hashtag2"]},{"1326828999":["hashtag1","hashtag2"]},{"1326829002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326829001, 1326828997, 1326828994, 1326829003, 1326828999, 1326829002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.69566607475281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:52:02.522710
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/50/image_05012025_00_50_02_907646_0003.jpg', '/home/pi/Desktop/images/05012025/00/51/image_05012025_00_51_03_052434_0000.jpg', '/home/pi/Desktop/images/05012025/00/51/image_05012025_00_51_03_052434_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/00/50/image_05012025_00_50_02_907646_0003.jpg
/home/pi/Desktop/images/05012025/00/51/image_05012025_00_51_03_052434_0000.jpg
/home/pi/Desktop/images/05012025/00/51/image_05012025_00_51_03_052434_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326829082","1326829079","1326829069"],"photo_ids_order":["1326829069","1326829079","1326829082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/412fee961526372babb91db2b8ce0783.jpg","text":"TemporaryFile(/tmp/multipartBody4397593404642678993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034790402,"filename":"image_05012025_00_51_03_052434_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/be07f6880d4c05201b859e827279d159.jpg","text":"TemporaryFile(/tmp/multipartBody2896611607215620791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034790402,"filename":"image_05012025_00_51_03_052434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/763caafd342182d15895b5667dfaa810.jpg","text":"TemporaryFile(/tmp/multipartBody4385422664085038564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034790402,"filename":"image_05012025_00_50_02_907646_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326829082","file1":"1326829079","file0":"1326829069"},"map_files_photo_id_array":[{"photo_id":"1326829082","filename":"file2"},{"photo_id":"1326829079","filename":"file1"},{"photo_id":"1326829069","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326829082":["hashtag1","hashtag2"]},{"1326829079":["hashtag1","hashtag2"]},{"1326829069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326829082, 1326829079, 1326829069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.25933313369751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:52:52.052199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:53:02.864342
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/51/image_05012025_00_51_03_052434_0003.jpg', '/home/pi/Desktop/images/05012025/00/52/image_05012025_00_52_02_237450_0000.jpg', '/home/pi/Desktop/images/05012025/00/52/image_05012025_00_52_02_237450_0001.jpg', '/home/pi/Desktop/images/05012025/00/52/image_05012025_00_52_02_237450_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/00/51/image_05012025_00_51_03_052434_0003.jpg
/home/pi/Desktop/images/05012025/00/52/image_05012025_00_52_02_237450_0000.jpg
/home/pi/Desktop/images/05012025/00/52/image_05012025_00_52_02_237450_0001.jpg
/home/pi/Desktop/images/05012025/00/52/image_05012025_00_52_02_237450_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326829203","1326829202","1326829208","1326829206"],"photo_ids_order":["1326829202","1326829203","1326829206","1326829208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/515e420106c4f4c141f54f2d20300d4b.jpg","text":"TemporaryFile(/tmp/multipartBody6383898769999489074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034853501,"filename":"image_05012025_00_52_02_237450_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/77e25ad8c4f67ada7d200df79ff6b771.jpg","text":"TemporaryFile(/tmp/multipartBody537360767255608634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034853501,"filename":"image_05012025_00_51_03_052434_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/be41b42e299185d5990631cc1868e992.jpg","text":"TemporaryFile(/tmp/multipartBody3132839190625339455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034853501,"filename":"image_05012025_00_52_02_237450_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e0caf5dafea6602a6029267b275b887a.jpg","text":"TemporaryFile(/tmp/multipartBody8359829477142249226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034853501,"filename":"image_05012025_00_52_02_237450_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326829206","file1":"1326829203","file0":"1326829202","file3":"1326829208"},"map_files_photo_id_array":[{"photo_id":"1326829206","filename":"file2"},{"photo_id":"1326829203","filename":"file1"},{"photo_id":"1326829202","filename":"file0"},{"photo_id":"1326829208","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326829203":["hashtag1","hashtag2"]},{"1326829202":["hashtag1","hashtag2"]},{"1326829208":["hashtag1","hashtag2"]},{"1326829206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326829203, 1326829202, 1326829208, 1326829206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.762439489364624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:53:52.261194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:54:02.898240
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/52/image_05012025_00_52_02_237450_0003.jpg', '/home/pi/Desktop/images/05012025/00/53/image_05012025_00_53_02_412463_0000.jpg', '/home/pi/Desktop/images/05012025/00/53/image_05012025_00_53_02_412463_0001.jpg', '/home/pi/Desktop/images/05012025/00/53/image_05012025_00_53_02_412463_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/00/52/image_05012025_00_52_02_237450_0003.jpg
/home/pi/Desktop/images/05012025/00/53/image_05012025_00_53_02_412463_0000.jpg
/home/pi/Desktop/images/05012025/00/53/image_05012025_00_53_02_412463_0001.jpg
/home/pi/Desktop/images/05012025/00/53/image_05012025_00_53_02_412463_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326829213","1326829222","1326829218","1326829215"],"photo_ids_order":["1326829213","1326829215","1326829218","1326829222"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4fce99b503b7a811f504cbbea561c602.jpg","text":"TemporaryFile(/tmp/multipartBody2814513154772145374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034913329,"filename":"image_05012025_00_52_02_237450_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a9e4ac28d4a582d81f441617d49250c2.jpg","text":"TemporaryFile(/tmp/multipartBody8975415359854256518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034913329,"filename":"image_05012025_00_53_02_412463_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe96a8b2e889298a5c7fdd80e5ef51e9.jpg","text":"TemporaryFile(/tmp/multipartBody2307042633104112363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034913329,"filename":"image_05012025_00_53_02_412463_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/444d9932a068a830a83f50583ec70870.jpg","text":"TemporaryFile(/tmp/multipartBody68186853512478466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034913329,"filename":"image_05012025_00_53_02_412463_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326829218","file1":"1326829215","file0":"1326829213","file3":"1326829222"},"map_files_photo_id_array":[{"photo_id":"1326829218","filename":"file2"},{"photo_id":"1326829215","filename":"file1"},{"photo_id":"1326829213","filename":"file0"},{"photo_id":"1326829222","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326829213":["hashtag1","hashtag2"]},{"1326829222":["hashtag1","hashtag2"]},{"1326829218":["hashtag1","hashtag2"]},{"1326829215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326829213, 1326829222, 1326829218, 1326829215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.81500482559204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:54:52.396237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:55:03.220094
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/53/image_05012025_00_53_02_412463_0003.jpg', '/home/pi/Desktop/images/05012025/00/54/image_05012025_00_54_02_625619_0000.jpg', '/home/pi/Desktop/images/05012025/00/54/image_05012025_00_54_02_625619_0001.jpg', '/home/pi/Desktop/images/05012025/00/54/image_05012025_00_54_02_625619_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/00/53/image_05012025_00_53_02_412463_0003.jpg
/home/pi/Desktop/images/05012025/00/54/image_05012025_00_54_02_625619_0000.jpg
/home/pi/Desktop/images/05012025/00/54/image_05012025_00_54_02_625619_0001.jpg
/home/pi/Desktop/images/05012025/00/54/image_05012025_00_54_02_625619_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326829265","1326829261","1326829267","1326829263"],"photo_ids_order":["1326829261","1326829263","1326829265","1326829267"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0baa01bfcbdc7230c49765394e733835.jpg","text":"TemporaryFile(/tmp/multipartBody6716936416154298579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034973659,"filename":"image_05012025_00_54_02_625619_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c7c2430437fd10de5ce78d2c4989b0a.jpg","text":"TemporaryFile(/tmp/multipartBody992351528021086307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034973659,"filename":"image_05012025_00_53_02_412463_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11fb004be49d48d4e81fd0dd2a6e9c2d.jpg","text":"TemporaryFile(/tmp/multipartBody6119776790485801063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034973659,"filename":"image_05012025_00_54_02_625619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/35da34180141408216c31f6aeef37858.jpg","text":"TemporaryFile(/tmp/multipartBody5000049912051349810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736034973659,"filename":"image_05012025_00_54_02_625619_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326829265","file1":"1326829263","file0":"1326829261","file3":"1326829267"},"map_files_photo_id_array":[{"photo_id":"1326829265","filename":"file2"},{"photo_id":"1326829263","filename":"file1"},{"photo_id":"1326829261","filename":"file0"},{"photo_id":"1326829267","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326829265":["hashtag1","hashtag2"]},{"1326829261":["hashtag1","hashtag2"]},{"1326829267":["hashtag1","hashtag2"]},{"1326829263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326829265, 1326829261, 1326829267, 1326829263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.18023467063904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:55:52.631235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:56:02.160916
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/54/image_05012025_00_54_02_625619_0003.jpg', '/home/pi/Desktop/images/05012025/00/55/image_05012025_00_55_02_864179_0000.jpg', '/home/pi/Desktop/images/05012025/00/55/image_05012025_00_55_02_864179_0001.jpg', '/home/pi/Desktop/images/05012025/00/55/image_05012025_00_55_02_864179_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/00/54/image_05012025_00_54_02_625619_0003.jpg
/home/pi/Desktop/images/05012025/00/55/image_05012025_00_55_02_864179_0000.jpg
/home/pi/Desktop/images/05012025/00/55/image_05012025_00_55_02_864179_0001.jpg
/home/pi/Desktop/images/05012025/00/55/image_05012025_00_55_02_864179_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326829271","1326829276","1326829279","1326829273"],"photo_ids_order":["1326829271","1326829273","1326829276","1326829279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cfcc524950c82f9b59c7fae18699cd7f.jpg","text":"TemporaryFile(/tmp/multipartBody6801434769959243922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035032713,"filename":"image_05012025_00_54_02_625619_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8a68f774121d7b876e647dca3e82aa21.jpg","text":"TemporaryFile(/tmp/multipartBody5140759357256868904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035032713,"filename":"image_05012025_00_55_02_864179_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0341c3e6ab303730ff2a45f8a1e25088.jpg","text":"TemporaryFile(/tmp/multipartBody8250992513672056363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035032713,"filename":"image_05012025_00_55_02_864179_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9561d529fceaf480062c69204a5f0a4c.jpg","text":"TemporaryFile(/tmp/multipartBody2500638329980240182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035032713,"filename":"image_05012025_00_55_02_864179_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326829276","file1":"1326829273","file0":"1326829271","file3":"1326829279"},"map_files_photo_id_array":[{"photo_id":"1326829276","filename":"file2"},{"photo_id":"1326829273","filename":"file1"},{"photo_id":"1326829271","filename":"file0"},{"photo_id":"1326829279","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326829271":["hashtag1","hashtag2"]},{"1326829276":["hashtag1","hashtag2"]},{"1326829279":["hashtag1","hashtag2"]},{"1326829273":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326829271, 1326829276, 1326829279, 1326829273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.80271339416504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:56:51.795588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:57:02.455185
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/55/image_05012025_00_55_02_864179_0003.jpg', '/home/pi/Desktop/images/05012025/00/56/image_05012025_00_56_03_010443_0000.jpg', '/home/pi/Desktop/images/05012025/00/56/image_05012025_00_56_03_010443_0001.jpg', '/home/pi/Desktop/images/05012025/00/56/image_05012025_00_56_03_010443_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/00/55/image_05012025_00_55_02_864179_0003.jpg
/home/pi/Desktop/images/05012025/00/56/image_05012025_00_56_03_010443_0000.jpg
/home/pi/Desktop/images/05012025/00/56/image_05012025_00_56_03_010443_0001.jpg
/home/pi/Desktop/images/05012025/00/56/image_05012025_00_56_03_010443_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326829652","1326829591","1326829606","1326829589"],"photo_ids_order":["1326829589","1326829591","1326829606","1326829652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/30b579d20428dc9b405ac33458907e99.jpg","text":"TemporaryFile(/tmp/multipartBody3557002955006060195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035092919,"filename":"image_05012025_00_56_03_010443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c766f469cf1d44424f8bb2fba0835353.jpg","text":"TemporaryFile(/tmp/multipartBody7054576835807609766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035092919,"filename":"image_05012025_00_56_03_010443_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b4a6a0bb0fad2ffffce9b0f3de5445a2.jpg","text":"TemporaryFile(/tmp/multipartBody5305723970800248302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035092919,"filename":"image_05012025_00_56_03_010443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d48ae7d95f085e5e530cd32834729a1b.jpg","text":"TemporaryFile(/tmp/multipartBody7136542774748402491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035092919,"filename":"image_05012025_00_55_02_864179_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326829606","file1":"1326829591","file0":"1326829589","file3":"1326829652"},"map_files_photo_id_array":[{"photo_id":"1326829606","filename":"file2"},{"photo_id":"1326829591","filename":"file1"},{"photo_id":"1326829589","filename":"file0"},{"photo_id":"1326829652","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326829652":["hashtag1","hashtag2"]},{"1326829591":["hashtag1","hashtag2"]},{"1326829606":["hashtag1","hashtag2"]},{"1326829589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326829652, 1326829591, 1326829606, 1326829589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74671816825867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-05 00:57:52.011777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 00:59:02.945295
SELECT 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/00/56/image_05012025_00_56_03_010443_0003.jpg', '/home/pi/Desktop/images/05012025/00/57/image_05012025_00_57_02_139270_0000.jpg', '/home/pi/Desktop/images/05012025/00/57/image_05012025_00_57_02_139270_0001.jpg', '/home/pi/Desktop/images/05012025/00/57/image_05012025_00_57_02_139270_0002.jpg', '/home/pi/Desktop/images/05012025/00/57/image_05012025_00_57_02_139270_0003.jpg', '/home/pi/Desktop/images/05012025/00/58/image_05012025_00_58_02_359019_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/00/56/image_05012025_00_56_03_010443_0003.jpg
/home/pi/Desktop/images/05012025/00/57/image_05012025_00_57_02_139270_0000.jpg
/home/pi/Desktop/images/05012025/00/57/image_05012025_00_57_02_139270_0001.jpg
/home/pi/Desktop/images/05012025/00/57/image_05012025_00_57_02_139270_0002.jpg
/home/pi/Desktop/images/05012025/00/57/image_05012025_00_57_02_139270_0003.jpg
/home/pi/Desktop/images/05012025/00/58/image_05012025_00_58_02_359019_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326830492","1326830486","1326830474","1326830479","1326830488","1326830482"],"photo_ids_order":["1326830474","1326830479","1326830482","1326830486","1326830488","1326830492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/af63b361660dd2b50e2bb2c7886fea4a.jpg","text":"TemporaryFile(/tmp/multipartBody7689907832668005015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035218161,"filename":"image_05012025_00_58_02_359019_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4b0506c10313ce50ad11bd725f919440.jpg","text":"TemporaryFile(/tmp/multipartBody8324647356203307874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035218161,"filename":"image_05012025_00_57_02_139270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a354662b33d96eda46167e3b1310879.jpg","text":"TemporaryFile(/tmp/multipartBody1849404264652790069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035218161,"filename":"image_05012025_00_56_03_010443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5038e27c5429b99e57fb6e962bf9fb42.jpg","text":"TemporaryFile(/tmp/multipartBody4507516919728153048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035218161,"filename":"image_05012025_00_57_02_139270_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e9bee17f0b8113749ecb26f2ab4a2c1e.jpg","text":"TemporaryFile(/tmp/multipartBody8102574508036293405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035218161,"filename":"image_05012025_00_57_02_139270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2e2c53ebe6961957767054f295d27b7a.jpg","text":"TemporaryFile(/tmp/multipartBody5979789790796289833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035218161,"filename":"image_05012025_00_57_02_139270_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326830482","file1":"1326830479","file0":"1326830474","file4":"1326830488","file5":"1326830492","file3":"1326830486"},"map_files_photo_id_array":[{"photo_id":"1326830492","filename":"file5"},{"photo_id":"1326830482","filename":"file2"},{"photo_id":"1326830488","filename":"file4"},{"photo_id":"1326830479","filename":"file1"},{"photo_id":"1326830474","filename":"file0"},{"photo_id":"1326830486","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326830492":["hashtag1","hashtag2"]},{"1326830486":["hashtag1","hashtag2"]},{"1326830474":["hashtag1","hashtag2"]},{"1326830479":["hashtag1","hashtag2"]},{"1326830488":["hashtag1","hashtag2"]},{"1326830482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326830492, 1326830486, 1326830474, 1326830479, 1326830488, 1326830482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.8967022895813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:00:02.356591
SELECT 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/00/58/image_05012025_00_58_02_359019_0001.jpg', '/home/pi/Desktop/images/05012025/00/58/image_05012025_00_58_02_359019_0002.jpg', '/home/pi/Desktop/images/05012025/00/58/image_05012025_00_58_02_359019_0003.jpg', '/home/pi/Desktop/images/05012025/00/59/image_05012025_00_59_02_628070_0000.jpg', '/home/pi/Desktop/images/05012025/00/59/image_05012025_00_59_02_628070_0001.jpg', '/home/pi/Desktop/images/05012025/00/59/image_05012025_00_59_02_628070_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/00/58/image_05012025_00_58_02_359019_0001.jpg
/home/pi/Desktop/images/05012025/00/58/image_05012025_00_58_02_359019_0002.jpg
/home/pi/Desktop/images/05012025/00/58/image_05012025_00_58_02_359019_0003.jpg
/home/pi/Desktop/images/05012025/00/59/image_05012025_00_59_02_628070_0000.jpg
/home/pi/Desktop/images/05012025/00/59/image_05012025_00_59_02_628070_0001.jpg
/home/pi/Desktop/images/05012025/00/59/image_05012025_00_59_02_628070_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326830504","1326830507","1326830497","1326830501","1326830509","1326830499"],"photo_ids_order":["1326830497","1326830499","1326830501","1326830504","1326830507","1326830509"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02f22cd2146022c0d0c9b502997ac1ee.jpg","text":"TemporaryFile(/tmp/multipartBody2143331806549672333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035277601,"filename":"image_05012025_00_59_02_628070_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3a1eafee36fea56bcef49de6875009d.jpg","text":"TemporaryFile(/tmp/multipartBody7435892312598892010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035277601,"filename":"image_05012025_00_59_02_628070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/36ae63107b36916d301a2e0f83f379c7.jpg","text":"TemporaryFile(/tmp/multipartBody2733572004294950769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035277601,"filename":"image_05012025_00_58_02_359019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aa5baa8bf41fbd80e7571ddc9b92d571.jpg","text":"TemporaryFile(/tmp/multipartBody4041368187823409977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035277601,"filename":"image_05012025_00_58_02_359019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4bd674415ce95a83768bfc0006a6ec5f.jpg","text":"TemporaryFile(/tmp/multipartBody827758717543021420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035277601,"filename":"image_05012025_00_59_02_628070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3607d7ed33aff2d06504e3b7cb54dd61.jpg","text":"TemporaryFile(/tmp/multipartBody6551255573588072066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035277601,"filename":"image_05012025_00_58_02_359019_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326830501","file1":"1326830499","file0":"1326830497","file4":"1326830507","file5":"1326830509","file3":"1326830504"},"map_files_photo_id_array":[{"photo_id":"1326830509","filename":"file5"},{"photo_id":"1326830501","filename":"file2"},{"photo_id":"1326830507","filename":"file4"},{"photo_id":"1326830499","filename":"file1"},{"photo_id":"1326830497","filename":"file0"},{"photo_id":"1326830504","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326830504":["hashtag1","hashtag2"]},{"1326830507":["hashtag1","hashtag2"]},{"1326830497":["hashtag1","hashtag2"]},{"1326830501":["hashtag1","hashtag2"]},{"1326830509":["hashtag1","hashtag2"]},{"1326830499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326830504, 1326830507, 1326830497, 1326830501, 1326830509, 1326830499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.74453568458557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:01:03.011612
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/00/59/image_05012025_00_59_02_628070_0003.jpg', '/home/pi/Desktop/images/05012025/01/00/image_05012025_01_00_02_716383_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/00/59/image_05012025_00_59_02_628070_0003.jpg
/home/pi/Desktop/images/05012025/01/00/image_05012025_01_00_02_716383_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326830519","1326830551"],"photo_ids_order":["1326830519","1326830551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1d6ed26a361dd8914a1a5776c18d1f7c.jpg","text":"TemporaryFile(/tmp/multipartBody6468375266480431718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035328713,"filename":"image_05012025_00_59_02_628070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2d13979d96da576888417a42852cc29f.jpg","text":"TemporaryFile(/tmp/multipartBody8048668213586476797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035328713,"filename":"image_05012025_01_00_02_716383_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326830551","file0":"1326830519"},"map_files_photo_id_array":[{"photo_id":"1326830551","filename":"file1"},{"photo_id":"1326830519","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326830519":["hashtag1","hashtag2"]},{"1326830551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326830519, 1326830551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.38385796546936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:02:02.583170
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/00/image_05012025_01_00_02_716383_0003.jpg', '/home/pi/Desktop/images/05012025/01/01/image_05012025_01_01_02_321881_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/01/00/image_05012025_01_00_02_716383_0003.jpg
/home/pi/Desktop/images/05012025/01/01/image_05012025_01_01_02_321881_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.178513288497925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:02:22.119713
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/00/image_05012025_01_00_02_716383_0003.jpg', '/home/pi/Desktop/images/05012025/01/01/image_05012025_01_01_02_321881_0000.jpg', '/home/pi/Desktop/images/05012025/01/01/image_05012025_01_01_02_321881_0001.jpg', '/home/pi/Desktop/images/05012025/01/02/image_05012025_01_02_02_814666_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/01/00/image_05012025_01_00_02_716383_0003.jpg
/home/pi/Desktop/images/05012025/01/01/image_05012025_01_01_02_321881_0000.jpg
/home/pi/Desktop/images/05012025/01/01/image_05012025_01_01_02_321881_0001.jpg
/home/pi/Desktop/images/05012025/01/02/image_05012025_01_02_02_814666_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326830576","1326830572","1326830566","1326830569"],"photo_ids_order":["1326830566","1326830569","1326830572","1326830576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b5a1f0aa5627c12e08a4dc95fb49ec26.jpg","text":"TemporaryFile(/tmp/multipartBody4923981637007047679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035412565,"filename":"image_05012025_01_02_02_814666_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ff68f24259bd240a9030f634641a3eb.jpg","text":"TemporaryFile(/tmp/multipartBody8473714363410293520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035412565,"filename":"image_05012025_01_01_02_321881_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1342ae7e685e210cbbafe6119b831b90.jpg","text":"TemporaryFile(/tmp/multipartBody1543883300873316880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035412565,"filename":"image_05012025_01_00_02_716383_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/98d22943de7ad1db17b487049ddfd26b.jpg","text":"TemporaryFile(/tmp/multipartBody6374105568487113486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035412565,"filename":"image_05012025_01_01_02_321881_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326830572","file1":"1326830569","file0":"1326830566","file3":"1326830576"},"map_files_photo_id_array":[{"photo_id":"1326830572","filename":"file2"},{"photo_id":"1326830569","filename":"file1"},{"photo_id":"1326830566","filename":"file0"},{"photo_id":"1326830576","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326830576":["hashtag1","hashtag2"]},{"1326830572":["hashtag1","hashtag2"]},{"1326830566":["hashtag1","hashtag2"]},{"1326830569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326830576, 1326830572, 1326830566, 1326830569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.88158202171326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:03:03.259998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:03:22.558633
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/02/image_05012025_01_02_02_814666_0003.jpg', '/home/pi/Desktop/images/05012025/01/03/image_05012025_01_03_02_470612_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/01/02/image_05012025_01_02_02_814666_0003.jpg
/home/pi/Desktop/images/05012025/01/03/image_05012025_01_03_02_470612_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326830588","1326830587"],"photo_ids_order":["1326830587","1326830588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b069d87e58d518d5f0940d172c5244f3.jpg","text":"TemporaryFile(/tmp/multipartBody7826114131986219760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035468110,"filename":"image_05012025_01_03_02_470612_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/441d682f37600c807077575c7af97546.jpg","text":"TemporaryFile(/tmp/multipartBody6273495092344106142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035468110,"filename":"image_05012025_01_02_02_814666_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326830588","file0":"1326830587"},"map_files_photo_id_array":[{"photo_id":"1326830588","filename":"file1"},{"photo_id":"1326830587","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326830588":["hashtag1","hashtag2"]},{"1326830587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326830588, 1326830587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.09151315689087 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:04:02.687064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:04:22.366076
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/03/image_05012025_01_03_02_470612_0001.jpg', '/home/pi/Desktop/images/05012025/01/04/image_05012025_01_04_03_018202_0001.jpg', '/home/pi/Desktop/images/05012025/01/04/image_05012025_01_04_03_018202_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/01/03/image_05012025_01_03_02_470612_0001.jpg
/home/pi/Desktop/images/05012025/01/04/image_05012025_01_04_03_018202_0001.jpg
/home/pi/Desktop/images/05012025/01/04/image_05012025_01_04_03_018202_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326830601","1326830603","1326830598"],"photo_ids_order":["1326830598","1326830601","1326830603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a0578dc7e709833c80ab43dce7b17388.jpg","text":"TemporaryFile(/tmp/multipartBody6325867533562641178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035530394,"filename":"image_05012025_01_04_03_018202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f8c4bbf0486aaf05fa97b0ca791ca724.jpg","text":"TemporaryFile(/tmp/multipartBody4948724480156248232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035530394,"filename":"image_05012025_01_04_03_018202_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/de7a84fe2546119bf583af6c0de96dfb.jpg","text":"TemporaryFile(/tmp/multipartBody4134803677226045257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035530394,"filename":"image_05012025_01_03_02_470612_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326830603","file1":"1326830601","file0":"1326830598"},"map_files_photo_id_array":[{"photo_id":"1326830603","filename":"file2"},{"photo_id":"1326830601","filename":"file1"},{"photo_id":"1326830598","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326830601":["hashtag1","hashtag2"]},{"1326830603":["hashtag1","hashtag2"]},{"1326830598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326830601, 1326830603, 1326830598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.58814978599548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:05:02.408983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:05:21.799444
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/04/image_05012025_01_04_03_018202_0003.jpg', '/home/pi/Desktop/images/05012025/01/05/image_05012025_01_05_02_735695_0000.jpg', '/home/pi/Desktop/images/05012025/01/05/image_05012025_01_05_02_735695_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/01/04/image_05012025_01_04_03_018202_0003.jpg
/home/pi/Desktop/images/05012025/01/05/image_05012025_01_05_02_735695_0000.jpg
/home/pi/Desktop/images/05012025/01/05/image_05012025_01_05_02_735695_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326830613","1326830616","1326830610"],"photo_ids_order":["1326830610","1326830613","1326830616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f6f756072d7fe86a9642d6d2c8d00fb.jpg","text":"TemporaryFile(/tmp/multipartBody1843491144181188537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035589807,"filename":"image_05012025_01_05_02_735695_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ef12b5032c54065515456338910066ee.jpg","text":"TemporaryFile(/tmp/multipartBody4941555137847269081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035589807,"filename":"image_05012025_01_05_02_735695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/19a1dc5e0a23e9f44f954c0a5ab1249f.jpg","text":"TemporaryFile(/tmp/multipartBody3842738834045953091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035589807,"filename":"image_05012025_01_04_03_018202_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326830616","file1":"1326830613","file0":"1326830610"},"map_files_photo_id_array":[{"photo_id":"1326830616","filename":"file2"},{"photo_id":"1326830613","filename":"file1"},{"photo_id":"1326830610","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326830613":["hashtag1","hashtag2"]},{"1326830616":["hashtag1","hashtag2"]},{"1326830610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326830613, 1326830616, 1326830610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.596179962158203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:06:02.779228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:06:22.460768
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/05/image_05012025_01_05_02_735695_0003.jpg', '/home/pi/Desktop/images/05012025/01/06/image_05012025_01_06_02_257534_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/01/05/image_05012025_01_05_02_735695_0003.jpg
/home/pi/Desktop/images/05012025/01/06/image_05012025_01_06_02_257534_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.175578355789185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:07:02.646765
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/05/image_05012025_01_05_02_735695_0003.jpg', '/home/pi/Desktop/images/05012025/01/06/image_05012025_01_06_02_257534_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/01/05/image_05012025_01_05_02_735695_0003.jpg
/home/pi/Desktop/images/05012025/01/06/image_05012025_01_06_02_257534_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326830666","1326830668"],"photo_ids_order":["1326830666","1326830668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11884d5ff357c84a925669a0ac4f6149.jpg","text":"TemporaryFile(/tmp/multipartBody8494879757595792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035688277,"filename":"image_05012025_01_05_02_735695_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/84491185c5d024b219e5ebd297d1399b.jpg","text":"TemporaryFile(/tmp/multipartBody796342682080041476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035688277,"filename":"image_05012025_01_06_02_257534_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326830668","file0":"1326830666"},"map_files_photo_id_array":[{"photo_id":"1326830668","filename":"file1"},{"photo_id":"1326830666","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326830666":["hashtag1","hashtag2"]},{"1326830668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326830666, 1326830668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.05846381187439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:08:02.204179
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/06/image_05012025_01_06_02_257534_0001.jpg', '/home/pi/Desktop/images/05012025/01/07/image_05012025_01_07_02_897895_0000.jpg', '/home/pi/Desktop/images/05012025/01/07/image_05012025_01_07_02_897895_0001.jpg', '/home/pi/Desktop/images/05012025/01/07/image_05012025_01_07_02_897895_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/01/06/image_05012025_01_06_02_257534_0001.jpg
/home/pi/Desktop/images/05012025/01/07/image_05012025_01_07_02_897895_0000.jpg
/home/pi/Desktop/images/05012025/01/07/image_05012025_01_07_02_897895_0001.jpg
/home/pi/Desktop/images/05012025/01/07/image_05012025_01_07_02_897895_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.077212572097778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:08:21.827162
SELECT 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/01/06/image_05012025_01_06_02_257534_0001.jpg', '/home/pi/Desktop/images/05012025/01/07/image_05012025_01_07_02_897895_0000.jpg', '/home/pi/Desktop/images/05012025/01/07/image_05012025_01_07_02_897895_0001.jpg', '/home/pi/Desktop/images/05012025/01/07/image_05012025_01_07_02_897895_0002.jpg', '/home/pi/Desktop/images/05012025/01/07/image_05012025_01_07_02_897895_0003.jpg', '/home/pi/Desktop/images/05012025/01/08/image_05012025_01_08_02_554862_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/01/06/image_05012025_01_06_02_257534_0001.jpg
/home/pi/Desktop/images/05012025/01/07/image_05012025_01_07_02_897895_0000.jpg
/home/pi/Desktop/images/05012025/01/07/image_05012025_01_07_02_897895_0001.jpg
/home/pi/Desktop/images/05012025/01/07/image_05012025_01_07_02_897895_0002.jpg
/home/pi/Desktop/images/05012025/01/07/image_05012025_01_07_02_897895_0003.jpg
/home/pi/Desktop/images/05012025/01/08/image_05012025_01_08_02_554862_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326830693","1326830687","1326830695","1326830689","1326830691","1326830685"],"photo_ids_order":["1326830685","1326830687","1326830689","1326830691","1326830693","1326830695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d001a6d8e089e1b7dad2300f636fc450.jpg","text":"TemporaryFile(/tmp/multipartBody4531485433004615325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035777174,"filename":"image_05012025_01_07_02_897895_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/77f52d4e0044816c79bae672722b95ee.jpg","text":"TemporaryFile(/tmp/multipartBody5953611926421489125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035777174,"filename":"image_05012025_01_07_02_897895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2182335a999240556bbc7e68da3ebef7.jpg","text":"TemporaryFile(/tmp/multipartBody891878873019867733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035777174,"filename":"image_05012025_01_08_02_554862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/41a06ebb913a10e1d71bd293b0af1754.jpg","text":"TemporaryFile(/tmp/multipartBody7074516463911442966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035777174,"filename":"image_05012025_01_07_02_897895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4ed228e49f281ea137bb7fe80678b70f.jpg","text":"TemporaryFile(/tmp/multipartBody6843651241943376779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035777174,"filename":"image_05012025_01_07_02_897895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f0403a2c140216b3c2c3c787ca8e59b1.jpg","text":"TemporaryFile(/tmp/multipartBody8846967899725947934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035777174,"filename":"image_05012025_01_06_02_257534_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326830689","file1":"1326830687","file0":"1326830685","file4":"1326830693","file5":"1326830695","file3":"1326830691"},"map_files_photo_id_array":[{"photo_id":"1326830695","filename":"file5"},{"photo_id":"1326830689","filename":"file2"},{"photo_id":"1326830693","filename":"file4"},{"photo_id":"1326830687","filename":"file1"},{"photo_id":"1326830685","filename":"file0"},{"photo_id":"1326830691","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326830693":["hashtag1","hashtag2"]},{"1326830687":["hashtag1","hashtag2"]},{"1326830695":["hashtag1","hashtag2"]},{"1326830689":["hashtag1","hashtag2"]},{"1326830691":["hashtag1","hashtag2"]},{"1326830685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326830693, 1326830687, 1326830695, 1326830689, 1326830691, 1326830685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.28651452064514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:09:22.399720
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/08/image_05012025_01_08_02_554862_0002.jpg', '/home/pi/Desktop/images/05012025/01/08/image_05012025_01_08_02_554862_0003.jpg', '/home/pi/Desktop/images/05012025/01/09/image_05012025_01_09_02_276506_0001.jpg', '/home/pi/Desktop/images/05012025/01/09/image_05012025_01_09_02_276506_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/01/08/image_05012025_01_08_02_554862_0002.jpg
/home/pi/Desktop/images/05012025/01/08/image_05012025_01_08_02_554862_0003.jpg
/home/pi/Desktop/images/05012025/01/09/image_05012025_01_09_02_276506_0001.jpg
/home/pi/Desktop/images/05012025/01/09/image_05012025_01_09_02_276506_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326830706","1326830709","1326830699","1326830697"],"photo_ids_order":["1326830697","1326830699","1326830706","1326830709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/134bd1ca4fe1ca3be7ae0da39a8cc78a.jpg","text":"TemporaryFile(/tmp/multipartBody7321504802174288740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035832866,"filename":"image_05012025_01_09_02_276506_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/05c382d65f4fdb331c000fade9174219.jpg","text":"TemporaryFile(/tmp/multipartBody944260792285573986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035832866,"filename":"image_05012025_01_09_02_276506_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8c95f7fda775a8388756443201b5f039.jpg","text":"TemporaryFile(/tmp/multipartBody3817478559693018846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035832866,"filename":"image_05012025_01_08_02_554862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9c0ecf639a5795609bffb2e45115d196.jpg","text":"TemporaryFile(/tmp/multipartBody104871222134944409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035832866,"filename":"image_05012025_01_08_02_554862_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326830706","file1":"1326830699","file0":"1326830697","file3":"1326830709"},"map_files_photo_id_array":[{"photo_id":"1326830706","filename":"file2"},{"photo_id":"1326830699","filename":"file1"},{"photo_id":"1326830697","filename":"file0"},{"photo_id":"1326830709","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326830706":["hashtag1","hashtag2"]},{"1326830709":["hashtag1","hashtag2"]},{"1326830699":["hashtag1","hashtag2"]},{"1326830697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326830706, 1326830709, 1326830699, 1326830697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.28918480873108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:10:21.925685
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/09/image_05012025_01_09_02_276506_0003.jpg', '/home/pi/Desktop/images/05012025/01/10/image_05012025_01_10_02_785083_0000.jpg', '/home/pi/Desktop/images/05012025/01/10/image_05012025_01_10_02_785083_0001.jpg', '/home/pi/Desktop/images/05012025/01/10/image_05012025_01_10_02_785083_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/01/09/image_05012025_01_09_02_276506_0003.jpg
/home/pi/Desktop/images/05012025/01/10/image_05012025_01_10_02_785083_0000.jpg
/home/pi/Desktop/images/05012025/01/10/image_05012025_01_10_02_785083_0001.jpg
/home/pi/Desktop/images/05012025/01/10/image_05012025_01_10_02_785083_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326830747","1326830750","1326830743","1326830745"],"photo_ids_order":["1326830743","1326830745","1326830747","1326830750"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/389dfaf551b1760e98ee3d8dc0d6c7e0.jpg","text":"TemporaryFile(/tmp/multipartBody8506307054638149900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035892403,"filename":"image_05012025_01_10_02_785083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5fa340435f39e5c6430f88969205b437.jpg","text":"TemporaryFile(/tmp/multipartBody5892311444771663307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035892403,"filename":"image_05012025_01_10_02_785083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a26b23f7a8d7b00c2e7458a25d74adbb.jpg","text":"TemporaryFile(/tmp/multipartBody5314100866375278712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035892403,"filename":"image_05012025_01_09_02_276506_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/80ae7b8cd038f8dd53181f71da90eec2.jpg","text":"TemporaryFile(/tmp/multipartBody2741425507234062122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035892403,"filename":"image_05012025_01_10_02_785083_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326830747","file1":"1326830745","file0":"1326830743","file3":"1326830750"},"map_files_photo_id_array":[{"photo_id":"1326830747","filename":"file2"},{"photo_id":"1326830745","filename":"file1"},{"photo_id":"1326830743","filename":"file0"},{"photo_id":"1326830750","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326830747":["hashtag1","hashtag2"]},{"1326830750":["hashtag1","hashtag2"]},{"1326830743":["hashtag1","hashtag2"]},{"1326830745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326830747, 1326830750, 1326830743, 1326830745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.515053272247314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:11:22.408091
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/10/image_05012025_01_10_02_785083_0003.jpg', '/home/pi/Desktop/images/05012025/01/11/image_05012025_01_11_02_288959_0000.jpg', '/home/pi/Desktop/images/05012025/01/11/image_05012025_01_11_02_288959_0001.jpg', '/home/pi/Desktop/images/05012025/01/11/image_05012025_01_11_02_288959_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/01/10/image_05012025_01_10_02_785083_0003.jpg
/home/pi/Desktop/images/05012025/01/11/image_05012025_01_11_02_288959_0000.jpg
/home/pi/Desktop/images/05012025/01/11/image_05012025_01_11_02_288959_0001.jpg
/home/pi/Desktop/images/05012025/01/11/image_05012025_01_11_02_288959_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326830770","1326830764","1326830761","1326830766"],"photo_ids_order":["1326830761","1326830764","1326830766","1326830770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4fe70672f7635193495c97720cc541a9.jpg","text":"TemporaryFile(/tmp/multipartBody5784217102375903883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035952931,"filename":"image_05012025_01_11_02_288959_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9566eefa670db0f29719bddf6cdb707f.jpg","text":"TemporaryFile(/tmp/multipartBody8698460582436166984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035952931,"filename":"image_05012025_01_11_02_288959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/551a068b955904739a3c8faf46c06e1e.jpg","text":"TemporaryFile(/tmp/multipartBody4414997254428822306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035952931,"filename":"image_05012025_01_10_02_785083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f729628cb9e1da2dace9ecfc9e8c7496.jpg","text":"TemporaryFile(/tmp/multipartBody828196298141369288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736035952931,"filename":"image_05012025_01_11_02_288959_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326830766","file1":"1326830764","file0":"1326830761","file3":"1326830770"},"map_files_photo_id_array":[{"photo_id":"1326830766","filename":"file2"},{"photo_id":"1326830764","filename":"file1"},{"photo_id":"1326830761","filename":"file0"},{"photo_id":"1326830770","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326830770":["hashtag1","hashtag2"]},{"1326830764":["hashtag1","hashtag2"]},{"1326830761":["hashtag1","hashtag2"]},{"1326830766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326830770, 1326830764, 1326830761, 1326830766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93063139915466 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-05 01:12:21.910682
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/11/image_05012025_01_11_02_288959_0003.jpg', '/home/pi/Desktop/images/05012025/01/12/image_05012025_01_12_02_800820_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/01/11/image_05012025_01_11_02_288959_0003.jpg
/home/pi/Desktop/images/05012025/01/12/image_05012025_01_12_02_800820_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326830791","1326830793"],"photo_ids_order":["1326830791","1326830793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/790720e388d4a09509de1b8534f9610e.jpg","text":"TemporaryFile(/tmp/multipartBody5204814912561492261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036007470,"filename":"image_05012025_01_11_02_288959_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e7450af589c48e4538cedcc958aeab6d.jpg","text":"TemporaryFile(/tmp/multipartBody7331261959012656393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036007470,"filename":"image_05012025_01_12_02_800820_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326830793","file0":"1326830791"},"map_files_photo_id_array":[{"photo_id":"1326830793","filename":"file1"},{"photo_id":"1326830791","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326830791":["hashtag1","hashtag2"]},{"1326830793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326830791, 1326830793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.22127342224121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:13:03.193883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:13:22.489238
SELECT 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/01/12/image_05012025_01_12_02_800820_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/01/12/image_05012025_01_12_02_800820_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326830912"],"photo_id":"1326830912","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/230932c63c8b9cd5bf969519dd030bde.jpg","text":"TemporaryFile(/tmp/multipartBody7135670071673411090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036065612,"filename":"image_05012025_01_12_02_800820_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326830912"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326830912"}],"hashtags":[],"portfolio_id":"19417920","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.421587467193604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:14:02.513660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:14:22.076175
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/13/image_05012025_01_13_02_329560_0001.jpg', '/home/pi/Desktop/images/05012025/01/14/image_05012025_01_14_02_850966_0000.jpg', '/home/pi/Desktop/images/05012025/01/14/image_05012025_01_14_02_850966_0001.jpg', '/home/pi/Desktop/images/05012025/01/14/image_05012025_01_14_02_850966_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/01/13/image_05012025_01_13_02_329560_0001.jpg
/home/pi/Desktop/images/05012025/01/14/image_05012025_01_14_02_850966_0000.jpg
/home/pi/Desktop/images/05012025/01/14/image_05012025_01_14_02_850966_0001.jpg
/home/pi/Desktop/images/05012025/01/14/image_05012025_01_14_02_850966_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326830930","1326830938","1326830934","1326830937"],"photo_ids_order":["1326830930","1326830934","1326830937","1326830938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0dd6ba95dfe2d8ee6567b1beae84eb05.jpg","text":"TemporaryFile(/tmp/multipartBody4724889924761786012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036132545,"filename":"image_05012025_01_13_02_329560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ff2f41ad0ef8b0617626e7deab3471d3.jpg","text":"TemporaryFile(/tmp/multipartBody1186338371869294068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036132545,"filename":"image_05012025_01_14_02_850966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/08245db6070d8039fbd14e86df65c4e1.jpg","text":"TemporaryFile(/tmp/multipartBody8491410469698655767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036132545,"filename":"image_05012025_01_14_02_850966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/18fdbb56facb65726d3e1d5e61fd6015.jpg","text":"TemporaryFile(/tmp/multipartBody5109326548628939023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036132545,"filename":"image_05012025_01_14_02_850966_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326830937","file1":"1326830934","file0":"1326830930","file3":"1326830938"},"map_files_photo_id_array":[{"photo_id":"1326830937","filename":"file2"},{"photo_id":"1326830934","filename":"file1"},{"photo_id":"1326830930","filename":"file0"},{"photo_id":"1326830938","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326830930":["hashtag1","hashtag2"]},{"1326830938":["hashtag1","hashtag2"]},{"1326830934":["hashtag1","hashtag2"]},{"1326830937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326830930, 1326830938, 1326830934, 1326830937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.52706289291382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:15:22.580965
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/14/image_05012025_01_14_02_850966_0003.jpg', '/home/pi/Desktop/images/05012025/01/15/image_05012025_01_15_02_427539_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/01/14/image_05012025_01_14_02_850966_0003.jpg
/home/pi/Desktop/images/05012025/01/15/image_05012025_01_15_02_427539_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326830946","1326830944"],"photo_ids_order":["1326830944","1326830946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/10dd9af70fd28dd05c1620d8ffdce430.jpg","text":"TemporaryFile(/tmp/multipartBody8259696739957975715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036188143,"filename":"image_05012025_01_15_02_427539_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dceacb45014ded6b5bcd51d8a7112e39.jpg","text":"TemporaryFile(/tmp/multipartBody2027276438785835359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036188143,"filename":"image_05012025_01_14_02_850966_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326830946","file0":"1326830944"},"map_files_photo_id_array":[{"photo_id":"1326830946","filename":"file1"},{"photo_id":"1326830944","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326830946":["hashtag1","hashtag2"]},{"1326830944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326830946, 1326830944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.980905532836914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:16:02.499837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:16:22.044717
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/15/image_05012025_01_15_02_427539_0003.jpg', '/home/pi/Desktop/images/05012025/01/16/image_05012025_01_16_02_954112_0000.jpg', '/home/pi/Desktop/images/05012025/01/16/image_05012025_01_16_02_954112_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/01/15/image_05012025_01_15_02_427539_0003.jpg
/home/pi/Desktop/images/05012025/01/16/image_05012025_01_16_02_954112_0000.jpg
/home/pi/Desktop/images/05012025/01/16/image_05012025_01_16_02_954112_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831010","1326831015","1326831012"],"photo_ids_order":["1326831010","1326831012","1326831015"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/728474a55f044925497e54bfcf2ee3a6.jpg","text":"TemporaryFile(/tmp/multipartBody1153217632745912308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036250063,"filename":"image_05012025_01_15_02_427539_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cf1653d971a4580cacf2cdcc95f48a2f.jpg","text":"TemporaryFile(/tmp/multipartBody1299702482119727198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036250063,"filename":"image_05012025_01_16_02_954112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/672d5ac373296702ac89d8a254516123.jpg","text":"TemporaryFile(/tmp/multipartBody5748192082703919857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036250063,"filename":"image_05012025_01_16_02_954112_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831015","file1":"1326831012","file0":"1326831010"},"map_files_photo_id_array":[{"photo_id":"1326831015","filename":"file2"},{"photo_id":"1326831012","filename":"file1"},{"photo_id":"1326831010","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831010":["hashtag1","hashtag2"]},{"1326831015":["hashtag1","hashtag2"]},{"1326831012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831010, 1326831015, 1326831012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.61043357849121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:17:03.293286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:17:22.550959
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/16/image_05012025_01_16_02_954112_0003.jpg', '/home/pi/Desktop/images/05012025/01/17/image_05012025_01_17_02_436836_0000.jpg', '/home/pi/Desktop/images/05012025/01/17/image_05012025_01_17_02_436836_0001.jpg', '/home/pi/Desktop/images/05012025/01/17/image_05012025_01_17_02_436836_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/01/16/image_05012025_01_16_02_954112_0003.jpg
/home/pi/Desktop/images/05012025/01/17/image_05012025_01_17_02_436836_0000.jpg
/home/pi/Desktop/images/05012025/01/17/image_05012025_01_17_02_436836_0001.jpg
/home/pi/Desktop/images/05012025/01/17/image_05012025_01_17_02_436836_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831023","1326831033","1326831030","1326831027"],"photo_ids_order":["1326831023","1326831027","1326831030","1326831033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/21dfc5dd3a7e10906459fa0fe7d79695.jpg","text":"TemporaryFile(/tmp/multipartBody5246412266394355177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036313069,"filename":"image_05012025_01_16_02_954112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/37bd3b1d2712a9fe4a1ab18c9f38c47a.jpg","text":"TemporaryFile(/tmp/multipartBody529424464973443533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036313069,"filename":"image_05012025_01_17_02_436836_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a6ecb4ca7a5aeacf8d2ed2ba269a8282.jpg","text":"TemporaryFile(/tmp/multipartBody7201004503196867591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036313069,"filename":"image_05012025_01_17_02_436836_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dcdab1b21a9eb3249fae52e3bcca837e.jpg","text":"TemporaryFile(/tmp/multipartBody8930484421977101348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036313069,"filename":"image_05012025_01_17_02_436836_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831030","file1":"1326831027","file0":"1326831023","file3":"1326831033"},"map_files_photo_id_array":[{"photo_id":"1326831030","filename":"file2"},{"photo_id":"1326831027","filename":"file1"},{"photo_id":"1326831023","filename":"file0"},{"photo_id":"1326831033","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831023":["hashtag1","hashtag2"]},{"1326831033":["hashtag1","hashtag2"]},{"1326831030":["hashtag1","hashtag2"]},{"1326831027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831023, 1326831033, 1326831030, 1326831027)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.115726470947266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:18:22.101685
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/17/image_05012025_01_17_02_436836_0003.jpg', '/home/pi/Desktop/images/05012025/01/18/image_05012025_01_18_02_936930_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/01/17/image_05012025_01_17_02_436836_0003.jpg
/home/pi/Desktop/images/05012025/01/18/image_05012025_01_18_02_936930_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831040","1326831039"],"photo_ids_order":["1326831039","1326831040"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d26a78b27fd44b0dafc3865a3d5cd4b4.jpg","text":"TemporaryFile(/tmp/multipartBody3530936487812833388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036367681,"filename":"image_05012025_01_18_02_936930_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f05ecab2b088cbea0e8410c4fd1921e.jpg","text":"TemporaryFile(/tmp/multipartBody4008842971907173959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036367681,"filename":"image_05012025_01_17_02_436836_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326831040","file0":"1326831039"},"map_files_photo_id_array":[{"photo_id":"1326831040","filename":"file1"},{"photo_id":"1326831039","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831040":["hashtag1","hashtag2"]},{"1326831039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831040, 1326831039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.676112174987793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:19:03.247547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:19:22.723935
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/18/image_05012025_01_18_02_936930_0003.jpg', '/home/pi/Desktop/images/05012025/01/19/image_05012025_01_19_02_553173_0000.jpg', '/home/pi/Desktop/images/05012025/01/19/image_05012025_01_19_02_553173_0001.jpg', '/home/pi/Desktop/images/05012025/01/19/image_05012025_01_19_02_553173_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/01/18/image_05012025_01_18_02_936930_0003.jpg
/home/pi/Desktop/images/05012025/01/19/image_05012025_01_19_02_553173_0000.jpg
/home/pi/Desktop/images/05012025/01/19/image_05012025_01_19_02_553173_0001.jpg
/home/pi/Desktop/images/05012025/01/19/image_05012025_01_19_02_553173_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831062","1326831056","1326831064","1326831060"],"photo_ids_order":["1326831056","1326831060","1326831062","1326831064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/09be28ad8dc6931d5de669c11abf063e.jpg","text":"TemporaryFile(/tmp/multipartBody8187674266138537885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036433207,"filename":"image_05012025_01_19_02_553173_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e987fc350e1366dd076475f15c7b4c42.jpg","text":"TemporaryFile(/tmp/multipartBody7497715774224755412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036433207,"filename":"image_05012025_01_18_02_936930_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/169ef9099ae6ff5d991b596c5bc0ceab.jpg","text":"TemporaryFile(/tmp/multipartBody4700026749341634834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036433207,"filename":"image_05012025_01_19_02_553173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2728ff13ce689a59458b37264fc7cb2d.jpg","text":"TemporaryFile(/tmp/multipartBody644560733616120504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036433207,"filename":"image_05012025_01_19_02_553173_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831062","file1":"1326831060","file0":"1326831056","file3":"1326831064"},"map_files_photo_id_array":[{"photo_id":"1326831062","filename":"file2"},{"photo_id":"1326831060","filename":"file1"},{"photo_id":"1326831056","filename":"file0"},{"photo_id":"1326831064","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831062":["hashtag1","hashtag2"]},{"1326831056":["hashtag1","hashtag2"]},{"1326831064":["hashtag1","hashtag2"]},{"1326831060":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831062, 1326831056, 1326831064, 1326831060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.62016487121582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:20:22.338800
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/19/image_05012025_01_19_02_553173_0003.jpg', '/home/pi/Desktop/images/05012025/01/20/image_05012025_01_20_03_062538_0001.jpg', '/home/pi/Desktop/images/05012025/01/20/image_05012025_01_20_03_062538_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/01/19/image_05012025_01_19_02_553173_0003.jpg
/home/pi/Desktop/images/05012025/01/20/image_05012025_01_20_03_062538_0001.jpg
/home/pi/Desktop/images/05012025/01/20/image_05012025_01_20_03_062538_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831076","1326831070","1326831072"],"photo_ids_order":["1326831070","1326831072","1326831076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/faec84e426dd5574819918aacb596e6f.jpg","text":"TemporaryFile(/tmp/multipartBody3670310262896340521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036490385,"filename":"image_05012025_01_20_03_062538_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7e2ddfd7f31fd290e0c88435db7b9ddb.jpg","text":"TemporaryFile(/tmp/multipartBody1297020827830460338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036490385,"filename":"image_05012025_01_19_02_553173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/caf9d230247f61cc3a67cf175d8055f8.jpg","text":"TemporaryFile(/tmp/multipartBody5223723067563488982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036490385,"filename":"image_05012025_01_20_03_062538_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831076","file1":"1326831072","file0":"1326831070"},"map_files_photo_id_array":[{"photo_id":"1326831076","filename":"file2"},{"photo_id":"1326831072","filename":"file1"},{"photo_id":"1326831070","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831076":["hashtag1","hashtag2"]},{"1326831070":["hashtag1","hashtag2"]},{"1326831072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831076, 1326831070, 1326831072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.6411292552948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:21:02.660213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:21:21.829255
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/20/image_05012025_01_20_03_062538_0003.jpg', '/home/pi/Desktop/images/05012025/01/21/image_05012025_01_21_02_742376_0000.jpg', '/home/pi/Desktop/images/05012025/01/21/image_05012025_01_21_02_742376_0001.jpg', '/home/pi/Desktop/images/05012025/01/21/image_05012025_01_21_02_742376_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/01/20/image_05012025_01_20_03_062538_0003.jpg
/home/pi/Desktop/images/05012025/01/21/image_05012025_01_21_02_742376_0000.jpg
/home/pi/Desktop/images/05012025/01/21/image_05012025_01_21_02_742376_0001.jpg
/home/pi/Desktop/images/05012025/01/21/image_05012025_01_21_02_742376_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831113","1326831116","1326831110","1326831118"],"photo_ids_order":["1326831110","1326831113","1326831116","1326831118"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a2c0bd801047ba53be2de82e73845488.jpg","text":"TemporaryFile(/tmp/multipartBody4214462435685056185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036552330,"filename":"image_05012025_01_21_02_742376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d2f36f45a6b4092a864674c9de7ccb0b.jpg","text":"TemporaryFile(/tmp/multipartBody2154437889252399330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036552330,"filename":"image_05012025_01_21_02_742376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1d96f34f872b4655c71bb2265f9ea5bc.jpg","text":"TemporaryFile(/tmp/multipartBody6946751784515907806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036552330,"filename":"image_05012025_01_20_03_062538_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/38b56b4bcbcffa9b560d43ff4be5064c.jpg","text":"TemporaryFile(/tmp/multipartBody8306791759731507385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036552330,"filename":"image_05012025_01_21_02_742376_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831116","file1":"1326831113","file0":"1326831110","file3":"1326831118"},"map_files_photo_id_array":[{"photo_id":"1326831116","filename":"file2"},{"photo_id":"1326831113","filename":"file1"},{"photo_id":"1326831110","filename":"file0"},{"photo_id":"1326831118","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831113":["hashtag1","hashtag2"]},{"1326831116":["hashtag1","hashtag2"]},{"1326831110":["hashtag1","hashtag2"]},{"1326831118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831113, 1326831116, 1326831110, 1326831118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.816171646118164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:22:02.859987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:22:22.417668
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/21/image_05012025_01_21_02_742376_0003.jpg', '/home/pi/Desktop/images/05012025/01/22/image_05012025_01_22_02_215771_0000.jpg', '/home/pi/Desktop/images/05012025/01/22/image_05012025_01_22_02_215771_0001.jpg', '/home/pi/Desktop/images/05012025/01/22/image_05012025_01_22_02_215771_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/01/21/image_05012025_01_21_02_742376_0003.jpg
/home/pi/Desktop/images/05012025/01/22/image_05012025_01_22_02_215771_0000.jpg
/home/pi/Desktop/images/05012025/01/22/image_05012025_01_22_02_215771_0001.jpg
/home/pi/Desktop/images/05012025/01/22/image_05012025_01_22_02_215771_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.042893409729004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:23:02.667686
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/21/image_05012025_01_21_02_742376_0003.jpg', '/home/pi/Desktop/images/05012025/01/22/image_05012025_01_22_02_215771_0000.jpg', '/home/pi/Desktop/images/05012025/01/22/image_05012025_01_22_02_215771_0001.jpg', '/home/pi/Desktop/images/05012025/01/22/image_05012025_01_22_02_215771_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/01/21/image_05012025_01_21_02_742376_0003.jpg
/home/pi/Desktop/images/05012025/01/22/image_05012025_01_22_02_215771_0000.jpg
/home/pi/Desktop/images/05012025/01/22/image_05012025_01_22_02_215771_0001.jpg
/home/pi/Desktop/images/05012025/01/22/image_05012025_01_22_02_215771_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831140","1326831136","1326831135","1326831138"],"photo_ids_order":["1326831135","1326831136","1326831138","1326831140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e95fe79242e3cdf8414516d221f9f5aa.jpg","text":"TemporaryFile(/tmp/multipartBody8359939551711907810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036653144,"filename":"image_05012025_01_22_02_215771_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/157c6f44178127a65f82ab5920b41b0b.jpg","text":"TemporaryFile(/tmp/multipartBody7753426163585540047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036653144,"filename":"image_05012025_01_22_02_215771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2ac40189e9ee81899198410640e7e57d.jpg","text":"TemporaryFile(/tmp/multipartBody7764127948452024591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036653144,"filename":"image_05012025_01_21_02_742376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e1049b26deaddffb58248e116f14de78.jpg","text":"TemporaryFile(/tmp/multipartBody9029213755026327222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036653144,"filename":"image_05012025_01_22_02_215771_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831138","file1":"1326831136","file0":"1326831135","file3":"1326831140"},"map_files_photo_id_array":[{"photo_id":"1326831138","filename":"file2"},{"photo_id":"1326831136","filename":"file1"},{"photo_id":"1326831135","filename":"file0"},{"photo_id":"1326831140","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831140":["hashtag1","hashtag2"]},{"1326831136":["hashtag1","hashtag2"]},{"1326831135":["hashtag1","hashtag2"]},{"1326831138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831140, 1326831136, 1326831135, 1326831138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.52821135520935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:24:02.972975
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/22/image_05012025_01_22_02_215771_0003.jpg', '/home/pi/Desktop/images/05012025/01/23/image_05012025_01_23_02_775627_0000.jpg', '/home/pi/Desktop/images/05012025/01/23/image_05012025_01_23_02_775627_0001.jpg', '/home/pi/Desktop/images/05012025/01/23/image_05012025_01_23_02_775627_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/01/22/image_05012025_01_22_02_215771_0003.jpg
/home/pi/Desktop/images/05012025/01/23/image_05012025_01_23_02_775627_0000.jpg
/home/pi/Desktop/images/05012025/01/23/image_05012025_01_23_02_775627_0001.jpg
/home/pi/Desktop/images/05012025/01/23/image_05012025_01_23_02_775627_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.093607425689697 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:24:22.595247
SELECT 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/01/22/image_05012025_01_22_02_215771_0003.jpg', '/home/pi/Desktop/images/05012025/01/23/image_05012025_01_23_02_775627_0000.jpg', '/home/pi/Desktop/images/05012025/01/23/image_05012025_01_23_02_775627_0001.jpg', '/home/pi/Desktop/images/05012025/01/23/image_05012025_01_23_02_775627_0002.jpg', '/home/pi/Desktop/images/05012025/01/23/image_05012025_01_23_02_775627_0003.jpg', '/home/pi/Desktop/images/05012025/01/24/image_05012025_01_24_02_311143_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/01/22/image_05012025_01_22_02_215771_0003.jpg
/home/pi/Desktop/images/05012025/01/23/image_05012025_01_23_02_775627_0000.jpg
/home/pi/Desktop/images/05012025/01/23/image_05012025_01_23_02_775627_0001.jpg
/home/pi/Desktop/images/05012025/01/23/image_05012025_01_23_02_775627_0002.jpg
/home/pi/Desktop/images/05012025/01/23/image_05012025_01_23_02_775627_0003.jpg
/home/pi/Desktop/images/05012025/01/24/image_05012025_01_24_02_311143_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831155","1326831185","1326831199","1326831163","1326831195","1326831165"],"photo_ids_order":["1326831155","1326831163","1326831165","1326831185","1326831195","1326831199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/61547efadb92538f3b4fb6ec7140af3c.jpg","text":"TemporaryFile(/tmp/multipartBody7115038317896769013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036737950,"filename":"image_05012025_01_22_02_215771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/555e230c56c3da81219a8029787f3cd0.jpg","text":"TemporaryFile(/tmp/multipartBody2356070909780236044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036737950,"filename":"image_05012025_01_23_02_775627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0d1fe9e8c65510d29b701d5841b29828.jpg","text":"TemporaryFile(/tmp/multipartBody4381953723492712045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036737950,"filename":"image_05012025_01_24_02_311143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d0830872b5892b5c3e43c77f4d45d1e0.jpg","text":"TemporaryFile(/tmp/multipartBody6079403000848707958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036737950,"filename":"image_05012025_01_23_02_775627_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3af24761d8b8150eb2304b28713614db.jpg","text":"TemporaryFile(/tmp/multipartBody8010225669557746088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036737950,"filename":"image_05012025_01_23_02_775627_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/52b69cfa82a3f2ddc702f69034d78322.jpg","text":"TemporaryFile(/tmp/multipartBody7843096305972666012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036737950,"filename":"image_05012025_01_23_02_775627_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831165","file1":"1326831163","file0":"1326831155","file4":"1326831195","file5":"1326831199","file3":"1326831185"},"map_files_photo_id_array":[{"photo_id":"1326831199","filename":"file5"},{"photo_id":"1326831165","filename":"file2"},{"photo_id":"1326831195","filename":"file4"},{"photo_id":"1326831163","filename":"file1"},{"photo_id":"1326831155","filename":"file0"},{"photo_id":"1326831185","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831155":["hashtag1","hashtag2"]},{"1326831185":["hashtag1","hashtag2"]},{"1326831199":["hashtag1","hashtag2"]},{"1326831163":["hashtag1","hashtag2"]},{"1326831195":["hashtag1","hashtag2"]},{"1326831165":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831155, 1326831185, 1326831199, 1326831163, 1326831195, 1326831165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.64142203330994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:25:22.078780
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/24/image_05012025_01_24_02_311143_0001.jpg', '/home/pi/Desktop/images/05012025/01/24/image_05012025_01_24_02_311143_0003.jpg', '/home/pi/Desktop/images/05012025/01/25/image_05012025_01_25_02_944510_0000.jpg', '/home/pi/Desktop/images/05012025/01/25/image_05012025_01_25_02_944510_0001.jpg', '/home/pi/Desktop/images/05012025/01/25/image_05012025_01_25_02_944510_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/01/24/image_05012025_01_24_02_311143_0001.jpg
/home/pi/Desktop/images/05012025/01/24/image_05012025_01_24_02_311143_0003.jpg
/home/pi/Desktop/images/05012025/01/25/image_05012025_01_25_02_944510_0000.jpg
/home/pi/Desktop/images/05012025/01/25/image_05012025_01_25_02_944510_0001.jpg
/home/pi/Desktop/images/05012025/01/25/image_05012025_01_25_02_944510_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831314","1326831247","1326831211","1326831213","1326831272"],"photo_ids_order":["1326831211","1326831213","1326831247","1326831272","1326831314"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe0e7e4384a3ad40e4c98b540118780f.jpg","text":"TemporaryFile(/tmp/multipartBody6455521897748456187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036794841,"filename":"image_05012025_01_25_02_944510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/974dc908441e45391b14761aa5e81e62.jpg","text":"TemporaryFile(/tmp/multipartBody308047728241668136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036794841,"filename":"image_05012025_01_25_02_944510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/06260785f9008db4d86bb5e5e29da0a1.jpg","text":"TemporaryFile(/tmp/multipartBody6481856261525572546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036794841,"filename":"image_05012025_01_24_02_311143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c6bf85574c2abc17e52e3ce25efa1bb0.jpg","text":"TemporaryFile(/tmp/multipartBody3974927082170254821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036794841,"filename":"image_05012025_01_24_02_311143_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5d0233a85b605951c583f54af87c998a.jpg","text":"TemporaryFile(/tmp/multipartBody4529336145537074200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036794841,"filename":"image_05012025_01_25_02_944510_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831247","file1":"1326831213","file0":"1326831211","file4":"1326831314","file3":"1326831272"},"map_files_photo_id_array":[{"photo_id":"1326831247","filename":"file2"},{"photo_id":"1326831314","filename":"file4"},{"photo_id":"1326831213","filename":"file1"},{"photo_id":"1326831211","filename":"file0"},{"photo_id":"1326831272","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831314":["hashtag1","hashtag2"]},{"1326831247":["hashtag1","hashtag2"]},{"1326831211":["hashtag1","hashtag2"]},{"1326831213":["hashtag1","hashtag2"]},{"1326831272":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831314, 1326831247, 1326831211, 1326831213, 1326831272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 51.14474129676819 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:26:22.555206
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/25/image_05012025_01_25_02_944510_0003.jpg', '/home/pi/Desktop/images/05012025/01/26/image_05012025_01_26_02_477034_0000.jpg', '/home/pi/Desktop/images/05012025/01/26/image_05012025_01_26_02_477034_0001.jpg', '/home/pi/Desktop/images/05012025/01/26/image_05012025_01_26_02_477034_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/01/25/image_05012025_01_25_02_944510_0003.jpg
/home/pi/Desktop/images/05012025/01/26/image_05012025_01_26_02_477034_0000.jpg
/home/pi/Desktop/images/05012025/01/26/image_05012025_01_26_02_477034_0001.jpg
/home/pi/Desktop/images/05012025/01/26/image_05012025_01_26_02_477034_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831323","1326831326","1326831320","1326831318"],"photo_ids_order":["1326831318","1326831320","1326831323","1326831326"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0ec42d43023cc64883a7fba527b1490c.jpg","text":"TemporaryFile(/tmp/multipartBody3637594694217894359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036852577,"filename":"image_05012025_01_26_02_477034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/377077043e6adc84856491327ee510fb.jpg","text":"TemporaryFile(/tmp/multipartBody1306757767963080474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036852577,"filename":"image_05012025_01_26_02_477034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b809e0b1611b5f0df98ffd8fe71f66f1.jpg","text":"TemporaryFile(/tmp/multipartBody5658025911663167742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036852577,"filename":"image_05012025_01_26_02_477034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02520171b25fe2052856493f6cb01499.jpg","text":"TemporaryFile(/tmp/multipartBody1264404271591941017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036852577,"filename":"image_05012025_01_25_02_944510_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831323","file1":"1326831320","file0":"1326831318","file3":"1326831326"},"map_files_photo_id_array":[{"photo_id":"1326831323","filename":"file2"},{"photo_id":"1326831320","filename":"file1"},{"photo_id":"1326831318","filename":"file0"},{"photo_id":"1326831326","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831323":["hashtag1","hashtag2"]},{"1326831326":["hashtag1","hashtag2"]},{"1326831320":["hashtag1","hashtag2"]},{"1326831318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831323, 1326831326, 1326831320, 1326831318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.114458084106445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:27:22.043483
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/26/image_05012025_01_26_02_477034_0003.jpg', '/home/pi/Desktop/images/05012025/01/27/image_05012025_01_27_02_943674_0000.jpg', '/home/pi/Desktop/images/05012025/01/27/image_05012025_01_27_02_943674_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/01/26/image_05012025_01_26_02_477034_0003.jpg
/home/pi/Desktop/images/05012025/01/27/image_05012025_01_27_02_943674_0000.jpg
/home/pi/Desktop/images/05012025/01/27/image_05012025_01_27_02_943674_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831338","1326831339","1326831336"],"photo_ids_order":["1326831336","1326831338","1326831339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f79b5f9be6e7467f250064b7c693e2a.jpg","text":"TemporaryFile(/tmp/multipartBody5158973277999821548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036909679,"filename":"image_05012025_01_27_02_943674_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f74097e5d496944dbf2b39e89824c1d3.jpg","text":"TemporaryFile(/tmp/multipartBody2656985463104509626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036909679,"filename":"image_05012025_01_27_02_943674_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c7ce701e9c631c597e32907725bcee0b.jpg","text":"TemporaryFile(/tmp/multipartBody3333913050680239732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736036909679,"filename":"image_05012025_01_26_02_477034_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831339","file1":"1326831338","file0":"1326831336"},"map_files_photo_id_array":[{"photo_id":"1326831339","filename":"file2"},{"photo_id":"1326831338","filename":"file1"},{"photo_id":"1326831336","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831338":["hashtag1","hashtag2"]},{"1326831339":["hashtag1","hashtag2"]},{"1326831336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831338, 1326831339, 1326831336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.70433735847473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:28:03.078762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:28:22.697697
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/27/image_05012025_01_27_02_943674_0003.jpg', '/home/pi/Desktop/images/05012025/01/28/image_05012025_01_28_02_532810_0000.jpg', '/home/pi/Desktop/images/05012025/01/28/image_05012025_01_28_02_532810_0001.jpg', '/home/pi/Desktop/images/05012025/01/28/image_05012025_01_28_02_532810_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/01/27/image_05012025_01_27_02_943674_0003.jpg
/home/pi/Desktop/images/05012025/01/28/image_05012025_01_28_02_532810_0000.jpg
/home/pi/Desktop/images/05012025/01/28/image_05012025_01_28_02_532810_0001.jpg
/home/pi/Desktop/images/05012025/01/28/image_05012025_01_28_02_532810_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.887866497039795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:29:02.744322
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/27/image_05012025_01_27_02_943674_0003.jpg', '/home/pi/Desktop/images/05012025/01/28/image_05012025_01_28_02_532810_0000.jpg', '/home/pi/Desktop/images/05012025/01/28/image_05012025_01_28_02_532810_0001.jpg', '/home/pi/Desktop/images/05012025/01/28/image_05012025_01_28_02_532810_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/01/27/image_05012025_01_27_02_943674_0003.jpg
/home/pi/Desktop/images/05012025/01/28/image_05012025_01_28_02_532810_0000.jpg
/home/pi/Desktop/images/05012025/01/28/image_05012025_01_28_02_532810_0001.jpg
/home/pi/Desktop/images/05012025/01/28/image_05012025_01_28_02_532810_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831368","1326831364","1326831361","1326831371"],"photo_ids_order":["1326831361","1326831364","1326831368","1326831371"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d40f478bfbce8d69e40f4b1ff514243f.jpg","text":"TemporaryFile(/tmp/multipartBody5775776853732379983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037013117,"filename":"image_05012025_01_28_02_532810_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f1d7a328b14e7842201f755e362827eb.jpg","text":"TemporaryFile(/tmp/multipartBody2733814787513234135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037013117,"filename":"image_05012025_01_28_02_532810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a4f86538ff0dcf001fd0e8ebca7de215.jpg","text":"TemporaryFile(/tmp/multipartBody8922257319283461697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037013117,"filename":"image_05012025_01_27_02_943674_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b136025c2fbf37cf5fb630e67a8cb89b.jpg","text":"TemporaryFile(/tmp/multipartBody6990537353540914802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037013117,"filename":"image_05012025_01_28_02_532810_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831368","file1":"1326831364","file0":"1326831361","file3":"1326831371"},"map_files_photo_id_array":[{"photo_id":"1326831368","filename":"file2"},{"photo_id":"1326831364","filename":"file1"},{"photo_id":"1326831361","filename":"file0"},{"photo_id":"1326831371","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831368":["hashtag1","hashtag2"]},{"1326831364":["hashtag1","hashtag2"]},{"1326831361":["hashtag1","hashtag2"]},{"1326831371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831368, 1326831364, 1326831361, 1326831371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.103997468948364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:30:02.205947
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/28/image_05012025_01_28_02_532810_0003.jpg', '/home/pi/Desktop/images/05012025/01/29/image_05012025_01_29_03_054585_0000.jpg', '/home/pi/Desktop/images/05012025/01/29/image_05012025_01_29_03_054585_0001.jpg', '/home/pi/Desktop/images/05012025/01/29/image_05012025_01_29_03_054585_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/01/28/image_05012025_01_28_02_532810_0003.jpg
/home/pi/Desktop/images/05012025/01/29/image_05012025_01_29_03_054585_0000.jpg
/home/pi/Desktop/images/05012025/01/29/image_05012025_01_29_03_054585_0001.jpg
/home/pi/Desktop/images/05012025/01/29/image_05012025_01_29_03_054585_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831395","1326831443","1326831433","1326831427"],"photo_ids_order":["1326831395","1326831427","1326831433","1326831443"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6f2eb11220f36d08ef4c0d92d942251e.jpg","text":"TemporaryFile(/tmp/multipartBody7437260131635937439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037072506,"filename":"image_05012025_01_28_02_532810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5ed9a551fd9e862968154647feb79a4c.jpg","text":"TemporaryFile(/tmp/multipartBody203215032120414694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037072506,"filename":"image_05012025_01_29_03_054585_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6a35405da1735775c661c912623371b9.jpg","text":"TemporaryFile(/tmp/multipartBody1910969676935861409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037072506,"filename":"image_05012025_01_29_03_054585_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/34c38ecfe9e6da06fdcae169357272c1.jpg","text":"TemporaryFile(/tmp/multipartBody5258143588709813047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037072506,"filename":"image_05012025_01_29_03_054585_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831433","file1":"1326831427","file0":"1326831395","file3":"1326831443"},"map_files_photo_id_array":[{"photo_id":"1326831433","filename":"file2"},{"photo_id":"1326831427","filename":"file1"},{"photo_id":"1326831395","filename":"file0"},{"photo_id":"1326831443","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831395":["hashtag1","hashtag2"]},{"1326831443":["hashtag1","hashtag2"]},{"1326831433":["hashtag1","hashtag2"]},{"1326831427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831395, 1326831443, 1326831433, 1326831427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.145270109176636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:31:02.771492
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/29/image_05012025_01_29_03_054585_0003.jpg', '/home/pi/Desktop/images/05012025/01/30/image_05012025_01_30_02_615700_0000.jpg', '/home/pi/Desktop/images/05012025/01/30/image_05012025_01_30_02_615700_0001.jpg', '/home/pi/Desktop/images/05012025/01/30/image_05012025_01_30_02_615700_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/01/29/image_05012025_01_29_03_054585_0003.jpg
/home/pi/Desktop/images/05012025/01/30/image_05012025_01_30_02_615700_0000.jpg
/home/pi/Desktop/images/05012025/01/30/image_05012025_01_30_02_615700_0001.jpg
/home/pi/Desktop/images/05012025/01/30/image_05012025_01_30_02_615700_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831536","1326831539","1326831538","1326831537"],"photo_ids_order":["1326831536","1326831537","1326831538","1326831539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/125036e9ae3a707ddacb67e303b14c21.jpg","text":"TemporaryFile(/tmp/multipartBody5784072961989888259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037133292,"filename":"image_05012025_01_29_03_054585_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/34cff9c5038bcf2d737ee240758683c7.jpg","text":"TemporaryFile(/tmp/multipartBody2383521182628006924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037133292,"filename":"image_05012025_01_30_02_615700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab7096a1659def938ffc7b38cadc0dcb.jpg","text":"TemporaryFile(/tmp/multipartBody2588504588258173939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037133292,"filename":"image_05012025_01_30_02_615700_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd6f6ecf14fbc0c1b2a84f1c5db20832.jpg","text":"TemporaryFile(/tmp/multipartBody6543967462462917321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037133292,"filename":"image_05012025_01_30_02_615700_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831538","file1":"1326831537","file0":"1326831536","file3":"1326831539"},"map_files_photo_id_array":[{"photo_id":"1326831538","filename":"file2"},{"photo_id":"1326831537","filename":"file1"},{"photo_id":"1326831536","filename":"file0"},{"photo_id":"1326831539","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831536":["hashtag1","hashtag2"]},{"1326831539":["hashtag1","hashtag2"]},{"1326831538":["hashtag1","hashtag2"]},{"1326831537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831536, 1326831539, 1326831538, 1326831537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.405768632888794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:32:02.330699
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/30/image_05012025_01_30_02_615700_0003.jpg', '/home/pi/Desktop/images/05012025/01/31/image_05012025_01_31_02_131087_0000.jpg', '/home/pi/Desktop/images/05012025/01/31/image_05012025_01_31_02_131087_0001.jpg', '/home/pi/Desktop/images/05012025/01/31/image_05012025_01_31_02_131087_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/01/30/image_05012025_01_30_02_615700_0003.jpg
/home/pi/Desktop/images/05012025/01/31/image_05012025_01_31_02_131087_0000.jpg
/home/pi/Desktop/images/05012025/01/31/image_05012025_01_31_02_131087_0001.jpg
/home/pi/Desktop/images/05012025/01/31/image_05012025_01_31_02_131087_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831551","1326831547","1326831549","1326831546"],"photo_ids_order":["1326831546","1326831547","1326831549","1326831551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/403d9f6903682b7ca81701075d49b8df.jpg","text":"TemporaryFile(/tmp/multipartBody3902565682410513759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037192640,"filename":"image_05012025_01_31_02_131087_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aa64c670e57fe45cc3ed8b3987682c32.jpg","text":"TemporaryFile(/tmp/multipartBody5671922804686763951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037192640,"filename":"image_05012025_01_31_02_131087_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fb84b29faba0b9e8407f3fb2f196c92e.jpg","text":"TemporaryFile(/tmp/multipartBody6267138434302491667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037192640,"filename":"image_05012025_01_31_02_131087_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3be09f9fcf5e56f82b704f6b2c6c394.jpg","text":"TemporaryFile(/tmp/multipartBody8923417301878350967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037192640,"filename":"image_05012025_01_30_02_615700_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831549","file1":"1326831547","file0":"1326831546","file3":"1326831551"},"map_files_photo_id_array":[{"photo_id":"1326831549","filename":"file2"},{"photo_id":"1326831547","filename":"file1"},{"photo_id":"1326831546","filename":"file0"},{"photo_id":"1326831551","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831551":["hashtag1","hashtag2"]},{"1326831547":["hashtag1","hashtag2"]},{"1326831549":["hashtag1","hashtag2"]},{"1326831546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831551, 1326831547, 1326831549, 1326831546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.542789459228516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:33:03.043272
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/31/image_05012025_01_31_02_131087_0003.jpg', '/home/pi/Desktop/images/05012025/01/32/image_05012025_01_32_02_730124_0000.jpg', '/home/pi/Desktop/images/05012025/01/32/image_05012025_01_32_02_730124_0001.jpg', '/home/pi/Desktop/images/05012025/01/32/image_05012025_01_32_02_730124_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/01/31/image_05012025_01_31_02_131087_0003.jpg
/home/pi/Desktop/images/05012025/01/32/image_05012025_01_32_02_730124_0000.jpg
/home/pi/Desktop/images/05012025/01/32/image_05012025_01_32_02_730124_0001.jpg
/home/pi/Desktop/images/05012025/01/32/image_05012025_01_32_02_730124_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831569","1326831571","1326831565","1326831567"],"photo_ids_order":["1326831565","1326831567","1326831569","1326831571"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5b1b92db42ec9957622a2fc9e928e861.jpg","text":"TemporaryFile(/tmp/multipartBody3173456592402844556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037253383,"filename":"image_05012025_01_32_02_730124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1d9d0a2c46eb1655fbcea93cd81991e6.jpg","text":"TemporaryFile(/tmp/multipartBody5314458651522571538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037253383,"filename":"image_05012025_01_32_02_730124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/139ca30eb2d09f1ea6d3778d5ec74d78.jpg","text":"TemporaryFile(/tmp/multipartBody4443181537296988303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037253383,"filename":"image_05012025_01_31_02_131087_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5ef7f36dcf4017f295d5cf4b53f09f52.jpg","text":"TemporaryFile(/tmp/multipartBody4868278079441029350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037253383,"filename":"image_05012025_01_32_02_730124_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831569","file1":"1326831567","file0":"1326831565","file3":"1326831571"},"map_files_photo_id_array":[{"photo_id":"1326831569","filename":"file2"},{"photo_id":"1326831567","filename":"file1"},{"photo_id":"1326831565","filename":"file0"},{"photo_id":"1326831571","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831569":["hashtag1","hashtag2"]},{"1326831571":["hashtag1","hashtag2"]},{"1326831565":["hashtag1","hashtag2"]},{"1326831567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831569, 1326831571, 1326831565, 1326831567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.465508699417114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:34:02.470263
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/32/image_05012025_01_32_02_730124_0003.jpg', '/home/pi/Desktop/images/05012025/01/33/image_05012025_01_33_02_328313_0000.jpg', '/home/pi/Desktop/images/05012025/01/33/image_05012025_01_33_02_328313_0001.jpg', '/home/pi/Desktop/images/05012025/01/33/image_05012025_01_33_02_328313_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/01/32/image_05012025_01_32_02_730124_0003.jpg
/home/pi/Desktop/images/05012025/01/33/image_05012025_01_33_02_328313_0000.jpg
/home/pi/Desktop/images/05012025/01/33/image_05012025_01_33_02_328313_0001.jpg
/home/pi/Desktop/images/05012025/01/33/image_05012025_01_33_02_328313_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.014836072921753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:34:22.064674
SELECT 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/01/32/image_05012025_01_32_02_730124_0003.jpg', '/home/pi/Desktop/images/05012025/01/33/image_05012025_01_33_02_328313_0000.jpg', '/home/pi/Desktop/images/05012025/01/33/image_05012025_01_33_02_328313_0001.jpg', '/home/pi/Desktop/images/05012025/01/33/image_05012025_01_33_02_328313_0002.jpg', '/home/pi/Desktop/images/05012025/01/33/image_05012025_01_33_02_328313_0003.jpg', '/home/pi/Desktop/images/05012025/01/34/image_05012025_01_34_02_808061_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/01/32/image_05012025_01_32_02_730124_0003.jpg
/home/pi/Desktop/images/05012025/01/33/image_05012025_01_33_02_328313_0000.jpg
/home/pi/Desktop/images/05012025/01/33/image_05012025_01_33_02_328313_0001.jpg
/home/pi/Desktop/images/05012025/01/33/image_05012025_01_33_02_328313_0002.jpg
/home/pi/Desktop/images/05012025/01/33/image_05012025_01_33_02_328313_0003.jpg
/home/pi/Desktop/images/05012025/01/34/image_05012025_01_34_02_808061_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831593","1326831595","1326831586","1326831591","1326831588","1326831584"],"photo_ids_order":["1326831584","1326831586","1326831588","1326831591","1326831593","1326831595"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e7b55dce65c87ccd8ca7628272cf556a.jpg","text":"TemporaryFile(/tmp/multipartBody3354994539377565396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037337220,"filename":"image_05012025_01_33_02_328313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/01b150f1e3251999dc93980dbf2ff78b.jpg","text":"TemporaryFile(/tmp/multipartBody4366694451235961661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037337220,"filename":"image_05012025_01_34_02_808061_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/172a52d06eec42a09b1a2fb5573e0fed.jpg","text":"TemporaryFile(/tmp/multipartBody4757495678807032786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037337220,"filename":"image_05012025_01_33_02_328313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1641b61e0624aad695b414d470862dca.jpg","text":"TemporaryFile(/tmp/multipartBody2234991923531371138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037337220,"filename":"image_05012025_01_33_02_328313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d1458d22aa6ca584e1891da5a1c01c22.jpg","text":"TemporaryFile(/tmp/multipartBody6126491434414297543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037337220,"filename":"image_05012025_01_33_02_328313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5ce38832d76918c6101d11e3ac467dbb.jpg","text":"TemporaryFile(/tmp/multipartBody80871526058397347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037337220,"filename":"image_05012025_01_32_02_730124_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831588","file1":"1326831586","file0":"1326831584","file4":"1326831593","file5":"1326831595","file3":"1326831591"},"map_files_photo_id_array":[{"photo_id":"1326831595","filename":"file5"},{"photo_id":"1326831588","filename":"file2"},{"photo_id":"1326831593","filename":"file4"},{"photo_id":"1326831586","filename":"file1"},{"photo_id":"1326831584","filename":"file0"},{"photo_id":"1326831591","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831593":["hashtag1","hashtag2"]},{"1326831595":["hashtag1","hashtag2"]},{"1326831586":["hashtag1","hashtag2"]},{"1326831591":["hashtag1","hashtag2"]},{"1326831588":["hashtag1","hashtag2"]},{"1326831584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831593, 1326831595, 1326831586, 1326831591, 1326831588, 1326831584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.32843542098999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:35:22.579472
SELECT 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/01/34/image_05012025_01_34_02_808061_0001.jpg', '/home/pi/Desktop/images/05012025/01/34/image_05012025_01_34_02_808061_0002.jpg', '/home/pi/Desktop/images/05012025/01/34/image_05012025_01_34_02_808061_0003.jpg', '/home/pi/Desktop/images/05012025/01/35/image_05012025_01_35_02_467090_0000.jpg', '/home/pi/Desktop/images/05012025/01/35/image_05012025_01_35_02_467090_0001.jpg', '/home/pi/Desktop/images/05012025/01/35/image_05012025_01_35_02_467090_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/01/34/image_05012025_01_34_02_808061_0001.jpg
/home/pi/Desktop/images/05012025/01/34/image_05012025_01_34_02_808061_0002.jpg
/home/pi/Desktop/images/05012025/01/34/image_05012025_01_34_02_808061_0003.jpg
/home/pi/Desktop/images/05012025/01/35/image_05012025_01_35_02_467090_0000.jpg
/home/pi/Desktop/images/05012025/01/35/image_05012025_01_35_02_467090_0001.jpg
/home/pi/Desktop/images/05012025/01/35/image_05012025_01_35_02_467090_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831608","1326831602","1326831604","1326831597","1326831606","1326831600"],"photo_ids_order":["1326831597","1326831600","1326831602","1326831604","1326831606","1326831608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/59bd34315acd5da1d7fae497ce12f168.jpg","text":"TemporaryFile(/tmp/multipartBody6815302601911402084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037397882,"filename":"image_05012025_01_35_02_467090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/18c23514120bb4465f01b45b79bd3163.jpg","text":"TemporaryFile(/tmp/multipartBody3723883017091038576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037397882,"filename":"image_05012025_01_34_02_808061_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4cee08015a9f1bcb0ea8523f0f6fee0b.jpg","text":"TemporaryFile(/tmp/multipartBody2006394479009988346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037397882,"filename":"image_05012025_01_35_02_467090_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fb855c80e3f3428566138a212619da56.jpg","text":"TemporaryFile(/tmp/multipartBody2387729211873661306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037397882,"filename":"image_05012025_01_34_02_808061_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3ae2f4aca75e039502d1f3ebe2f5e619.jpg","text":"TemporaryFile(/tmp/multipartBody506028415283603379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037397882,"filename":"image_05012025_01_35_02_467090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/573ca93aa65f68be7aab4c607e89925c.jpg","text":"TemporaryFile(/tmp/multipartBody8312997943444482278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037397882,"filename":"image_05012025_01_34_02_808061_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831602","file1":"1326831600","file0":"1326831597","file4":"1326831606","file5":"1326831608","file3":"1326831604"},"map_files_photo_id_array":[{"photo_id":"1326831608","filename":"file5"},{"photo_id":"1326831602","filename":"file2"},{"photo_id":"1326831606","filename":"file4"},{"photo_id":"1326831600","filename":"file1"},{"photo_id":"1326831597","filename":"file0"},{"photo_id":"1326831604","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831608":["hashtag1","hashtag2"]},{"1326831602":["hashtag1","hashtag2"]},{"1326831604":["hashtag1","hashtag2"]},{"1326831597":["hashtag1","hashtag2"]},{"1326831606":["hashtag1","hashtag2"]},{"1326831600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831608, 1326831602, 1326831604, 1326831597, 1326831606, 1326831600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.62308168411255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:36:22.132706
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/35/image_05012025_01_35_02_467090_0003.jpg', '/home/pi/Desktop/images/05012025/01/36/image_05012025_01_36_03_018760_0000.jpg', '/home/pi/Desktop/images/05012025/01/36/image_05012025_01_36_03_018760_0001.jpg', '/home/pi/Desktop/images/05012025/01/36/image_05012025_01_36_03_018760_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/01/35/image_05012025_01_35_02_467090_0003.jpg
/home/pi/Desktop/images/05012025/01/36/image_05012025_01_36_03_018760_0000.jpg
/home/pi/Desktop/images/05012025/01/36/image_05012025_01_36_03_018760_0001.jpg
/home/pi/Desktop/images/05012025/01/36/image_05012025_01_36_03_018760_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831611","1326831625","1326831613","1326831621"],"photo_ids_order":["1326831611","1326831613","1326831621","1326831625"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/91658192019bc688b7f4a771bae07984.jpg","text":"TemporaryFile(/tmp/multipartBody565917454035690866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037452432,"filename":"image_05012025_01_35_02_467090_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8011a6659b1dde2d821b80b535e03272.jpg","text":"TemporaryFile(/tmp/multipartBody6203468345294247270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037452432,"filename":"image_05012025_01_36_03_018760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b5b0fbc45f58c80c2a9e35d06afe0ea.jpg","text":"TemporaryFile(/tmp/multipartBody8386035198319248137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037452432,"filename":"image_05012025_01_36_03_018760_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dfee1dfd6ef4ca8d61dbcb50a2994f41.jpg","text":"TemporaryFile(/tmp/multipartBody8102047206536605850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037452432,"filename":"image_05012025_01_36_03_018760_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831621","file1":"1326831613","file0":"1326831611","file3":"1326831625"},"map_files_photo_id_array":[{"photo_id":"1326831621","filename":"file2"},{"photo_id":"1326831613","filename":"file1"},{"photo_id":"1326831611","filename":"file0"},{"photo_id":"1326831625","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831611":["hashtag1","hashtag2"]},{"1326831625":["hashtag1","hashtag2"]},{"1326831613":["hashtag1","hashtag2"]},{"1326831621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831611, 1326831625, 1326831613, 1326831621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66403341293335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:37:03.317268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:37:22.765449
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/36/image_05012025_01_36_03_018760_0003.jpg', '/home/pi/Desktop/images/05012025/01/37/image_05012025_01_37_02_555108_0000.jpg', '/home/pi/Desktop/images/05012025/01/37/image_05012025_01_37_02_555108_0001.jpg', '/home/pi/Desktop/images/05012025/01/37/image_05012025_01_37_02_555108_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/01/36/image_05012025_01_36_03_018760_0003.jpg
/home/pi/Desktop/images/05012025/01/37/image_05012025_01_37_02_555108_0000.jpg
/home/pi/Desktop/images/05012025/01/37/image_05012025_01_37_02_555108_0001.jpg
/home/pi/Desktop/images/05012025/01/37/image_05012025_01_37_02_555108_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831674","1326831682","1326831684","1326831677"],"photo_ids_order":["1326831674","1326831677","1326831682","1326831684"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/63c3deffb4481ba4129c1f044f4f2a70.jpg","text":"TemporaryFile(/tmp/multipartBody6699080361129868375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037513227,"filename":"image_05012025_01_36_03_018760_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce9bdfff12121a8e4c28db3ca6277b95.jpg","text":"TemporaryFile(/tmp/multipartBody4621351802996503838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037513227,"filename":"image_05012025_01_37_02_555108_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b72210237eaeefe72bf8eae6fd748fe6.jpg","text":"TemporaryFile(/tmp/multipartBody3634129014807186245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037513227,"filename":"image_05012025_01_37_02_555108_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cc2c04a0c29f15dcc2131533fb8d1e3e.jpg","text":"TemporaryFile(/tmp/multipartBody5607838101561294329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037513227,"filename":"image_05012025_01_37_02_555108_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831682","file1":"1326831677","file0":"1326831674","file3":"1326831684"},"map_files_photo_id_array":[{"photo_id":"1326831682","filename":"file2"},{"photo_id":"1326831677","filename":"file1"},{"photo_id":"1326831674","filename":"file0"},{"photo_id":"1326831684","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831674":["hashtag1","hashtag2"]},{"1326831682":["hashtag1","hashtag2"]},{"1326831684":["hashtag1","hashtag2"]},{"1326831677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831674, 1326831682, 1326831684, 1326831677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.159257650375366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:38:22.367226
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/37/image_05012025_01_37_02_555108_0003.jpg', '/home/pi/Desktop/images/05012025/01/38/image_05012025_01_38_03_089398_0000.jpg', '/home/pi/Desktop/images/05012025/01/38/image_05012025_01_38_03_089398_0001.jpg', '/home/pi/Desktop/images/05012025/01/38/image_05012025_01_38_03_089398_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/01/37/image_05012025_01_37_02_555108_0003.jpg
/home/pi/Desktop/images/05012025/01/38/image_05012025_01_38_03_089398_0000.jpg
/home/pi/Desktop/images/05012025/01/38/image_05012025_01_38_03_089398_0001.jpg
/home/pi/Desktop/images/05012025/01/38/image_05012025_01_38_03_089398_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.901211977005005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:39:02.460045
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/37/image_05012025_01_37_02_555108_0003.jpg', '/home/pi/Desktop/images/05012025/01/38/image_05012025_01_38_03_089398_0000.jpg', '/home/pi/Desktop/images/05012025/01/38/image_05012025_01_38_03_089398_0001.jpg', '/home/pi/Desktop/images/05012025/01/38/image_05012025_01_38_03_089398_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/01/37/image_05012025_01_37_02_555108_0003.jpg
/home/pi/Desktop/images/05012025/01/38/image_05012025_01_38_03_089398_0000.jpg
/home/pi/Desktop/images/05012025/01/38/image_05012025_01_38_03_089398_0001.jpg
/home/pi/Desktop/images/05012025/01/38/image_05012025_01_38_03_089398_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831779","1326831777","1326831780","1326831776"],"photo_ids_order":["1326831776","1326831777","1326831779","1326831780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/61792b5e443a30cb66c1ea218627e341.jpg","text":"TemporaryFile(/tmp/multipartBody9132056917186683804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037612805,"filename":"image_05012025_01_38_03_089398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/45c42841f014939baeb59607d20c960a.jpg","text":"TemporaryFile(/tmp/multipartBody1280239126108990211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037612805,"filename":"image_05012025_01_38_03_089398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/08cdb9e2ae0e9463b7d4f050c3cb8425.jpg","text":"TemporaryFile(/tmp/multipartBody5331047959325059711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037612805,"filename":"image_05012025_01_38_03_089398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/36914bc61b0359763cec39779c8c81c2.jpg","text":"TemporaryFile(/tmp/multipartBody1951361977126498581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037612805,"filename":"image_05012025_01_37_02_555108_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831779","file1":"1326831777","file0":"1326831776","file3":"1326831780"},"map_files_photo_id_array":[{"photo_id":"1326831779","filename":"file2"},{"photo_id":"1326831777","filename":"file1"},{"photo_id":"1326831776","filename":"file0"},{"photo_id":"1326831780","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831779":["hashtag1","hashtag2"]},{"1326831777":["hashtag1","hashtag2"]},{"1326831780":["hashtag1","hashtag2"]},{"1326831776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831779, 1326831777, 1326831780, 1326831776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.52736043930054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:40:02.906356
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/38/image_05012025_01_38_03_089398_0003.jpg', '/home/pi/Desktop/images/05012025/01/39/image_05012025_01_39_02_719349_0000.jpg', '/home/pi/Desktop/images/05012025/01/39/image_05012025_01_39_02_719349_0001.jpg', '/home/pi/Desktop/images/05012025/01/39/image_05012025_01_39_02_719349_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/01/38/image_05012025_01_38_03_089398_0003.jpg
/home/pi/Desktop/images/05012025/01/39/image_05012025_01_39_02_719349_0000.jpg
/home/pi/Desktop/images/05012025/01/39/image_05012025_01_39_02_719349_0001.jpg
/home/pi/Desktop/images/05012025/01/39/image_05012025_01_39_02_719349_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831799","1326831796","1326831795","1326831798"],"photo_ids_order":["1326831795","1326831796","1326831798","1326831799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ae3ce72577de27d6a810a9f1ebd08a99.jpg","text":"TemporaryFile(/tmp/multipartBody5289538510978474440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037673276,"filename":"image_05012025_01_39_02_719349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/03a566631ea016598b9bf4a91d28c109.jpg","text":"TemporaryFile(/tmp/multipartBody5730107572370972230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037673276,"filename":"image_05012025_01_39_02_719349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/290fcbead27c740b0feaef9ced16298d.jpg","text":"TemporaryFile(/tmp/multipartBody8700059369048529904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037673276,"filename":"image_05012025_01_38_03_089398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11d38b598e831fdf1b54121072e12dc6.jpg","text":"TemporaryFile(/tmp/multipartBody8386423551770821610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037673276,"filename":"image_05012025_01_39_02_719349_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831798","file1":"1326831796","file0":"1326831795","file3":"1326831799"},"map_files_photo_id_array":[{"photo_id":"1326831798","filename":"file2"},{"photo_id":"1326831796","filename":"file1"},{"photo_id":"1326831795","filename":"file0"},{"photo_id":"1326831799","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831799":["hashtag1","hashtag2"]},{"1326831796":["hashtag1","hashtag2"]},{"1326831795":["hashtag1","hashtag2"]},{"1326831798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831799, 1326831796, 1326831795, 1326831798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.646238565444946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:41:02.729502
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/39/image_05012025_01_39_02_719349_0003.jpg', '/home/pi/Desktop/images/05012025/01/40/image_05012025_01_40_02_224051_0000.jpg', '/home/pi/Desktop/images/05012025/01/40/image_05012025_01_40_02_224051_0001.jpg', '/home/pi/Desktop/images/05012025/01/40/image_05012025_01_40_02_224051_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/01/39/image_05012025_01_39_02_719349_0003.jpg
/home/pi/Desktop/images/05012025/01/40/image_05012025_01_40_02_224051_0000.jpg
/home/pi/Desktop/images/05012025/01/40/image_05012025_01_40_02_224051_0001.jpg
/home/pi/Desktop/images/05012025/01/40/image_05012025_01_40_02_224051_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831806","1326831809","1326831811","1326831807"],"photo_ids_order":["1326831806","1326831807","1326831809","1326831811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/43ae3da20ec78d8388c7d11e9e449492.jpg","text":"TemporaryFile(/tmp/multipartBody6043193161157109594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037733194,"filename":"image_05012025_01_39_02_719349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c70afeb7ed9a7d77e00cf1c0d847e6ef.jpg","text":"TemporaryFile(/tmp/multipartBody7391671726110937023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037733194,"filename":"image_05012025_01_40_02_224051_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1ed626583ef113fe850bda5498332faa.jpg","text":"TemporaryFile(/tmp/multipartBody124524159266771425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037733194,"filename":"image_05012025_01_40_02_224051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4e9833936d8e48564c13e3f3fc9ef5c4.jpg","text":"TemporaryFile(/tmp/multipartBody3637474248165564066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037733194,"filename":"image_05012025_01_40_02_224051_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831809","file1":"1326831807","file0":"1326831806","file3":"1326831811"},"map_files_photo_id_array":[{"photo_id":"1326831809","filename":"file2"},{"photo_id":"1326831807","filename":"file1"},{"photo_id":"1326831806","filename":"file0"},{"photo_id":"1326831811","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831806":["hashtag1","hashtag2"]},{"1326831809":["hashtag1","hashtag2"]},{"1326831811":["hashtag1","hashtag2"]},{"1326831807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831806, 1326831809, 1326831811, 1326831807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.73030662536621 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:42:02.988850
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/40/image_05012025_01_40_02_224051_0003.jpg', '/home/pi/Desktop/images/05012025/01/41/image_05012025_01_41_02_917662_0000.jpg', '/home/pi/Desktop/images/05012025/01/41/image_05012025_01_41_02_917662_0001.jpg', '/home/pi/Desktop/images/05012025/01/41/image_05012025_01_41_02_917662_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/01/40/image_05012025_01_40_02_224051_0003.jpg
/home/pi/Desktop/images/05012025/01/41/image_05012025_01_41_02_917662_0000.jpg
/home/pi/Desktop/images/05012025/01/41/image_05012025_01_41_02_917662_0001.jpg
/home/pi/Desktop/images/05012025/01/41/image_05012025_01_41_02_917662_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831821","1326831818","1326831831","1326831819"],"photo_ids_order":["1326831818","1326831819","1326831821","1326831831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eb44633d3e2cb3e0c489ebd9de73c624.jpg","text":"TemporaryFile(/tmp/multipartBody4803691174951448458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037793323,"filename":"image_05012025_01_41_02_917662_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fcc26c2edd9d9d1367be698ba268a065.jpg","text":"TemporaryFile(/tmp/multipartBody2513971000511966480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037793323,"filename":"image_05012025_01_40_02_224051_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7be8ae411011dcaf223cd85b6120e8da.jpg","text":"TemporaryFile(/tmp/multipartBody7166014807392316390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037793323,"filename":"image_05012025_01_41_02_917662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ab3198f8c7e9518599b6dd2d627644f.jpg","text":"TemporaryFile(/tmp/multipartBody3735492689599366832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037793323,"filename":"image_05012025_01_41_02_917662_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831821","file1":"1326831819","file0":"1326831818","file3":"1326831831"},"map_files_photo_id_array":[{"photo_id":"1326831821","filename":"file2"},{"photo_id":"1326831819","filename":"file1"},{"photo_id":"1326831818","filename":"file0"},{"photo_id":"1326831831","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831821":["hashtag1","hashtag2"]},{"1326831818":["hashtag1","hashtag2"]},{"1326831831":["hashtag1","hashtag2"]},{"1326831819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831821, 1326831818, 1326831831, 1326831819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.85643720626831 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:43:02.794870
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/41/image_05012025_01_41_02_917662_0003.jpg', '/home/pi/Desktop/images/05012025/01/42/image_05012025_01_42_02_441775_0000.jpg', '/home/pi/Desktop/images/05012025/01/42/image_05012025_01_42_02_441775_0001.jpg', '/home/pi/Desktop/images/05012025/01/42/image_05012025_01_42_02_441775_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/01/41/image_05012025_01_41_02_917662_0003.jpg
/home/pi/Desktop/images/05012025/01/42/image_05012025_01_42_02_441775_0000.jpg
/home/pi/Desktop/images/05012025/01/42/image_05012025_01_42_02_441775_0001.jpg
/home/pi/Desktop/images/05012025/01/42/image_05012025_01_42_02_441775_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.085215330123901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:43:22.111712
SELECT 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/01/41/image_05012025_01_41_02_917662_0003.jpg', '/home/pi/Desktop/images/05012025/01/42/image_05012025_01_42_02_441775_0000.jpg', '/home/pi/Desktop/images/05012025/01/42/image_05012025_01_42_02_441775_0001.jpg', '/home/pi/Desktop/images/05012025/01/42/image_05012025_01_42_02_441775_0002.jpg', '/home/pi/Desktop/images/05012025/01/42/image_05012025_01_42_02_441775_0003.jpg', '/home/pi/Desktop/images/05012025/01/43/image_05012025_01_43_03_016008_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/01/41/image_05012025_01_41_02_917662_0003.jpg
/home/pi/Desktop/images/05012025/01/42/image_05012025_01_42_02_441775_0000.jpg
/home/pi/Desktop/images/05012025/01/42/image_05012025_01_42_02_441775_0001.jpg
/home/pi/Desktop/images/05012025/01/42/image_05012025_01_42_02_441775_0002.jpg
/home/pi/Desktop/images/05012025/01/42/image_05012025_01_42_02_441775_0003.jpg
/home/pi/Desktop/images/05012025/01/43/image_05012025_01_43_03_016008_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831871","1326831876","1326831864","1326831873","1326831867","1326831869"],"photo_ids_order":["1326831864","1326831867","1326831869","1326831871","1326831873","1326831876"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce4aa21f63ebb74a3c11654ad03bdc60.jpg","text":"TemporaryFile(/tmp/multipartBody4925417046290388315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037877474,"filename":"image_05012025_01_42_02_441775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7ad92aaea075060e10962af4578cd985.jpg","text":"TemporaryFile(/tmp/multipartBody4104708213590353605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037877474,"filename":"image_05012025_01_43_03_016008_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d3a1f7a6511c7181e2eaf00fb98bae7a.jpg","text":"TemporaryFile(/tmp/multipartBody4922063661687097895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037877474,"filename":"image_05012025_01_41_02_917662_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ed1e03420e85e7ae88511279dc6e033c.jpg","text":"TemporaryFile(/tmp/multipartBody3339676572832775162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037877474,"filename":"image_05012025_01_42_02_441775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/65247901030a8b68b30dc1bd09afd09c.jpg","text":"TemporaryFile(/tmp/multipartBody2181464450971032000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037877474,"filename":"image_05012025_01_42_02_441775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/08a6f262df2142327ad3826ab88f663d.jpg","text":"TemporaryFile(/tmp/multipartBody7496182710356133137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037877474,"filename":"image_05012025_01_42_02_441775_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831869","file1":"1326831867","file0":"1326831864","file4":"1326831873","file5":"1326831876","file3":"1326831871"},"map_files_photo_id_array":[{"photo_id":"1326831876","filename":"file5"},{"photo_id":"1326831869","filename":"file2"},{"photo_id":"1326831873","filename":"file4"},{"photo_id":"1326831867","filename":"file1"},{"photo_id":"1326831864","filename":"file0"},{"photo_id":"1326831871","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831871":["hashtag1","hashtag2"]},{"1326831876":["hashtag1","hashtag2"]},{"1326831864":["hashtag1","hashtag2"]},{"1326831873":["hashtag1","hashtag2"]},{"1326831867":["hashtag1","hashtag2"]},{"1326831869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831871, 1326831876, 1326831864, 1326831873, 1326831867, 1326831869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.947932720184326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:44:21.811372
SELECT 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/01/43/image_05012025_01_43_03_016008_0001.jpg', '/home/pi/Desktop/images/05012025/01/43/image_05012025_01_43_03_016008_0002.jpg', '/home/pi/Desktop/images/05012025/01/43/image_05012025_01_43_03_016008_0003.jpg', '/home/pi/Desktop/images/05012025/01/44/image_05012025_01_44_02_541653_0000.jpg', '/home/pi/Desktop/images/05012025/01/44/image_05012025_01_44_02_541653_0001.jpg', '/home/pi/Desktop/images/05012025/01/44/image_05012025_01_44_02_541653_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/01/43/image_05012025_01_43_03_016008_0001.jpg
/home/pi/Desktop/images/05012025/01/43/image_05012025_01_43_03_016008_0002.jpg
/home/pi/Desktop/images/05012025/01/43/image_05012025_01_43_03_016008_0003.jpg
/home/pi/Desktop/images/05012025/01/44/image_05012025_01_44_02_541653_0000.jpg
/home/pi/Desktop/images/05012025/01/44/image_05012025_01_44_02_541653_0001.jpg
/home/pi/Desktop/images/05012025/01/44/image_05012025_01_44_02_541653_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: 15.076205015182495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:45:02.982432
SELECT 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/01/43/image_05012025_01_43_03_016008_0001.jpg', '/home/pi/Desktop/images/05012025/01/43/image_05012025_01_43_03_016008_0002.jpg', '/home/pi/Desktop/images/05012025/01/43/image_05012025_01_43_03_016008_0003.jpg', '/home/pi/Desktop/images/05012025/01/44/image_05012025_01_44_02_541653_0000.jpg', '/home/pi/Desktop/images/05012025/01/44/image_05012025_01_44_02_541653_0001.jpg', '/home/pi/Desktop/images/05012025/01/44/image_05012025_01_44_02_541653_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/01/43/image_05012025_01_43_03_016008_0001.jpg
/home/pi/Desktop/images/05012025/01/43/image_05012025_01_43_03_016008_0002.jpg
/home/pi/Desktop/images/05012025/01/43/image_05012025_01_43_03_016008_0003.jpg
/home/pi/Desktop/images/05012025/01/44/image_05012025_01_44_02_541653_0000.jpg
/home/pi/Desktop/images/05012025/01/44/image_05012025_01_44_02_541653_0001.jpg
/home/pi/Desktop/images/05012025/01/44/image_05012025_01_44_02_541653_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":["1326831902","1326831943","1326831904","1326831907","1326831900","1326831918"],"photo_ids_order":["1326831900","1326831902","1326831904","1326831907","1326831918","1326831943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/036912581e0c83c5fbb1fa1fec256627.jpg","text":"TemporaryFile(/tmp/multipartBody1695660626707116238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037978516,"filename":"image_05012025_01_43_03_016008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2c5fa0f0419022a913e4c927efb8fa96.jpg","text":"TemporaryFile(/tmp/multipartBody8518534362864314176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037978516,"filename":"image_05012025_01_44_02_541653_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c27282b4126d28fddc1efd7c6612aa6f.jpg","text":"TemporaryFile(/tmp/multipartBody2305195910613372290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037978516,"filename":"image_05012025_01_43_03_016008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/361f6e5bbabc8eb31672faadd6eee605.jpg","text":"TemporaryFile(/tmp/multipartBody7316535220743205902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037978516,"filename":"image_05012025_01_44_02_541653_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d3c0c9b025871a9667f0519bc5409de2.jpg","text":"TemporaryFile(/tmp/multipartBody7436776894683020741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037978516,"filename":"image_05012025_01_43_03_016008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1627dbf6e58abcbddbe0c07475f58c79.jpg","text":"TemporaryFile(/tmp/multipartBody4825352209226107216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736037978516,"filename":"image_05012025_01_44_02_541653_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831904","file1":"1326831902","file0":"1326831900","file4":"1326831918","file5":"1326831943","file3":"1326831907"},"map_files_photo_id_array":[{"photo_id":"1326831943","filename":"file5"},{"photo_id":"1326831904","filename":"file2"},{"photo_id":"1326831918","filename":"file4"},{"photo_id":"1326831902","filename":"file1"},{"photo_id":"1326831900","filename":"file0"},{"photo_id":"1326831907","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831902":["hashtag1","hashtag2"]},{"1326831943":["hashtag1","hashtag2"]},{"1326831904":["hashtag1","hashtag2"]},{"1326831907":["hashtag1","hashtag2"]},{"1326831900":["hashtag1","hashtag2"]},{"1326831918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831902, 1326831943, 1326831904, 1326831907, 1326831900, 1326831918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.25507044792175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:46:22.031171
SELECT 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/01/44/image_05012025_01_44_02_541653_0003.jpg', '/home/pi/Desktop/images/05012025/01/45/image_05012025_01_45_02_304896_0000.jpg', '/home/pi/Desktop/images/05012025/01/45/image_05012025_01_45_02_304896_0001.jpg', '/home/pi/Desktop/images/05012025/01/45/image_05012025_01_45_02_304896_0002.jpg', '/home/pi/Desktop/images/05012025/01/45/image_05012025_01_45_02_304896_0003.jpg', '/home/pi/Desktop/images/05012025/01/46/image_05012025_01_46_02_819225_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/01/44/image_05012025_01_44_02_541653_0003.jpg
/home/pi/Desktop/images/05012025/01/45/image_05012025_01_45_02_304896_0000.jpg
/home/pi/Desktop/images/05012025/01/45/image_05012025_01_45_02_304896_0001.jpg
/home/pi/Desktop/images/05012025/01/45/image_05012025_01_45_02_304896_0002.jpg
/home/pi/Desktop/images/05012025/01/45/image_05012025_01_45_02_304896_0003.jpg
/home/pi/Desktop/images/05012025/01/46/image_05012025_01_46_02_819225_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.779951810836792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:47:03.187715
SELECT 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/01/44/image_05012025_01_44_02_541653_0003.jpg', '/home/pi/Desktop/images/05012025/01/45/image_05012025_01_45_02_304896_0000.jpg', '/home/pi/Desktop/images/05012025/01/45/image_05012025_01_45_02_304896_0001.jpg', '/home/pi/Desktop/images/05012025/01/45/image_05012025_01_45_02_304896_0002.jpg', '/home/pi/Desktop/images/05012025/01/45/image_05012025_01_45_02_304896_0003.jpg', '/home/pi/Desktop/images/05012025/01/46/image_05012025_01_46_02_819225_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/01/44/image_05012025_01_44_02_541653_0003.jpg
/home/pi/Desktop/images/05012025/01/45/image_05012025_01_45_02_304896_0000.jpg
/home/pi/Desktop/images/05012025/01/45/image_05012025_01_45_02_304896_0001.jpg
/home/pi/Desktop/images/05012025/01/45/image_05012025_01_45_02_304896_0002.jpg
/home/pi/Desktop/images/05012025/01/45/image_05012025_01_45_02_304896_0003.jpg
/home/pi/Desktop/images/05012025/01/46/image_05012025_01_46_02_819225_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831962","1326831971","1326831964","1326831967","1326831966","1326831969"],"photo_ids_order":["1326831962","1326831964","1326831966","1326831967","1326831969","1326831971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/42cbc55761fbf6e7c8f305b325280842.jpg","text":"TemporaryFile(/tmp/multipartBody7720950606128622238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038098413,"filename":"image_05012025_01_44_02_541653_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/304bff6541d2684df3e4f27c4cda7b05.jpg","text":"TemporaryFile(/tmp/multipartBody5057625583884719913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038098413,"filename":"image_05012025_01_46_02_819225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0ecf5f91cb46034330948bb180a930bc.jpg","text":"TemporaryFile(/tmp/multipartBody8041812086043555575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038098413,"filename":"image_05012025_01_45_02_304896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f964a84e72d804ef1353e10021a10a4.jpg","text":"TemporaryFile(/tmp/multipartBody2628230233064041285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038098413,"filename":"image_05012025_01_45_02_304896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02646fe8a2b2085f5b80db9499fdbf30.jpg","text":"TemporaryFile(/tmp/multipartBody6180532127513268035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038098413,"filename":"image_05012025_01_45_02_304896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/de419e5a3eff4973904165ad0ff2200d.jpg","text":"TemporaryFile(/tmp/multipartBody4140456956162701621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038098413,"filename":"image_05012025_01_45_02_304896_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831966","file1":"1326831964","file0":"1326831962","file4":"1326831969","file5":"1326831971","file3":"1326831967"},"map_files_photo_id_array":[{"photo_id":"1326831971","filename":"file5"},{"photo_id":"1326831966","filename":"file2"},{"photo_id":"1326831969","filename":"file4"},{"photo_id":"1326831964","filename":"file1"},{"photo_id":"1326831962","filename":"file0"},{"photo_id":"1326831967","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831962":["hashtag1","hashtag2"]},{"1326831971":["hashtag1","hashtag2"]},{"1326831964":["hashtag1","hashtag2"]},{"1326831967":["hashtag1","hashtag2"]},{"1326831966":["hashtag1","hashtag2"]},{"1326831969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831962, 1326831971, 1326831964, 1326831967, 1326831966, 1326831969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.05622673034668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:48:02.675333
SELECT 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/01/46/image_05012025_01_46_02_819225_0001.jpg', '/home/pi/Desktop/images/05012025/01/46/image_05012025_01_46_02_819225_0002.jpg', '/home/pi/Desktop/images/05012025/01/46/image_05012025_01_46_02_819225_0003.jpg', '/home/pi/Desktop/images/05012025/01/47/image_05012025_01_47_02_413635_0000.jpg', '/home/pi/Desktop/images/05012025/01/47/image_05012025_01_47_02_413635_0001.jpg', '/home/pi/Desktop/images/05012025/01/47/image_05012025_01_47_02_413635_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/01/46/image_05012025_01_46_02_819225_0001.jpg
/home/pi/Desktop/images/05012025/01/46/image_05012025_01_46_02_819225_0002.jpg
/home/pi/Desktop/images/05012025/01/46/image_05012025_01_46_02_819225_0003.jpg
/home/pi/Desktop/images/05012025/01/47/image_05012025_01_47_02_413635_0000.jpg
/home/pi/Desktop/images/05012025/01/47/image_05012025_01_47_02_413635_0001.jpg
/home/pi/Desktop/images/05012025/01/47/image_05012025_01_47_02_413635_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326831983","1326831994","1326831976","1326831978","1326831986","1326831980"],"photo_ids_order":["1326831976","1326831978","1326831980","1326831983","1326831986","1326831994"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/74a91304f3eb6276c3ec0e137de0c249.jpg","text":"TemporaryFile(/tmp/multipartBody6625821396929316710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038157825,"filename":"image_05012025_01_47_02_413635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ce39074dd38b83fff149ee0f3833442.jpg","text":"TemporaryFile(/tmp/multipartBody3738481656141244535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038157825,"filename":"image_05012025_01_47_02_413635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/017f699dbf7b2383fe80903f083b6631.jpg","text":"TemporaryFile(/tmp/multipartBody472489582722093994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038157825,"filename":"image_05012025_01_46_02_819225_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/55af419a543a7fbc43827f1d65a10064.jpg","text":"TemporaryFile(/tmp/multipartBody8225132158844396826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038157825,"filename":"image_05012025_01_46_02_819225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/628b10755c8e5fccf3d1f0d67492de04.jpg","text":"TemporaryFile(/tmp/multipartBody2195536934146793287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038157825,"filename":"image_05012025_01_47_02_413635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/634212067d800c0ec9ca28bbd9e211d5.jpg","text":"TemporaryFile(/tmp/multipartBody9006440424649179251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038157825,"filename":"image_05012025_01_46_02_819225_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326831980","file1":"1326831978","file0":"1326831976","file4":"1326831986","file5":"1326831994","file3":"1326831983"},"map_files_photo_id_array":[{"photo_id":"1326831994","filename":"file5"},{"photo_id":"1326831980","filename":"file2"},{"photo_id":"1326831986","filename":"file4"},{"photo_id":"1326831978","filename":"file1"},{"photo_id":"1326831976","filename":"file0"},{"photo_id":"1326831983","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326831983":["hashtag1","hashtag2"]},{"1326831994":["hashtag1","hashtag2"]},{"1326831976":["hashtag1","hashtag2"]},{"1326831978":["hashtag1","hashtag2"]},{"1326831986":["hashtag1","hashtag2"]},{"1326831980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326831983, 1326831994, 1326831976, 1326831978, 1326831986, 1326831980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.399949073791504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:49:03.397204
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/47/image_05012025_01_47_02_413635_0003.jpg', '/home/pi/Desktop/images/05012025/01/48/image_05012025_01_48_02_904143_0000.jpg', '/home/pi/Desktop/images/05012025/01/48/image_05012025_01_48_02_904143_0001.jpg', '/home/pi/Desktop/images/05012025/01/48/image_05012025_01_48_02_904143_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/01/47/image_05012025_01_47_02_413635_0003.jpg
/home/pi/Desktop/images/05012025/01/48/image_05012025_01_48_02_904143_0000.jpg
/home/pi/Desktop/images/05012025/01/48/image_05012025_01_48_02_904143_0001.jpg
/home/pi/Desktop/images/05012025/01/48/image_05012025_01_48_02_904143_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326832025","1326832021","1326832020","1326832023"],"photo_ids_order":["1326832020","1326832021","1326832023","1326832025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cadb860e69d650ea6ec97280e0a5ddf8.jpg","text":"TemporaryFile(/tmp/multipartBody3256177265118552699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038213482,"filename":"image_05012025_01_48_02_904143_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8012b6dc0c2c4482b246558f11616c59.jpg","text":"TemporaryFile(/tmp/multipartBody6099885179394846916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038213482,"filename":"image_05012025_01_48_02_904143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b4c72dec28713add6bcf9566bff6b7db.jpg","text":"TemporaryFile(/tmp/multipartBody3318246354750945031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038213482,"filename":"image_05012025_01_47_02_413635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3e63a4d7b4445f68905abfa077f34d4a.jpg","text":"TemporaryFile(/tmp/multipartBody7218451286207772135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038213482,"filename":"image_05012025_01_48_02_904143_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326832023","file1":"1326832021","file0":"1326832020","file3":"1326832025"},"map_files_photo_id_array":[{"photo_id":"1326832023","filename":"file2"},{"photo_id":"1326832021","filename":"file1"},{"photo_id":"1326832020","filename":"file0"},{"photo_id":"1326832025","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326832025":["hashtag1","hashtag2"]},{"1326832021":["hashtag1","hashtag2"]},{"1326832020":["hashtag1","hashtag2"]},{"1326832023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326832025, 1326832021, 1326832020, 1326832023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.514522075653076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:50:02.604150
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/48/image_05012025_01_48_02_904143_0003.jpg', '/home/pi/Desktop/images/05012025/01/49/image_05012025_01_49_02_585116_0000.jpg', '/home/pi/Desktop/images/05012025/01/49/image_05012025_01_49_02_585116_0001.jpg', '/home/pi/Desktop/images/05012025/01/49/image_05012025_01_49_02_585116_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/01/48/image_05012025_01_48_02_904143_0003.jpg
/home/pi/Desktop/images/05012025/01/49/image_05012025_01_49_02_585116_0000.jpg
/home/pi/Desktop/images/05012025/01/49/image_05012025_01_49_02_585116_0001.jpg
/home/pi/Desktop/images/05012025/01/49/image_05012025_01_49_02_585116_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326832042","1326832038","1326832040","1326832037"],"photo_ids_order":["1326832037","1326832038","1326832040","1326832042"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7b271fd131312fcabd26d3bcfc44d821.jpg","text":"TemporaryFile(/tmp/multipartBody2399085918255693622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038272760,"filename":"image_05012025_01_49_02_585116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b6777bbef81be3164f87e132780a66ef.jpg","text":"TemporaryFile(/tmp/multipartBody7585525008673798833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038272760,"filename":"image_05012025_01_49_02_585116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3d5604825108e09ec48d7ac9bf2dd30.jpg","text":"TemporaryFile(/tmp/multipartBody1802609409542265816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038272760,"filename":"image_05012025_01_49_02_585116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f2622882c7810e284a065607a7c41a4f.jpg","text":"TemporaryFile(/tmp/multipartBody1070332702330358608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038272760,"filename":"image_05012025_01_48_02_904143_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326832040","file1":"1326832038","file0":"1326832037","file3":"1326832042"},"map_files_photo_id_array":[{"photo_id":"1326832040","filename":"file2"},{"photo_id":"1326832038","filename":"file1"},{"photo_id":"1326832037","filename":"file0"},{"photo_id":"1326832042","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326832042":["hashtag1","hashtag2"]},{"1326832038":["hashtag1","hashtag2"]},{"1326832040":["hashtag1","hashtag2"]},{"1326832037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326832042, 1326832038, 1326832040, 1326832037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47230267524719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:51:02.320451
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/49/image_05012025_01_49_02_585116_0003.jpg', '/home/pi/Desktop/images/05012025/01/50/image_05012025_01_50_03_116752_0000.jpg', '/home/pi/Desktop/images/05012025/01/50/image_05012025_01_50_03_116752_0001.jpg', '/home/pi/Desktop/images/05012025/01/50/image_05012025_01_50_03_116752_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/01/49/image_05012025_01_49_02_585116_0003.jpg
/home/pi/Desktop/images/05012025/01/50/image_05012025_01_50_03_116752_0000.jpg
/home/pi/Desktop/images/05012025/01/50/image_05012025_01_50_03_116752_0001.jpg
/home/pi/Desktop/images/05012025/01/50/image_05012025_01_50_03_116752_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.735514402389526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:51:21.857612
SELECT 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/01/49/image_05012025_01_49_02_585116_0003.jpg', '/home/pi/Desktop/images/05012025/01/50/image_05012025_01_50_03_116752_0000.jpg', '/home/pi/Desktop/images/05012025/01/50/image_05012025_01_50_03_116752_0001.jpg', '/home/pi/Desktop/images/05012025/01/50/image_05012025_01_50_03_116752_0002.jpg', '/home/pi/Desktop/images/05012025/01/50/image_05012025_01_50_03_116752_0003.jpg', '/home/pi/Desktop/images/05012025/01/51/image_05012025_01_51_02_672843_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/01/49/image_05012025_01_49_02_585116_0003.jpg
/home/pi/Desktop/images/05012025/01/50/image_05012025_01_50_03_116752_0000.jpg
/home/pi/Desktop/images/05012025/01/50/image_05012025_01_50_03_116752_0001.jpg
/home/pi/Desktop/images/05012025/01/50/image_05012025_01_50_03_116752_0002.jpg
/home/pi/Desktop/images/05012025/01/50/image_05012025_01_50_03_116752_0003.jpg
/home/pi/Desktop/images/05012025/01/51/image_05012025_01_51_02_672843_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326832093","1326832057","1326832095","1326832071","1326832059","1326832068"],"photo_ids_order":["1326832057","1326832059","1326832068","1326832071","1326832093","1326832095"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/72c2a24b0dd4cfa3756d29d7f843dcab.jpg","text":"TemporaryFile(/tmp/multipartBody6186076050299316676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038356641,"filename":"image_05012025_01_50_03_116752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/483f6e15701f4c733ef8861149b55e80.jpg","text":"TemporaryFile(/tmp/multipartBody1028876944436823223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038356641,"filename":"image_05012025_01_49_02_585116_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/80b1f70cd7f041a3b17335a24a13d497.jpg","text":"TemporaryFile(/tmp/multipartBody5800846646375525149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038356641,"filename":"image_05012025_01_51_02_672843_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/63c9a55e7ca540628590be85d4b60d4d.jpg","text":"TemporaryFile(/tmp/multipartBody2004358095947505485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038356641,"filename":"image_05012025_01_50_03_116752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9d85b2d8aeb6f1d0d0d801d390755ac7.jpg","text":"TemporaryFile(/tmp/multipartBody7892694342756206397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038356641,"filename":"image_05012025_01_50_03_116752_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/065deaaff7781b2c17431026213fd100.jpg","text":"TemporaryFile(/tmp/multipartBody1990378498158426178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038356641,"filename":"image_05012025_01_50_03_116752_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326832068","file1":"1326832059","file0":"1326832057","file4":"1326832093","file5":"1326832095","file3":"1326832071"},"map_files_photo_id_array":[{"photo_id":"1326832095","filename":"file5"},{"photo_id":"1326832068","filename":"file2"},{"photo_id":"1326832093","filename":"file4"},{"photo_id":"1326832059","filename":"file1"},{"photo_id":"1326832057","filename":"file0"},{"photo_id":"1326832071","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326832093":["hashtag1","hashtag2"]},{"1326832057":["hashtag1","hashtag2"]},{"1326832095":["hashtag1","hashtag2"]},{"1326832071":["hashtag1","hashtag2"]},{"1326832059":["hashtag1","hashtag2"]},{"1326832068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326832093, 1326832057, 1326832095, 1326832071, 1326832059, 1326832068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.64882135391235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:52:22.369078
SELECT 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/01/51/image_05012025_01_51_02_672843_0001.jpg', '/home/pi/Desktop/images/05012025/01/51/image_05012025_01_51_02_672843_0002.jpg', '/home/pi/Desktop/images/05012025/01/51/image_05012025_01_51_02_672843_0003.jpg', '/home/pi/Desktop/images/05012025/01/52/image_05012025_01_52_02_180955_0000.jpg', '/home/pi/Desktop/images/05012025/01/52/image_05012025_01_52_02_180955_0001.jpg', '/home/pi/Desktop/images/05012025/01/52/image_05012025_01_52_02_180955_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/01/51/image_05012025_01_51_02_672843_0001.jpg
/home/pi/Desktop/images/05012025/01/51/image_05012025_01_51_02_672843_0002.jpg
/home/pi/Desktop/images/05012025/01/51/image_05012025_01_51_02_672843_0003.jpg
/home/pi/Desktop/images/05012025/01/52/image_05012025_01_52_02_180955_0000.jpg
/home/pi/Desktop/images/05012025/01/52/image_05012025_01_52_02_180955_0001.jpg
/home/pi/Desktop/images/05012025/01/52/image_05012025_01_52_02_180955_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326832103","1326832112","1326832106","1326832109","1326832099","1326832114"],"photo_ids_order":["1326832099","1326832103","1326832106","1326832109","1326832112","1326832114"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/98f9c1cbf1cf6e0ec1559818ffad5be0.jpg","text":"TemporaryFile(/tmp/multipartBody3584318203259656156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038417040,"filename":"image_05012025_01_51_02_672843_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a5d3844cb6e867df70e6a07298be0e14.jpg","text":"TemporaryFile(/tmp/multipartBody752079090507416128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038417040,"filename":"image_05012025_01_52_02_180955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/621e365b78e02f196b29ef35a71b849a.jpg","text":"TemporaryFile(/tmp/multipartBody9119880419062928218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038417040,"filename":"image_05012025_01_51_02_672843_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bcc933ee7ef7987be114626c46a18886.jpg","text":"TemporaryFile(/tmp/multipartBody3160039335075373944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038417040,"filename":"image_05012025_01_52_02_180955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/93188ff16144a8f94859dfc8387f60c7.jpg","text":"TemporaryFile(/tmp/multipartBody897805655181206695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038417040,"filename":"image_05012025_01_51_02_672843_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6a75c6a320a3341d92a8e2f0578f9364.jpg","text":"TemporaryFile(/tmp/multipartBody4388176757465575188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038417040,"filename":"image_05012025_01_52_02_180955_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326832106","file1":"1326832103","file0":"1326832099","file4":"1326832112","file5":"1326832114","file3":"1326832109"},"map_files_photo_id_array":[{"photo_id":"1326832114","filename":"file5"},{"photo_id":"1326832106","filename":"file2"},{"photo_id":"1326832112","filename":"file4"},{"photo_id":"1326832103","filename":"file1"},{"photo_id":"1326832099","filename":"file0"},{"photo_id":"1326832109","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326832103":["hashtag1","hashtag2"]},{"1326832112":["hashtag1","hashtag2"]},{"1326832106":["hashtag1","hashtag2"]},{"1326832109":["hashtag1","hashtag2"]},{"1326832099":["hashtag1","hashtag2"]},{"1326832114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326832103, 1326832112, 1326832106, 1326832109, 1326832099, 1326832114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.300408363342285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:53:21.895989
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/52/image_05012025_01_52_02_180955_0003.jpg', '/home/pi/Desktop/images/05012025/01/53/image_05012025_01_53_02_733329_0000.jpg', '/home/pi/Desktop/images/05012025/01/53/image_05012025_01_53_02_733329_0001.jpg', '/home/pi/Desktop/images/05012025/01/53/image_05012025_01_53_02_733329_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/01/52/image_05012025_01_52_02_180955_0003.jpg
/home/pi/Desktop/images/05012025/01/53/image_05012025_01_53_02_733329_0000.jpg
/home/pi/Desktop/images/05012025/01/53/image_05012025_01_53_02_733329_0001.jpg
/home/pi/Desktop/images/05012025/01/53/image_05012025_01_53_02_733329_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326832127","1326832125","1326832119","1326832121"],"photo_ids_order":["1326832119","1326832121","1326832125","1326832127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/67439df354c8bc03a6c03f4ee8822a67.jpg","text":"TemporaryFile(/tmp/multipartBody8071491864414239304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038472024,"filename":"image_05012025_01_53_02_733329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a8d64482609b61f338d5d9dfa1aafc5f.jpg","text":"TemporaryFile(/tmp/multipartBody1644917039746743321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038472024,"filename":"image_05012025_01_53_02_733329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8ae41cc56ae55cfe50af40c746a05f91.jpg","text":"TemporaryFile(/tmp/multipartBody3452200256257329262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038472024,"filename":"image_05012025_01_52_02_180955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1e9c38224f52a1f2766f8cab8c434eed.jpg","text":"TemporaryFile(/tmp/multipartBody6368770697321599374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038472024,"filename":"image_05012025_01_53_02_733329_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326832125","file1":"1326832121","file0":"1326832119","file3":"1326832127"},"map_files_photo_id_array":[{"photo_id":"1326832125","filename":"file2"},{"photo_id":"1326832121","filename":"file1"},{"photo_id":"1326832119","filename":"file0"},{"photo_id":"1326832127","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326832127":["hashtag1","hashtag2"]},{"1326832125":["hashtag1","hashtag2"]},{"1326832119":["hashtag1","hashtag2"]},{"1326832121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326832127, 1326832125, 1326832119, 1326832121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68649935722351 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:54:02.789542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:54:22.331536
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/53/image_05012025_01_53_02_733329_0003.jpg', '/home/pi/Desktop/images/05012025/01/54/image_05012025_01_54_02_229493_0001.jpg', '/home/pi/Desktop/images/05012025/01/54/image_05012025_01_54_02_229493_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/01/53/image_05012025_01_53_02_733329_0003.jpg
/home/pi/Desktop/images/05012025/01/54/image_05012025_01_54_02_229493_0001.jpg
/home/pi/Desktop/images/05012025/01/54/image_05012025_01_54_02_229493_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.457805156707764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:55:02.650242
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/53/image_05012025_01_53_02_733329_0003.jpg', '/home/pi/Desktop/images/05012025/01/54/image_05012025_01_54_02_229493_0001.jpg', '/home/pi/Desktop/images/05012025/01/54/image_05012025_01_54_02_229493_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/01/53/image_05012025_01_53_02_733329_0003.jpg
/home/pi/Desktop/images/05012025/01/54/image_05012025_01_54_02_229493_0001.jpg
/home/pi/Desktop/images/05012025/01/54/image_05012025_01_54_02_229493_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326832192","1326832212","1326832206"],"photo_ids_order":["1326832192","1326832206","1326832212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/64837de62cd1c0c0597abbe9b7bc42bc.jpg","text":"TemporaryFile(/tmp/multipartBody6078577994637511730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038570519,"filename":"image_05012025_01_53_02_733329_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a36f143e51d96826d88d194d90a1ffc3.jpg","text":"TemporaryFile(/tmp/multipartBody7242688721817254231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038570519,"filename":"image_05012025_01_54_02_229493_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9585562d57e810c98cafa71533d74251.jpg","text":"TemporaryFile(/tmp/multipartBody3806532940620041970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038570519,"filename":"image_05012025_01_54_02_229493_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326832212","file1":"1326832206","file0":"1326832192"},"map_files_photo_id_array":[{"photo_id":"1326832212","filename":"file2"},{"photo_id":"1326832206","filename":"file1"},{"photo_id":"1326832192","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326832192":["hashtag1","hashtag2"]},{"1326832212":["hashtag1","hashtag2"]},{"1326832206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326832192, 1326832212, 1326832206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 37.49846291542053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 01:56:02.921796
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/01/54/image_05012025_01_54_02_229493_0003.jpg', '/home/pi/Desktop/images/05012025/01/55/image_05012025_01_55_02_787810_0000.jpg', '/home/pi/Desktop/images/05012025/01/55/image_05012025_01_55_02_787810_0001.jpg', '/home/pi/Desktop/images/05012025/01/55/image_05012025_01_55_02_787810_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/01/54/image_05012025_01_54_02_229493_0003.jpg
/home/pi/Desktop/images/05012025/01/55/image_05012025_01_55_02_787810_0000.jpg
/home/pi/Desktop/images/05012025/01/55/image_05012025_01_55_02_787810_0001.jpg
/home/pi/Desktop/images/05012025/01/55/image_05012025_01_55_02_787810_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.943546533584595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:56:22.569345
SELECT 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/01/54/image_05012025_01_54_02_229493_0003.jpg', '/home/pi/Desktop/images/05012025/01/55/image_05012025_01_55_02_787810_0000.jpg', '/home/pi/Desktop/images/05012025/01/55/image_05012025_01_55_02_787810_0001.jpg', '/home/pi/Desktop/images/05012025/01/55/image_05012025_01_55_02_787810_0002.jpg', '/home/pi/Desktop/images/05012025/01/55/image_05012025_01_55_02_787810_0003.jpg', '/home/pi/Desktop/images/05012025/01/56/image_05012025_01_56_02_284611_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/01/54/image_05012025_01_54_02_229493_0003.jpg
/home/pi/Desktop/images/05012025/01/55/image_05012025_01_55_02_787810_0000.jpg
/home/pi/Desktop/images/05012025/01/55/image_05012025_01_55_02_787810_0001.jpg
/home/pi/Desktop/images/05012025/01/55/image_05012025_01_55_02_787810_0002.jpg
/home/pi/Desktop/images/05012025/01/55/image_05012025_01_55_02_787810_0003.jpg
/home/pi/Desktop/images/05012025/01/56/image_05012025_01_56_02_284611_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326832261","1326832258","1326832252","1326832249","1326832254","1326832256"],"photo_ids_order":["1326832249","1326832252","1326832254","1326832256","1326832258","1326832261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5bb42c0e36ce9ca918dbb0d5cda9f4b4.jpg","text":"TemporaryFile(/tmp/multipartBody7834086356042219041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038657683,"filename":"image_05012025_01_56_02_284611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/87abd277f62415ed950ca1cd9383ad34.jpg","text":"TemporaryFile(/tmp/multipartBody1778463802477271253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038657683,"filename":"image_05012025_01_55_02_787810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/de3c981df16544f1b229c9d7f36bbc8c.jpg","text":"TemporaryFile(/tmp/multipartBody8136906011967672333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038657683,"filename":"image_05012025_01_55_02_787810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/05c1b35e673c47b2b741efa410fc2c53.jpg","text":"TemporaryFile(/tmp/multipartBody3562598123967997715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038657683,"filename":"image_05012025_01_54_02_229493_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f201c4e03f25083486cbac8afa1ee055.jpg","text":"TemporaryFile(/tmp/multipartBody4054202869473752733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038657683,"filename":"image_05012025_01_55_02_787810_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ae8bfed79f0e3703ab97f0045d5c249f.jpg","text":"TemporaryFile(/tmp/multipartBody4375263192220353823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038657683,"filename":"image_05012025_01_55_02_787810_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326832254","file1":"1326832252","file0":"1326832249","file4":"1326832258","file5":"1326832261","file3":"1326832256"},"map_files_photo_id_array":[{"photo_id":"1326832261","filename":"file5"},{"photo_id":"1326832254","filename":"file2"},{"photo_id":"1326832258","filename":"file4"},{"photo_id":"1326832252","filename":"file1"},{"photo_id":"1326832249","filename":"file0"},{"photo_id":"1326832256","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326832261":["hashtag1","hashtag2"]},{"1326832258":["hashtag1","hashtag2"]},{"1326832252":["hashtag1","hashtag2"]},{"1326832249":["hashtag1","hashtag2"]},{"1326832254":["hashtag1","hashtag2"]},{"1326832256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326832261, 1326832258, 1326832252, 1326832249, 1326832254, 1326832256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.136332988739014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:57:22.079151
SELECT 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/01/56/image_05012025_01_56_02_284611_0001.jpg', '/home/pi/Desktop/images/05012025/01/56/image_05012025_01_56_02_284611_0002.jpg', '/home/pi/Desktop/images/05012025/01/56/image_05012025_01_56_02_284611_0003.jpg', '/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_0000.jpg', '/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_0001.jpg', '/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_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/01/56/image_05012025_01_56_02_284611_0001.jpg
/home/pi/Desktop/images/05012025/01/56/image_05012025_01_56_02_284611_0002.jpg
/home/pi/Desktop/images/05012025/01/56/image_05012025_01_56_02_284611_0003.jpg
/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_0000.jpg
/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_0001.jpg
/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_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-05 01:59:02.335092
SELECT 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/01/56/image_05012025_01_56_02_284611_0001.jpg', '/home/pi/Desktop/images/05012025/01/56/image_05012025_01_56_02_284611_0002.jpg', '/home/pi/Desktop/images/05012025/01/56/image_05012025_01_56_02_284611_0003.jpg', '/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_0000.jpg', '/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_0001.jpg', '/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_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/01/56/image_05012025_01_56_02_284611_0001.jpg
/home/pi/Desktop/images/05012025/01/56/image_05012025_01_56_02_284611_0002.jpg
/home/pi/Desktop/images/05012025/01/56/image_05012025_01_56_02_284611_0003.jpg
/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_0000.jpg
/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_0001.jpg
/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_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.627205848693848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 01:59:21.736635
SELECT 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/01/56/image_05012025_01_56_02_284611_0001.jpg', '/home/pi/Desktop/images/05012025/01/56/image_05012025_01_56_02_284611_0002.jpg', '/home/pi/Desktop/images/05012025/01/56/image_05012025_01_56_02_284611_0003.jpg', '/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_0000.jpg', '/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_0001.jpg', '/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_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/01/56/image_05012025_01_56_02_284611_0001.jpg
/home/pi/Desktop/images/05012025/01/56/image_05012025_01_56_02_284611_0002.jpg
/home/pi/Desktop/images/05012025/01/56/image_05012025_01_56_02_284611_0003.jpg
/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_0000.jpg
/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_0001.jpg
/home/pi/Desktop/images/05012025/01/57/image_05012025_01_57_02_930359_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326834093","1326834027","1326834114","1326834021","1326834029","1326834116"],"photo_ids_order":["1326834021","1326834027","1326834029","1326834093","1326834114","1326834116"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/75dda990cc5d2a3e6ce50ceb2b961bd9.jpg","text":"TemporaryFile(/tmp/multipartBody1017544848012532041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038836663,"filename":"image_05012025_01_57_02_930359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9726666eab85bcea0e9b5dad2c7ad96.jpg","text":"TemporaryFile(/tmp/multipartBody9069055481318577058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038836663,"filename":"image_05012025_01_56_02_284611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e06a00bf7753c90d792c4149fa6c417f.jpg","text":"TemporaryFile(/tmp/multipartBody8859119583766290993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038836663,"filename":"image_05012025_01_57_02_930359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6dae289c18534276f401a66fccea79ab.jpg","text":"TemporaryFile(/tmp/multipartBody2248410253432435481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038836663,"filename":"image_05012025_01_56_02_284611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/364d40c004fe70c4f35bf0075f6baa1c.jpg","text":"TemporaryFile(/tmp/multipartBody1561970786267293933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038836663,"filename":"image_05012025_01_56_02_284611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f6f1781697528a6a6cdc80deb914a7f.jpg","text":"TemporaryFile(/tmp/multipartBody6658234416410101379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038836663,"filename":"image_05012025_01_57_02_930359_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326834029","file1":"1326834027","file0":"1326834021","file4":"1326834114","file5":"1326834116","file3":"1326834093"},"map_files_photo_id_array":[{"photo_id":"1326834116","filename":"file5"},{"photo_id":"1326834029","filename":"file2"},{"photo_id":"1326834114","filename":"file4"},{"photo_id":"1326834027","filename":"file1"},{"photo_id":"1326834021","filename":"file0"},{"photo_id":"1326834093","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326834093":["hashtag1","hashtag2"]},{"1326834027":["hashtag1","hashtag2"]},{"1326834114":["hashtag1","hashtag2"]},{"1326834021":["hashtag1","hashtag2"]},{"1326834029":["hashtag1","hashtag2"]},{"1326834116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326834093, 1326834027, 1326834114, 1326834021, 1326834029, 1326834116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.320396900177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:00:22.481950
SELECT 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/01/57/image_05012025_01_57_02_930359_0003.jpg', '/home/pi/Desktop/images/05012025/01/58/image_05012025_01_58_02_436381_0000.jpg', '/home/pi/Desktop/images/05012025/01/58/image_05012025_01_58_02_436381_0001.jpg', '/home/pi/Desktop/images/05012025/01/58/image_05012025_01_58_02_436381_0002.jpg', '/home/pi/Desktop/images/05012025/01/58/image_05012025_01_58_02_436381_0003.jpg', '/home/pi/Desktop/images/05012025/01/59/image_05012025_01_59_03_028968_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/01/57/image_05012025_01_57_02_930359_0003.jpg
/home/pi/Desktop/images/05012025/01/58/image_05012025_01_58_02_436381_0000.jpg
/home/pi/Desktop/images/05012025/01/58/image_05012025_01_58_02_436381_0001.jpg
/home/pi/Desktop/images/05012025/01/58/image_05012025_01_58_02_436381_0002.jpg
/home/pi/Desktop/images/05012025/01/58/image_05012025_01_58_02_436381_0003.jpg
/home/pi/Desktop/images/05012025/01/59/image_05012025_01_59_03_028968_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326834520","1326834456","1326834527","1326834461","1326834524","1326834499"],"photo_ids_order":["1326834456","1326834461","1326834499","1326834520","1326834524","1326834527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/57b65c50ad42e7ce2523398a5a30ec42.jpg","text":"TemporaryFile(/tmp/multipartBody3578038925144366215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038897495,"filename":"image_05012025_01_58_02_436381_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88f3130649bfbaf7ef68f34af3da2724.jpg","text":"TemporaryFile(/tmp/multipartBody3273179242716069019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038897495,"filename":"image_05012025_01_57_02_930359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc10c4b340839521fcf951b1d6571931.jpg","text":"TemporaryFile(/tmp/multipartBody450944553740862743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038897495,"filename":"image_05012025_01_59_03_028968_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2e8934e5ee6cefa6a3e4bd228cda2d5b.jpg","text":"TemporaryFile(/tmp/multipartBody8804904454707802172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038897495,"filename":"image_05012025_01_58_02_436381_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b2a6c59bae454afb85cbfa5beaae2421.jpg","text":"TemporaryFile(/tmp/multipartBody3243883153683302743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038897495,"filename":"image_05012025_01_58_02_436381_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b21c7c12f48d7530e696a2c9f2c33a06.jpg","text":"TemporaryFile(/tmp/multipartBody6313516914974910271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038897495,"filename":"image_05012025_01_58_02_436381_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326834499","file1":"1326834461","file0":"1326834456","file4":"1326834524","file5":"1326834527","file3":"1326834520"},"map_files_photo_id_array":[{"photo_id":"1326834527","filename":"file5"},{"photo_id":"1326834499","filename":"file2"},{"photo_id":"1326834524","filename":"file4"},{"photo_id":"1326834461","filename":"file1"},{"photo_id":"1326834456","filename":"file0"},{"photo_id":"1326834520","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326834520":["hashtag1","hashtag2"]},{"1326834456":["hashtag1","hashtag2"]},{"1326834527":["hashtag1","hashtag2"]},{"1326834461":["hashtag1","hashtag2"]},{"1326834524":["hashtag1","hashtag2"]},{"1326834499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326834520, 1326834456, 1326834527, 1326834461, 1326834524, 1326834499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.08209037780762 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:01:22.031853
SELECT 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/01/59/image_05012025_01_59_03_028968_0001.jpg', '/home/pi/Desktop/images/05012025/01/59/image_05012025_01_59_03_028968_0002.jpg', '/home/pi/Desktop/images/05012025/01/59/image_05012025_01_59_03_028968_0003.jpg', '/home/pi/Desktop/images/05012025/02/00/image_05012025_02_00_02_173235_0000.jpg', '/home/pi/Desktop/images/05012025/02/00/image_05012025_02_00_02_173235_0001.jpg', '/home/pi/Desktop/images/05012025/02/00/image_05012025_02_00_02_173235_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/01/59/image_05012025_01_59_03_028968_0001.jpg
/home/pi/Desktop/images/05012025/01/59/image_05012025_01_59_03_028968_0002.jpg
/home/pi/Desktop/images/05012025/01/59/image_05012025_01_59_03_028968_0003.jpg
/home/pi/Desktop/images/05012025/02/00/image_05012025_02_00_02_173235_0000.jpg
/home/pi/Desktop/images/05012025/02/00/image_05012025_02_00_02_173235_0001.jpg
/home/pi/Desktop/images/05012025/02/00/image_05012025_02_00_02_173235_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326834541","1326834651","1326834872","1326834758","1326834539","1326834544"],"photo_ids_order":["1326834539","1326834541","1326834544","1326834651","1326834758","1326834872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/24ea8faff1531b31f941099f96b3dbae.jpg","text":"TemporaryFile(/tmp/multipartBody2151157816285074999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038957120,"filename":"image_05012025_01_59_03_028968_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3b3e7bfdb16566cd30e188a5aa8925b8.jpg","text":"TemporaryFile(/tmp/multipartBody6651630222910980464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038957120,"filename":"image_05012025_02_00_02_173235_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7810f17001d9f789bbc10fccafebb7b1.jpg","text":"TemporaryFile(/tmp/multipartBody1883190642934060177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038957120,"filename":"image_05012025_02_00_02_173235_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eb2a7e73c0268f2608ba2372bb8cae51.jpg","text":"TemporaryFile(/tmp/multipartBody8383231980643267631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038957120,"filename":"image_05012025_02_00_02_173235_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fc4a66a7f3076e2479a80549b79edb45.jpg","text":"TemporaryFile(/tmp/multipartBody1144606380003995028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038957120,"filename":"image_05012025_01_59_03_028968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a053c7cae6382405559618daf59aadc9.jpg","text":"TemporaryFile(/tmp/multipartBody5837692303868550091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736038957120,"filename":"image_05012025_01_59_03_028968_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326834544","file1":"1326834541","file0":"1326834539","file4":"1326834758","file5":"1326834872","file3":"1326834651"},"map_files_photo_id_array":[{"photo_id":"1326834872","filename":"file5"},{"photo_id":"1326834544","filename":"file2"},{"photo_id":"1326834758","filename":"file4"},{"photo_id":"1326834541","filename":"file1"},{"photo_id":"1326834539","filename":"file0"},{"photo_id":"1326834651","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326834541":["hashtag1","hashtag2"]},{"1326834651":["hashtag1","hashtag2"]},{"1326834872":["hashtag1","hashtag2"]},{"1326834758":["hashtag1","hashtag2"]},{"1326834539":["hashtag1","hashtag2"]},{"1326834544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326834541, 1326834651, 1326834872, 1326834758, 1326834539, 1326834544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.42443346977234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:02:22.544404
SELECT 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/02/00/image_05012025_02_00_02_173235_0003.jpg', '/home/pi/Desktop/images/05012025/02/01/image_05012025_02_01_02_870526_0000.jpg', '/home/pi/Desktop/images/05012025/02/01/image_05012025_02_01_02_870526_0001.jpg', '/home/pi/Desktop/images/05012025/02/01/image_05012025_02_01_02_870526_0002.jpg', '/home/pi/Desktop/images/05012025/02/01/image_05012025_02_01_02_870526_0003.jpg', '/home/pi/Desktop/images/05012025/02/02/image_05012025_02_02_02_403416_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/02/00/image_05012025_02_00_02_173235_0003.jpg
/home/pi/Desktop/images/05012025/02/01/image_05012025_02_01_02_870526_0000.jpg
/home/pi/Desktop/images/05012025/02/01/image_05012025_02_01_02_870526_0001.jpg
/home/pi/Desktop/images/05012025/02/01/image_05012025_02_01_02_870526_0002.jpg
/home/pi/Desktop/images/05012025/02/01/image_05012025_02_01_02_870526_0003.jpg
/home/pi/Desktop/images/05012025/02/02/image_05012025_02_02_02_403416_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326835389","1326835311","1326835385","1326835387","1326835360","1326835477"],"photo_ids_order":["1326835311","1326835360","1326835385","1326835387","1326835389","1326835477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0f447b216f9fedca9c9a881a112aeec5.jpg","text":"TemporaryFile(/tmp/multipartBody8914422630287671918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039017660,"filename":"image_05012025_02_01_02_870526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/41977bc229e5af55f4bf629560dc7c78.jpg","text":"TemporaryFile(/tmp/multipartBody6045121554391513355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039017660,"filename":"image_05012025_02_00_02_173235_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/92d4377bc7f6995c971f78e0a5fa71a1.jpg","text":"TemporaryFile(/tmp/multipartBody106134561097598413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039017660,"filename":"image_05012025_02_01_02_870526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c6594552ab2ea1b8b9b7a8fdc07c7967.jpg","text":"TemporaryFile(/tmp/multipartBody314025714473708842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039017660,"filename":"image_05012025_02_01_02_870526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02806890b7906fdc0cebda4efcd2a2d1.jpg","text":"TemporaryFile(/tmp/multipartBody3500503759794902134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039017660,"filename":"image_05012025_02_01_02_870526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aec1810f4d527e5ba4cc8c4f3802a59b.jpg","text":"TemporaryFile(/tmp/multipartBody3612321499459686030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039017660,"filename":"image_05012025_02_02_02_403416_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326835385","file1":"1326835360","file0":"1326835311","file4":"1326835389","file5":"1326835477","file3":"1326835387"},"map_files_photo_id_array":[{"photo_id":"1326835477","filename":"file5"},{"photo_id":"1326835385","filename":"file2"},{"photo_id":"1326835389","filename":"file4"},{"photo_id":"1326835360","filename":"file1"},{"photo_id":"1326835311","filename":"file0"},{"photo_id":"1326835387","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326835389":["hashtag1","hashtag2"]},{"1326835311":["hashtag1","hashtag2"]},{"1326835385":["hashtag1","hashtag2"]},{"1326835387":["hashtag1","hashtag2"]},{"1326835360":["hashtag1","hashtag2"]},{"1326835477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326835389, 1326835311, 1326835385, 1326835387, 1326835360, 1326835477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.30978727340698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:03:22.084073
SELECT 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/02/02/image_05012025_02_02_02_403416_0001.jpg', '/home/pi/Desktop/images/05012025/02/02/image_05012025_02_02_02_403416_0002.jpg', '/home/pi/Desktop/images/05012025/02/02/image_05012025_02_02_02_403416_0003.jpg', '/home/pi/Desktop/images/05012025/02/03/image_05012025_02_03_02_922299_0000.jpg', '/home/pi/Desktop/images/05012025/02/03/image_05012025_02_03_02_922299_0001.jpg', '/home/pi/Desktop/images/05012025/02/03/image_05012025_02_03_02_922299_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/02/02/image_05012025_02_02_02_403416_0001.jpg
/home/pi/Desktop/images/05012025/02/02/image_05012025_02_02_02_403416_0002.jpg
/home/pi/Desktop/images/05012025/02/02/image_05012025_02_02_02_403416_0003.jpg
/home/pi/Desktop/images/05012025/02/03/image_05012025_02_03_02_922299_0000.jpg
/home/pi/Desktop/images/05012025/02/03/image_05012025_02_03_02_922299_0001.jpg
/home/pi/Desktop/images/05012025/02/03/image_05012025_02_03_02_922299_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326835524","1326835518","1326835505","1326835520","1326835522","1326835507"],"photo_ids_order":["1326835505","1326835507","1326835518","1326835520","1326835522","1326835524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/810e1cf1343d6dc41d3dd63626e9f72d.jpg","text":"TemporaryFile(/tmp/multipartBody8921551337123807105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039077092,"filename":"image_05012025_02_03_02_922299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5d093ba9dd08f74820bc5d1b8ae4b575.jpg","text":"TemporaryFile(/tmp/multipartBody832903227940382651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039077092,"filename":"image_05012025_02_02_02_403416_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0f8baf0bcba5277f9520b9bb4e1c4d0d.jpg","text":"TemporaryFile(/tmp/multipartBody2723437704700314828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039077092,"filename":"image_05012025_02_02_02_403416_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2f899991b4bf85dc594d912ff0abdb12.jpg","text":"TemporaryFile(/tmp/multipartBody6738264663557952696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039077092,"filename":"image_05012025_02_03_02_922299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/914be668dd16cc9d425953f67c35de79.jpg","text":"TemporaryFile(/tmp/multipartBody4641421267454533219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039077092,"filename":"image_05012025_02_03_02_922299_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4b61ec88157741a5d29819a54dd52459.jpg","text":"TemporaryFile(/tmp/multipartBody4084563057832889285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039077092,"filename":"image_05012025_02_02_02_403416_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326835518","file1":"1326835507","file0":"1326835505","file4":"1326835522","file5":"1326835524","file3":"1326835520"},"map_files_photo_id_array":[{"photo_id":"1326835524","filename":"file5"},{"photo_id":"1326835518","filename":"file2"},{"photo_id":"1326835522","filename":"file4"},{"photo_id":"1326835507","filename":"file1"},{"photo_id":"1326835505","filename":"file0"},{"photo_id":"1326835520","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326835524":["hashtag1","hashtag2"]},{"1326835518":["hashtag1","hashtag2"]},{"1326835505":["hashtag1","hashtag2"]},{"1326835520":["hashtag1","hashtag2"]},{"1326835522":["hashtag1","hashtag2"]},{"1326835507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326835524, 1326835518, 1326835505, 1326835520, 1326835522, 1326835507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.70091271400452 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:04:22.595554
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/03/image_05012025_02_03_02_922299_0003.jpg', '/home/pi/Desktop/images/05012025/02/04/image_05012025_02_04_02_462626_0000.jpg', '/home/pi/Desktop/images/05012025/02/04/image_05012025_02_04_02_462626_0001.jpg', '/home/pi/Desktop/images/05012025/02/04/image_05012025_02_04_02_462626_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/02/03/image_05012025_02_03_02_922299_0003.jpg
/home/pi/Desktop/images/05012025/02/04/image_05012025_02_04_02_462626_0000.jpg
/home/pi/Desktop/images/05012025/02/04/image_05012025_02_04_02_462626_0001.jpg
/home/pi/Desktop/images/05012025/02/04/image_05012025_02_04_02_462626_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326835545","1326835541","1326835567","1326835528"],"photo_ids_order":["1326835528","1326835541","1326835545","1326835567"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2845493927fe2e92c9d5c931a33d43a8.jpg","text":"TemporaryFile(/tmp/multipartBody5858536714308420582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039133009,"filename":"image_05012025_02_04_02_462626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9a4615452345f586cc2bc21035fb8d0e.jpg","text":"TemporaryFile(/tmp/multipartBody3310262872906132961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039133009,"filename":"image_05012025_02_04_02_462626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aac0713336dea3f0d98e443fed2147f4.jpg","text":"TemporaryFile(/tmp/multipartBody3654663653419986742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039133009,"filename":"image_05012025_02_04_02_462626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b5be0171ff3671ad9b13f855350a5274.jpg","text":"TemporaryFile(/tmp/multipartBody8979563433243415631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039133009,"filename":"image_05012025_02_03_02_922299_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326835545","file1":"1326835541","file0":"1326835528","file3":"1326835567"},"map_files_photo_id_array":[{"photo_id":"1326835545","filename":"file2"},{"photo_id":"1326835541","filename":"file1"},{"photo_id":"1326835528","filename":"file0"},{"photo_id":"1326835567","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326835545":["hashtag1","hashtag2"]},{"1326835541":["hashtag1","hashtag2"]},{"1326835567":["hashtag1","hashtag2"]},{"1326835528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326835545, 1326835541, 1326835567, 1326835528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8371365070343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:05:02.898991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:05:22.212633
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/04/image_05012025_02_04_02_462626_0003.jpg', '/home/pi/Desktop/images/05012025/02/05/image_05012025_02_05_03_060919_0000.jpg', '/home/pi/Desktop/images/05012025/02/05/image_05012025_02_05_03_060919_0001.jpg', '/home/pi/Desktop/images/05012025/02/05/image_05012025_02_05_03_060919_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/02/04/image_05012025_02_04_02_462626_0003.jpg
/home/pi/Desktop/images/05012025/02/05/image_05012025_02_05_03_060919_0000.jpg
/home/pi/Desktop/images/05012025/02/05/image_05012025_02_05_03_060919_0001.jpg
/home/pi/Desktop/images/05012025/02/05/image_05012025_02_05_03_060919_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326835962","1326835888","1326836134","1326835867"],"photo_ids_order":["1326835867","1326835888","1326835962","1326836134"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/63936d7a3a7a2d40ca0ea31a7b8c8a72.jpg","text":"TemporaryFile(/tmp/multipartBody6720829385714650512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039192612,"filename":"image_05012025_02_05_03_060919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc2a67dae75b8065d7da74ab049e6b18.jpg","text":"TemporaryFile(/tmp/multipartBody5556386738663728943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039192612,"filename":"image_05012025_02_05_03_060919_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b149f65684572406f6e6025a5f3770e7.jpg","text":"TemporaryFile(/tmp/multipartBody4876657061039300850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039192612,"filename":"image_05012025_02_05_03_060919_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cf0777441bc1dfd6c2a8f6f8543ac523.jpg","text":"TemporaryFile(/tmp/multipartBody2048945186216779734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039192612,"filename":"image_05012025_02_04_02_462626_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326835962","file1":"1326835888","file0":"1326835867","file3":"1326836134"},"map_files_photo_id_array":[{"photo_id":"1326835962","filename":"file2"},{"photo_id":"1326835888","filename":"file1"},{"photo_id":"1326835867","filename":"file0"},{"photo_id":"1326836134","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326835962":["hashtag1","hashtag2"]},{"1326835888":["hashtag1","hashtag2"]},{"1326836134":["hashtag1","hashtag2"]},{"1326835867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326835962, 1326835888, 1326836134, 1326835867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.98393130302429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:06:02.262386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:06:21.864730
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/05/image_05012025_02_05_03_060919_0003.jpg', '/home/pi/Desktop/images/05012025/02/06/image_05012025_02_06_02_632773_0000.jpg', '/home/pi/Desktop/images/05012025/02/06/image_05012025_02_06_02_632773_0001.jpg', '/home/pi/Desktop/images/05012025/02/06/image_05012025_02_06_02_632773_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/02/05/image_05012025_02_05_03_060919_0003.jpg
/home/pi/Desktop/images/05012025/02/06/image_05012025_02_06_02_632773_0000.jpg
/home/pi/Desktop/images/05012025/02/06/image_05012025_02_06_02_632773_0001.jpg
/home/pi/Desktop/images/05012025/02/06/image_05012025_02_06_02_632773_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326836474","1326836468","1326836470","1326836466"],"photo_ids_order":["1326836466","1326836468","1326836470","1326836474"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c2fcf47b63f9686c7f537f717e505715.jpg","text":"TemporaryFile(/tmp/multipartBody108453668691529169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039252294,"filename":"image_05012025_02_06_02_632773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c01b61ce63a6ec365057a2f25e4b7a0c.jpg","text":"TemporaryFile(/tmp/multipartBody9118814913687394286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039252294,"filename":"image_05012025_02_06_02_632773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a824ac4b6cfdc20cb16ac3f8078c5dad.jpg","text":"TemporaryFile(/tmp/multipartBody4938624092190884212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039252294,"filename":"image_05012025_02_06_02_632773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/efd65d1e5bc22e8c4486a5df07e9c743.jpg","text":"TemporaryFile(/tmp/multipartBody3859969632120107009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039252294,"filename":"image_05012025_02_05_03_060919_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326836470","file1":"1326836468","file0":"1326836466","file3":"1326836474"},"map_files_photo_id_array":[{"photo_id":"1326836470","filename":"file2"},{"photo_id":"1326836468","filename":"file1"},{"photo_id":"1326836466","filename":"file0"},{"photo_id":"1326836474","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326836474":["hashtag1","hashtag2"]},{"1326836468":["hashtag1","hashtag2"]},{"1326836470":["hashtag1","hashtag2"]},{"1326836466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326836474, 1326836468, 1326836470, 1326836466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50208783149719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:07:02.983771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:07:22.362952
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/06/image_05012025_02_06_02_632773_0003.jpg', '/home/pi/Desktop/images/05012025/02/07/image_05012025_02_07_02_254630_0000.jpg', '/home/pi/Desktop/images/05012025/02/07/image_05012025_02_07_02_254630_0001.jpg', '/home/pi/Desktop/images/05012025/02/07/image_05012025_02_07_02_254630_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/02/06/image_05012025_02_06_02_632773_0003.jpg
/home/pi/Desktop/images/05012025/02/07/image_05012025_02_07_02_254630_0000.jpg
/home/pi/Desktop/images/05012025/02/07/image_05012025_02_07_02_254630_0001.jpg
/home/pi/Desktop/images/05012025/02/07/image_05012025_02_07_02_254630_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326836696","1326836651","1326836680","1326836659"],"photo_ids_order":["1326836651","1326836659","1326836680","1326836696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/962bce65ef3b2623ee365a37933c6381.jpg","text":"TemporaryFile(/tmp/multipartBody8541996784507400848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039312714,"filename":"image_05012025_02_07_02_254630_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cdec747715aae346c59a8e17c6d40835.jpg","text":"TemporaryFile(/tmp/multipartBody2082344041783866737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039312714,"filename":"image_05012025_02_06_02_632773_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/632d1ea286ef343ceca3ad2e38d14d08.jpg","text":"TemporaryFile(/tmp/multipartBody7349404887245122557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039312714,"filename":"image_05012025_02_07_02_254630_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a414ec0775905bdc6c68d72cb16b8e99.jpg","text":"TemporaryFile(/tmp/multipartBody4342693155597142755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039312714,"filename":"image_05012025_02_07_02_254630_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326836680","file1":"1326836659","file0":"1326836651","file3":"1326836696"},"map_files_photo_id_array":[{"photo_id":"1326836680","filename":"file2"},{"photo_id":"1326836659","filename":"file1"},{"photo_id":"1326836651","filename":"file0"},{"photo_id":"1326836696","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326836696":["hashtag1","hashtag2"]},{"1326836651":["hashtag1","hashtag2"]},{"1326836680":["hashtag1","hashtag2"]},{"1326836659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326836696, 1326836651, 1326836680, 1326836659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.05657982826233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:08:02.432176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:08:22.047195
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/07/image_05012025_02_07_02_254630_0003.jpg', '/home/pi/Desktop/images/05012025/02/08/image_05012025_02_08_02_747086_0000.jpg', '/home/pi/Desktop/images/05012025/02/08/image_05012025_02_08_02_747086_0001.jpg', '/home/pi/Desktop/images/05012025/02/08/image_05012025_02_08_02_747086_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/02/07/image_05012025_02_07_02_254630_0003.jpg
/home/pi/Desktop/images/05012025/02/08/image_05012025_02_08_02_747086_0000.jpg
/home/pi/Desktop/images/05012025/02/08/image_05012025_02_08_02_747086_0001.jpg
/home/pi/Desktop/images/05012025/02/08/image_05012025_02_08_02_747086_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326836750","1326836754","1326836748","1326836745"],"photo_ids_order":["1326836745","1326836748","1326836750","1326836754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/45c27ed2f0339e795599559654a2ca36.jpg","text":"TemporaryFile(/tmp/multipartBody8929457020709094157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039372247,"filename":"image_05012025_02_08_02_747086_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f371cc65a971daa95d2006aa2742f6c3.jpg","text":"TemporaryFile(/tmp/multipartBody4736412313901462511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039372247,"filename":"image_05012025_02_08_02_747086_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d742cdd6b4bc4409a55b937dfa40778e.jpg","text":"TemporaryFile(/tmp/multipartBody2812181082130100691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039372247,"filename":"image_05012025_02_08_02_747086_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7c144bd8872fc078330f6770ca9bdb23.jpg","text":"TemporaryFile(/tmp/multipartBody4735806344175334871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039372247,"filename":"image_05012025_02_07_02_254630_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326836750","file1":"1326836748","file0":"1326836745","file3":"1326836754"},"map_files_photo_id_array":[{"photo_id":"1326836750","filename":"file2"},{"photo_id":"1326836748","filename":"file1"},{"photo_id":"1326836745","filename":"file0"},{"photo_id":"1326836754","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326836750":["hashtag1","hashtag2"]},{"1326836754":["hashtag1","hashtag2"]},{"1326836748":["hashtag1","hashtag2"]},{"1326836745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326836750, 1326836754, 1326836748, 1326836745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.57092237472534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:09:03.208467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:09:22.572467
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/08/image_05012025_02_08_02_747086_0003.jpg', '/home/pi/Desktop/images/05012025/02/09/image_05012025_02_09_02_386838_0000.jpg', '/home/pi/Desktop/images/05012025/02/09/image_05012025_02_09_02_386838_0001.jpg', '/home/pi/Desktop/images/05012025/02/09/image_05012025_02_09_02_386838_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/02/08/image_05012025_02_08_02_747086_0003.jpg
/home/pi/Desktop/images/05012025/02/09/image_05012025_02_09_02_386838_0000.jpg
/home/pi/Desktop/images/05012025/02/09/image_05012025_02_09_02_386838_0001.jpg
/home/pi/Desktop/images/05012025/02/09/image_05012025_02_09_02_386838_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326837245","1326837247","1326837241","1326837243"],"photo_ids_order":["1326837241","1326837243","1326837245","1326837247"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/44b12f92327627e68ee3a9cc56fad4da.jpg","text":"TemporaryFile(/tmp/multipartBody4302703464955085552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039432865,"filename":"image_05012025_02_09_02_386838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/86d2588aaf68e52c52d548befabaf05c.jpg","text":"TemporaryFile(/tmp/multipartBody570936007563135029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039432865,"filename":"image_05012025_02_09_02_386838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/21072e8d1256dbed38e0314575640a18.jpg","text":"TemporaryFile(/tmp/multipartBody5981502559860221880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039432865,"filename":"image_05012025_02_08_02_747086_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1b955b985753f5d5b84c3ac703a653ce.jpg","text":"TemporaryFile(/tmp/multipartBody2171757608748556833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039432865,"filename":"image_05012025_02_09_02_386838_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326837245","file1":"1326837243","file0":"1326837241","file3":"1326837247"},"map_files_photo_id_array":[{"photo_id":"1326837245","filename":"file2"},{"photo_id":"1326837243","filename":"file1"},{"photo_id":"1326837241","filename":"file0"},{"photo_id":"1326837247","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326837245":["hashtag1","hashtag2"]},{"1326837247":["hashtag1","hashtag2"]},{"1326837241":["hashtag1","hashtag2"]},{"1326837243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326837245, 1326837247, 1326837241, 1326837243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.599719285964966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:10:22.201610
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/09/image_05012025_02_09_02_386838_0003.jpg', '/home/pi/Desktop/images/05012025/02/10/image_05012025_02_10_02_894496_0000.jpg', '/home/pi/Desktop/images/05012025/02/10/image_05012025_02_10_02_894496_0001.jpg', '/home/pi/Desktop/images/05012025/02/10/image_05012025_02_10_02_894496_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/02/09/image_05012025_02_09_02_386838_0003.jpg
/home/pi/Desktop/images/05012025/02/10/image_05012025_02_10_02_894496_0000.jpg
/home/pi/Desktop/images/05012025/02/10/image_05012025_02_10_02_894496_0001.jpg
/home/pi/Desktop/images/05012025/02/10/image_05012025_02_10_02_894496_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.034818887710571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:11:03.510564
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/09/image_05012025_02_09_02_386838_0003.jpg', '/home/pi/Desktop/images/05012025/02/10/image_05012025_02_10_02_894496_0000.jpg', '/home/pi/Desktop/images/05012025/02/10/image_05012025_02_10_02_894496_0001.jpg', '/home/pi/Desktop/images/05012025/02/10/image_05012025_02_10_02_894496_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/02/09/image_05012025_02_09_02_386838_0003.jpg
/home/pi/Desktop/images/05012025/02/10/image_05012025_02_10_02_894496_0000.jpg
/home/pi/Desktop/images/05012025/02/10/image_05012025_02_10_02_894496_0001.jpg
/home/pi/Desktop/images/05012025/02/10/image_05012025_02_10_02_894496_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326837766","1326837762","1326837765","1326837782"],"photo_ids_order":["1326837762","1326837765","1326837766","1326837782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/490d113d74bb6293c838e775be5dcff1.jpg","text":"TemporaryFile(/tmp/multipartBody3342012728399653247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039533955,"filename":"image_05012025_02_10_02_894496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7e73d06295a80970b32134b48ea953aa.jpg","text":"TemporaryFile(/tmp/multipartBody6191815033808423309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039533955,"filename":"image_05012025_02_09_02_386838_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c366239351375a8cf3c52cdb713f63d2.jpg","text":"TemporaryFile(/tmp/multipartBody2532493854685552987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039533955,"filename":"image_05012025_02_10_02_894496_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7ad4525acf2a320c47cca01749a0bf57.jpg","text":"TemporaryFile(/tmp/multipartBody5542952426059394377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039533955,"filename":"image_05012025_02_10_02_894496_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326837766","file1":"1326837765","file0":"1326837762","file3":"1326837782"},"map_files_photo_id_array":[{"photo_id":"1326837766","filename":"file2"},{"photo_id":"1326837765","filename":"file1"},{"photo_id":"1326837762","filename":"file0"},{"photo_id":"1326837782","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326837766":["hashtag1","hashtag2"]},{"1326837762":["hashtag1","hashtag2"]},{"1326837765":["hashtag1","hashtag2"]},{"1326837782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326837766, 1326837762, 1326837765, 1326837782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.67654490470886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:12:02.950035
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/10/image_05012025_02_10_02_894496_0003.jpg', '/home/pi/Desktop/images/05012025/02/11/image_05012025_02_11_02_555219_0000.jpg', '/home/pi/Desktop/images/05012025/02/11/image_05012025_02_11_02_555219_0001.jpg', '/home/pi/Desktop/images/05012025/02/11/image_05012025_02_11_02_555219_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/02/10/image_05012025_02_10_02_894496_0003.jpg
/home/pi/Desktop/images/05012025/02/11/image_05012025_02_11_02_555219_0000.jpg
/home/pi/Desktop/images/05012025/02/11/image_05012025_02_11_02_555219_0001.jpg
/home/pi/Desktop/images/05012025/02/11/image_05012025_02_11_02_555219_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326837790","1326837789","1326837792","1326837794"],"photo_ids_order":["1326837789","1326837790","1326837792","1326837794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/33b58f0304f3382fe15ef2d7ee3a7b7b.jpg","text":"TemporaryFile(/tmp/multipartBody8803284593078097296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039593415,"filename":"image_05012025_02_11_02_555219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce858495491b6463a4824ddfef1599a2.jpg","text":"TemporaryFile(/tmp/multipartBody7294535762280934289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039593415,"filename":"image_05012025_02_10_02_894496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e913e02c55161e668207560b1444b63f.jpg","text":"TemporaryFile(/tmp/multipartBody3588634064509375490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039593415,"filename":"image_05012025_02_11_02_555219_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c3fba4c6c9485b1d9ff79d1dd7530ea4.jpg","text":"TemporaryFile(/tmp/multipartBody234716245126388005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039593415,"filename":"image_05012025_02_11_02_555219_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326837792","file1":"1326837790","file0":"1326837789","file3":"1326837794"},"map_files_photo_id_array":[{"photo_id":"1326837792","filename":"file2"},{"photo_id":"1326837790","filename":"file1"},{"photo_id":"1326837789","filename":"file0"},{"photo_id":"1326837794","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326837790":["hashtag1","hashtag2"]},{"1326837789":["hashtag1","hashtag2"]},{"1326837792":["hashtag1","hashtag2"]},{"1326837794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326837790, 1326837789, 1326837792, 1326837794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.579147815704346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:13:02.717529
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/11/image_05012025_02_11_02_555219_0003.jpg', '/home/pi/Desktop/images/05012025/02/12/image_05012025_02_12_03_147759_0000.jpg', '/home/pi/Desktop/images/05012025/02/12/image_05012025_02_12_03_147759_0001.jpg', '/home/pi/Desktop/images/05012025/02/12/image_05012025_02_12_03_147759_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/02/11/image_05012025_02_11_02_555219_0003.jpg
/home/pi/Desktop/images/05012025/02/12/image_05012025_02_12_03_147759_0000.jpg
/home/pi/Desktop/images/05012025/02/12/image_05012025_02_12_03_147759_0001.jpg
/home/pi/Desktop/images/05012025/02/12/image_05012025_02_12_03_147759_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326837863","1326837842","1326837861","1326837843"],"photo_ids_order":["1326837842","1326837843","1326837861","1326837863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/70329a2fdf35bb0ae49640c7a84fa727.jpg","text":"TemporaryFile(/tmp/multipartBody5920971550753147136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039653090,"filename":"image_05012025_02_12_03_147759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d2a9faf8a8098b333237d5a7fba57f7d.jpg","text":"TemporaryFile(/tmp/multipartBody9129602011948958029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039653090,"filename":"image_05012025_02_11_02_555219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fa50b51cfd87c2407e0d594e50820d70.jpg","text":"TemporaryFile(/tmp/multipartBody91639560326026180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039653090,"filename":"image_05012025_02_12_03_147759_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4ca66290d858ee293c28efcb8921d505.jpg","text":"TemporaryFile(/tmp/multipartBody8373435918569906611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039653090,"filename":"image_05012025_02_12_03_147759_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326837861","file1":"1326837843","file0":"1326837842","file3":"1326837863"},"map_files_photo_id_array":[{"photo_id":"1326837861","filename":"file2"},{"photo_id":"1326837843","filename":"file1"},{"photo_id":"1326837842","filename":"file0"},{"photo_id":"1326837863","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326837863":["hashtag1","hashtag2"]},{"1326837842":["hashtag1","hashtag2"]},{"1326837861":["hashtag1","hashtag2"]},{"1326837843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326837863, 1326837842, 1326837861, 1326837843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.950000286102295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:14:03.168288
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/12/image_05012025_02_12_03_147759_0003.jpg', '/home/pi/Desktop/images/05012025/02/13/image_05012025_02_13_02_875550_0000.jpg', '/home/pi/Desktop/images/05012025/02/13/image_05012025_02_13_02_875550_0001.jpg', '/home/pi/Desktop/images/05012025/02/13/image_05012025_02_13_02_875550_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/02/12/image_05012025_02_12_03_147759_0003.jpg
/home/pi/Desktop/images/05012025/02/13/image_05012025_02_13_02_875550_0000.jpg
/home/pi/Desktop/images/05012025/02/13/image_05012025_02_13_02_875550_0001.jpg
/home/pi/Desktop/images/05012025/02/13/image_05012025_02_13_02_875550_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326837905","1326837899","1326837903","1326837896"],"photo_ids_order":["1326837896","1326837899","1326837903","1326837905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ec2add8a6ae1bae9a7a82c64c7e83a16.jpg","text":"TemporaryFile(/tmp/multipartBody7236771120522079895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039713503,"filename":"image_05012025_02_13_02_875550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/16333e29ff9d38a68f499d9e402f8006.jpg","text":"TemporaryFile(/tmp/multipartBody2782483668718389812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039713503,"filename":"image_05012025_02_13_02_875550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c174bb7838739edd21ea3a045192ed15.jpg","text":"TemporaryFile(/tmp/multipartBody1794286402700917414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039713503,"filename":"image_05012025_02_13_02_875550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/465151eb44b96762b516eb0433a64dca.jpg","text":"TemporaryFile(/tmp/multipartBody635211245596497206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039713503,"filename":"image_05012025_02_12_03_147759_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326837903","file1":"1326837899","file0":"1326837896","file3":"1326837905"},"map_files_photo_id_array":[{"photo_id":"1326837903","filename":"file2"},{"photo_id":"1326837899","filename":"file1"},{"photo_id":"1326837896","filename":"file0"},{"photo_id":"1326837905","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326837905":["hashtag1","hashtag2"]},{"1326837899":["hashtag1","hashtag2"]},{"1326837903":["hashtag1","hashtag2"]},{"1326837896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326837905, 1326837899, 1326837903, 1326837896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58536505699158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:15:02.793708
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/13/image_05012025_02_13_02_875550_0003.jpg', '/home/pi/Desktop/images/05012025/02/14/image_05012025_02_14_02_444694_0000.jpg', '/home/pi/Desktop/images/05012025/02/14/image_05012025_02_14_02_444694_0001.jpg', '/home/pi/Desktop/images/05012025/02/14/image_05012025_02_14_02_444694_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/02/13/image_05012025_02_13_02_875550_0003.jpg
/home/pi/Desktop/images/05012025/02/14/image_05012025_02_14_02_444694_0000.jpg
/home/pi/Desktop/images/05012025/02/14/image_05012025_02_14_02_444694_0001.jpg
/home/pi/Desktop/images/05012025/02/14/image_05012025_02_14_02_444694_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326837920","1326837922","1326837919","1326837924"],"photo_ids_order":["1326837919","1326837920","1326837922","1326837924"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c08355c71c47228c48523c850d2f6354.jpg","text":"TemporaryFile(/tmp/multipartBody8472537492745735034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039773054,"filename":"image_05012025_02_14_02_444694_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d8623a5e3406ba89a02e66dc96728344.jpg","text":"TemporaryFile(/tmp/multipartBody6228846587018630194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039773054,"filename":"image_05012025_02_14_02_444694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bbb5b3e95703d24278dfa1f28e3a7955.jpg","text":"TemporaryFile(/tmp/multipartBody5097591831053654154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039773054,"filename":"image_05012025_02_13_02_875550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f6a1d83eb724d5f739f88bdbf962c049.jpg","text":"TemporaryFile(/tmp/multipartBody2311368778831862492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039773054,"filename":"image_05012025_02_14_02_444694_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326837922","file1":"1326837920","file0":"1326837919","file3":"1326837924"},"map_files_photo_id_array":[{"photo_id":"1326837922","filename":"file2"},{"photo_id":"1326837920","filename":"file1"},{"photo_id":"1326837919","filename":"file0"},{"photo_id":"1326837924","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326837920":["hashtag1","hashtag2"]},{"1326837922":["hashtag1","hashtag2"]},{"1326837919":["hashtag1","hashtag2"]},{"1326837924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326837920, 1326837922, 1326837919, 1326837924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.14825749397278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:16:02.294738
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/14/image_05012025_02_14_02_444694_0003.jpg', '/home/pi/Desktop/images/05012025/02/15/image_05012025_02_15_03_077073_0000.jpg', '/home/pi/Desktop/images/05012025/02/15/image_05012025_02_15_03_077073_0001.jpg', '/home/pi/Desktop/images/05012025/02/15/image_05012025_02_15_03_077073_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/02/14/image_05012025_02_14_02_444694_0003.jpg
/home/pi/Desktop/images/05012025/02/15/image_05012025_02_15_03_077073_0000.jpg
/home/pi/Desktop/images/05012025/02/15/image_05012025_02_15_03_077073_0001.jpg
/home/pi/Desktop/images/05012025/02/15/image_05012025_02_15_03_077073_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.92035436630249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:16:21.827759
SELECT 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/02/14/image_05012025_02_14_02_444694_0003.jpg', '/home/pi/Desktop/images/05012025/02/15/image_05012025_02_15_03_077073_0000.jpg', '/home/pi/Desktop/images/05012025/02/15/image_05012025_02_15_03_077073_0001.jpg', '/home/pi/Desktop/images/05012025/02/15/image_05012025_02_15_03_077073_0002.jpg', '/home/pi/Desktop/images/05012025/02/15/image_05012025_02_15_03_077073_0003.jpg', '/home/pi/Desktop/images/05012025/02/16/image_05012025_02_16_02_593290_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/02/14/image_05012025_02_14_02_444694_0003.jpg
/home/pi/Desktop/images/05012025/02/15/image_05012025_02_15_03_077073_0000.jpg
/home/pi/Desktop/images/05012025/02/15/image_05012025_02_15_03_077073_0001.jpg
/home/pi/Desktop/images/05012025/02/15/image_05012025_02_15_03_077073_0002.jpg
/home/pi/Desktop/images/05012025/02/15/image_05012025_02_15_03_077073_0003.jpg
/home/pi/Desktop/images/05012025/02/16/image_05012025_02_16_02_593290_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":["1326838030","1326838033","1326838006","1326838032","1326837972","1326837974"],"photo_ids_order":["1326837972","1326837974","1326838006","1326838030","1326838032","1326838033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eef4637856eb1a9fcaa620a6c1fef5fc.jpg","text":"TemporaryFile(/tmp/multipartBody5751097773479207973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039856995,"filename":"image_05012025_02_15_03_077073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e37a568132a01a04f0df5c54d69541b1.jpg","text":"TemporaryFile(/tmp/multipartBody2927469967538080886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039856995,"filename":"image_05012025_02_16_02_593290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c3e81b28d1408442d7448e4737ae5edc.jpg","text":"TemporaryFile(/tmp/multipartBody6916850186655613074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039856995,"filename":"image_05012025_02_15_03_077073_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d224516ce99f33d4862bf5441c12c718.jpg","text":"TemporaryFile(/tmp/multipartBody2390994146866242167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039856995,"filename":"image_05012025_02_15_03_077073_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/14a801043d3a3eab76617b60e88b7437.jpg","text":"TemporaryFile(/tmp/multipartBody9174608553987084800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039856995,"filename":"image_05012025_02_14_02_444694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3980d8634a061afaa65e2d23f6c49e9c.jpg","text":"TemporaryFile(/tmp/multipartBody6605200737827290395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039856995,"filename":"image_05012025_02_15_03_077073_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326838006","file1":"1326837974","file0":"1326837972","file4":"1326838032","file5":"1326838033","file3":"1326838030"},"map_files_photo_id_array":[{"photo_id":"1326838033","filename":"file5"},{"photo_id":"1326838006","filename":"file2"},{"photo_id":"1326838032","filename":"file4"},{"photo_id":"1326837974","filename":"file1"},{"photo_id":"1326837972","filename":"file0"},{"photo_id":"1326838030","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326838030":["hashtag1","hashtag2"]},{"1326838033":["hashtag1","hashtag2"]},{"1326838006":["hashtag1","hashtag2"]},{"1326838032":["hashtag1","hashtag2"]},{"1326837972":["hashtag1","hashtag2"]},{"1326837974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326838030, 1326838033, 1326838006, 1326838032, 1326837972, 1326837974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.75566816329956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:18:02.333917
SELECT 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/02/16/image_05012025_02_16_02_593290_0001.jpg', '/home/pi/Desktop/images/05012025/02/16/image_05012025_02_16_02_593290_0002.jpg', '/home/pi/Desktop/images/05012025/02/16/image_05012025_02_16_02_593290_0003.jpg', '/home/pi/Desktop/images/05012025/02/17/image_05012025_02_17_02_295048_0000.jpg', '/home/pi/Desktop/images/05012025/02/17/image_05012025_02_17_02_295048_0001.jpg', '/home/pi/Desktop/images/05012025/02/17/image_05012025_02_17_02_295048_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/02/16/image_05012025_02_16_02_593290_0001.jpg
/home/pi/Desktop/images/05012025/02/16/image_05012025_02_16_02_593290_0002.jpg
/home/pi/Desktop/images/05012025/02/16/image_05012025_02_16_02_593290_0003.jpg
/home/pi/Desktop/images/05012025/02/17/image_05012025_02_17_02_295048_0000.jpg
/home/pi/Desktop/images/05012025/02/17/image_05012025_02_17_02_295048_0001.jpg
/home/pi/Desktop/images/05012025/02/17/image_05012025_02_17_02_295048_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326838060","1326838054","1326838062","1326838041","1326838064","1326838043"],"photo_ids_order":["1326838041","1326838043","1326838054","1326838060","1326838062","1326838064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/075a85274dcad5ec4474412d28e99810.jpg","text":"TemporaryFile(/tmp/multipartBody6626054528251796578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039957478,"filename":"image_05012025_02_17_02_295048_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88495caeb5f32f64e0805c4760818af0.jpg","text":"TemporaryFile(/tmp/multipartBody3670553565095620031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039957478,"filename":"image_05012025_02_16_02_593290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6c62e7424845845aaf5ac71f0604cfe9.jpg","text":"TemporaryFile(/tmp/multipartBody5906809868596760693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039957478,"filename":"image_05012025_02_17_02_295048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b5fe4daf8d40d0e2c039f38828040fba.jpg","text":"TemporaryFile(/tmp/multipartBody5011262224422586148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039957478,"filename":"image_05012025_02_16_02_593290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c9cff7dd262e5e50ae2310989a35f065.jpg","text":"TemporaryFile(/tmp/multipartBody7687582488309453222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039957478,"filename":"image_05012025_02_17_02_295048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/52c79a7b1191d458f247fd7c54e941c4.jpg","text":"TemporaryFile(/tmp/multipartBody360402299866493379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736039957478,"filename":"image_05012025_02_16_02_593290_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326838054","file1":"1326838043","file0":"1326838041","file4":"1326838062","file5":"1326838064","file3":"1326838060"},"map_files_photo_id_array":[{"photo_id":"1326838064","filename":"file5"},{"photo_id":"1326838054","filename":"file2"},{"photo_id":"1326838062","filename":"file4"},{"photo_id":"1326838043","filename":"file1"},{"photo_id":"1326838041","filename":"file0"},{"photo_id":"1326838060","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326838060":["hashtag1","hashtag2"]},{"1326838054":["hashtag1","hashtag2"]},{"1326838062":["hashtag1","hashtag2"]},{"1326838041":["hashtag1","hashtag2"]},{"1326838064":["hashtag1","hashtag2"]},{"1326838043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326838060, 1326838054, 1326838062, 1326838041, 1326838064, 1326838043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.558279037475586 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-05 02:19:22.467844
SELECT 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/02/17/image_05012025_02_17_02_295048_0003.jpg', '/home/pi/Desktop/images/05012025/02/18/image_05012025_02_18_02_829038_0000.jpg', '/home/pi/Desktop/images/05012025/02/18/image_05012025_02_18_02_829038_0001.jpg', '/home/pi/Desktop/images/05012025/02/18/image_05012025_02_18_02_829038_0002.jpg', '/home/pi/Desktop/images/05012025/02/18/image_05012025_02_18_02_829038_0003.jpg', '/home/pi/Desktop/images/05012025/02/19/image_05012025_02_19_02_345143_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/02/17/image_05012025_02_17_02_295048_0003.jpg
/home/pi/Desktop/images/05012025/02/18/image_05012025_02_18_02_829038_0000.jpg
/home/pi/Desktop/images/05012025/02/18/image_05012025_02_18_02_829038_0001.jpg
/home/pi/Desktop/images/05012025/02/18/image_05012025_02_18_02_829038_0002.jpg
/home/pi/Desktop/images/05012025/02/18/image_05012025_02_18_02_829038_0003.jpg
/home/pi/Desktop/images/05012025/02/19/image_05012025_02_19_02_345143_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326838135","1326838129","1326838137","1326838131","1326838133","1326838127"],"photo_ids_order":["1326838127","1326838129","1326838131","1326838133","1326838135","1326838137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0a0768b85d853bcb3245855706afaf19.jpg","text":"TemporaryFile(/tmp/multipartBody8379901060469540937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040037633,"filename":"image_05012025_02_18_02_829038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1698865ba4f3c7fd6813e3de60e16f23.jpg","text":"TemporaryFile(/tmp/multipartBody280261252391379465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040037633,"filename":"image_05012025_02_18_02_829038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e31ee3207ce0b8f92ade15e8479e07dd.jpg","text":"TemporaryFile(/tmp/multipartBody954027280000873334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040037633,"filename":"image_05012025_02_19_02_345143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2fd9e87c14d814f3db7993d921fa8ce1.jpg","text":"TemporaryFile(/tmp/multipartBody8205202399552198016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040037633,"filename":"image_05012025_02_18_02_829038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dec65fb54a59373668fd28fd8d73e6ef.jpg","text":"TemporaryFile(/tmp/multipartBody1741826407514563264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040037633,"filename":"image_05012025_02_18_02_829038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/29bebedcec26a80e4b78d03042c33302.jpg","text":"TemporaryFile(/tmp/multipartBody3861385684779866405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040037633,"filename":"image_05012025_02_17_02_295048_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326838131","file1":"1326838129","file0":"1326838127","file4":"1326838135","file5":"1326838137","file3":"1326838133"},"map_files_photo_id_array":[{"photo_id":"1326838137","filename":"file5"},{"photo_id":"1326838131","filename":"file2"},{"photo_id":"1326838135","filename":"file4"},{"photo_id":"1326838129","filename":"file1"},{"photo_id":"1326838127","filename":"file0"},{"photo_id":"1326838133","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326838135":["hashtag1","hashtag2"]},{"1326838129":["hashtag1","hashtag2"]},{"1326838137":["hashtag1","hashtag2"]},{"1326838131":["hashtag1","hashtag2"]},{"1326838133":["hashtag1","hashtag2"]},{"1326838127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326838135, 1326838129, 1326838137, 1326838131, 1326838133, 1326838127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.31923174858093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:20:22.048418
SELECT 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/02/19/image_05012025_02_19_02_345143_0001.jpg', '/home/pi/Desktop/images/05012025/02/19/image_05012025_02_19_02_345143_0002.jpg', '/home/pi/Desktop/images/05012025/02/19/image_05012025_02_19_02_345143_0003.jpg', '/home/pi/Desktop/images/05012025/02/20/image_05012025_02_20_02_919044_0000.jpg', '/home/pi/Desktop/images/05012025/02/20/image_05012025_02_20_02_919044_0001.jpg', '/home/pi/Desktop/images/05012025/02/20/image_05012025_02_20_02_919044_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/02/19/image_05012025_02_19_02_345143_0001.jpg
/home/pi/Desktop/images/05012025/02/19/image_05012025_02_19_02_345143_0002.jpg
/home/pi/Desktop/images/05012025/02/19/image_05012025_02_19_02_345143_0003.jpg
/home/pi/Desktop/images/05012025/02/20/image_05012025_02_20_02_919044_0000.jpg
/home/pi/Desktop/images/05012025/02/20/image_05012025_02_20_02_919044_0001.jpg
/home/pi/Desktop/images/05012025/02/20/image_05012025_02_20_02_919044_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326838150","1326838144","1326838153","1326838141","1326838155","1326838158"],"photo_ids_order":["1326838141","1326838144","1326838150","1326838153","1326838155","1326838158"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/82a599a7e9c3e26d050b32b9c0aacdfa.jpg","text":"TemporaryFile(/tmp/multipartBody7346957721427758496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040097227,"filename":"image_05012025_02_19_02_345143_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/786d1ea3b30ad12dbc65e8a50b617268.jpg","text":"TemporaryFile(/tmp/multipartBody2350291776712964211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040097227,"filename":"image_05012025_02_19_02_345143_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2173c6dfc2d882613bd0a84c227cfa4c.jpg","text":"TemporaryFile(/tmp/multipartBody4552368502676663714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040097227,"filename":"image_05012025_02_20_02_919044_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ff1fef41121f778e871f9e6281e20aed.jpg","text":"TemporaryFile(/tmp/multipartBody6366097169104715328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040097227,"filename":"image_05012025_02_19_02_345143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb5252e4f74ad93bb67172e6856c8aad.jpg","text":"TemporaryFile(/tmp/multipartBody3461382454662031194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040097227,"filename":"image_05012025_02_20_02_919044_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/48dfe7c8a028fd4318ce2702b2894bdb.jpg","text":"TemporaryFile(/tmp/multipartBody3008845606829994421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040097227,"filename":"image_05012025_02_20_02_919044_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326838150","file1":"1326838144","file0":"1326838141","file4":"1326838155","file5":"1326838158","file3":"1326838153"},"map_files_photo_id_array":[{"photo_id":"1326838158","filename":"file5"},{"photo_id":"1326838150","filename":"file2"},{"photo_id":"1326838155","filename":"file4"},{"photo_id":"1326838144","filename":"file1"},{"photo_id":"1326838141","filename":"file0"},{"photo_id":"1326838153","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326838150":["hashtag1","hashtag2"]},{"1326838144":["hashtag1","hashtag2"]},{"1326838153":["hashtag1","hashtag2"]},{"1326838141":["hashtag1","hashtag2"]},{"1326838155":["hashtag1","hashtag2"]},{"1326838158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326838150, 1326838144, 1326838153, 1326838141, 1326838155, 1326838158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.21131253242493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:21:22.669961
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/20/image_05012025_02_20_02_919044_0003.jpg', '/home/pi/Desktop/images/05012025/02/21/image_05012025_02_21_02_491990_0000.jpg', '/home/pi/Desktop/images/05012025/02/21/image_05012025_02_21_02_491990_0001.jpg', '/home/pi/Desktop/images/05012025/02/21/image_05012025_02_21_02_491990_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/02/20/image_05012025_02_20_02_919044_0003.jpg
/home/pi/Desktop/images/05012025/02/21/image_05012025_02_21_02_491990_0000.jpg
/home/pi/Desktop/images/05012025/02/21/image_05012025_02_21_02_491990_0001.jpg
/home/pi/Desktop/images/05012025/02/21/image_05012025_02_21_02_491990_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326838162","1326838168","1326838164","1326838166"],"photo_ids_order":["1326838162","1326838164","1326838166","1326838168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/995316582da57f4609e09922700ff9e1.jpg","text":"TemporaryFile(/tmp/multipartBody6040045505000382590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040153026,"filename":"image_05012025_02_20_02_919044_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f4b70db8d1cfabfdacd49745ba6db283.jpg","text":"TemporaryFile(/tmp/multipartBody5051951078947141528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040153026,"filename":"image_05012025_02_21_02_491990_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f34a98f11df020c65317e649130a543.jpg","text":"TemporaryFile(/tmp/multipartBody7469039789486069318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040153026,"filename":"image_05012025_02_21_02_491990_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9febd78212a28e1949b2d554c339e35a.jpg","text":"TemporaryFile(/tmp/multipartBody3840436748311107369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040153026,"filename":"image_05012025_02_21_02_491990_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326838166","file1":"1326838164","file0":"1326838162","file3":"1326838168"},"map_files_photo_id_array":[{"photo_id":"1326838166","filename":"file2"},{"photo_id":"1326838164","filename":"file1"},{"photo_id":"1326838162","filename":"file0"},{"photo_id":"1326838168","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326838162":["hashtag1","hashtag2"]},{"1326838168":["hashtag1","hashtag2"]},{"1326838164":["hashtag1","hashtag2"]},{"1326838166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326838162, 1326838168, 1326838164, 1326838166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.701801776885986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:22:02.475586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:22:22.172971
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/21/image_05012025_02_21_02_491990_0003.jpg', '/home/pi/Desktop/images/05012025/02/22/image_05012025_02_22_03_042907_0000.jpg', '/home/pi/Desktop/images/05012025/02/22/image_05012025_02_22_03_042907_0001.jpg', '/home/pi/Desktop/images/05012025/02/22/image_05012025_02_22_03_042907_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/02/21/image_05012025_02_21_02_491990_0003.jpg
/home/pi/Desktop/images/05012025/02/22/image_05012025_02_22_03_042907_0000.jpg
/home/pi/Desktop/images/05012025/02/22/image_05012025_02_22_03_042907_0001.jpg
/home/pi/Desktop/images/05012025/02/22/image_05012025_02_22_03_042907_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.98336148262024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:23:03.392356
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/21/image_05012025_02_21_02_491990_0003.jpg', '/home/pi/Desktop/images/05012025/02/22/image_05012025_02_22_03_042907_0000.jpg', '/home/pi/Desktop/images/05012025/02/22/image_05012025_02_22_03_042907_0001.jpg', '/home/pi/Desktop/images/05012025/02/22/image_05012025_02_22_03_042907_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/02/21/image_05012025_02_21_02_491990_0003.jpg
/home/pi/Desktop/images/05012025/02/22/image_05012025_02_22_03_042907_0000.jpg
/home/pi/Desktop/images/05012025/02/22/image_05012025_02_22_03_042907_0001.jpg
/home/pi/Desktop/images/05012025/02/22/image_05012025_02_22_03_042907_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326838242","1326838244","1326838247","1326838241"],"photo_ids_order":["1326838241","1326838242","1326838244","1326838247"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/69afdd6dee14955be09d87933dbead07.jpg","text":"TemporaryFile(/tmp/multipartBody5610655239839919294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040253799,"filename":"image_05012025_02_22_03_042907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1b8b2f5c84d783698b99d0ac92cd6595.jpg","text":"TemporaryFile(/tmp/multipartBody3407458556364464433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040253799,"filename":"image_05012025_02_22_03_042907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5fae0030eb2b140902cd350e83ccd690.jpg","text":"TemporaryFile(/tmp/multipartBody4671743363781356836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040253799,"filename":"image_05012025_02_22_03_042907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0d1d456a424a80733558955bc1166511.jpg","text":"TemporaryFile(/tmp/multipartBody3420049325816124715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040253799,"filename":"image_05012025_02_21_02_491990_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326838244","file1":"1326838242","file0":"1326838241","file3":"1326838247"},"map_files_photo_id_array":[{"photo_id":"1326838244","filename":"file2"},{"photo_id":"1326838242","filename":"file1"},{"photo_id":"1326838241","filename":"file0"},{"photo_id":"1326838247","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326838242":["hashtag1","hashtag2"]},{"1326838244":["hashtag1","hashtag2"]},{"1326838247":["hashtag1","hashtag2"]},{"1326838241":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326838242, 1326838244, 1326838247, 1326838241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.950960874557495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:24:02.918541
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/22/image_05012025_02_22_03_042907_0003.jpg', '/home/pi/Desktop/images/05012025/02/23/image_05012025_02_23_02_555246_0000.jpg', '/home/pi/Desktop/images/05012025/02/23/image_05012025_02_23_02_555246_0001.jpg', '/home/pi/Desktop/images/05012025/02/23/image_05012025_02_23_02_555246_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/02/22/image_05012025_02_22_03_042907_0003.jpg
/home/pi/Desktop/images/05012025/02/23/image_05012025_02_23_02_555246_0000.jpg
/home/pi/Desktop/images/05012025/02/23/image_05012025_02_23_02_555246_0001.jpg
/home/pi/Desktop/images/05012025/02/23/image_05012025_02_23_02_555246_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.932908058166504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:24:22.384586
SELECT 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/02/22/image_05012025_02_22_03_042907_0003.jpg', '/home/pi/Desktop/images/05012025/02/23/image_05012025_02_23_02_555246_0000.jpg', '/home/pi/Desktop/images/05012025/02/23/image_05012025_02_23_02_555246_0001.jpg', '/home/pi/Desktop/images/05012025/02/23/image_05012025_02_23_02_555246_0002.jpg', '/home/pi/Desktop/images/05012025/02/23/image_05012025_02_23_02_555246_0003.jpg', '/home/pi/Desktop/images/05012025/02/24/image_05012025_02_24_03_045520_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/02/22/image_05012025_02_22_03_042907_0003.jpg
/home/pi/Desktop/images/05012025/02/23/image_05012025_02_23_02_555246_0000.jpg
/home/pi/Desktop/images/05012025/02/23/image_05012025_02_23_02_555246_0001.jpg
/home/pi/Desktop/images/05012025/02/23/image_05012025_02_23_02_555246_0002.jpg
/home/pi/Desktop/images/05012025/02/23/image_05012025_02_23_02_555246_0003.jpg
/home/pi/Desktop/images/05012025/02/24/image_05012025_02_24_03_045520_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326838291","1326838285","1326838293","1326838287","1326838289","1326838283"],"photo_ids_order":["1326838283","1326838285","1326838287","1326838289","1326838291","1326838293"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/83389f2e8360c606e81dcc71a9b7b650.jpg","text":"TemporaryFile(/tmp/multipartBody2409195835439414116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040337624,"filename":"image_05012025_02_23_02_555246_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ff2698e3bc289bc7d3f0e20a9db15537.jpg","text":"TemporaryFile(/tmp/multipartBody162090429766680396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040337624,"filename":"image_05012025_02_23_02_555246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/57ad6e2703107bc0007199a6b90986e7.jpg","text":"TemporaryFile(/tmp/multipartBody2893737194170522979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040337624,"filename":"image_05012025_02_24_03_045520_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2264991624ee509cda87e9141fa2aa48.jpg","text":"TemporaryFile(/tmp/multipartBody9061100266251328071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040337624,"filename":"image_05012025_02_23_02_555246_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/84ef6944669950b1f5c88b80318200ab.jpg","text":"TemporaryFile(/tmp/multipartBody4792876352151751231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040337624,"filename":"image_05012025_02_23_02_555246_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e4dfae583cfb98b3ff56967978f5654.jpg","text":"TemporaryFile(/tmp/multipartBody7736251586164512493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040337624,"filename":"image_05012025_02_22_03_042907_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326838287","file1":"1326838285","file0":"1326838283","file4":"1326838291","file5":"1326838293","file3":"1326838289"},"map_files_photo_id_array":[{"photo_id":"1326838293","filename":"file5"},{"photo_id":"1326838287","filename":"file2"},{"photo_id":"1326838291","filename":"file4"},{"photo_id":"1326838285","filename":"file1"},{"photo_id":"1326838283","filename":"file0"},{"photo_id":"1326838289","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326838291":["hashtag1","hashtag2"]},{"1326838285":["hashtag1","hashtag2"]},{"1326838293":["hashtag1","hashtag2"]},{"1326838287":["hashtag1","hashtag2"]},{"1326838289":["hashtag1","hashtag2"]},{"1326838283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326838291, 1326838285, 1326838293, 1326838287, 1326838289, 1326838283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.57324481010437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:25:21.879029
SELECT 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/02/24/image_05012025_02_24_03_045520_0001.jpg', '/home/pi/Desktop/images/05012025/02/24/image_05012025_02_24_03_045520_0002.jpg', '/home/pi/Desktop/images/05012025/02/24/image_05012025_02_24_03_045520_0003.jpg', '/home/pi/Desktop/images/05012025/02/25/image_05012025_02_25_02_748368_0000.jpg', '/home/pi/Desktop/images/05012025/02/25/image_05012025_02_25_02_748368_0001.jpg', '/home/pi/Desktop/images/05012025/02/25/image_05012025_02_25_02_748368_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/02/24/image_05012025_02_24_03_045520_0001.jpg
/home/pi/Desktop/images/05012025/02/24/image_05012025_02_24_03_045520_0002.jpg
/home/pi/Desktop/images/05012025/02/24/image_05012025_02_24_03_045520_0003.jpg
/home/pi/Desktop/images/05012025/02/25/image_05012025_02_25_02_748368_0000.jpg
/home/pi/Desktop/images/05012025/02/25/image_05012025_02_25_02_748368_0001.jpg
/home/pi/Desktop/images/05012025/02/25/image_05012025_02_25_02_748368_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326838345","1326838318","1326838315","1326838300","1326838347","1326838311"],"photo_ids_order":["1326838300","1326838311","1326838315","1326838318","1326838345","1326838347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/22a4ae59319b44ec5ee921e9f7c4e987.jpg","text":"TemporaryFile(/tmp/multipartBody7628956195893467014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040397186,"filename":"image_05012025_02_25_02_748368_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4d99b98dcb45ecd3840849b8125cad26.jpg","text":"TemporaryFile(/tmp/multipartBody7513742906700746149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040397186,"filename":"image_05012025_02_25_02_748368_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e7aa7868e89dbe8fa406438b43c30fab.jpg","text":"TemporaryFile(/tmp/multipartBody75081820114653621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040397186,"filename":"image_05012025_02_24_03_045520_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c3a99297f6822ddc4e95c4aa3081d8ef.jpg","text":"TemporaryFile(/tmp/multipartBody1141452525993632540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040397186,"filename":"image_05012025_02_24_03_045520_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a7ec3c697967d79518b2b2db15ddf0fc.jpg","text":"TemporaryFile(/tmp/multipartBody5740763278699773828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040397186,"filename":"image_05012025_02_25_02_748368_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cdfb9c457bbb3c5b8802d6ea382dfa57.jpg","text":"TemporaryFile(/tmp/multipartBody7661766255008554822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040397186,"filename":"image_05012025_02_24_03_045520_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326838315","file1":"1326838311","file0":"1326838300","file4":"1326838345","file5":"1326838347","file3":"1326838318"},"map_files_photo_id_array":[{"photo_id":"1326838347","filename":"file5"},{"photo_id":"1326838315","filename":"file2"},{"photo_id":"1326838345","filename":"file4"},{"photo_id":"1326838311","filename":"file1"},{"photo_id":"1326838300","filename":"file0"},{"photo_id":"1326838318","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326838345":["hashtag1","hashtag2"]},{"1326838318":["hashtag1","hashtag2"]},{"1326838315":["hashtag1","hashtag2"]},{"1326838300":["hashtag1","hashtag2"]},{"1326838347":["hashtag1","hashtag2"]},{"1326838311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326838345, 1326838318, 1326838315, 1326838300, 1326838347, 1326838311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.30532765388489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:26:22.519530
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/25/image_05012025_02_25_02_748368_0003.jpg', '/home/pi/Desktop/images/05012025/02/26/image_05012025_02_26_02_333179_0000.jpg', '/home/pi/Desktop/images/05012025/02/26/image_05012025_02_26_02_333179_0001.jpg', '/home/pi/Desktop/images/05012025/02/26/image_05012025_02_26_02_333179_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/02/25/image_05012025_02_25_02_748368_0003.jpg
/home/pi/Desktop/images/05012025/02/26/image_05012025_02_26_02_333179_0000.jpg
/home/pi/Desktop/images/05012025/02/26/image_05012025_02_26_02_333179_0001.jpg
/home/pi/Desktop/images/05012025/02/26/image_05012025_02_26_02_333179_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326838351","1326838359","1326838353","1326838356"],"photo_ids_order":["1326838351","1326838353","1326838356","1326838359"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0941a8b2123eed92d40fe906369c452c.jpg","text":"TemporaryFile(/tmp/multipartBody4588729233963689814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040452895,"filename":"image_05012025_02_25_02_748368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9328af6d850474bbef603d885f0e593d.jpg","text":"TemporaryFile(/tmp/multipartBody2037333294000804625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040452895,"filename":"image_05012025_02_26_02_333179_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a40319a46b0acc4d9bea3b0c95760c16.jpg","text":"TemporaryFile(/tmp/multipartBody3572410504095367438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040452895,"filename":"image_05012025_02_26_02_333179_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e32fa3a5d2494cab8a7e26d78c82fc40.jpg","text":"TemporaryFile(/tmp/multipartBody2686891064508456354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040452895,"filename":"image_05012025_02_26_02_333179_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326838356","file1":"1326838353","file0":"1326838351","file3":"1326838359"},"map_files_photo_id_array":[{"photo_id":"1326838356","filename":"file2"},{"photo_id":"1326838353","filename":"file1"},{"photo_id":"1326838351","filename":"file0"},{"photo_id":"1326838359","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326838351":["hashtag1","hashtag2"]},{"1326838359":["hashtag1","hashtag2"]},{"1326838353":["hashtag1","hashtag2"]},{"1326838356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326838351, 1326838359, 1326838353, 1326838356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.227707386016846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:27:21.965900
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/26/image_05012025_02_26_02_333179_0003.jpg', '/home/pi/Desktop/images/05012025/02/27/image_05012025_02_27_02_848034_0000.jpg', '/home/pi/Desktop/images/05012025/02/27/image_05012025_02_27_02_848034_0001.jpg', '/home/pi/Desktop/images/05012025/02/27/image_05012025_02_27_02_848034_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/02/26/image_05012025_02_26_02_333179_0003.jpg
/home/pi/Desktop/images/05012025/02/27/image_05012025_02_27_02_848034_0000.jpg
/home/pi/Desktop/images/05012025/02/27/image_05012025_02_27_02_848034_0001.jpg
/home/pi/Desktop/images/05012025/02/27/image_05012025_02_27_02_848034_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326838607","1326838603","1326838612","1326838598"],"photo_ids_order":["1326838598","1326838603","1326838607","1326838612"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/31478c100c8ada0247c75d8592a624c6.jpg","text":"TemporaryFile(/tmp/multipartBody3851803016482336872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040512234,"filename":"image_05012025_02_27_02_848034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/385e1bf46484ecba467f3047b55a6394.jpg","text":"TemporaryFile(/tmp/multipartBody546407334596233127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040512234,"filename":"image_05012025_02_27_02_848034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1835619ee1cb5e54d17975a234edb964.jpg","text":"TemporaryFile(/tmp/multipartBody750884853134951924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040512234,"filename":"image_05012025_02_27_02_848034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6057b00cad1774ac2e5c13900a0f8884.jpg","text":"TemporaryFile(/tmp/multipartBody551871829232730664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040512234,"filename":"image_05012025_02_26_02_333179_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326838607","file1":"1326838603","file0":"1326838598","file3":"1326838612"},"map_files_photo_id_array":[{"photo_id":"1326838607","filename":"file2"},{"photo_id":"1326838603","filename":"file1"},{"photo_id":"1326838598","filename":"file0"},{"photo_id":"1326838612","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326838607":["hashtag1","hashtag2"]},{"1326838603":["hashtag1","hashtag2"]},{"1326838612":["hashtag1","hashtag2"]},{"1326838598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326838607, 1326838603, 1326838612, 1326838598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77941846847534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:28:02.832970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:28:22.432479
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/27/image_05012025_02_27_02_848034_0003.jpg', '/home/pi/Desktop/images/05012025/02/28/image_05012025_02_28_02_313440_0000.jpg', '/home/pi/Desktop/images/05012025/02/28/image_05012025_02_28_02_313440_0001.jpg', '/home/pi/Desktop/images/05012025/02/28/image_05012025_02_28_02_313440_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/02/27/image_05012025_02_27_02_848034_0003.jpg
/home/pi/Desktop/images/05012025/02/28/image_05012025_02_28_02_313440_0000.jpg
/home/pi/Desktop/images/05012025/02/28/image_05012025_02_28_02_313440_0001.jpg
/home/pi/Desktop/images/05012025/02/28/image_05012025_02_28_02_313440_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.141425609588623 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:29:02.660947
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/27/image_05012025_02_27_02_848034_0003.jpg', '/home/pi/Desktop/images/05012025/02/28/image_05012025_02_28_02_313440_0000.jpg', '/home/pi/Desktop/images/05012025/02/28/image_05012025_02_28_02_313440_0001.jpg', '/home/pi/Desktop/images/05012025/02/28/image_05012025_02_28_02_313440_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/02/27/image_05012025_02_27_02_848034_0003.jpg
/home/pi/Desktop/images/05012025/02/28/image_05012025_02_28_02_313440_0000.jpg
/home/pi/Desktop/images/05012025/02/28/image_05012025_02_28_02_313440_0001.jpg
/home/pi/Desktop/images/05012025/02/28/image_05012025_02_28_02_313440_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326838690","1326838687","1326838685","1326838694"],"photo_ids_order":["1326838685","1326838687","1326838690","1326838694"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/52f5c27a2a00ca99aa87a838f58c63f9.jpg","text":"TemporaryFile(/tmp/multipartBody6270153857435585479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040613264,"filename":"image_05012025_02_28_02_313440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d22a309ef4dcfdb64a7c6648802bb6d8.jpg","text":"TemporaryFile(/tmp/multipartBody1227610022061232355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040613264,"filename":"image_05012025_02_28_02_313440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/87ad4a8318b1b7e26054bf7a03b4cc94.jpg","text":"TemporaryFile(/tmp/multipartBody7533881398133738329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040613264,"filename":"image_05012025_02_27_02_848034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9c29eb47366c30bfd22b5adab8a05901.jpg","text":"TemporaryFile(/tmp/multipartBody2705261453085074797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040613264,"filename":"image_05012025_02_28_02_313440_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326838690","file1":"1326838687","file0":"1326838685","file3":"1326838694"},"map_files_photo_id_array":[{"photo_id":"1326838690","filename":"file2"},{"photo_id":"1326838687","filename":"file1"},{"photo_id":"1326838685","filename":"file0"},{"photo_id":"1326838694","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326838690":["hashtag1","hashtag2"]},{"1326838687":["hashtag1","hashtag2"]},{"1326838685":["hashtag1","hashtag2"]},{"1326838694":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326838690, 1326838687, 1326838685, 1326838694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20958948135376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:30:02.979355
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/28/image_05012025_02_28_02_313440_0003.jpg', '/home/pi/Desktop/images/05012025/02/29/image_05012025_02_29_02_829162_0000.jpg', '/home/pi/Desktop/images/05012025/02/29/image_05012025_02_29_02_829162_0001.jpg', '/home/pi/Desktop/images/05012025/02/29/image_05012025_02_29_02_829162_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/02/28/image_05012025_02_28_02_313440_0003.jpg
/home/pi/Desktop/images/05012025/02/29/image_05012025_02_29_02_829162_0000.jpg
/home/pi/Desktop/images/05012025/02/29/image_05012025_02_29_02_829162_0001.jpg
/home/pi/Desktop/images/05012025/02/29/image_05012025_02_29_02_829162_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326838756","1326838773","1326838775","1326838754"],"photo_ids_order":["1326838754","1326838756","1326838773","1326838775"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/49f6310168f684e184aa05d23b23c678.jpg","text":"TemporaryFile(/tmp/multipartBody616005647671446804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040673497,"filename":"image_05012025_02_29_02_829162_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0026d1e18a1f31301a65712633e1c7af.jpg","text":"TemporaryFile(/tmp/multipartBody294494397369844676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040673497,"filename":"image_05012025_02_29_02_829162_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7d182db81974e2124fc200cfce2d1be7.jpg","text":"TemporaryFile(/tmp/multipartBody5903169900120794890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040673497,"filename":"image_05012025_02_29_02_829162_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2e5036c0076dfcb700cb443410e80e04.jpg","text":"TemporaryFile(/tmp/multipartBody7718133108652357078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040673497,"filename":"image_05012025_02_28_02_313440_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326838773","file1":"1326838756","file0":"1326838754","file3":"1326838775"},"map_files_photo_id_array":[{"photo_id":"1326838773","filename":"file2"},{"photo_id":"1326838756","filename":"file1"},{"photo_id":"1326838754","filename":"file0"},{"photo_id":"1326838775","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326838756":["hashtag1","hashtag2"]},{"1326838773":["hashtag1","hashtag2"]},{"1326838775":["hashtag1","hashtag2"]},{"1326838754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326838756, 1326838773, 1326838775, 1326838754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.43599200248718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:31:02.704846
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/29/image_05012025_02_29_02_829162_0003.jpg', '/home/pi/Desktop/images/05012025/02/30/image_05012025_02_30_02_444092_0000.jpg', '/home/pi/Desktop/images/05012025/02/30/image_05012025_02_30_02_444092_0001.jpg', '/home/pi/Desktop/images/05012025/02/30/image_05012025_02_30_02_444092_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/02/29/image_05012025_02_29_02_829162_0003.jpg
/home/pi/Desktop/images/05012025/02/30/image_05012025_02_30_02_444092_0000.jpg
/home/pi/Desktop/images/05012025/02/30/image_05012025_02_30_02_444092_0001.jpg
/home/pi/Desktop/images/05012025/02/30/image_05012025_02_30_02_444092_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.226928949356079 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:31:22.128377
SELECT 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/02/29/image_05012025_02_29_02_829162_0003.jpg', '/home/pi/Desktop/images/05012025/02/30/image_05012025_02_30_02_444092_0000.jpg', '/home/pi/Desktop/images/05012025/02/30/image_05012025_02_30_02_444092_0001.jpg', '/home/pi/Desktop/images/05012025/02/30/image_05012025_02_30_02_444092_0002.jpg', '/home/pi/Desktop/images/05012025/02/30/image_05012025_02_30_02_444092_0003.jpg', '/home/pi/Desktop/images/05012025/02/31/image_05012025_02_31_02_995898_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/02/29/image_05012025_02_29_02_829162_0003.jpg
/home/pi/Desktop/images/05012025/02/30/image_05012025_02_30_02_444092_0000.jpg
/home/pi/Desktop/images/05012025/02/30/image_05012025_02_30_02_444092_0001.jpg
/home/pi/Desktop/images/05012025/02/30/image_05012025_02_30_02_444092_0002.jpg
/home/pi/Desktop/images/05012025/02/30/image_05012025_02_30_02_444092_0003.jpg
/home/pi/Desktop/images/05012025/02/31/image_05012025_02_31_02_995898_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326838897","1326838899","1326838890","1326838893","1326838895","1326838901"],"photo_ids_order":["1326838890","1326838893","1326838895","1326838897","1326838899","1326838901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aea2045ccbfb43b0493801b9793a87aa.jpg","text":"TemporaryFile(/tmp/multipartBody892126483510173508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040757615,"filename":"image_05012025_02_30_02_444092_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/24b7192dac6ae87d87671fff0c3d6820.jpg","text":"TemporaryFile(/tmp/multipartBody4313298982696292366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040757615,"filename":"image_05012025_02_30_02_444092_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d318c5ae149bafe9770e7b7df60a234f.jpg","text":"TemporaryFile(/tmp/multipartBody95912988140814489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040757615,"filename":"image_05012025_02_29_02_829162_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7b40d3e6a8faf07cbf705167fb11ec83.jpg","text":"TemporaryFile(/tmp/multipartBody2649027661852414606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040757615,"filename":"image_05012025_02_30_02_444092_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/95ea16cc29e65e33a14ad4f378c2d264.jpg","text":"TemporaryFile(/tmp/multipartBody1991602807769761354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040757615,"filename":"image_05012025_02_30_02_444092_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6616db11b108b795a1988d0498163622.jpg","text":"TemporaryFile(/tmp/multipartBody7147548831319154904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040757615,"filename":"image_05012025_02_31_02_995898_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326838895","file1":"1326838893","file0":"1326838890","file4":"1326838899","file5":"1326838901","file3":"1326838897"},"map_files_photo_id_array":[{"photo_id":"1326838901","filename":"file5"},{"photo_id":"1326838895","filename":"file2"},{"photo_id":"1326838899","filename":"file4"},{"photo_id":"1326838893","filename":"file1"},{"photo_id":"1326838890","filename":"file0"},{"photo_id":"1326838897","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326838897":["hashtag1","hashtag2"]},{"1326838899":["hashtag1","hashtag2"]},{"1326838890":["hashtag1","hashtag2"]},{"1326838893":["hashtag1","hashtag2"]},{"1326838895":["hashtag1","hashtag2"]},{"1326838901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326838897, 1326838899, 1326838890, 1326838893, 1326838895, 1326838901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.20441246032715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:32:22.685515
SELECT 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/02/31/image_05012025_02_31_02_995898_0001.jpg', '/home/pi/Desktop/images/05012025/02/31/image_05012025_02_31_02_995898_0002.jpg', '/home/pi/Desktop/images/05012025/02/31/image_05012025_02_31_02_995898_0003.jpg', '/home/pi/Desktop/images/05012025/02/32/image_05012025_02_32_02_512125_0000.jpg', '/home/pi/Desktop/images/05012025/02/32/image_05012025_02_32_02_512125_0001.jpg', '/home/pi/Desktop/images/05012025/02/32/image_05012025_02_32_02_512125_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/02/31/image_05012025_02_31_02_995898_0001.jpg
/home/pi/Desktop/images/05012025/02/31/image_05012025_02_31_02_995898_0002.jpg
/home/pi/Desktop/images/05012025/02/31/image_05012025_02_31_02_995898_0003.jpg
/home/pi/Desktop/images/05012025/02/32/image_05012025_02_32_02_512125_0000.jpg
/home/pi/Desktop/images/05012025/02/32/image_05012025_02_32_02_512125_0001.jpg
/home/pi/Desktop/images/05012025/02/32/image_05012025_02_32_02_512125_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326838935","1326838929","1326838938","1326838932","1326838958","1326838955"],"photo_ids_order":["1326838929","1326838932","1326838935","1326838938","1326838955","1326838958"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a58f0396a5021f3c1ba1fa9f16875e6.jpg","text":"TemporaryFile(/tmp/multipartBody291672836939056618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040817837,"filename":"image_05012025_02_31_02_995898_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/59e997887ef50c0f1a9179c5d873a33a.jpg","text":"TemporaryFile(/tmp/multipartBody5341551076572812361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040817837,"filename":"image_05012025_02_31_02_995898_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/568e61fc897c7c6205e31190ea7c62f8.jpg","text":"TemporaryFile(/tmp/multipartBody9008787939871992786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040817837,"filename":"image_05012025_02_32_02_512125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0754a46a09a909a4de1a45c9654d8185.jpg","text":"TemporaryFile(/tmp/multipartBody3507970079240939735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040817837,"filename":"image_05012025_02_31_02_995898_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d6fd9c0def32987e61d77d5534617773.jpg","text":"TemporaryFile(/tmp/multipartBody1814604275653507456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040817837,"filename":"image_05012025_02_32_02_512125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aa845c33ec6d02f71ac9db151e0ee9e8.jpg","text":"TemporaryFile(/tmp/multipartBody4741381777379440657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040817837,"filename":"image_05012025_02_32_02_512125_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326838935","file1":"1326838932","file0":"1326838929","file4":"1326838955","file5":"1326838958","file3":"1326838938"},"map_files_photo_id_array":[{"photo_id":"1326838958","filename":"file5"},{"photo_id":"1326838935","filename":"file2"},{"photo_id":"1326838955","filename":"file4"},{"photo_id":"1326838932","filename":"file1"},{"photo_id":"1326838929","filename":"file0"},{"photo_id":"1326838938","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326838935":["hashtag1","hashtag2"]},{"1326838929":["hashtag1","hashtag2"]},{"1326838938":["hashtag1","hashtag2"]},{"1326838932":["hashtag1","hashtag2"]},{"1326838958":["hashtag1","hashtag2"]},{"1326838955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326838935, 1326838929, 1326838938, 1326838932, 1326838958, 1326838955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.340856313705444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:33:22.229064
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/32/image_05012025_02_32_02_512125_0003.jpg', '/home/pi/Desktop/images/05012025/02/33/image_05012025_02_33_03_106595_0000.jpg', '/home/pi/Desktop/images/05012025/02/33/image_05012025_02_33_03_106595_0001.jpg', '/home/pi/Desktop/images/05012025/02/33/image_05012025_02_33_03_106595_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/02/32/image_05012025_02_32_02_512125_0003.jpg
/home/pi/Desktop/images/05012025/02/33/image_05012025_02_33_03_106595_0000.jpg
/home/pi/Desktop/images/05012025/02/33/image_05012025_02_33_03_106595_0001.jpg
/home/pi/Desktop/images/05012025/02/33/image_05012025_02_33_03_106595_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326838966","1326838971","1326838968","1326838962"],"photo_ids_order":["1326838962","1326838966","1326838968","1326838971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/987e89a1d41a22a7e9031ceedbaa48df.jpg","text":"TemporaryFile(/tmp/multipartBody6213294455338269518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040872603,"filename":"image_05012025_02_33_03_106595_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e6815bc66cb44a42f73c4997925d96ac.jpg","text":"TemporaryFile(/tmp/multipartBody5046568957500458124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040872603,"filename":"image_05012025_02_33_03_106595_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dccd33b09ef7384dd7e206d259857735.jpg","text":"TemporaryFile(/tmp/multipartBody8051068666523049512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040872603,"filename":"image_05012025_02_33_03_106595_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/521b140e0af8a4365b9aac50086289bd.jpg","text":"TemporaryFile(/tmp/multipartBody136071402955252638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040872603,"filename":"image_05012025_02_32_02_512125_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326838968","file1":"1326838966","file0":"1326838962","file3":"1326838971"},"map_files_photo_id_array":[{"photo_id":"1326838968","filename":"file2"},{"photo_id":"1326838966","filename":"file1"},{"photo_id":"1326838962","filename":"file0"},{"photo_id":"1326838971","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326838966":["hashtag1","hashtag2"]},{"1326838971":["hashtag1","hashtag2"]},{"1326838968":["hashtag1","hashtag2"]},{"1326838962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326838966, 1326838971, 1326838968, 1326838962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.490801095962524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:34:21.815717
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/33/image_05012025_02_33_03_106595_0003.jpg', '/home/pi/Desktop/images/05012025/02/34/image_05012025_02_34_02_639375_0000.jpg', '/home/pi/Desktop/images/05012025/02/34/image_05012025_02_34_02_639375_0001.jpg', '/home/pi/Desktop/images/05012025/02/34/image_05012025_02_34_02_639375_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/02/33/image_05012025_02_33_03_106595_0003.jpg
/home/pi/Desktop/images/05012025/02/34/image_05012025_02_34_02_639375_0000.jpg
/home/pi/Desktop/images/05012025/02/34/image_05012025_02_34_02_639375_0001.jpg
/home/pi/Desktop/images/05012025/02/34/image_05012025_02_34_02_639375_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.016658544540405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:35:02.921910
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/33/image_05012025_02_33_03_106595_0003.jpg', '/home/pi/Desktop/images/05012025/02/34/image_05012025_02_34_02_639375_0000.jpg', '/home/pi/Desktop/images/05012025/02/34/image_05012025_02_34_02_639375_0001.jpg', '/home/pi/Desktop/images/05012025/02/34/image_05012025_02_34_02_639375_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/02/33/image_05012025_02_33_03_106595_0003.jpg
/home/pi/Desktop/images/05012025/02/34/image_05012025_02_34_02_639375_0000.jpg
/home/pi/Desktop/images/05012025/02/34/image_05012025_02_34_02_639375_0001.jpg
/home/pi/Desktop/images/05012025/02/34/image_05012025_02_34_02_639375_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326839038","1326839035","1326839039","1326839036"],"photo_ids_order":["1326839035","1326839036","1326839038","1326839039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d902458717cbdaa29d004eea7b6f8d06.jpg","text":"TemporaryFile(/tmp/multipartBody2824466113962833394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040973351,"filename":"image_05012025_02_34_02_639375_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/489a1931f12e09ca01953b7b11fba651.jpg","text":"TemporaryFile(/tmp/multipartBody824393418144103175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040973351,"filename":"image_05012025_02_33_03_106595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ea46170c81f04b11f509d7ac1549dfe4.jpg","text":"TemporaryFile(/tmp/multipartBody3263684725196450468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040973351,"filename":"image_05012025_02_34_02_639375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/10fa4bf004c5e4a43978af8803e9d0b1.jpg","text":"TemporaryFile(/tmp/multipartBody7422254660990825520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736040973351,"filename":"image_05012025_02_34_02_639375_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326839038","file1":"1326839036","file0":"1326839035","file3":"1326839039"},"map_files_photo_id_array":[{"photo_id":"1326839038","filename":"file2"},{"photo_id":"1326839036","filename":"file1"},{"photo_id":"1326839035","filename":"file0"},{"photo_id":"1326839039","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326839038":["hashtag1","hashtag2"]},{"1326839035":["hashtag1","hashtag2"]},{"1326839039":["hashtag1","hashtag2"]},{"1326839036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326839038, 1326839035, 1326839039, 1326839036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.70391654968262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:36:02.284645
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/34/image_05012025_02_34_02_639375_0003.jpg', '/home/pi/Desktop/images/05012025/02/35/image_05012025_02_35_02_133361_0000.jpg', '/home/pi/Desktop/images/05012025/02/35/image_05012025_02_35_02_133361_0001.jpg', '/home/pi/Desktop/images/05012025/02/35/image_05012025_02_35_02_133361_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/02/34/image_05012025_02_34_02_639375_0003.jpg
/home/pi/Desktop/images/05012025/02/35/image_05012025_02_35_02_133361_0000.jpg
/home/pi/Desktop/images/05012025/02/35/image_05012025_02_35_02_133361_0001.jpg
/home/pi/Desktop/images/05012025/02/35/image_05012025_02_35_02_133361_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.954825401306152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:36:21.794819
SELECT 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/02/34/image_05012025_02_34_02_639375_0003.jpg', '/home/pi/Desktop/images/05012025/02/35/image_05012025_02_35_02_133361_0000.jpg', '/home/pi/Desktop/images/05012025/02/35/image_05012025_02_35_02_133361_0001.jpg', '/home/pi/Desktop/images/05012025/02/35/image_05012025_02_35_02_133361_0002.jpg', '/home/pi/Desktop/images/05012025/02/35/image_05012025_02_35_02_133361_0003.jpg', '/home/pi/Desktop/images/05012025/02/36/image_05012025_02_36_02_632514_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/02/34/image_05012025_02_34_02_639375_0003.jpg
/home/pi/Desktop/images/05012025/02/35/image_05012025_02_35_02_133361_0000.jpg
/home/pi/Desktop/images/05012025/02/35/image_05012025_02_35_02_133361_0001.jpg
/home/pi/Desktop/images/05012025/02/35/image_05012025_02_35_02_133361_0002.jpg
/home/pi/Desktop/images/05012025/02/35/image_05012025_02_35_02_133361_0003.jpg
/home/pi/Desktop/images/05012025/02/36/image_05012025_02_36_02_632514_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":["1326839271","1326839265","1326839268","1326839285","1326839273","1326839266"],"photo_ids_order":["1326839265","1326839266","1326839268","1326839271","1326839273","1326839285"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/440a4b61965fdfcc9d8a99f58f48f056.jpg","text":"TemporaryFile(/tmp/multipartBody8098430526335822467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041057068,"filename":"image_05012025_02_35_02_133361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02c1f20d01a24e9ad80e97d04931b744.jpg","text":"TemporaryFile(/tmp/multipartBody1860850637644130832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041057068,"filename":"image_05012025_02_34_02_639375_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d0888b9148e016b15b05ca3203bb552f.jpg","text":"TemporaryFile(/tmp/multipartBody2987719589006333019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041057068,"filename":"image_05012025_02_35_02_133361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/281b81cdca03bab992890e732afcb116.jpg","text":"TemporaryFile(/tmp/multipartBody7864528929463464019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041057068,"filename":"image_05012025_02_36_02_632514_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/73f5ceb53dd1f33384ae79b788557f02.jpg","text":"TemporaryFile(/tmp/multipartBody5887511031273266991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041057068,"filename":"image_05012025_02_35_02_133361_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/24d134ec3d2b933b5365e79338bce85b.jpg","text":"TemporaryFile(/tmp/multipartBody2094032611395483493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041057068,"filename":"image_05012025_02_35_02_133361_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326839268","file1":"1326839266","file0":"1326839265","file4":"1326839273","file5":"1326839285","file3":"1326839271"},"map_files_photo_id_array":[{"photo_id":"1326839285","filename":"file5"},{"photo_id":"1326839268","filename":"file2"},{"photo_id":"1326839273","filename":"file4"},{"photo_id":"1326839266","filename":"file1"},{"photo_id":"1326839265","filename":"file0"},{"photo_id":"1326839271","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326839271":["hashtag1","hashtag2"]},{"1326839265":["hashtag1","hashtag2"]},{"1326839268":["hashtag1","hashtag2"]},{"1326839285":["hashtag1","hashtag2"]},{"1326839273":["hashtag1","hashtag2"]},{"1326839266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326839271, 1326839265, 1326839268, 1326839285, 1326839273, 1326839266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.286158323287964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:38:02.264655
SELECT 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/02/36/image_05012025_02_36_02_632514_0001.jpg', '/home/pi/Desktop/images/05012025/02/36/image_05012025_02_36_02_632514_0002.jpg', '/home/pi/Desktop/images/05012025/02/36/image_05012025_02_36_02_632514_0003.jpg', '/home/pi/Desktop/images/05012025/02/37/image_05012025_02_37_02_215210_0000.jpg', '/home/pi/Desktop/images/05012025/02/37/image_05012025_02_37_02_215210_0001.jpg', '/home/pi/Desktop/images/05012025/02/37/image_05012025_02_37_02_215210_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/02/36/image_05012025_02_36_02_632514_0001.jpg
/home/pi/Desktop/images/05012025/02/36/image_05012025_02_36_02_632514_0002.jpg
/home/pi/Desktop/images/05012025/02/36/image_05012025_02_36_02_632514_0003.jpg
/home/pi/Desktop/images/05012025/02/37/image_05012025_02_37_02_215210_0000.jpg
/home/pi/Desktop/images/05012025/02/37/image_05012025_02_37_02_215210_0001.jpg
/home/pi/Desktop/images/05012025/02/37/image_05012025_02_37_02_215210_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326839323","1326839317","1326839326","1326839343","1326839319","1326839321"],"photo_ids_order":["1326839317","1326839319","1326839321","1326839323","1326839326","1326839343"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d41ffab1d72b6fbceaaf9ca913dfb5e9.jpg","text":"TemporaryFile(/tmp/multipartBody1466637431709807718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041157823,"filename":"image_05012025_02_37_02_215210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d7655590485064eb1040e4ea33c68de1.jpg","text":"TemporaryFile(/tmp/multipartBody8056676505771401213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041157823,"filename":"image_05012025_02_36_02_632514_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eb2f0f048f10c2a2a3f7159cdb5452ba.jpg","text":"TemporaryFile(/tmp/multipartBody3323771689717057298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041157823,"filename":"image_05012025_02_37_02_215210_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/55eba1d6c9e8376f81a4dcb86eec6a2a.jpg","text":"TemporaryFile(/tmp/multipartBody4077889484998769955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041157823,"filename":"image_05012025_02_37_02_215210_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3aa6ada9155eedfa5615621efd1676eb.jpg","text":"TemporaryFile(/tmp/multipartBody4501733333236353447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041157823,"filename":"image_05012025_02_36_02_632514_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b16d88270f538c954e7478c70c5d82b.jpg","text":"TemporaryFile(/tmp/multipartBody2627070326706319603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041157823,"filename":"image_05012025_02_36_02_632514_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326839321","file1":"1326839319","file0":"1326839317","file4":"1326839326","file5":"1326839343","file3":"1326839323"},"map_files_photo_id_array":[{"photo_id":"1326839343","filename":"file5"},{"photo_id":"1326839321","filename":"file2"},{"photo_id":"1326839326","filename":"file4"},{"photo_id":"1326839319","filename":"file1"},{"photo_id":"1326839317","filename":"file0"},{"photo_id":"1326839323","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326839323":["hashtag1","hashtag2"]},{"1326839317":["hashtag1","hashtag2"]},{"1326839326":["hashtag1","hashtag2"]},{"1326839343":["hashtag1","hashtag2"]},{"1326839319":["hashtag1","hashtag2"]},{"1326839321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326839323, 1326839317, 1326839326, 1326839343, 1326839319, 1326839321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.67858695983887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:39:02.853006
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/37/image_05012025_02_37_02_215210_0003.jpg', '/home/pi/Desktop/images/05012025/02/38/image_05012025_02_38_02_738570_0000.jpg', '/home/pi/Desktop/images/05012025/02/38/image_05012025_02_38_02_738570_0001.jpg', '/home/pi/Desktop/images/05012025/02/38/image_05012025_02_38_02_738570_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/02/37/image_05012025_02_37_02_215210_0003.jpg
/home/pi/Desktop/images/05012025/02/38/image_05012025_02_38_02_738570_0000.jpg
/home/pi/Desktop/images/05012025/02/38/image_05012025_02_38_02_738570_0001.jpg
/home/pi/Desktop/images/05012025/02/38/image_05012025_02_38_02_738570_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.07196855545044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:39:22.281434
SELECT 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/02/37/image_05012025_02_37_02_215210_0003.jpg', '/home/pi/Desktop/images/05012025/02/38/image_05012025_02_38_02_738570_0000.jpg', '/home/pi/Desktop/images/05012025/02/38/image_05012025_02_38_02_738570_0001.jpg', '/home/pi/Desktop/images/05012025/02/38/image_05012025_02_38_02_738570_0002.jpg', '/home/pi/Desktop/images/05012025/02/38/image_05012025_02_38_02_738570_0003.jpg', '/home/pi/Desktop/images/05012025/02/39/image_05012025_02_39_02_194001_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/02/37/image_05012025_02_37_02_215210_0003.jpg
/home/pi/Desktop/images/05012025/02/38/image_05012025_02_38_02_738570_0000.jpg
/home/pi/Desktop/images/05012025/02/38/image_05012025_02_38_02_738570_0001.jpg
/home/pi/Desktop/images/05012025/02/38/image_05012025_02_38_02_738570_0002.jpg
/home/pi/Desktop/images/05012025/02/38/image_05012025_02_38_02_738570_0003.jpg
/home/pi/Desktop/images/05012025/02/39/image_05012025_02_39_02_194001_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326839614","1326839574","1326839616","1326839585","1326839576","1326839587"],"photo_ids_order":["1326839574","1326839576","1326839585","1326839587","1326839614","1326839616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/28b190ae1ef607441f586144ef53f2f3.jpg","text":"TemporaryFile(/tmp/multipartBody587615809822741451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041237452,"filename":"image_05012025_02_38_02_738570_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d18c2047a54943d2d9b6389379dc67bd.jpg","text":"TemporaryFile(/tmp/multipartBody4425694783764722137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041237452,"filename":"image_05012025_02_37_02_215210_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a1a3631c783f4dbec8a68e4fe929e2eb.jpg","text":"TemporaryFile(/tmp/multipartBody2700782712770038943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041237452,"filename":"image_05012025_02_39_02_194001_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ae9d018415fdf8b580431a95cd38ea98.jpg","text":"TemporaryFile(/tmp/multipartBody8111566497691623878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041237452,"filename":"image_05012025_02_38_02_738570_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/04e9c3b871ee5033ea17b2f2d6021cfe.jpg","text":"TemporaryFile(/tmp/multipartBody7830176055152786452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041237452,"filename":"image_05012025_02_38_02_738570_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/965e50543cdf21e2f522946690cedea3.jpg","text":"TemporaryFile(/tmp/multipartBody7181787838561410386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041237452,"filename":"image_05012025_02_38_02_738570_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326839585","file1":"1326839576","file0":"1326839574","file4":"1326839614","file5":"1326839616","file3":"1326839587"},"map_files_photo_id_array":[{"photo_id":"1326839616","filename":"file5"},{"photo_id":"1326839585","filename":"file2"},{"photo_id":"1326839614","filename":"file4"},{"photo_id":"1326839576","filename":"file1"},{"photo_id":"1326839574","filename":"file0"},{"photo_id":"1326839587","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326839614":["hashtag1","hashtag2"]},{"1326839574":["hashtag1","hashtag2"]},{"1326839616":["hashtag1","hashtag2"]},{"1326839585":["hashtag1","hashtag2"]},{"1326839576":["hashtag1","hashtag2"]},{"1326839587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326839614, 1326839574, 1326839616, 1326839585, 1326839576, 1326839587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.49976587295532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:40:22.003135
SELECT 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/02/39/image_05012025_02_39_02_194001_0001.jpg', '/home/pi/Desktop/images/05012025/02/39/image_05012025_02_39_02_194001_0002.jpg', '/home/pi/Desktop/images/05012025/02/39/image_05012025_02_39_02_194001_0003.jpg', '/home/pi/Desktop/images/05012025/02/40/image_05012025_02_40_02_738647_0000.jpg', '/home/pi/Desktop/images/05012025/02/40/image_05012025_02_40_02_738647_0001.jpg', '/home/pi/Desktop/images/05012025/02/40/image_05012025_02_40_02_738647_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/02/39/image_05012025_02_39_02_194001_0001.jpg
/home/pi/Desktop/images/05012025/02/39/image_05012025_02_39_02_194001_0002.jpg
/home/pi/Desktop/images/05012025/02/39/image_05012025_02_39_02_194001_0003.jpg
/home/pi/Desktop/images/05012025/02/40/image_05012025_02_40_02_738647_0000.jpg
/home/pi/Desktop/images/05012025/02/40/image_05012025_02_40_02_738647_0001.jpg
/home/pi/Desktop/images/05012025/02/40/image_05012025_02_40_02_738647_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326839632","1326839626","1326839620","1326839623","1326839634","1326839628"],"photo_ids_order":["1326839620","1326839623","1326839626","1326839628","1326839632","1326839634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/44aed4a67d7f056f3e51adf1bfeb013e.jpg","text":"TemporaryFile(/tmp/multipartBody5836406637837206745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041297362,"filename":"image_05012025_02_40_02_738647_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b802ae3651aa6d97a3996741e1378d5f.jpg","text":"TemporaryFile(/tmp/multipartBody628677211262095349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041297362,"filename":"image_05012025_02_39_02_194001_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d1c8525ae871092b436d1a25096278ef.jpg","text":"TemporaryFile(/tmp/multipartBody5253410913864529574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041297362,"filename":"image_05012025_02_39_02_194001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f87eec97af4c9190a8dd5fa259dedf63.jpg","text":"TemporaryFile(/tmp/multipartBody4633148276482161712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041297362,"filename":"image_05012025_02_39_02_194001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cbb945764133c6bf3bbe93b5b419a8cb.jpg","text":"TemporaryFile(/tmp/multipartBody6256506729604089086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041297362,"filename":"image_05012025_02_40_02_738647_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e61d94467c14037419222aba26818ea8.jpg","text":"TemporaryFile(/tmp/multipartBody7398569523678753078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041297362,"filename":"image_05012025_02_40_02_738647_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326839626","file1":"1326839623","file0":"1326839620","file4":"1326839632","file5":"1326839634","file3":"1326839628"},"map_files_photo_id_array":[{"photo_id":"1326839634","filename":"file5"},{"photo_id":"1326839626","filename":"file2"},{"photo_id":"1326839632","filename":"file4"},{"photo_id":"1326839623","filename":"file1"},{"photo_id":"1326839620","filename":"file0"},{"photo_id":"1326839628","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326839632":["hashtag1","hashtag2"]},{"1326839626":["hashtag1","hashtag2"]},{"1326839620":["hashtag1","hashtag2"]},{"1326839623":["hashtag1","hashtag2"]},{"1326839634":["hashtag1","hashtag2"]},{"1326839628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326839632, 1326839626, 1326839620, 1326839623, 1326839634, 1326839628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.86950659751892 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:41:22.580495
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/40/image_05012025_02_40_02_738647_0003.jpg', '/home/pi/Desktop/images/05012025/02/41/image_05012025_02_41_02_426601_0000.jpg', '/home/pi/Desktop/images/05012025/02/41/image_05012025_02_41_02_426601_0001.jpg', '/home/pi/Desktop/images/05012025/02/41/image_05012025_02_41_02_426601_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/02/40/image_05012025_02_40_02_738647_0003.jpg
/home/pi/Desktop/images/05012025/02/41/image_05012025_02_41_02_426601_0000.jpg
/home/pi/Desktop/images/05012025/02/41/image_05012025_02_41_02_426601_0001.jpg
/home/pi/Desktop/images/05012025/02/41/image_05012025_02_41_02_426601_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326839650","1326839644","1326839640","1326839646"],"photo_ids_order":["1326839640","1326839644","1326839646","1326839650"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a183d4bece3963a6a517932d24c264c4.jpg","text":"TemporaryFile(/tmp/multipartBody1704587915840487369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041353042,"filename":"image_05012025_02_41_02_426601_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/17cc26b70b6945dcc8e2e3e416defab9.jpg","text":"TemporaryFile(/tmp/multipartBody6775800364977718899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041353042,"filename":"image_05012025_02_41_02_426601_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/98bc21db8a8b06f6c1592e060ebc87c3.jpg","text":"TemporaryFile(/tmp/multipartBody8454180100028048406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041353042,"filename":"image_05012025_02_40_02_738647_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ed2e84dfd4d2e846852aacc542cf4895.jpg","text":"TemporaryFile(/tmp/multipartBody7450604351101907922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041353042,"filename":"image_05012025_02_41_02_426601_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326839646","file1":"1326839644","file0":"1326839640","file3":"1326839650"},"map_files_photo_id_array":[{"photo_id":"1326839646","filename":"file2"},{"photo_id":"1326839644","filename":"file1"},{"photo_id":"1326839640","filename":"file0"},{"photo_id":"1326839650","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326839650":["hashtag1","hashtag2"]},{"1326839644":["hashtag1","hashtag2"]},{"1326839640":["hashtag1","hashtag2"]},{"1326839646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326839650, 1326839644, 1326839640, 1326839646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.99295973777771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:42:22.068479
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/41/image_05012025_02_41_02_426601_0003.jpg', '/home/pi/Desktop/images/05012025/02/42/image_05012025_02_42_02_941040_0000.jpg', '/home/pi/Desktop/images/05012025/02/42/image_05012025_02_42_02_941040_0001.jpg', '/home/pi/Desktop/images/05012025/02/42/image_05012025_02_42_02_941040_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/02/41/image_05012025_02_41_02_426601_0003.jpg
/home/pi/Desktop/images/05012025/02/42/image_05012025_02_42_02_941040_0000.jpg
/home/pi/Desktop/images/05012025/02/42/image_05012025_02_42_02_941040_0001.jpg
/home/pi/Desktop/images/05012025/02/42/image_05012025_02_42_02_941040_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326839661","1326839664","1326839658","1326839656"],"photo_ids_order":["1326839656","1326839658","1326839661","1326839664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a6277521a2314d0f5eb4c413ca8e329.jpg","text":"TemporaryFile(/tmp/multipartBody5874165989446349334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041412480,"filename":"image_05012025_02_42_02_941040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6060b6779be9ec4faf917e951fc5956b.jpg","text":"TemporaryFile(/tmp/multipartBody4999267458076790860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041412480,"filename":"image_05012025_02_42_02_941040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f0b22d5e461174905379a17c8508f87.jpg","text":"TemporaryFile(/tmp/multipartBody6578512333349739237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041412480,"filename":"image_05012025_02_42_02_941040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/83b25f10fc3c61a3d9a3d5855b098842.jpg","text":"TemporaryFile(/tmp/multipartBody2906268695190907145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041412480,"filename":"image_05012025_02_41_02_426601_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326839661","file1":"1326839658","file0":"1326839656","file3":"1326839664"},"map_files_photo_id_array":[{"photo_id":"1326839661","filename":"file2"},{"photo_id":"1326839658","filename":"file1"},{"photo_id":"1326839656","filename":"file0"},{"photo_id":"1326839664","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326839661":["hashtag1","hashtag2"]},{"1326839664":["hashtag1","hashtag2"]},{"1326839658":["hashtag1","hashtag2"]},{"1326839656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326839661, 1326839664, 1326839658, 1326839656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.89110708236694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:43:03.169261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:43:22.504636
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/42/image_05012025_02_42_02_941040_0003.jpg', '/home/pi/Desktop/images/05012025/02/43/image_05012025_02_43_02_426946_0000.jpg', '/home/pi/Desktop/images/05012025/02/43/image_05012025_02_43_02_426946_0001.jpg', '/home/pi/Desktop/images/05012025/02/43/image_05012025_02_43_02_426946_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/02/42/image_05012025_02_42_02_941040_0003.jpg
/home/pi/Desktop/images/05012025/02/43/image_05012025_02_43_02_426946_0000.jpg
/home/pi/Desktop/images/05012025/02/43/image_05012025_02_43_02_426946_0001.jpg
/home/pi/Desktop/images/05012025/02/43/image_05012025_02_43_02_426946_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326839710","1326839713","1326839715","1326839706"],"photo_ids_order":["1326839706","1326839710","1326839713","1326839715"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ee9b2c9f565717a1c5c59dbe8e6827a0.jpg","text":"TemporaryFile(/tmp/multipartBody5136655573892033471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041472801,"filename":"image_05012025_02_43_02_426946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/65e41a19d36eb3bae4f721697b3e5bf9.jpg","text":"TemporaryFile(/tmp/multipartBody948570194695746176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041472801,"filename":"image_05012025_02_43_02_426946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b611caa002e9c6538e116e54e3669d2b.jpg","text":"TemporaryFile(/tmp/multipartBody480699404065139007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041472801,"filename":"image_05012025_02_43_02_426946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f8e108f7695edd345b8bc2ed548796ad.jpg","text":"TemporaryFile(/tmp/multipartBody8939271528794504604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041472801,"filename":"image_05012025_02_42_02_941040_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326839713","file1":"1326839710","file0":"1326839706","file3":"1326839715"},"map_files_photo_id_array":[{"photo_id":"1326839713","filename":"file2"},{"photo_id":"1326839710","filename":"file1"},{"photo_id":"1326839706","filename":"file0"},{"photo_id":"1326839715","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326839710":["hashtag1","hashtag2"]},{"1326839713":["hashtag1","hashtag2"]},{"1326839715":["hashtag1","hashtag2"]},{"1326839706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326839710, 1326839713, 1326839715, 1326839706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7320282459259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:44:02.644829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:44:22.169633
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/43/image_05012025_02_43_02_426946_0003.jpg', '/home/pi/Desktop/images/05012025/02/44/image_05012025_02_44_02_946299_0000.jpg', '/home/pi/Desktop/images/05012025/02/44/image_05012025_02_44_02_946299_0001.jpg', '/home/pi/Desktop/images/05012025/02/44/image_05012025_02_44_02_946299_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/02/43/image_05012025_02_43_02_426946_0003.jpg
/home/pi/Desktop/images/05012025/02/44/image_05012025_02_44_02_946299_0000.jpg
/home/pi/Desktop/images/05012025/02/44/image_05012025_02_44_02_946299_0001.jpg
/home/pi/Desktop/images/05012025/02/44/image_05012025_02_44_02_946299_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326839734","1326839736","1326839730","1326839732"],"photo_ids_order":["1326839730","1326839732","1326839734","1326839736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b86401f258375c9771aa73d55efd8349.jpg","text":"TemporaryFile(/tmp/multipartBody5838425260547822820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041532786,"filename":"image_05012025_02_44_02_946299_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6926b9f6ff374d045f1642bdee06f0cb.jpg","text":"TemporaryFile(/tmp/multipartBody1212425568148314051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041532786,"filename":"image_05012025_02_44_02_946299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/19589e9950d20f973b64b37e3f536c35.jpg","text":"TemporaryFile(/tmp/multipartBody5734537909552608166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041532786,"filename":"image_05012025_02_43_02_426946_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d53525c42c60c5ecdb0d7f217ab12724.jpg","text":"TemporaryFile(/tmp/multipartBody3055663176766634106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041532786,"filename":"image_05012025_02_44_02_946299_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326839734","file1":"1326839732","file0":"1326839730","file3":"1326839736"},"map_files_photo_id_array":[{"photo_id":"1326839734","filename":"file2"},{"photo_id":"1326839732","filename":"file1"},{"photo_id":"1326839730","filename":"file0"},{"photo_id":"1326839736","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326839734":["hashtag1","hashtag2"]},{"1326839736":["hashtag1","hashtag2"]},{"1326839730":["hashtag1","hashtag2"]},{"1326839732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326839734, 1326839736, 1326839730, 1326839732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.59999632835388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:45:22.697314
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/44/image_05012025_02_44_02_946299_0003.jpg', '/home/pi/Desktop/images/05012025/02/45/image_05012025_02_45_02_597839_0000.jpg', '/home/pi/Desktop/images/05012025/02/45/image_05012025_02_45_02_597839_0001.jpg', '/home/pi/Desktop/images/05012025/02/45/image_05012025_02_45_02_597839_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/02/44/image_05012025_02_44_02_946299_0003.jpg
/home/pi/Desktop/images/05012025/02/45/image_05012025_02_45_02_597839_0000.jpg
/home/pi/Desktop/images/05012025/02/45/image_05012025_02_45_02_597839_0001.jpg
/home/pi/Desktop/images/05012025/02/45/image_05012025_02_45_02_597839_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.039119958877563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:46:02.646861
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/44/image_05012025_02_44_02_946299_0003.jpg', '/home/pi/Desktop/images/05012025/02/45/image_05012025_02_45_02_597839_0000.jpg', '/home/pi/Desktop/images/05012025/02/45/image_05012025_02_45_02_597839_0001.jpg', '/home/pi/Desktop/images/05012025/02/45/image_05012025_02_45_02_597839_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/02/44/image_05012025_02_44_02_946299_0003.jpg
/home/pi/Desktop/images/05012025/02/45/image_05012025_02_45_02_597839_0000.jpg
/home/pi/Desktop/images/05012025/02/45/image_05012025_02_45_02_597839_0001.jpg
/home/pi/Desktop/images/05012025/02/45/image_05012025_02_45_02_597839_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326839824","1326839820","1326839822","1326839797"],"photo_ids_order":["1326839797","1326839820","1326839822","1326839824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ca315a6878a42f4ad4295e911a906299.jpg","text":"TemporaryFile(/tmp/multipartBody8591792945085658594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041633114,"filename":"image_05012025_02_45_02_597839_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8ed55e19fa1d5728539f2968b8aea326.jpg","text":"TemporaryFile(/tmp/multipartBody6285572066050077225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041633114,"filename":"image_05012025_02_45_02_597839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/916e6b2a07b643d8f598518b69e35b7d.jpg","text":"TemporaryFile(/tmp/multipartBody8822804035076241008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041633114,"filename":"image_05012025_02_45_02_597839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7619a058c16d051616885878f55cbf2c.jpg","text":"TemporaryFile(/tmp/multipartBody2759091335048736295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041633114,"filename":"image_05012025_02_44_02_946299_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326839822","file1":"1326839820","file0":"1326839797","file3":"1326839824"},"map_files_photo_id_array":[{"photo_id":"1326839822","filename":"file2"},{"photo_id":"1326839820","filename":"file1"},{"photo_id":"1326839797","filename":"file0"},{"photo_id":"1326839824","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326839824":["hashtag1","hashtag2"]},{"1326839820":["hashtag1","hashtag2"]},{"1326839822":["hashtag1","hashtag2"]},{"1326839797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326839824, 1326839820, 1326839822, 1326839797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.16085147857666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:47:02.133082
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/45/image_05012025_02_45_02_597839_0003.jpg', '/home/pi/Desktop/images/05012025/02/46/image_05012025_02_46_03_143839_0000.jpg', '/home/pi/Desktop/images/05012025/02/46/image_05012025_02_46_03_143839_0001.jpg', '/home/pi/Desktop/images/05012025/02/46/image_05012025_02_46_03_143839_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/02/45/image_05012025_02_45_02_597839_0003.jpg
/home/pi/Desktop/images/05012025/02/46/image_05012025_02_46_03_143839_0000.jpg
/home/pi/Desktop/images/05012025/02/46/image_05012025_02_46_03_143839_0001.jpg
/home/pi/Desktop/images/05012025/02/46/image_05012025_02_46_03_143839_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326839845","1326839838","1326839846","1326839840"],"photo_ids_order":["1326839838","1326839840","1326839845","1326839846"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b6d08a509c85c7144c75c19c01ea335.jpg","text":"TemporaryFile(/tmp/multipartBody8384547878005097893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041692628,"filename":"image_05012025_02_46_03_143839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4c8833e91b9d81ca86b02bbc2fdbc3cc.jpg","text":"TemporaryFile(/tmp/multipartBody7297818064117526286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041692628,"filename":"image_05012025_02_45_02_597839_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5e3f124fad3faf4f1d2473efd06e683d.jpg","text":"TemporaryFile(/tmp/multipartBody6236508968927173035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041692628,"filename":"image_05012025_02_46_03_143839_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1348b65c40f3b806f6fc69cb59aa5ed9.jpg","text":"TemporaryFile(/tmp/multipartBody1093227145150258512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041692628,"filename":"image_05012025_02_46_03_143839_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326839845","file1":"1326839840","file0":"1326839838","file3":"1326839846"},"map_files_photo_id_array":[{"photo_id":"1326839845","filename":"file2"},{"photo_id":"1326839840","filename":"file1"},{"photo_id":"1326839838","filename":"file0"},{"photo_id":"1326839846","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326839845":["hashtag1","hashtag2"]},{"1326839838":["hashtag1","hashtag2"]},{"1326839846":["hashtag1","hashtag2"]},{"1326839840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326839845, 1326839838, 1326839846, 1326839840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56547284126282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:48:02.914358
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/46/image_05012025_02_46_03_143839_0003.jpg', '/home/pi/Desktop/images/05012025/02/47/image_05012025_02_47_02_633697_0000.jpg', '/home/pi/Desktop/images/05012025/02/47/image_05012025_02_47_02_633697_0001.jpg', '/home/pi/Desktop/images/05012025/02/47/image_05012025_02_47_02_633697_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/02/46/image_05012025_02_46_03_143839_0003.jpg
/home/pi/Desktop/images/05012025/02/47/image_05012025_02_47_02_633697_0000.jpg
/home/pi/Desktop/images/05012025/02/47/image_05012025_02_47_02_633697_0001.jpg
/home/pi/Desktop/images/05012025/02/47/image_05012025_02_47_02_633697_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326839862","1326839864","1326839866","1326839860"],"photo_ids_order":["1326839860","1326839862","1326839864","1326839866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/871960a1e66219cf22d7c80dd447fd3b.jpg","text":"TemporaryFile(/tmp/multipartBody4239886993871491376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041753176,"filename":"image_05012025_02_47_02_633697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0957662fe7bdd7ff6473fe55c7f85591.jpg","text":"TemporaryFile(/tmp/multipartBody8536616527442148092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041753176,"filename":"image_05012025_02_47_02_633697_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7dcc5ced57d2515be436481474fe2b63.jpg","text":"TemporaryFile(/tmp/multipartBody832205898218797777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041753176,"filename":"image_05012025_02_47_02_633697_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/178d45a4129fe9d1676774d59cf30987.jpg","text":"TemporaryFile(/tmp/multipartBody4735694332820762755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041753176,"filename":"image_05012025_02_46_03_143839_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326839864","file1":"1326839862","file0":"1326839860","file3":"1326839866"},"map_files_photo_id_array":[{"photo_id":"1326839864","filename":"file2"},{"photo_id":"1326839862","filename":"file1"},{"photo_id":"1326839860","filename":"file0"},{"photo_id":"1326839866","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326839862":["hashtag1","hashtag2"]},{"1326839864":["hashtag1","hashtag2"]},{"1326839866":["hashtag1","hashtag2"]},{"1326839860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326839862, 1326839864, 1326839866, 1326839860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.452885389328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:49:02.793195
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/47/image_05012025_02_47_02_633697_0003.jpg', '/home/pi/Desktop/images/05012025/02/48/image_05012025_02_48_02_227894_0000.jpg', '/home/pi/Desktop/images/05012025/02/48/image_05012025_02_48_02_227894_0001.jpg', '/home/pi/Desktop/images/05012025/02/48/image_05012025_02_48_02_227894_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/02/47/image_05012025_02_47_02_633697_0003.jpg
/home/pi/Desktop/images/05012025/02/48/image_05012025_02_48_02_227894_0000.jpg
/home/pi/Desktop/images/05012025/02/48/image_05012025_02_48_02_227894_0001.jpg
/home/pi/Desktop/images/05012025/02/48/image_05012025_02_48_02_227894_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326839959","1326839892","1326839934","1326839936"],"photo_ids_order":["1326839892","1326839934","1326839936","1326839959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/de048ab55ea62a4edcf5638056164f43.jpg","text":"TemporaryFile(/tmp/multipartBody4889081979771326783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041813221,"filename":"image_05012025_02_48_02_227894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4970ed31c7373ba967f3575f1efeb781.jpg","text":"TemporaryFile(/tmp/multipartBody148100266339911403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041813221,"filename":"image_05012025_02_47_02_633697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7b3bc4d4493c5a0ad494efb19c525c75.jpg","text":"TemporaryFile(/tmp/multipartBody3511767699024871977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041813221,"filename":"image_05012025_02_48_02_227894_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a365271d369891f4f023e76fd0222dd1.jpg","text":"TemporaryFile(/tmp/multipartBody5526490750017130466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041813221,"filename":"image_05012025_02_48_02_227894_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326839936","file1":"1326839934","file0":"1326839892","file3":"1326839959"},"map_files_photo_id_array":[{"photo_id":"1326839936","filename":"file2"},{"photo_id":"1326839934","filename":"file1"},{"photo_id":"1326839892","filename":"file0"},{"photo_id":"1326839959","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326839959":["hashtag1","hashtag2"]},{"1326839892":["hashtag1","hashtag2"]},{"1326839934":["hashtag1","hashtag2"]},{"1326839936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326839959, 1326839892, 1326839934, 1326839936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.17857241630554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:50:03.104783
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/48/image_05012025_02_48_02_227894_0003.jpg', '/home/pi/Desktop/images/05012025/02/49/image_05012025_02_49_02_902866_0000.jpg', '/home/pi/Desktop/images/05012025/02/49/image_05012025_02_49_02_902866_0001.jpg', '/home/pi/Desktop/images/05012025/02/49/image_05012025_02_49_02_902866_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/02/48/image_05012025_02_48_02_227894_0003.jpg
/home/pi/Desktop/images/05012025/02/49/image_05012025_02_49_02_902866_0000.jpg
/home/pi/Desktop/images/05012025/02/49/image_05012025_02_49_02_902866_0001.jpg
/home/pi/Desktop/images/05012025/02/49/image_05012025_02_49_02_902866_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.929685354232788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:50:22.723295
SELECT 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/02/48/image_05012025_02_48_02_227894_0003.jpg', '/home/pi/Desktop/images/05012025/02/49/image_05012025_02_49_02_902866_0000.jpg', '/home/pi/Desktop/images/05012025/02/49/image_05012025_02_49_02_902866_0001.jpg', '/home/pi/Desktop/images/05012025/02/49/image_05012025_02_49_02_902866_0002.jpg', '/home/pi/Desktop/images/05012025/02/49/image_05012025_02_49_02_902866_0003.jpg', '/home/pi/Desktop/images/05012025/02/50/image_05012025_02_50_02_437977_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/02/48/image_05012025_02_48_02_227894_0003.jpg
/home/pi/Desktop/images/05012025/02/49/image_05012025_02_49_02_902866_0000.jpg
/home/pi/Desktop/images/05012025/02/49/image_05012025_02_49_02_902866_0001.jpg
/home/pi/Desktop/images/05012025/02/49/image_05012025_02_49_02_902866_0002.jpg
/home/pi/Desktop/images/05012025/02/49/image_05012025_02_49_02_902866_0003.jpg
/home/pi/Desktop/images/05012025/02/50/image_05012025_02_50_02_437977_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":["1326839977","1326839982","1326839979","1326839975","1326839984","1326839980"],"photo_ids_order":["1326839975","1326839977","1326839979","1326839980","1326839982","1326839984"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/27bc1187757bd86c591e7bf7ffb92119.jpg","text":"TemporaryFile(/tmp/multipartBody1552801361483103284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041897991,"filename":"image_05012025_02_49_02_902866_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/881e15c947c369e2491a902f2da26eda.jpg","text":"TemporaryFile(/tmp/multipartBody5891098973991962624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041897991,"filename":"image_05012025_02_49_02_902866_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3db07d52ac051488478ca4c7a3e8e5dd.jpg","text":"TemporaryFile(/tmp/multipartBody8544680954540050264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041897991,"filename":"image_05012025_02_49_02_902866_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/438676b8d32c78b4508ac0eb4e6e5ac3.jpg","text":"TemporaryFile(/tmp/multipartBody4232824004363061960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041897991,"filename":"image_05012025_02_48_02_227894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ba7bdd8d317f7f10a62e11be9c2fcdb4.jpg","text":"TemporaryFile(/tmp/multipartBody3819862951813831942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041897991,"filename":"image_05012025_02_50_02_437977_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dac7a38940978a367921b39d3b95467b.jpg","text":"TemporaryFile(/tmp/multipartBody2820954332040117672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041897991,"filename":"image_05012025_02_49_02_902866_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326839979","file1":"1326839977","file0":"1326839975","file4":"1326839982","file5":"1326839984","file3":"1326839980"},"map_files_photo_id_array":[{"photo_id":"1326839984","filename":"file5"},{"photo_id":"1326839979","filename":"file2"},{"photo_id":"1326839982","filename":"file4"},{"photo_id":"1326839977","filename":"file1"},{"photo_id":"1326839975","filename":"file0"},{"photo_id":"1326839980","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326839977":["hashtag1","hashtag2"]},{"1326839982":["hashtag1","hashtag2"]},{"1326839979":["hashtag1","hashtag2"]},{"1326839975":["hashtag1","hashtag2"]},{"1326839984":["hashtag1","hashtag2"]},{"1326839980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326839977, 1326839982, 1326839979, 1326839975, 1326839984, 1326839980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.01032638549805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:52:03.057628
SELECT 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/02/50/image_05012025_02_50_02_437977_0001.jpg', '/home/pi/Desktop/images/05012025/02/50/image_05012025_02_50_02_437977_0002.jpg', '/home/pi/Desktop/images/05012025/02/50/image_05012025_02_50_02_437977_0003.jpg', '/home/pi/Desktop/images/05012025/02/51/image_05012025_02_51_03_028599_0000.jpg', '/home/pi/Desktop/images/05012025/02/51/image_05012025_02_51_03_028599_0001.jpg', '/home/pi/Desktop/images/05012025/02/51/image_05012025_02_51_03_028599_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/02/50/image_05012025_02_50_02_437977_0001.jpg
/home/pi/Desktop/images/05012025/02/50/image_05012025_02_50_02_437977_0002.jpg
/home/pi/Desktop/images/05012025/02/50/image_05012025_02_50_02_437977_0003.jpg
/home/pi/Desktop/images/05012025/02/51/image_05012025_02_51_03_028599_0000.jpg
/home/pi/Desktop/images/05012025/02/51/image_05012025_02_51_03_028599_0001.jpg
/home/pi/Desktop/images/05012025/02/51/image_05012025_02_51_03_028599_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326839994","1326840034","1326840036","1326840006","1326840038","1326840005"],"photo_ids_order":["1326839994","1326840005","1326840006","1326840034","1326840036","1326840038"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a40871b5b9ed430616a26401bf37b3c2.jpg","text":"TemporaryFile(/tmp/multipartBody6233959039815576800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041998377,"filename":"image_05012025_02_50_02_437977_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d0f064b4fb26a0d50a2d1b71f53d059b.jpg","text":"TemporaryFile(/tmp/multipartBody6415644542453590164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041998377,"filename":"image_05012025_02_51_03_028599_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bf3ed2b0ccbee2caddf5986101b7b467.jpg","text":"TemporaryFile(/tmp/multipartBody364522767713342774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041998377,"filename":"image_05012025_02_51_03_028599_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fddc5ed1ad7534c65ca352ae5cb3fd02.jpg","text":"TemporaryFile(/tmp/multipartBody332015929415432577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041998377,"filename":"image_05012025_02_50_02_437977_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e26afcec344f98ae108fe0b7a0c9bf4a.jpg","text":"TemporaryFile(/tmp/multipartBody14123092165854204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041998377,"filename":"image_05012025_02_51_03_028599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/40777aecf39417bf520747fd292b6761.jpg","text":"TemporaryFile(/tmp/multipartBody270690210086378707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736041998377,"filename":"image_05012025_02_50_02_437977_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326840006","file1":"1326840005","file0":"1326839994","file4":"1326840036","file5":"1326840038","file3":"1326840034"},"map_files_photo_id_array":[{"photo_id":"1326840038","filename":"file5"},{"photo_id":"1326840006","filename":"file2"},{"photo_id":"1326840036","filename":"file4"},{"photo_id":"1326840005","filename":"file1"},{"photo_id":"1326839994","filename":"file0"},{"photo_id":"1326840034","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326839994":["hashtag1","hashtag2"]},{"1326840034":["hashtag1","hashtag2"]},{"1326840036":["hashtag1","hashtag2"]},{"1326840006":["hashtag1","hashtag2"]},{"1326840038":["hashtag1","hashtag2"]},{"1326840005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326839994, 1326840034, 1326840036, 1326840006, 1326840038, 1326840005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.6881000995636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:53:02.747375
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/02/51/image_05012025_02_51_03_028599_0003.jpg', '/home/pi/Desktop/images/05012025/02/52/image_05012025_02_52_02_511148_0000.jpg', '/home/pi/Desktop/images/05012025/02/52/image_05012025_02_52_02_511148_0001.jpg', '/home/pi/Desktop/images/05012025/02/52/image_05012025_02_52_02_511148_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/02/51/image_05012025_02_51_03_028599_0003.jpg
/home/pi/Desktop/images/05012025/02/52/image_05012025_02_52_02_511148_0000.jpg
/home/pi/Desktop/images/05012025/02/52/image_05012025_02_52_02_511148_0001.jpg
/home/pi/Desktop/images/05012025/02/52/image_05012025_02_52_02_511148_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.984509944915771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:53:22.172328
SELECT 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/02/51/image_05012025_02_51_03_028599_0003.jpg', '/home/pi/Desktop/images/05012025/02/52/image_05012025_02_52_02_511148_0000.jpg', '/home/pi/Desktop/images/05012025/02/52/image_05012025_02_52_02_511148_0001.jpg', '/home/pi/Desktop/images/05012025/02/52/image_05012025_02_52_02_511148_0002.jpg', '/home/pi/Desktop/images/05012025/02/52/image_05012025_02_52_02_511148_0003.jpg', '/home/pi/Desktop/images/05012025/02/53/image_05012025_02_53_03_050484_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/02/51/image_05012025_02_51_03_028599_0003.jpg
/home/pi/Desktop/images/05012025/02/52/image_05012025_02_52_02_511148_0000.jpg
/home/pi/Desktop/images/05012025/02/52/image_05012025_02_52_02_511148_0001.jpg
/home/pi/Desktop/images/05012025/02/52/image_05012025_02_52_02_511148_0002.jpg
/home/pi/Desktop/images/05012025/02/52/image_05012025_02_52_02_511148_0003.jpg
/home/pi/Desktop/images/05012025/02/53/image_05012025_02_53_03_050484_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":["1326840419","1326840424","1326840390","1326840081","1326840434","1326840416"],"photo_ids_order":["1326840081","1326840390","1326840416","1326840419","1326840424","1326840434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3e5f862973701ed89d7faa54422378d0.jpg","text":"TemporaryFile(/tmp/multipartBody940221945626742430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042077341,"filename":"image_05012025_02_52_02_511148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ec8a36f83bff125d033f5fb815e17f21.jpg","text":"TemporaryFile(/tmp/multipartBody6337959021051925482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042077341,"filename":"image_05012025_02_52_02_511148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9a632ff9a404ec42114fc2476f90c657.jpg","text":"TemporaryFile(/tmp/multipartBody6101068747432491691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042077341,"filename":"image_05012025_02_52_02_511148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1b4b8e492d3f13bae296984fffd98577.jpg","text":"TemporaryFile(/tmp/multipartBody5572085594694844443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042077341,"filename":"image_05012025_02_51_03_028599_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d904e711360f785c4bb3a3940ef0409f.jpg","text":"TemporaryFile(/tmp/multipartBody1288484026116594912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042077341,"filename":"image_05012025_02_53_03_050484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9c87aa224e17632c25b8e60a1431898f.jpg","text":"TemporaryFile(/tmp/multipartBody8206453455335967830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042077341,"filename":"image_05012025_02_52_02_511148_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326840416","file1":"1326840390","file0":"1326840081","file4":"1326840424","file5":"1326840434","file3":"1326840419"},"map_files_photo_id_array":[{"photo_id":"1326840434","filename":"file5"},{"photo_id":"1326840416","filename":"file2"},{"photo_id":"1326840424","filename":"file4"},{"photo_id":"1326840390","filename":"file1"},{"photo_id":"1326840081","filename":"file0"},{"photo_id":"1326840419","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326840419":["hashtag1","hashtag2"]},{"1326840424":["hashtag1","hashtag2"]},{"1326840390":["hashtag1","hashtag2"]},{"1326840081":["hashtag1","hashtag2"]},{"1326840434":["hashtag1","hashtag2"]},{"1326840416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326840419, 1326840424, 1326840390, 1326840081, 1326840434, 1326840416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.14490818977356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 02:55:03.115898
SELECT 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/02/53/image_05012025_02_53_03_050484_0001.jpg', '/home/pi/Desktop/images/05012025/02/53/image_05012025_02_53_03_050484_0002.jpg', '/home/pi/Desktop/images/05012025/02/53/image_05012025_02_53_03_050484_0003.jpg', '/home/pi/Desktop/images/05012025/02/54/image_05012025_02_54_02_517431_0000.jpg', '/home/pi/Desktop/images/05012025/02/54/image_05012025_02_54_02_517431_0001.jpg', '/home/pi/Desktop/images/05012025/02/54/image_05012025_02_54_02_517431_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/02/53/image_05012025_02_53_03_050484_0001.jpg
/home/pi/Desktop/images/05012025/02/53/image_05012025_02_53_03_050484_0002.jpg
/home/pi/Desktop/images/05012025/02/53/image_05012025_02_53_03_050484_0003.jpg
/home/pi/Desktop/images/05012025/02/54/image_05012025_02_54_02_517431_0000.jpg
/home/pi/Desktop/images/05012025/02/54/image_05012025_02_54_02_517431_0001.jpg
/home/pi/Desktop/images/05012025/02/54/image_05012025_02_54_02_517431_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.865332841873169 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:55:22.452421
SELECT 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/02/53/image_05012025_02_53_03_050484_0001.jpg', '/home/pi/Desktop/images/05012025/02/53/image_05012025_02_53_03_050484_0002.jpg', '/home/pi/Desktop/images/05012025/02/53/image_05012025_02_53_03_050484_0003.jpg', '/home/pi/Desktop/images/05012025/02/54/image_05012025_02_54_02_517431_0000.jpg', '/home/pi/Desktop/images/05012025/02/54/image_05012025_02_54_02_517431_0001.jpg', '/home/pi/Desktop/images/05012025/02/54/image_05012025_02_54_02_517431_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/02/53/image_05012025_02_53_03_050484_0001.jpg
/home/pi/Desktop/images/05012025/02/53/image_05012025_02_53_03_050484_0002.jpg
/home/pi/Desktop/images/05012025/02/53/image_05012025_02_53_03_050484_0003.jpg
/home/pi/Desktop/images/05012025/02/54/image_05012025_02_54_02_517431_0000.jpg
/home/pi/Desktop/images/05012025/02/54/image_05012025_02_54_02_517431_0001.jpg
/home/pi/Desktop/images/05012025/02/54/image_05012025_02_54_02_517431_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326840520","1326840616","1326840516","1326840618","1326840533","1326840614"],"photo_ids_order":["1326840516","1326840520","1326840533","1326840614","1326840616","1326840618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/76dc5bbbd137f2084d0f13919fbf50d2.jpg","text":"TemporaryFile(/tmp/multipartBody4854466418867111277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042197685,"filename":"image_05012025_02_53_03_050484_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d87594db1bdf1f6a8340e1771d8db609.jpg","text":"TemporaryFile(/tmp/multipartBody6529238467917245297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042197685,"filename":"image_05012025_02_54_02_517431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/262029f61933b6b4dfa942fef3987468.jpg","text":"TemporaryFile(/tmp/multipartBody6349539172809816246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042197685,"filename":"image_05012025_02_53_03_050484_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab8bfc429df2c9453d61ad31b2eda205.jpg","text":"TemporaryFile(/tmp/multipartBody7854530970194884513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042197685,"filename":"image_05012025_02_54_02_517431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/86b54df530bc9a1b921d13e3343d5626.jpg","text":"TemporaryFile(/tmp/multipartBody130723430873610426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042197685,"filename":"image_05012025_02_53_03_050484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/051d7ccdab0a36caf7e48044cb1af3eb.jpg","text":"TemporaryFile(/tmp/multipartBody6478313170002283159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042197685,"filename":"image_05012025_02_54_02_517431_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326840533","file1":"1326840520","file0":"1326840516","file4":"1326840616","file5":"1326840618","file3":"1326840614"},"map_files_photo_id_array":[{"photo_id":"1326840618","filename":"file5"},{"photo_id":"1326840533","filename":"file2"},{"photo_id":"1326840616","filename":"file4"},{"photo_id":"1326840520","filename":"file1"},{"photo_id":"1326840516","filename":"file0"},{"photo_id":"1326840614","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326840520":["hashtag1","hashtag2"]},{"1326840616":["hashtag1","hashtag2"]},{"1326840516":["hashtag1","hashtag2"]},{"1326840618":["hashtag1","hashtag2"]},{"1326840533":["hashtag1","hashtag2"]},{"1326840614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326840520, 1326840616, 1326840516, 1326840618, 1326840533, 1326840614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.17796349525452 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:56:22.187548
SELECT 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/02/54/image_05012025_02_54_02_517431_0003.jpg', '/home/pi/Desktop/images/05012025/02/55/image_05012025_02_55_02_328221_0000.jpg', '/home/pi/Desktop/images/05012025/02/55/image_05012025_02_55_02_328221_0001.jpg', '/home/pi/Desktop/images/05012025/02/55/image_05012025_02_55_02_328221_0002.jpg', '/home/pi/Desktop/images/05012025/02/55/image_05012025_02_55_02_328221_0003.jpg', '/home/pi/Desktop/images/05012025/02/56/image_05012025_02_56_02_831892_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/02/54/image_05012025_02_54_02_517431_0003.jpg
/home/pi/Desktop/images/05012025/02/55/image_05012025_02_55_02_328221_0000.jpg
/home/pi/Desktop/images/05012025/02/55/image_05012025_02_55_02_328221_0001.jpg
/home/pi/Desktop/images/05012025/02/55/image_05012025_02_55_02_328221_0002.jpg
/home/pi/Desktop/images/05012025/02/55/image_05012025_02_55_02_328221_0003.jpg
/home/pi/Desktop/images/05012025/02/56/image_05012025_02_56_02_831892_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326840633","1326840636","1326840639","1326840624","1326840626","1326840629"],"photo_ids_order":["1326840624","1326840626","1326840629","1326840633","1326840636","1326840639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3e505fd999cf29cb87e8515f51df47c.jpg","text":"TemporaryFile(/tmp/multipartBody7563501346131754816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042257280,"filename":"image_05012025_02_55_02_328221_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c7512b5815d23cd8966e0865ecb2cf0c.jpg","text":"TemporaryFile(/tmp/multipartBody3710817897682219454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042257280,"filename":"image_05012025_02_55_02_328221_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c61178ce46fc22ee06d0f4cbc3c26036.jpg","text":"TemporaryFile(/tmp/multipartBody7641958234018849218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042257280,"filename":"image_05012025_02_56_02_831892_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f0a15c983ef5a1f339aa65192979ce7c.jpg","text":"TemporaryFile(/tmp/multipartBody7277120133177110877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042257280,"filename":"image_05012025_02_54_02_517431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a3fe62b49183a1623d82ac2fb5090943.jpg","text":"TemporaryFile(/tmp/multipartBody7356078921810474435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042257280,"filename":"image_05012025_02_55_02_328221_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b7b86f6d1ab8be84000a841727f129ab.jpg","text":"TemporaryFile(/tmp/multipartBody6553280225484186642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042257280,"filename":"image_05012025_02_55_02_328221_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326840629","file1":"1326840626","file0":"1326840624","file4":"1326840636","file5":"1326840639","file3":"1326840633"},"map_files_photo_id_array":[{"photo_id":"1326840639","filename":"file5"},{"photo_id":"1326840629","filename":"file2"},{"photo_id":"1326840636","filename":"file4"},{"photo_id":"1326840626","filename":"file1"},{"photo_id":"1326840624","filename":"file0"},{"photo_id":"1326840633","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326840633":["hashtag1","hashtag2"]},{"1326840636":["hashtag1","hashtag2"]},{"1326840639":["hashtag1","hashtag2"]},{"1326840624":["hashtag1","hashtag2"]},{"1326840626":["hashtag1","hashtag2"]},{"1326840629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326840633, 1326840636, 1326840639, 1326840624, 1326840626, 1326840629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.85805606842041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 02:57:22.730561
SELECT 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/02/56/image_05012025_02_56_02_831892_0001.jpg', '/home/pi/Desktop/images/05012025/02/56/image_05012025_02_56_02_831892_0002.jpg', '/home/pi/Desktop/images/05012025/02/56/image_05012025_02_56_02_831892_0003.jpg', '/home/pi/Desktop/images/05012025/02/57/image_05012025_02_57_02_591425_0000.jpg', '/home/pi/Desktop/images/05012025/02/57/image_05012025_02_57_02_591425_0001.jpg', '/home/pi/Desktop/images/05012025/02/57/image_05012025_02_57_02_591425_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/02/56/image_05012025_02_56_02_831892_0001.jpg
/home/pi/Desktop/images/05012025/02/56/image_05012025_02_56_02_831892_0002.jpg
/home/pi/Desktop/images/05012025/02/56/image_05012025_02_56_02_831892_0003.jpg
/home/pi/Desktop/images/05012025/02/57/image_05012025_02_57_02_591425_0000.jpg
/home/pi/Desktop/images/05012025/02/57/image_05012025_02_57_02_591425_0001.jpg
/home/pi/Desktop/images/05012025/02/57/image_05012025_02_57_02_591425_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-05 02:59:03.018512
SELECT 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/02/56/image_05012025_02_56_02_831892_0001.jpg', '/home/pi/Desktop/images/05012025/02/56/image_05012025_02_56_02_831892_0002.jpg', '/home/pi/Desktop/images/05012025/02/56/image_05012025_02_56_02_831892_0003.jpg', '/home/pi/Desktop/images/05012025/02/57/image_05012025_02_57_02_591425_0000.jpg', '/home/pi/Desktop/images/05012025/02/57/image_05012025_02_57_02_591425_0001.jpg', '/home/pi/Desktop/images/05012025/02/57/image_05012025_02_57_02_591425_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/02/56/image_05012025_02_56_02_831892_0001.jpg
/home/pi/Desktop/images/05012025/02/56/image_05012025_02_56_02_831892_0002.jpg
/home/pi/Desktop/images/05012025/02/56/image_05012025_02_56_02_831892_0003.jpg
/home/pi/Desktop/images/05012025/02/57/image_05012025_02_57_02_591425_0000.jpg
/home/pi/Desktop/images/05012025/02/57/image_05012025_02_57_02_591425_0001.jpg
/home/pi/Desktop/images/05012025/02/57/image_05012025_02_57_02_591425_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326841213","1326841182","1326841230","1326841223","1326840956","1326841075"],"photo_ids_order":["1326840956","1326841075","1326841182","1326841213","1326841223","1326841230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2623aa58fea044bf2a6d40525377c16e.jpg","text":"TemporaryFile(/tmp/multipartBody953662545242751577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042418171,"filename":"image_05012025_02_57_02_591425_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/739b9d99022c7e4377e89ef3ce857eff.jpg","text":"TemporaryFile(/tmp/multipartBody4007189652246565564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042418171,"filename":"image_05012025_02_56_02_831892_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ba80e1dda1c9f2a381f5e76c77b5f6e.jpg","text":"TemporaryFile(/tmp/multipartBody7019258774193104815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042418171,"filename":"image_05012025_02_57_02_591425_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d1b5fc9ea0a0c3a6063d1fdb58d532d7.jpg","text":"TemporaryFile(/tmp/multipartBody3652428633599447188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042418171,"filename":"image_05012025_02_57_02_591425_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f1ba86a219cd62c53189e6d9d20dfb9.jpg","text":"TemporaryFile(/tmp/multipartBody4411852118485634336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042418171,"filename":"image_05012025_02_56_02_831892_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6bd351893dbc46b5a5222730ca1f4501.jpg","text":"TemporaryFile(/tmp/multipartBody5544747974662790265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042418171,"filename":"image_05012025_02_56_02_831892_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326841182","file1":"1326841075","file0":"1326840956","file4":"1326841223","file5":"1326841230","file3":"1326841213"},"map_files_photo_id_array":[{"photo_id":"1326841230","filename":"file5"},{"photo_id":"1326841182","filename":"file2"},{"photo_id":"1326841223","filename":"file4"},{"photo_id":"1326841075","filename":"file1"},{"photo_id":"1326840956","filename":"file0"},{"photo_id":"1326841213","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326841213":["hashtag1","hashtag2"]},{"1326841182":["hashtag1","hashtag2"]},{"1326841230":["hashtag1","hashtag2"]},{"1326841223":["hashtag1","hashtag2"]},{"1326840956":["hashtag1","hashtag2"]},{"1326841075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326841213, 1326841182, 1326841230, 1326841223, 1326840956, 1326841075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.44573450088501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:00:02.385510
SELECT 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/02/57/image_05012025_02_57_02_591425_0003.jpg', '/home/pi/Desktop/images/05012025/02/58/image_05012025_02_58_03_128899_0000.jpg', '/home/pi/Desktop/images/05012025/02/58/image_05012025_02_58_03_128899_0001.jpg', '/home/pi/Desktop/images/05012025/02/58/image_05012025_02_58_03_128899_0002.jpg', '/home/pi/Desktop/images/05012025/02/58/image_05012025_02_58_03_128899_0003.jpg', '/home/pi/Desktop/images/05012025/02/59/image_05012025_02_59_02_632735_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/02/57/image_05012025_02_57_02_591425_0003.jpg
/home/pi/Desktop/images/05012025/02/58/image_05012025_02_58_03_128899_0000.jpg
/home/pi/Desktop/images/05012025/02/58/image_05012025_02_58_03_128899_0001.jpg
/home/pi/Desktop/images/05012025/02/58/image_05012025_02_58_03_128899_0002.jpg
/home/pi/Desktop/images/05012025/02/58/image_05012025_02_58_03_128899_0003.jpg
/home/pi/Desktop/images/05012025/02/59/image_05012025_02_59_02_632735_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326841377","1326841382","1326841349","1326841372","1326841375","1326841369"],"photo_ids_order":["1326841349","1326841369","1326841372","1326841375","1326841377","1326841382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/282808f52e0cd9fe3b27692ecbcab8a7.jpg","text":"TemporaryFile(/tmp/multipartBody4119186777111275274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042477602,"filename":"image_05012025_02_58_03_128899_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fad8f9aaecfeb29c609d7833fdd90e87.jpg","text":"TemporaryFile(/tmp/multipartBody249740880807776804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042477602,"filename":"image_05012025_02_59_02_632735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/311d7b852fbfca2443ea69e28adc95aa.jpg","text":"TemporaryFile(/tmp/multipartBody6956362953423849967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042477602,"filename":"image_05012025_02_57_02_591425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/90a058f229c02c74aca97dd4776b360b.jpg","text":"TemporaryFile(/tmp/multipartBody2905255422484701901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042477602,"filename":"image_05012025_02_58_03_128899_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/608dd0057d52b8ad83a851bc1e05b2a3.jpg","text":"TemporaryFile(/tmp/multipartBody3729359983371525768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042477602,"filename":"image_05012025_02_58_03_128899_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3fc00011b3b106d9c9e04947909b582c.jpg","text":"TemporaryFile(/tmp/multipartBody4957431307890448691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042477602,"filename":"image_05012025_02_58_03_128899_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326841372","file1":"1326841369","file0":"1326841349","file4":"1326841377","file5":"1326841382","file3":"1326841375"},"map_files_photo_id_array":[{"photo_id":"1326841382","filename":"file5"},{"photo_id":"1326841372","filename":"file2"},{"photo_id":"1326841377","filename":"file4"},{"photo_id":"1326841369","filename":"file1"},{"photo_id":"1326841349","filename":"file0"},{"photo_id":"1326841375","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326841377":["hashtag1","hashtag2"]},{"1326841382":["hashtag1","hashtag2"]},{"1326841349":["hashtag1","hashtag2"]},{"1326841372":["hashtag1","hashtag2"]},{"1326841375":["hashtag1","hashtag2"]},{"1326841369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326841377, 1326841382, 1326841349, 1326841372, 1326841375, 1326841369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.11394381523132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:01:03.069424
SELECT 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/02/59/image_05012025_02_59_02_632735_0001.jpg', '/home/pi/Desktop/images/05012025/02/59/image_05012025_02_59_02_632735_0002.jpg', '/home/pi/Desktop/images/05012025/02/59/image_05012025_02_59_02_632735_0003.jpg', '/home/pi/Desktop/images/05012025/03/00/image_05012025_03_00_02_832516_0000.jpg', '/home/pi/Desktop/images/05012025/03/00/image_05012025_03_00_02_832516_0001.jpg', '/home/pi/Desktop/images/05012025/03/00/image_05012025_03_00_02_832516_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/02/59/image_05012025_02_59_02_632735_0001.jpg
/home/pi/Desktop/images/05012025/02/59/image_05012025_02_59_02_632735_0002.jpg
/home/pi/Desktop/images/05012025/02/59/image_05012025_02_59_02_632735_0003.jpg
/home/pi/Desktop/images/05012025/03/00/image_05012025_03_00_02_832516_0000.jpg
/home/pi/Desktop/images/05012025/03/00/image_05012025_03_00_02_832516_0001.jpg
/home/pi/Desktop/images/05012025/03/00/image_05012025_03_00_02_832516_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326841395","1326841401","1326841397","1326841399","1326841403","1326841393"],"photo_ids_order":["1326841393","1326841395","1326841397","1326841399","1326841401","1326841403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e825e4d5cb99ac892e7345a94236648b.jpg","text":"TemporaryFile(/tmp/multipartBody55185410790624423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042538151,"filename":"image_05012025_02_59_02_632735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/adb00370a48aed31a4c2fe78a495ed18.jpg","text":"TemporaryFile(/tmp/multipartBody634200100361204083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042538151,"filename":"image_05012025_03_00_02_832516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8987fab0fd87d0b4e84990cc431284d6.jpg","text":"TemporaryFile(/tmp/multipartBody505869511176548789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042538151,"filename":"image_05012025_02_59_02_632735_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/69f77a6d3fafb2ed6da62ccccd9ca1dc.jpg","text":"TemporaryFile(/tmp/multipartBody2030342016788841709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042538151,"filename":"image_05012025_03_00_02_832516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/46e97adb185d6eb98f4bfe875d425a12.jpg","text":"TemporaryFile(/tmp/multipartBody6790566827177710096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042538151,"filename":"image_05012025_03_00_02_832516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/41707565e903909dc76b42520cda54c1.jpg","text":"TemporaryFile(/tmp/multipartBody9209143959070791790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042538151,"filename":"image_05012025_02_59_02_632735_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326841397","file1":"1326841395","file0":"1326841393","file4":"1326841401","file5":"1326841403","file3":"1326841399"},"map_files_photo_id_array":[{"photo_id":"1326841403","filename":"file5"},{"photo_id":"1326841397","filename":"file2"},{"photo_id":"1326841401","filename":"file4"},{"photo_id":"1326841395","filename":"file1"},{"photo_id":"1326841393","filename":"file0"},{"photo_id":"1326841399","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326841395":["hashtag1","hashtag2"]},{"1326841401":["hashtag1","hashtag2"]},{"1326841397":["hashtag1","hashtag2"]},{"1326841399":["hashtag1","hashtag2"]},{"1326841403":["hashtag1","hashtag2"]},{"1326841393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326841395, 1326841401, 1326841397, 1326841399, 1326841403, 1326841393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.86498522758484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:02:02.577474
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/00/image_05012025_03_00_02_832516_0003.jpg', '/home/pi/Desktop/images/05012025/03/01/image_05012025_03_01_02_341307_0000.jpg', '/home/pi/Desktop/images/05012025/03/01/image_05012025_03_01_02_341307_0001.jpg', '/home/pi/Desktop/images/05012025/03/01/image_05012025_03_01_02_341307_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/03/00/image_05012025_03_00_02_832516_0003.jpg
/home/pi/Desktop/images/05012025/03/01/image_05012025_03_01_02_341307_0000.jpg
/home/pi/Desktop/images/05012025/03/01/image_05012025_03_01_02_341307_0001.jpg
/home/pi/Desktop/images/05012025/03/01/image_05012025_03_01_02_341307_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326841408","1326841416","1326841409","1326841579"],"photo_ids_order":["1326841408","1326841409","1326841416","1326841579"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88588a6253af8d57e9d31cb6efa0fa88.jpg","text":"TemporaryFile(/tmp/multipartBody6072280360846602031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042593031,"filename":"image_05012025_03_00_02_832516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d0dfcb32d6dc965102d423a793d0bd18.jpg","text":"TemporaryFile(/tmp/multipartBody834289086424392086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042593031,"filename":"image_05012025_03_01_02_341307_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b4638c048741c75755e864bf27e7fb94.jpg","text":"TemporaryFile(/tmp/multipartBody3003306606313369813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042593031,"filename":"image_05012025_03_01_02_341307_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ccd1195403890afa62fd646212cedcf6.jpg","text":"TemporaryFile(/tmp/multipartBody8598007558632977380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042593031,"filename":"image_05012025_03_01_02_341307_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326841416","file1":"1326841409","file0":"1326841408","file3":"1326841579"},"map_files_photo_id_array":[{"photo_id":"1326841416","filename":"file2"},{"photo_id":"1326841409","filename":"file1"},{"photo_id":"1326841408","filename":"file0"},{"photo_id":"1326841579","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326841408":["hashtag1","hashtag2"]},{"1326841416":["hashtag1","hashtag2"]},{"1326841409":["hashtag1","hashtag2"]},{"1326841579":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326841408, 1326841416, 1326841409, 1326841579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.044060945510864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:03:02.236430
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/01/image_05012025_03_01_02_341307_0003.jpg', '/home/pi/Desktop/images/05012025/03/02/image_05012025_03_02_02_894124_0000.jpg', '/home/pi/Desktop/images/05012025/03/02/image_05012025_03_02_02_894124_0001.jpg', '/home/pi/Desktop/images/05012025/03/02/image_05012025_03_02_02_894124_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/03/01/image_05012025_03_01_02_341307_0003.jpg
/home/pi/Desktop/images/05012025/03/02/image_05012025_03_02_02_894124_0000.jpg
/home/pi/Desktop/images/05012025/03/02/image_05012025_03_02_02_894124_0001.jpg
/home/pi/Desktop/images/05012025/03/02/image_05012025_03_02_02_894124_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326842169","1326842171","1326842153","1326842167"],"photo_ids_order":["1326842153","1326842167","1326842169","1326842171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/208b74dc587eeb3c0e8d949d3b64c4ef.jpg","text":"TemporaryFile(/tmp/multipartBody7849112449968330064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042652590,"filename":"image_05012025_03_02_02_894124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aae19d83da3ed0cc94e4e2ea8df91df0.jpg","text":"TemporaryFile(/tmp/multipartBody8787542732036144472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042652590,"filename":"image_05012025_03_02_02_894124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6e2a0f854d27e43ea8c4b9661dd563f2.jpg","text":"TemporaryFile(/tmp/multipartBody8278505119486199333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042652590,"filename":"image_05012025_03_01_02_341307_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2e3c80e6691a08bf96a8119cb1400f34.jpg","text":"TemporaryFile(/tmp/multipartBody6830891832288885617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042652590,"filename":"image_05012025_03_02_02_894124_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326842169","file1":"1326842167","file0":"1326842153","file3":"1326842171"},"map_files_photo_id_array":[{"photo_id":"1326842169","filename":"file2"},{"photo_id":"1326842167","filename":"file1"},{"photo_id":"1326842153","filename":"file0"},{"photo_id":"1326842171","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326842169":["hashtag1","hashtag2"]},{"1326842171":["hashtag1","hashtag2"]},{"1326842153":["hashtag1","hashtag2"]},{"1326842167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326842169, 1326842171, 1326842153, 1326842167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.15048813819885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:04:02.829382
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/02/image_05012025_03_02_02_894124_0003.jpg', '/home/pi/Desktop/images/05012025/03/03/image_05012025_03_03_02_610624_0000.jpg', '/home/pi/Desktop/images/05012025/03/03/image_05012025_03_03_02_610624_0001.jpg', '/home/pi/Desktop/images/05012025/03/03/image_05012025_03_03_02_610624_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/03/02/image_05012025_03_02_02_894124_0003.jpg
/home/pi/Desktop/images/05012025/03/03/image_05012025_03_03_02_610624_0000.jpg
/home/pi/Desktop/images/05012025/03/03/image_05012025_03_03_02_610624_0001.jpg
/home/pi/Desktop/images/05012025/03/03/image_05012025_03_03_02_610624_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.874338150024414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:04:22.408524
SELECT 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/03/02/image_05012025_03_02_02_894124_0003.jpg', '/home/pi/Desktop/images/05012025/03/03/image_05012025_03_03_02_610624_0000.jpg', '/home/pi/Desktop/images/05012025/03/03/image_05012025_03_03_02_610624_0001.jpg', '/home/pi/Desktop/images/05012025/03/03/image_05012025_03_03_02_610624_0002.jpg', '/home/pi/Desktop/images/05012025/03/03/image_05012025_03_03_02_610624_0003.jpg', '/home/pi/Desktop/images/05012025/03/04/image_05012025_03_04_02_126516_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/03/02/image_05012025_03_02_02_894124_0003.jpg
/home/pi/Desktop/images/05012025/03/03/image_05012025_03_03_02_610624_0000.jpg
/home/pi/Desktop/images/05012025/03/03/image_05012025_03_03_02_610624_0001.jpg
/home/pi/Desktop/images/05012025/03/03/image_05012025_03_03_02_610624_0002.jpg
/home/pi/Desktop/images/05012025/03/03/image_05012025_03_03_02_610624_0003.jpg
/home/pi/Desktop/images/05012025/03/04/image_05012025_03_04_02_126516_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326842227","1326842223","1326842217","1326842225","1326842221","1326842215"],"photo_ids_order":["1326842215","1326842217","1326842221","1326842223","1326842225","1326842227"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7baaedaa3e9817429b049eb575b111a3.jpg","text":"TemporaryFile(/tmp/multipartBody7777726519771463119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042737487,"filename":"image_05012025_03_04_02_126516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2728aebda7cdf7ef8746c4614919228.jpg","text":"TemporaryFile(/tmp/multipartBody5875515853180973766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042737487,"filename":"image_05012025_03_03_02_610624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f4aa880175f4c16fca8f70dfa5950f75.jpg","text":"TemporaryFile(/tmp/multipartBody4813854033488668867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042737487,"filename":"image_05012025_03_03_02_610624_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2c94a23c7e1b980f5226358c833337eb.jpg","text":"TemporaryFile(/tmp/multipartBody2019155196019100310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042737487,"filename":"image_05012025_03_03_02_610624_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb7181beb020537fa913a481e1643660.jpg","text":"TemporaryFile(/tmp/multipartBody578109151019858607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042737487,"filename":"image_05012025_03_03_02_610624_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/58ca842bd0621a1404f87c4f1cee1ce1.jpg","text":"TemporaryFile(/tmp/multipartBody3148940282896706953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042737487,"filename":"image_05012025_03_02_02_894124_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326842221","file1":"1326842217","file0":"1326842215","file4":"1326842225","file5":"1326842227","file3":"1326842223"},"map_files_photo_id_array":[{"photo_id":"1326842227","filename":"file5"},{"photo_id":"1326842221","filename":"file2"},{"photo_id":"1326842225","filename":"file4"},{"photo_id":"1326842217","filename":"file1"},{"photo_id":"1326842215","filename":"file0"},{"photo_id":"1326842223","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326842227":["hashtag1","hashtag2"]},{"1326842223":["hashtag1","hashtag2"]},{"1326842217":["hashtag1","hashtag2"]},{"1326842225":["hashtag1","hashtag2"]},{"1326842221":["hashtag1","hashtag2"]},{"1326842215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326842227, 1326842223, 1326842217, 1326842225, 1326842221, 1326842215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.205687522888184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:05:21.986720
SELECT 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/03/04/image_05012025_03_04_02_126516_0001.jpg', '/home/pi/Desktop/images/05012025/03/04/image_05012025_03_04_02_126516_0002.jpg', '/home/pi/Desktop/images/05012025/03/04/image_05012025_03_04_02_126516_0003.jpg', '/home/pi/Desktop/images/05012025/03/05/image_05012025_03_05_02_743662_0000.jpg', '/home/pi/Desktop/images/05012025/03/05/image_05012025_03_05_02_743662_0001.jpg', '/home/pi/Desktop/images/05012025/03/05/image_05012025_03_05_02_743662_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/03/04/image_05012025_03_04_02_126516_0001.jpg
/home/pi/Desktop/images/05012025/03/04/image_05012025_03_04_02_126516_0002.jpg
/home/pi/Desktop/images/05012025/03/04/image_05012025_03_04_02_126516_0003.jpg
/home/pi/Desktop/images/05012025/03/05/image_05012025_03_05_02_743662_0000.jpg
/home/pi/Desktop/images/05012025/03/05/image_05012025_03_05_02_743662_0001.jpg
/home/pi/Desktop/images/05012025/03/05/image_05012025_03_05_02_743662_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":["1326842259","1326842253","1326842261","1326842255","1326842251","1326842257"],"photo_ids_order":["1326842251","1326842253","1326842255","1326842257","1326842259","1326842261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8410dbf4485043af02bb4ab953cd0802.jpg","text":"TemporaryFile(/tmp/multipartBody5710688161745349554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042796816,"filename":"image_05012025_03_05_02_743662_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/782ca46fb910d8d7cfad18af8043c962.jpg","text":"TemporaryFile(/tmp/multipartBody480224760162554604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042796816,"filename":"image_05012025_03_04_02_126516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bddbb3f3276867f4a17eed49fdfe7d07.jpg","text":"TemporaryFile(/tmp/multipartBody7014576050165349790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042796816,"filename":"image_05012025_03_05_02_743662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ae7a6a54293d89e349864984b603e7ae.jpg","text":"TemporaryFile(/tmp/multipartBody3205218650950577119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042796816,"filename":"image_05012025_03_04_02_126516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c1ba19a5af156875d632a26a87dad334.jpg","text":"TemporaryFile(/tmp/multipartBody273844304436136644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042796816,"filename":"image_05012025_03_04_02_126516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b1cd12f0941191c6f025d63f414942a9.jpg","text":"TemporaryFile(/tmp/multipartBody4531167357701985253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042796816,"filename":"image_05012025_03_05_02_743662_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326842255","file1":"1326842253","file0":"1326842251","file4":"1326842259","file5":"1326842261","file3":"1326842257"},"map_files_photo_id_array":[{"photo_id":"1326842261","filename":"file5"},{"photo_id":"1326842255","filename":"file2"},{"photo_id":"1326842259","filename":"file4"},{"photo_id":"1326842253","filename":"file1"},{"photo_id":"1326842251","filename":"file0"},{"photo_id":"1326842257","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326842259":["hashtag1","hashtag2"]},{"1326842253":["hashtag1","hashtag2"]},{"1326842261":["hashtag1","hashtag2"]},{"1326842255":["hashtag1","hashtag2"]},{"1326842251":["hashtag1","hashtag2"]},{"1326842257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326842259, 1326842253, 1326842261, 1326842255, 1326842251, 1326842257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.54487895965576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:07:03.033622
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/05/image_05012025_03_05_02_743662_0003.jpg', '/home/pi/Desktop/images/05012025/03/06/image_05012025_03_06_02_363686_0000.jpg', '/home/pi/Desktop/images/05012025/03/06/image_05012025_03_06_02_363686_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/03/05/image_05012025_03_05_02_743662_0003.jpg
/home/pi/Desktop/images/05012025/03/06/image_05012025_03_06_02_363686_0000.jpg
/home/pi/Desktop/images/05012025/03/06/image_05012025_03_06_02_363686_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.540221929550171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:07:22.390828
SELECT 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/03/05/image_05012025_03_05_02_743662_0003.jpg', '/home/pi/Desktop/images/05012025/03/06/image_05012025_03_06_02_363686_0000.jpg', '/home/pi/Desktop/images/05012025/03/06/image_05012025_03_06_02_363686_0001.jpg', '/home/pi/Desktop/images/05012025/03/06/image_05012025_03_06_02_363686_0003.jpg', '/home/pi/Desktop/images/05012025/03/07/image_05012025_03_07_02_322304_0000.jpg', '/home/pi/Desktop/images/05012025/03/07/image_05012025_03_07_02_322304_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/03/05/image_05012025_03_05_02_743662_0003.jpg
/home/pi/Desktop/images/05012025/03/06/image_05012025_03_06_02_363686_0000.jpg
/home/pi/Desktop/images/05012025/03/06/image_05012025_03_06_02_363686_0001.jpg
/home/pi/Desktop/images/05012025/03/06/image_05012025_03_06_02_363686_0003.jpg
/home/pi/Desktop/images/05012025/03/07/image_05012025_03_07_02_322304_0000.jpg
/home/pi/Desktop/images/05012025/03/07/image_05012025_03_07_02_322304_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326842460","1326842451","1326842454","1326842462","1326842456","1326842458"],"photo_ids_order":["1326842451","1326842454","1326842456","1326842458","1326842460","1326842462"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/30cab8064f03fdc7673d336a7927398f.jpg","text":"TemporaryFile(/tmp/multipartBody4495636410955685814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042917699,"filename":"image_05012025_03_07_02_322304_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e7093490dc87102336f8a9472a45c12a.jpg","text":"TemporaryFile(/tmp/multipartBody1509286171073497014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042917699,"filename":"image_05012025_03_05_02_743662_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88f32659788fab254765eb312cab9c66.jpg","text":"TemporaryFile(/tmp/multipartBody7378158372233535294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042917699,"filename":"image_05012025_03_06_02_363686_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f90e383169fa9a974afa5b8242243ba4.jpg","text":"TemporaryFile(/tmp/multipartBody6502777696593701131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042917699,"filename":"image_05012025_03_07_02_322304_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b018d964b21c5ed106d52adf08b4f25f.jpg","text":"TemporaryFile(/tmp/multipartBody7951956941740696254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042917699,"filename":"image_05012025_03_06_02_363686_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bd37f6700190374cf8acb3e85e3ebb4d.jpg","text":"TemporaryFile(/tmp/multipartBody6434751097013888626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042917699,"filename":"image_05012025_03_06_02_363686_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326842456","file1":"1326842454","file0":"1326842451","file4":"1326842460","file5":"1326842462","file3":"1326842458"},"map_files_photo_id_array":[{"photo_id":"1326842462","filename":"file5"},{"photo_id":"1326842456","filename":"file2"},{"photo_id":"1326842460","filename":"file4"},{"photo_id":"1326842454","filename":"file1"},{"photo_id":"1326842451","filename":"file0"},{"photo_id":"1326842458","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326842460":["hashtag1","hashtag2"]},{"1326842451":["hashtag1","hashtag2"]},{"1326842454":["hashtag1","hashtag2"]},{"1326842462":["hashtag1","hashtag2"]},{"1326842456":["hashtag1","hashtag2"]},{"1326842458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326842460, 1326842451, 1326842454, 1326842462, 1326842456, 1326842458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.657214403152466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:08:22.074663
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/07/image_05012025_03_07_02_322304_0002.jpg', '/home/pi/Desktop/images/05012025/03/07/image_05012025_03_07_02_322304_0003.jpg', '/home/pi/Desktop/images/05012025/03/08/image_05012025_03_08_02_808418_0000.jpg', '/home/pi/Desktop/images/05012025/03/08/image_05012025_03_08_02_808418_0001.jpg', '/home/pi/Desktop/images/05012025/03/08/image_05012025_03_08_02_808418_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/03/07/image_05012025_03_07_02_322304_0002.jpg
/home/pi/Desktop/images/05012025/03/07/image_05012025_03_07_02_322304_0003.jpg
/home/pi/Desktop/images/05012025/03/08/image_05012025_03_08_02_808418_0000.jpg
/home/pi/Desktop/images/05012025/03/08/image_05012025_03_08_02_808418_0001.jpg
/home/pi/Desktop/images/05012025/03/08/image_05012025_03_08_02_808418_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326842475","1326842469","1326842463","1326842472","1326842465"],"photo_ids_order":["1326842463","1326842465","1326842469","1326842472","1326842475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/de570c4c01aa75b75eaeb79675c9bb1a.jpg","text":"TemporaryFile(/tmp/multipartBody2443160964291549381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042974867,"filename":"image_05012025_03_08_02_808418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/17e5e6ab9281d313b7922213c09a4144.jpg","text":"TemporaryFile(/tmp/multipartBody1355122984184567829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042974867,"filename":"image_05012025_03_08_02_808418_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62c49ad68daaa3655aea39fa001edbc9.jpg","text":"TemporaryFile(/tmp/multipartBody1915433841803772063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042974867,"filename":"image_05012025_03_07_02_322304_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ff174819e7786c024f6465817b6cedcf.jpg","text":"TemporaryFile(/tmp/multipartBody5980162396604003854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042974867,"filename":"image_05012025_03_08_02_808418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0112a5d17c18a7d122d031d1324dfbb4.jpg","text":"TemporaryFile(/tmp/multipartBody3027903605151101510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736042974867,"filename":"image_05012025_03_07_02_322304_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326842469","file1":"1326842465","file0":"1326842463","file4":"1326842475","file3":"1326842472"},"map_files_photo_id_array":[{"photo_id":"1326842469","filename":"file2"},{"photo_id":"1326842475","filename":"file4"},{"photo_id":"1326842465","filename":"file1"},{"photo_id":"1326842463","filename":"file0"},{"photo_id":"1326842472","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326842475":["hashtag1","hashtag2"]},{"1326842469":["hashtag1","hashtag2"]},{"1326842463":["hashtag1","hashtag2"]},{"1326842472":["hashtag1","hashtag2"]},{"1326842465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326842475, 1326842469, 1326842463, 1326842472, 1326842465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.200273275375366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:09:22.572608
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/08/image_05012025_03_08_02_808418_0003.jpg', '/home/pi/Desktop/images/05012025/03/09/image_05012025_03_09_02_453023_0000.jpg', '/home/pi/Desktop/images/05012025/03/09/image_05012025_03_09_02_453023_0001.jpg', '/home/pi/Desktop/images/05012025/03/09/image_05012025_03_09_02_453023_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/03/08/image_05012025_03_08_02_808418_0003.jpg
/home/pi/Desktop/images/05012025/03/09/image_05012025_03_09_02_453023_0000.jpg
/home/pi/Desktop/images/05012025/03/09/image_05012025_03_09_02_453023_0001.jpg
/home/pi/Desktop/images/05012025/03/09/image_05012025_03_09_02_453023_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326842511","1326842505","1326842508","1326842513"],"photo_ids_order":["1326842505","1326842508","1326842511","1326842513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5fcc55f3907988e35e3193d606c2e153.jpg","text":"TemporaryFile(/tmp/multipartBody7914277257443936026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043032814,"filename":"image_05012025_03_09_02_453023_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c68cea69acdc04ac192d5da1f7fe8a3.jpg","text":"TemporaryFile(/tmp/multipartBody4488866233568908477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043032814,"filename":"image_05012025_03_08_02_808418_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/64240a6b91c16eb928eee8df22e22317.jpg","text":"TemporaryFile(/tmp/multipartBody4226640591403035426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043032814,"filename":"image_05012025_03_09_02_453023_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e84d7b91987f593cab9c016e11725f52.jpg","text":"TemporaryFile(/tmp/multipartBody2420661998554007755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043032814,"filename":"image_05012025_03_09_02_453023_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326842511","file1":"1326842508","file0":"1326842505","file3":"1326842513"},"map_files_photo_id_array":[{"photo_id":"1326842511","filename":"file2"},{"photo_id":"1326842508","filename":"file1"},{"photo_id":"1326842505","filename":"file0"},{"photo_id":"1326842513","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326842511":["hashtag1","hashtag2"]},{"1326842505":["hashtag1","hashtag2"]},{"1326842508":["hashtag1","hashtag2"]},{"1326842513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326842511, 1326842505, 1326842508, 1326842513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.376078605651855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:10:02.404182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:10:22.088627
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/09/image_05012025_03_09_02_453023_0003.jpg', '/home/pi/Desktop/images/05012025/03/10/image_05012025_03_10_03_003624_0000.jpg', '/home/pi/Desktop/images/05012025/03/10/image_05012025_03_10_03_003624_0001.jpg', '/home/pi/Desktop/images/05012025/03/10/image_05012025_03_10_03_003624_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/03/09/image_05012025_03_09_02_453023_0003.jpg
/home/pi/Desktop/images/05012025/03/10/image_05012025_03_10_03_003624_0000.jpg
/home/pi/Desktop/images/05012025/03/10/image_05012025_03_10_03_003624_0001.jpg
/home/pi/Desktop/images/05012025/03/10/image_05012025_03_10_03_003624_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.079953670501709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:11:03.163416
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/09/image_05012025_03_09_02_453023_0003.jpg', '/home/pi/Desktop/images/05012025/03/10/image_05012025_03_10_03_003624_0000.jpg', '/home/pi/Desktop/images/05012025/03/10/image_05012025_03_10_03_003624_0001.jpg', '/home/pi/Desktop/images/05012025/03/10/image_05012025_03_10_03_003624_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/03/09/image_05012025_03_09_02_453023_0003.jpg
/home/pi/Desktop/images/05012025/03/10/image_05012025_03_10_03_003624_0000.jpg
/home/pi/Desktop/images/05012025/03/10/image_05012025_03_10_03_003624_0001.jpg
/home/pi/Desktop/images/05012025/03/10/image_05012025_03_10_03_003624_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326842526","1326842529","1326842531","1326842527"],"photo_ids_order":["1326842526","1326842527","1326842529","1326842531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c17953eb97c34e5e29bbf36d53da5abd.jpg","text":"TemporaryFile(/tmp/multipartBody1917739825235812403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043133714,"filename":"image_05012025_03_09_02_453023_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d34d3ad8da5c31367fc9b3433fe82a26.jpg","text":"TemporaryFile(/tmp/multipartBody4655213711668756623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043133714,"filename":"image_05012025_03_10_03_003624_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/decc1fd21e61db71917059d9ea3bcfd9.jpg","text":"TemporaryFile(/tmp/multipartBody5694793453929972489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043133714,"filename":"image_05012025_03_10_03_003624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e81b141ef2fc167d9f4b87953c2de35c.jpg","text":"TemporaryFile(/tmp/multipartBody2489351776024949384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043133714,"filename":"image_05012025_03_10_03_003624_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326842529","file1":"1326842527","file0":"1326842526","file3":"1326842531"},"map_files_photo_id_array":[{"photo_id":"1326842529","filename":"file2"},{"photo_id":"1326842527","filename":"file1"},{"photo_id":"1326842526","filename":"file0"},{"photo_id":"1326842531","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326842526":["hashtag1","hashtag2"]},{"1326842529":["hashtag1","hashtag2"]},{"1326842531":["hashtag1","hashtag2"]},{"1326842527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326842526, 1326842529, 1326842531, 1326842527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44879746437073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:12:02.568483
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/10/image_05012025_03_10_03_003624_0003.jpg', '/home/pi/Desktop/images/05012025/03/11/image_05012025_03_11_02_449433_0000.jpg', '/home/pi/Desktop/images/05012025/03/11/image_05012025_03_11_02_449433_0001.jpg', '/home/pi/Desktop/images/05012025/03/11/image_05012025_03_11_02_449433_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/03/10/image_05012025_03_10_03_003624_0003.jpg
/home/pi/Desktop/images/05012025/03/11/image_05012025_03_11_02_449433_0000.jpg
/home/pi/Desktop/images/05012025/03/11/image_05012025_03_11_02_449433_0001.jpg
/home/pi/Desktop/images/05012025/03/11/image_05012025_03_11_02_449433_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.15723180770874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:12:22.123738
SELECT 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/03/10/image_05012025_03_10_03_003624_0003.jpg', '/home/pi/Desktop/images/05012025/03/11/image_05012025_03_11_02_449433_0000.jpg', '/home/pi/Desktop/images/05012025/03/11/image_05012025_03_11_02_449433_0001.jpg', '/home/pi/Desktop/images/05012025/03/11/image_05012025_03_11_02_449433_0002.jpg', '/home/pi/Desktop/images/05012025/03/11/image_05012025_03_11_02_449433_0003.jpg', '/home/pi/Desktop/images/05012025/03/12/image_05012025_03_12_02_951729_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/03/10/image_05012025_03_10_03_003624_0003.jpg
/home/pi/Desktop/images/05012025/03/11/image_05012025_03_11_02_449433_0000.jpg
/home/pi/Desktop/images/05012025/03/11/image_05012025_03_11_02_449433_0001.jpg
/home/pi/Desktop/images/05012025/03/11/image_05012025_03_11_02_449433_0002.jpg
/home/pi/Desktop/images/05012025/03/11/image_05012025_03_11_02_449433_0003.jpg
/home/pi/Desktop/images/05012025/03/12/image_05012025_03_12_02_951729_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326842553","1326842546","1326842555","1326842549","1326842557","1326842551"],"photo_ids_order":["1326842546","1326842549","1326842551","1326842553","1326842555","1326842557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e40dd6bf132fc8144c2385ec8230e5d0.jpg","text":"TemporaryFile(/tmp/multipartBody2516188002088704076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043217553,"filename":"image_05012025_03_11_02_449433_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/75b9ef09e21a4df90ffad1b11fde919d.jpg","text":"TemporaryFile(/tmp/multipartBody3147013390262379789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043217553,"filename":"image_05012025_03_10_03_003624_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2a29f876704abee07a3d20ef586570d.jpg","text":"TemporaryFile(/tmp/multipartBody7598988328892174142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043217553,"filename":"image_05012025_03_11_02_449433_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f1ab77d879ea4c02e77318d215a7d3a.jpg","text":"TemporaryFile(/tmp/multipartBody4009527082276119662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043217553,"filename":"image_05012025_03_11_02_449433_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/31bfd7f87186250a98a75dc93bd27c2e.jpg","text":"TemporaryFile(/tmp/multipartBody3447001955822410443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043217553,"filename":"image_05012025_03_12_02_951729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3e0dbbda3b93154385f0c509f8cad4ce.jpg","text":"TemporaryFile(/tmp/multipartBody3237108154492073621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043217553,"filename":"image_05012025_03_11_02_449433_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326842551","file1":"1326842549","file0":"1326842546","file4":"1326842555","file5":"1326842557","file3":"1326842553"},"map_files_photo_id_array":[{"photo_id":"1326842557","filename":"file5"},{"photo_id":"1326842551","filename":"file2"},{"photo_id":"1326842555","filename":"file4"},{"photo_id":"1326842549","filename":"file1"},{"photo_id":"1326842546","filename":"file0"},{"photo_id":"1326842553","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326842553":["hashtag1","hashtag2"]},{"1326842546":["hashtag1","hashtag2"]},{"1326842555":["hashtag1","hashtag2"]},{"1326842549":["hashtag1","hashtag2"]},{"1326842557":["hashtag1","hashtag2"]},{"1326842551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326842553, 1326842546, 1326842555, 1326842549, 1326842557, 1326842551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.63574719429016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:13:22.689683
SELECT 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/03/12/image_05012025_03_12_02_951729_0001.jpg', '/home/pi/Desktop/images/05012025/03/12/image_05012025_03_12_02_951729_0002.jpg', '/home/pi/Desktop/images/05012025/03/12/image_05012025_03_12_02_951729_0003.jpg', '/home/pi/Desktop/images/05012025/03/13/image_05012025_03_13_02_545618_0000.jpg', '/home/pi/Desktop/images/05012025/03/13/image_05012025_03_13_02_545618_0001.jpg', '/home/pi/Desktop/images/05012025/03/13/image_05012025_03_13_02_545618_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/03/12/image_05012025_03_12_02_951729_0001.jpg
/home/pi/Desktop/images/05012025/03/12/image_05012025_03_12_02_951729_0002.jpg
/home/pi/Desktop/images/05012025/03/12/image_05012025_03_12_02_951729_0003.jpg
/home/pi/Desktop/images/05012025/03/13/image_05012025_03_13_02_545618_0000.jpg
/home/pi/Desktop/images/05012025/03/13/image_05012025_03_13_02_545618_0001.jpg
/home/pi/Desktop/images/05012025/03/13/image_05012025_03_13_02_545618_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326842568","1326842562","1326842570","1326842573","1326842566","1326842560"],"photo_ids_order":["1326842560","1326842562","1326842566","1326842568","1326842570","1326842573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/07d7f8da2bb3eb7685f65907437817bf.jpg","text":"TemporaryFile(/tmp/multipartBody8673078723421418361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043277996,"filename":"image_05012025_03_13_02_545618_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/38120e9ea7f058e3770275a75363959e.jpg","text":"TemporaryFile(/tmp/multipartBody3557993514232975082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043277996,"filename":"image_05012025_03_12_02_951729_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d29814e61e6448e2173521356be9de83.jpg","text":"TemporaryFile(/tmp/multipartBody7730325329968197139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043277996,"filename":"image_05012025_03_13_02_545618_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c7d23b47ee683f623f60b9fa9bd70101.jpg","text":"TemporaryFile(/tmp/multipartBody3140857628345521979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043277996,"filename":"image_05012025_03_13_02_545618_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4b157d26837bc5c2d73273659063c4eb.jpg","text":"TemporaryFile(/tmp/multipartBody4902933380325551303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043277996,"filename":"image_05012025_03_12_02_951729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ae4e770863c146d38cbb4d8b830c35d8.jpg","text":"TemporaryFile(/tmp/multipartBody2751895863129460431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043277996,"filename":"image_05012025_03_12_02_951729_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326842566","file1":"1326842562","file0":"1326842560","file4":"1326842570","file5":"1326842573","file3":"1326842568"},"map_files_photo_id_array":[{"photo_id":"1326842573","filename":"file5"},{"photo_id":"1326842566","filename":"file2"},{"photo_id":"1326842570","filename":"file4"},{"photo_id":"1326842562","filename":"file1"},{"photo_id":"1326842560","filename":"file0"},{"photo_id":"1326842568","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326842568":["hashtag1","hashtag2"]},{"1326842562":["hashtag1","hashtag2"]},{"1326842570":["hashtag1","hashtag2"]},{"1326842573":["hashtag1","hashtag2"]},{"1326842566":["hashtag1","hashtag2"]},{"1326842560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326842568, 1326842562, 1326842570, 1326842573, 1326842566, 1326842560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.83782434463501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:14:22.182596
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/13/image_05012025_03_13_02_545618_0003.jpg', '/home/pi/Desktop/images/05012025/03/14/image_05012025_03_14_03_051842_0000.jpg', '/home/pi/Desktop/images/05012025/03/14/image_05012025_03_14_03_051842_0001.jpg', '/home/pi/Desktop/images/05012025/03/14/image_05012025_03_14_03_051842_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/03/13/image_05012025_03_13_02_545618_0003.jpg
/home/pi/Desktop/images/05012025/03/14/image_05012025_03_14_03_051842_0000.jpg
/home/pi/Desktop/images/05012025/03/14/image_05012025_03_14_03_051842_0001.jpg
/home/pi/Desktop/images/05012025/03/14/image_05012025_03_14_03_051842_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326842583","1326842616","1326842672","1326842677"],"photo_ids_order":["1326842583","1326842616","1326842672","1326842677"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a01cc4515507aa520f2830f4e2b96367.jpg","text":"TemporaryFile(/tmp/multipartBody3376059722120656617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043332584,"filename":"image_05012025_03_13_02_545618_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/41abdac8a59fa7fdf0d10b2c7bd014e0.jpg","text":"TemporaryFile(/tmp/multipartBody8539765752666133686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043332584,"filename":"image_05012025_03_14_03_051842_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f53ad90015f4be17d4a853e7b864e170.jpg","text":"TemporaryFile(/tmp/multipartBody2575765225174787866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043332584,"filename":"image_05012025_03_14_03_051842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2d956e4acc745acc46d5bd767564664b.jpg","text":"TemporaryFile(/tmp/multipartBody1966606341198375826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043332584,"filename":"image_05012025_03_14_03_051842_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326842672","file1":"1326842616","file0":"1326842583","file3":"1326842677"},"map_files_photo_id_array":[{"photo_id":"1326842672","filename":"file2"},{"photo_id":"1326842616","filename":"file1"},{"photo_id":"1326842583","filename":"file0"},{"photo_id":"1326842677","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326842583":["hashtag1","hashtag2"]},{"1326842616":["hashtag1","hashtag2"]},{"1326842672":["hashtag1","hashtag2"]},{"1326842677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326842583, 1326842616, 1326842672, 1326842677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.24819278717041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:15:22.773075
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/14/image_05012025_03_14_03_051842_0003.jpg', '/home/pi/Desktop/images/05012025/03/15/image_05012025_03_15_02_587295_0000.jpg', '/home/pi/Desktop/images/05012025/03/15/image_05012025_03_15_02_587295_0001.jpg', '/home/pi/Desktop/images/05012025/03/15/image_05012025_03_15_02_587295_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/03/14/image_05012025_03_14_03_051842_0003.jpg
/home/pi/Desktop/images/05012025/03/15/image_05012025_03_15_02_587295_0000.jpg
/home/pi/Desktop/images/05012025/03/15/image_05012025_03_15_02_587295_0001.jpg
/home/pi/Desktop/images/05012025/03/15/image_05012025_03_15_02_587295_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326842694","1326842730","1326842706","1326842696"],"photo_ids_order":["1326842694","1326842696","1326842706","1326842730"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/df57851854db55fbbe6a8f963b6b5a3d.jpg","text":"TemporaryFile(/tmp/multipartBody5063750241946919783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043393087,"filename":"image_05012025_03_14_03_051842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/32cb8c28b12300ee9cd343ca0fdc2da4.jpg","text":"TemporaryFile(/tmp/multipartBody7314668783556592556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043393087,"filename":"image_05012025_03_15_02_587295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7aec2fa4768a5ef1b7a0af907ad2e73d.jpg","text":"TemporaryFile(/tmp/multipartBody4689996348235182726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043393087,"filename":"image_05012025_03_15_02_587295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cb0baefced16c69a242555ffc3e62a34.jpg","text":"TemporaryFile(/tmp/multipartBody8046212863808064512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043393087,"filename":"image_05012025_03_15_02_587295_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326842706","file1":"1326842696","file0":"1326842694","file3":"1326842730"},"map_files_photo_id_array":[{"photo_id":"1326842706","filename":"file2"},{"photo_id":"1326842696","filename":"file1"},{"photo_id":"1326842694","filename":"file0"},{"photo_id":"1326842730","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326842694":["hashtag1","hashtag2"]},{"1326842730":["hashtag1","hashtag2"]},{"1326842706":["hashtag1","hashtag2"]},{"1326842696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326842694, 1326842730, 1326842706, 1326842696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2383987903595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:16:22.258256
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/15/image_05012025_03_15_02_587295_0003.jpg', '/home/pi/Desktop/images/05012025/03/16/image_05012025_03_16_03_051745_0000.jpg', '/home/pi/Desktop/images/05012025/03/16/image_05012025_03_16_03_051745_0001.jpg', '/home/pi/Desktop/images/05012025/03/16/image_05012025_03_16_03_051745_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/03/15/image_05012025_03_15_02_587295_0003.jpg
/home/pi/Desktop/images/05012025/03/16/image_05012025_03_16_03_051745_0000.jpg
/home/pi/Desktop/images/05012025/03/16/image_05012025_03_16_03_051745_0001.jpg
/home/pi/Desktop/images/05012025/03/16/image_05012025_03_16_03_051745_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326843378","1326843372","1326843375","1326843369"],"photo_ids_order":["1326843369","1326843372","1326843375","1326843378"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3fd602cb0a2e4a88c7d8ff88b9e010d1.jpg","text":"TemporaryFile(/tmp/multipartBody2201416949374510413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043452733,"filename":"image_05012025_03_16_03_051745_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/915e61109f0e6a0bcfe5dc7351924053.jpg","text":"TemporaryFile(/tmp/multipartBody8832606154954225132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043452733,"filename":"image_05012025_03_16_03_051745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c44372fba861f5a1f3107aaf322a08c7.jpg","text":"TemporaryFile(/tmp/multipartBody2487177225034764006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043452733,"filename":"image_05012025_03_16_03_051745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ee2e9a8fe36dd51c783db8171df0bc83.jpg","text":"TemporaryFile(/tmp/multipartBody8896379645538687198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043452733,"filename":"image_05012025_03_15_02_587295_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326843375","file1":"1326843372","file0":"1326843369","file3":"1326843378"},"map_files_photo_id_array":[{"photo_id":"1326843375","filename":"file2"},{"photo_id":"1326843372","filename":"file1"},{"photo_id":"1326843369","filename":"file0"},{"photo_id":"1326843378","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326843378":["hashtag1","hashtag2"]},{"1326843372":["hashtag1","hashtag2"]},{"1326843375":["hashtag1","hashtag2"]},{"1326843369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326843378, 1326843372, 1326843375, 1326843369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.34868502616882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:17:03.298801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:17:22.681908
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/16/image_05012025_03_16_03_051745_0003.jpg', '/home/pi/Desktop/images/05012025/03/17/image_05012025_03_17_02_608213_0000.jpg', '/home/pi/Desktop/images/05012025/03/17/image_05012025_03_17_02_608213_0001.jpg', '/home/pi/Desktop/images/05012025/03/17/image_05012025_03_17_02_608213_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/03/16/image_05012025_03_16_03_051745_0003.jpg
/home/pi/Desktop/images/05012025/03/17/image_05012025_03_17_02_608213_0000.jpg
/home/pi/Desktop/images/05012025/03/17/image_05012025_03_17_02_608213_0001.jpg
/home/pi/Desktop/images/05012025/03/17/image_05012025_03_17_02_608213_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326843389","1326843391","1326843393","1326843387"],"photo_ids_order":["1326843387","1326843389","1326843391","1326843393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/faed8494b83e9eef0cce81f1da450da9.jpg","text":"TemporaryFile(/tmp/multipartBody3261313173529249771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043513181,"filename":"image_05012025_03_17_02_608213_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1de176908bdbcc5b0d6c67a889c7a7a6.jpg","text":"TemporaryFile(/tmp/multipartBody2165869704475842354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043513181,"filename":"image_05012025_03_17_02_608213_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b49e77b69d97f03b1a7bf093b1386a92.jpg","text":"TemporaryFile(/tmp/multipartBody1394914870964280633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043513181,"filename":"image_05012025_03_17_02_608213_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ee86dc65e4e002c8d5ff1f850104dca8.jpg","text":"TemporaryFile(/tmp/multipartBody1373193911364113861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043513181,"filename":"image_05012025_03_16_03_051745_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326843391","file1":"1326843389","file0":"1326843387","file3":"1326843393"},"map_files_photo_id_array":[{"photo_id":"1326843391","filename":"file2"},{"photo_id":"1326843389","filename":"file1"},{"photo_id":"1326843387","filename":"file0"},{"photo_id":"1326843393","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326843389":["hashtag1","hashtag2"]},{"1326843391":["hashtag1","hashtag2"]},{"1326843393":["hashtag1","hashtag2"]},{"1326843387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326843389, 1326843391, 1326843393, 1326843387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.82323622703552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:18:22.444194
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/17/image_05012025_03_17_02_608213_0003.jpg', '/home/pi/Desktop/images/05012025/03/18/image_05012025_03_18_03_163266_0000.jpg', '/home/pi/Desktop/images/05012025/03/18/image_05012025_03_18_03_163266_0001.jpg', '/home/pi/Desktop/images/05012025/03/18/image_05012025_03_18_03_163266_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/03/17/image_05012025_03_17_02_608213_0003.jpg
/home/pi/Desktop/images/05012025/03/18/image_05012025_03_18_03_163266_0000.jpg
/home/pi/Desktop/images/05012025/03/18/image_05012025_03_18_03_163266_0001.jpg
/home/pi/Desktop/images/05012025/03/18/image_05012025_03_18_03_163266_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326843416","1326843404","1326843397","1326843399"],"photo_ids_order":["1326843397","1326843399","1326843404","1326843416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/750bf114e98e56d8517976cf72f06319.jpg","text":"TemporaryFile(/tmp/multipartBody611687184976183702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043573054,"filename":"image_05012025_03_18_03_163266_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a843306fbbd7bc708dd0a8411788df8b.jpg","text":"TemporaryFile(/tmp/multipartBody1267098077680064300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043573054,"filename":"image_05012025_03_18_03_163266_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e17d07de1f954b3d9902e18252f4b338.jpg","text":"TemporaryFile(/tmp/multipartBody782310051983215929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043573054,"filename":"image_05012025_03_17_02_608213_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b077243c21afd9842296c71a13d40c2e.jpg","text":"TemporaryFile(/tmp/multipartBody1645533359636874702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043573054,"filename":"image_05012025_03_18_03_163266_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326843404","file1":"1326843399","file0":"1326843397","file3":"1326843416"},"map_files_photo_id_array":[{"photo_id":"1326843404","filename":"file2"},{"photo_id":"1326843399","filename":"file1"},{"photo_id":"1326843397","filename":"file0"},{"photo_id":"1326843416","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326843416":["hashtag1","hashtag2"]},{"1326843404":["hashtag1","hashtag2"]},{"1326843397":["hashtag1","hashtag2"]},{"1326843399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326843416, 1326843404, 1326843397, 1326843399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.536165714263916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:19:21.979664
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/18/image_05012025_03_18_03_163266_0003.jpg', '/home/pi/Desktop/images/05012025/03/19/image_05012025_03_19_02_868387_0000.jpg', '/home/pi/Desktop/images/05012025/03/19/image_05012025_03_19_02_868387_0001.jpg', '/home/pi/Desktop/images/05012025/03/19/image_05012025_03_19_02_868387_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/03/18/image_05012025_03_18_03_163266_0003.jpg
/home/pi/Desktop/images/05012025/03/19/image_05012025_03_19_02_868387_0000.jpg
/home/pi/Desktop/images/05012025/03/19/image_05012025_03_19_02_868387_0001.jpg
/home/pi/Desktop/images/05012025/03/19/image_05012025_03_19_02_868387_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326843444","1326843446","1326843440","1326843442"],"photo_ids_order":["1326843440","1326843442","1326843444","1326843446"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/053e6002786aebd17079714c7532d110.jpg","text":"TemporaryFile(/tmp/multipartBody5246716158273748600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043632502,"filename":"image_05012025_03_19_02_868387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f6a49f5865051f0cbc09749fcf68e806.jpg","text":"TemporaryFile(/tmp/multipartBody6838037304495378194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043632502,"filename":"image_05012025_03_19_02_868387_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b2cacc358a6c27f5a61dcf64bd60a8fe.jpg","text":"TemporaryFile(/tmp/multipartBody558651218635891051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043632502,"filename":"image_05012025_03_18_03_163266_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/633bb44c7f389eea35dfd5ccc11a91cf.jpg","text":"TemporaryFile(/tmp/multipartBody4060542516617093186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043632502,"filename":"image_05012025_03_19_02_868387_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326843444","file1":"1326843442","file0":"1326843440","file3":"1326843446"},"map_files_photo_id_array":[{"photo_id":"1326843444","filename":"file2"},{"photo_id":"1326843442","filename":"file1"},{"photo_id":"1326843440","filename":"file0"},{"photo_id":"1326843446","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326843444":["hashtag1","hashtag2"]},{"1326843446":["hashtag1","hashtag2"]},{"1326843440":["hashtag1","hashtag2"]},{"1326843442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326843444, 1326843446, 1326843440, 1326843442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94119048118591 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:20:02.945583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:20:22.532982
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/19/image_05012025_03_19_02_868387_0003.jpg', '/home/pi/Desktop/images/05012025/03/20/image_05012025_03_20_02_416955_0000.jpg', '/home/pi/Desktop/images/05012025/03/20/image_05012025_03_20_02_416955_0001.jpg', '/home/pi/Desktop/images/05012025/03/20/image_05012025_03_20_02_416955_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/03/19/image_05012025_03_19_02_868387_0003.jpg
/home/pi/Desktop/images/05012025/03/20/image_05012025_03_20_02_416955_0000.jpg
/home/pi/Desktop/images/05012025/03/20/image_05012025_03_20_02_416955_0001.jpg
/home/pi/Desktop/images/05012025/03/20/image_05012025_03_20_02_416955_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.140398979187012 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:21:02.792786
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/19/image_05012025_03_19_02_868387_0003.jpg', '/home/pi/Desktop/images/05012025/03/20/image_05012025_03_20_02_416955_0000.jpg', '/home/pi/Desktop/images/05012025/03/20/image_05012025_03_20_02_416955_0001.jpg', '/home/pi/Desktop/images/05012025/03/20/image_05012025_03_20_02_416955_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/03/19/image_05012025_03_19_02_868387_0003.jpg
/home/pi/Desktop/images/05012025/03/20/image_05012025_03_20_02_416955_0000.jpg
/home/pi/Desktop/images/05012025/03/20/image_05012025_03_20_02_416955_0001.jpg
/home/pi/Desktop/images/05012025/03/20/image_05012025_03_20_02_416955_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326843485","1326843481","1326843483","1326843480"],"photo_ids_order":["1326843480","1326843481","1326843483","1326843485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7265fcc092962e3888c1f36c7f319f3e.jpg","text":"TemporaryFile(/tmp/multipartBody7084096665753853899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043733305,"filename":"image_05012025_03_20_02_416955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2201c6636393580d270aeae63cb18d3b.jpg","text":"TemporaryFile(/tmp/multipartBody6033642916939899914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043733305,"filename":"image_05012025_03_20_02_416955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/af98f74a8a45643fead0f6db47f2e34b.jpg","text":"TemporaryFile(/tmp/multipartBody7263554390283326902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043733305,"filename":"image_05012025_03_20_02_416955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6d2ac651b38304d641a666f0613207a2.jpg","text":"TemporaryFile(/tmp/multipartBody8810808157846855384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043733305,"filename":"image_05012025_03_19_02_868387_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326843483","file1":"1326843481","file0":"1326843480","file3":"1326843485"},"map_files_photo_id_array":[{"photo_id":"1326843483","filename":"file2"},{"photo_id":"1326843481","filename":"file1"},{"photo_id":"1326843480","filename":"file0"},{"photo_id":"1326843485","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326843485":["hashtag1","hashtag2"]},{"1326843481":["hashtag1","hashtag2"]},{"1326843483":["hashtag1","hashtag2"]},{"1326843480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326843485, 1326843481, 1326843483, 1326843480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.170090675354004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:22:02.186647
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/20/image_05012025_03_20_02_416955_0003.jpg', '/home/pi/Desktop/images/05012025/03/21/image_05012025_03_21_02_938152_0000.jpg', '/home/pi/Desktop/images/05012025/03/21/image_05012025_03_21_02_938152_0001.jpg', '/home/pi/Desktop/images/05012025/03/21/image_05012025_03_21_02_938152_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/03/20/image_05012025_03_20_02_416955_0003.jpg
/home/pi/Desktop/images/05012025/03/21/image_05012025_03_21_02_938152_0000.jpg
/home/pi/Desktop/images/05012025/03/21/image_05012025_03_21_02_938152_0001.jpg
/home/pi/Desktop/images/05012025/03/21/image_05012025_03_21_02_938152_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.016260147094727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:22:21.753035
SELECT 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/03/20/image_05012025_03_20_02_416955_0003.jpg', '/home/pi/Desktop/images/05012025/03/21/image_05012025_03_21_02_938152_0000.jpg', '/home/pi/Desktop/images/05012025/03/21/image_05012025_03_21_02_938152_0001.jpg', '/home/pi/Desktop/images/05012025/03/21/image_05012025_03_21_02_938152_0002.jpg', '/home/pi/Desktop/images/05012025/03/21/image_05012025_03_21_02_938152_0003.jpg', '/home/pi/Desktop/images/05012025/03/22/image_05012025_03_22_02_498704_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/03/20/image_05012025_03_20_02_416955_0003.jpg
/home/pi/Desktop/images/05012025/03/21/image_05012025_03_21_02_938152_0000.jpg
/home/pi/Desktop/images/05012025/03/21/image_05012025_03_21_02_938152_0001.jpg
/home/pi/Desktop/images/05012025/03/21/image_05012025_03_21_02_938152_0002.jpg
/home/pi/Desktop/images/05012025/03/21/image_05012025_03_21_02_938152_0003.jpg
/home/pi/Desktop/images/05012025/03/22/image_05012025_03_22_02_498704_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326843692","1326843698","1326843697","1326843694","1326843688","1326843690"],"photo_ids_order":["1326843688","1326843690","1326843692","1326843694","1326843697","1326843698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/359ed4d152ece0ed50391039e95e9019.jpg","text":"TemporaryFile(/tmp/multipartBody739053270007591220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043817079,"filename":"image_05012025_03_21_02_938152_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d8a4a7de4b6238ef48cd990384480db8.jpg","text":"TemporaryFile(/tmp/multipartBody3803658307373875300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043817079,"filename":"image_05012025_03_22_02_498704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d61cfbee8955749f690a2276fe070646.jpg","text":"TemporaryFile(/tmp/multipartBody130332191343915479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043817079,"filename":"image_05012025_03_21_02_938152_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f79e0f8bcb0139b2621f052eb2a02f32.jpg","text":"TemporaryFile(/tmp/multipartBody3912439244142466229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043817079,"filename":"image_05012025_03_21_02_938152_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6d787bc71c327f6e169f866513296258.jpg","text":"TemporaryFile(/tmp/multipartBody7333662927599432231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043817079,"filename":"image_05012025_03_20_02_416955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab1ee3974e2ab6768259a5de645ffcb4.jpg","text":"TemporaryFile(/tmp/multipartBody1120175237693246399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043817079,"filename":"image_05012025_03_21_02_938152_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326843692","file1":"1326843690","file0":"1326843688","file4":"1326843697","file5":"1326843698","file3":"1326843694"},"map_files_photo_id_array":[{"photo_id":"1326843698","filename":"file5"},{"photo_id":"1326843692","filename":"file2"},{"photo_id":"1326843697","filename":"file4"},{"photo_id":"1326843690","filename":"file1"},{"photo_id":"1326843688","filename":"file0"},{"photo_id":"1326843694","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326843692":["hashtag1","hashtag2"]},{"1326843698":["hashtag1","hashtag2"]},{"1326843697":["hashtag1","hashtag2"]},{"1326843694":["hashtag1","hashtag2"]},{"1326843688":["hashtag1","hashtag2"]},{"1326843690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326843692, 1326843698, 1326843697, 1326843694, 1326843688, 1326843690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.82843565940857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:23:22.278173
SELECT 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/03/22/image_05012025_03_22_02_498704_0001.jpg', '/home/pi/Desktop/images/05012025/03/22/image_05012025_03_22_02_498704_0002.jpg', '/home/pi/Desktop/images/05012025/03/22/image_05012025_03_22_02_498704_0003.jpg', '/home/pi/Desktop/images/05012025/03/23/image_05012025_03_23_02_100845_0000.jpg', '/home/pi/Desktop/images/05012025/03/23/image_05012025_03_23_02_100845_0001.jpg', '/home/pi/Desktop/images/05012025/03/23/image_05012025_03_23_02_100845_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/03/22/image_05012025_03_22_02_498704_0001.jpg
/home/pi/Desktop/images/05012025/03/22/image_05012025_03_22_02_498704_0002.jpg
/home/pi/Desktop/images/05012025/03/22/image_05012025_03_22_02_498704_0003.jpg
/home/pi/Desktop/images/05012025/03/23/image_05012025_03_23_02_100845_0000.jpg
/home/pi/Desktop/images/05012025/03/23/image_05012025_03_23_02_100845_0001.jpg
/home/pi/Desktop/images/05012025/03/23/image_05012025_03_23_02_100845_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":["1326843711","1326843705","1326843713","1326843707","1326843703","1326843709"],"photo_ids_order":["1326843703","1326843705","1326843707","1326843709","1326843711","1326843713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0647a9008b424fbf38f5a61f44e2bc9d.jpg","text":"TemporaryFile(/tmp/multipartBody5775001652144975557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043877779,"filename":"image_05012025_03_23_02_100845_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2052533886bc92169dd2d6679683045.jpg","text":"TemporaryFile(/tmp/multipartBody7160570231984590309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043877779,"filename":"image_05012025_03_22_02_498704_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4433385cbbc4b5a4671107ec84485fb7.jpg","text":"TemporaryFile(/tmp/multipartBody6610758430460488517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043877779,"filename":"image_05012025_03_23_02_100845_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8c129796520e645ea8748ad78dda3a4a.jpg","text":"TemporaryFile(/tmp/multipartBody8848151710664361949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043877779,"filename":"image_05012025_03_22_02_498704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fb70a4d2f673ef1e836c0036b7112802.jpg","text":"TemporaryFile(/tmp/multipartBody3183223570450527222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043877779,"filename":"image_05012025_03_22_02_498704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/497c086f80e8406c5dc48d2cfd9c9d24.jpg","text":"TemporaryFile(/tmp/multipartBody844914687238861171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043877779,"filename":"image_05012025_03_23_02_100845_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326843707","file1":"1326843705","file0":"1326843703","file4":"1326843711","file5":"1326843713","file3":"1326843709"},"map_files_photo_id_array":[{"photo_id":"1326843713","filename":"file5"},{"photo_id":"1326843707","filename":"file2"},{"photo_id":"1326843711","filename":"file4"},{"photo_id":"1326843705","filename":"file1"},{"photo_id":"1326843703","filename":"file0"},{"photo_id":"1326843709","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326843711":["hashtag1","hashtag2"]},{"1326843705":["hashtag1","hashtag2"]},{"1326843713":["hashtag1","hashtag2"]},{"1326843707":["hashtag1","hashtag2"]},{"1326843703":["hashtag1","hashtag2"]},{"1326843709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326843711, 1326843705, 1326843713, 1326843707, 1326843703, 1326843709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.26374816894531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:25:02.832712
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/23/image_05012025_03_23_02_100845_0003.jpg', '/home/pi/Desktop/images/05012025/03/24/image_05012025_03_24_02_594124_0000.jpg', '/home/pi/Desktop/images/05012025/03/24/image_05012025_03_24_02_594124_0001.jpg', '/home/pi/Desktop/images/05012025/03/24/image_05012025_03_24_02_594124_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/03/23/image_05012025_03_23_02_100845_0003.jpg
/home/pi/Desktop/images/05012025/03/24/image_05012025_03_24_02_594124_0000.jpg
/home/pi/Desktop/images/05012025/03/24/image_05012025_03_24_02_594124_0001.jpg
/home/pi/Desktop/images/05012025/03/24/image_05012025_03_24_02_594124_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.003261804580688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:25:22.223470
SELECT 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/03/23/image_05012025_03_23_02_100845_0003.jpg', '/home/pi/Desktop/images/05012025/03/24/image_05012025_03_24_02_594124_0000.jpg', '/home/pi/Desktop/images/05012025/03/24/image_05012025_03_24_02_594124_0001.jpg', '/home/pi/Desktop/images/05012025/03/24/image_05012025_03_24_02_594124_0002.jpg', '/home/pi/Desktop/images/05012025/03/24/image_05012025_03_24_02_594124_0003.jpg', '/home/pi/Desktop/images/05012025/03/25/image_05012025_03_25_03_036977_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/03/23/image_05012025_03_23_02_100845_0003.jpg
/home/pi/Desktop/images/05012025/03/24/image_05012025_03_24_02_594124_0000.jpg
/home/pi/Desktop/images/05012025/03/24/image_05012025_03_24_02_594124_0001.jpg
/home/pi/Desktop/images/05012025/03/24/image_05012025_03_24_02_594124_0002.jpg
/home/pi/Desktop/images/05012025/03/24/image_05012025_03_24_02_594124_0003.jpg
/home/pi/Desktop/images/05012025/03/25/image_05012025_03_25_03_036977_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326843782","1326843784","1326843778","1326843772","1326843775","1326843780"],"photo_ids_order":["1326843772","1326843775","1326843778","1326843780","1326843782","1326843784"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66a75da045fd81d00ea5e4dafb48df6a.jpg","text":"TemporaryFile(/tmp/multipartBody7802901062167640126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043997441,"filename":"image_05012025_03_24_02_594124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b5b065bbe64f40cc15c78b75bc47637.jpg","text":"TemporaryFile(/tmp/multipartBody8767338298973879630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043997441,"filename":"image_05012025_03_25_03_036977_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/29b7db409b5070571d24048ef1d9a0cb.jpg","text":"TemporaryFile(/tmp/multipartBody3348528804949563966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043997441,"filename":"image_05012025_03_24_02_594124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3aba9ee5fe57e450b033df0c9f745cf2.jpg","text":"TemporaryFile(/tmp/multipartBody5067575595547447631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043997441,"filename":"image_05012025_03_23_02_100845_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1a98dbc55f5611eb3ba814b6d67a7776.jpg","text":"TemporaryFile(/tmp/multipartBody5034006624410072062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043997441,"filename":"image_05012025_03_24_02_594124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/316ce5490b85851029358ac89b261cfb.jpg","text":"TemporaryFile(/tmp/multipartBody5569611185238064607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736043997441,"filename":"image_05012025_03_24_02_594124_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326843778","file1":"1326843775","file0":"1326843772","file4":"1326843782","file5":"1326843784","file3":"1326843780"},"map_files_photo_id_array":[{"photo_id":"1326843784","filename":"file5"},{"photo_id":"1326843778","filename":"file2"},{"photo_id":"1326843782","filename":"file4"},{"photo_id":"1326843775","filename":"file1"},{"photo_id":"1326843772","filename":"file0"},{"photo_id":"1326843780","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326843782":["hashtag1","hashtag2"]},{"1326843784":["hashtag1","hashtag2"]},{"1326843778":["hashtag1","hashtag2"]},{"1326843772":["hashtag1","hashtag2"]},{"1326843775":["hashtag1","hashtag2"]},{"1326843780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326843782, 1326843784, 1326843778, 1326843772, 1326843775, 1326843780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.146212339401245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:26:21.922564
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/25/image_05012025_03_25_03_036977_0001.jpg', '/home/pi/Desktop/images/05012025/03/25/image_05012025_03_25_03_036977_0002.jpg', '/home/pi/Desktop/images/05012025/03/26/image_05012025_03_26_02_596521_0000.jpg', '/home/pi/Desktop/images/05012025/03/26/image_05012025_03_26_02_596521_0001.jpg', '/home/pi/Desktop/images/05012025/03/26/image_05012025_03_26_02_596521_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/03/25/image_05012025_03_25_03_036977_0001.jpg
/home/pi/Desktop/images/05012025/03/25/image_05012025_03_25_03_036977_0002.jpg
/home/pi/Desktop/images/05012025/03/26/image_05012025_03_26_02_596521_0000.jpg
/home/pi/Desktop/images/05012025/03/26/image_05012025_03_26_02_596521_0001.jpg
/home/pi/Desktop/images/05012025/03/26/image_05012025_03_26_02_596521_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326843788","1326843796","1326843799","1326843790","1326843793"],"photo_ids_order":["1326843788","1326843790","1326843793","1326843796","1326843799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/99e32431c88e2936f0f2808cf258ff2d.jpg","text":"TemporaryFile(/tmp/multipartBody7163133586173296805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044054647,"filename":"image_05012025_03_25_03_036977_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/378b83694cb7c4b3bda8fea43d4ab960.jpg","text":"TemporaryFile(/tmp/multipartBody3298743750572915426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044054647,"filename":"image_05012025_03_26_02_596521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/325959e5afeed90a5d75a918525e6de7.jpg","text":"TemporaryFile(/tmp/multipartBody1220923453422795733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044054647,"filename":"image_05012025_03_26_02_596521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/50db90ddd0c818baec25a055d4027fde.jpg","text":"TemporaryFile(/tmp/multipartBody4914219654633711756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044054647,"filename":"image_05012025_03_25_03_036977_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/74877558f9d55f5197082b0e01b5d687.jpg","text":"TemporaryFile(/tmp/multipartBody4369524521827443750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044054647,"filename":"image_05012025_03_26_02_596521_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326843793","file1":"1326843790","file0":"1326843788","file4":"1326843799","file3":"1326843796"},"map_files_photo_id_array":[{"photo_id":"1326843793","filename":"file2"},{"photo_id":"1326843799","filename":"file4"},{"photo_id":"1326843790","filename":"file1"},{"photo_id":"1326843788","filename":"file0"},{"photo_id":"1326843796","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326843788":["hashtag1","hashtag2"]},{"1326843796":["hashtag1","hashtag2"]},{"1326843799":["hashtag1","hashtag2"]},{"1326843790":["hashtag1","hashtag2"]},{"1326843793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326843788, 1326843796, 1326843799, 1326843790, 1326843793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.078574657440186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:27:22.436908
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/26/image_05012025_03_26_02_596521_0003.jpg', '/home/pi/Desktop/images/05012025/03/27/image_05012025_03_27_02_305042_0000.jpg', '/home/pi/Desktop/images/05012025/03/27/image_05012025_03_27_02_305042_0001.jpg', '/home/pi/Desktop/images/05012025/03/27/image_05012025_03_27_02_305042_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/03/26/image_05012025_03_26_02_596521_0003.jpg
/home/pi/Desktop/images/05012025/03/27/image_05012025_03_27_02_305042_0000.jpg
/home/pi/Desktop/images/05012025/03/27/image_05012025_03_27_02_305042_0001.jpg
/home/pi/Desktop/images/05012025/03/27/image_05012025_03_27_02_305042_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326843822","1326843810","1326843820","1326843808"],"photo_ids_order":["1326843808","1326843810","1326843820","1326843822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1d870c8455b0f14a5bf770d43428f7e7.jpg","text":"TemporaryFile(/tmp/multipartBody434863019190614745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044112700,"filename":"image_05012025_03_27_02_305042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4c0d2b55da140921583c9e1090ed848b.jpg","text":"TemporaryFile(/tmp/multipartBody6958142497294017320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044112700,"filename":"image_05012025_03_27_02_305042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/086924e6e91252b1053e93ba1629e5c6.jpg","text":"TemporaryFile(/tmp/multipartBody6541046558008776917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044112700,"filename":"image_05012025_03_27_02_305042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d63f7c6bf42eea6d16ff6bbd7dc2940a.jpg","text":"TemporaryFile(/tmp/multipartBody2482599197965988789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044112700,"filename":"image_05012025_03_26_02_596521_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326843820","file1":"1326843810","file0":"1326843808","file3":"1326843822"},"map_files_photo_id_array":[{"photo_id":"1326843820","filename":"file2"},{"photo_id":"1326843810","filename":"file1"},{"photo_id":"1326843808","filename":"file0"},{"photo_id":"1326843822","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326843822":["hashtag1","hashtag2"]},{"1326843810":["hashtag1","hashtag2"]},{"1326843820":["hashtag1","hashtag2"]},{"1326843808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326843822, 1326843810, 1326843820, 1326843808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.3617799282074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:28:21.980617
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/27/image_05012025_03_27_02_305042_0003.jpg', '/home/pi/Desktop/images/05012025/03/28/image_05012025_03_28_02_805146_0000.jpg', '/home/pi/Desktop/images/05012025/03/28/image_05012025_03_28_02_805146_0001.jpg', '/home/pi/Desktop/images/05012025/03/28/image_05012025_03_28_02_805146_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/03/27/image_05012025_03_27_02_305042_0003.jpg
/home/pi/Desktop/images/05012025/03/28/image_05012025_03_28_02_805146_0000.jpg
/home/pi/Desktop/images/05012025/03/28/image_05012025_03_28_02_805146_0001.jpg
/home/pi/Desktop/images/05012025/03/28/image_05012025_03_28_02_805146_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326843854","1326843857","1326843851","1326843859"],"photo_ids_order":["1326843851","1326843854","1326843857","1326843859"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a54ad24c76c710f369da9f83ac0befac.jpg","text":"TemporaryFile(/tmp/multipartBody3175686058562918397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044172274,"filename":"image_05012025_03_28_02_805146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fa8410c2f27a52560af748e1490f95f7.jpg","text":"TemporaryFile(/tmp/multipartBody2853075784140216901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044172274,"filename":"image_05012025_03_28_02_805146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/298dc18d5ca0df44ebd99b63de071e78.jpg","text":"TemporaryFile(/tmp/multipartBody4816862951692593847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044172274,"filename":"image_05012025_03_27_02_305042_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d1190d4a4cda4b8eced267f6a2d710fc.jpg","text":"TemporaryFile(/tmp/multipartBody4459582980229277285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044172274,"filename":"image_05012025_03_28_02_805146_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326843857","file1":"1326843854","file0":"1326843851","file3":"1326843859"},"map_files_photo_id_array":[{"photo_id":"1326843857","filename":"file2"},{"photo_id":"1326843854","filename":"file1"},{"photo_id":"1326843851","filename":"file0"},{"photo_id":"1326843859","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326843854":["hashtag1","hashtag2"]},{"1326843857":["hashtag1","hashtag2"]},{"1326843851":["hashtag1","hashtag2"]},{"1326843859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326843854, 1326843857, 1326843851, 1326843859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.168299198150635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:29:03.026326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:29:22.334639
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/28/image_05012025_03_28_02_805146_0003.jpg', '/home/pi/Desktop/images/05012025/03/29/image_05012025_03_29_02_303157_0000.jpg', '/home/pi/Desktop/images/05012025/03/29/image_05012025_03_29_02_303157_0001.jpg', '/home/pi/Desktop/images/05012025/03/29/image_05012025_03_29_02_303157_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/03/28/image_05012025_03_28_02_805146_0003.jpg
/home/pi/Desktop/images/05012025/03/29/image_05012025_03_29_02_303157_0000.jpg
/home/pi/Desktop/images/05012025/03/29/image_05012025_03_29_02_303157_0001.jpg
/home/pi/Desktop/images/05012025/03/29/image_05012025_03_29_02_303157_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326843881","1326843883","1326843885","1326843879"],"photo_ids_order":["1326843879","1326843881","1326843883","1326843885"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/97c9612564281280fa46ae716659a094.jpg","text":"TemporaryFile(/tmp/multipartBody8674844116235317748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044232649,"filename":"image_05012025_03_29_02_303157_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0dd25d47fd5bf58c3f4b83ad84d57819.jpg","text":"TemporaryFile(/tmp/multipartBody7431555846334602652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044232649,"filename":"image_05012025_03_29_02_303157_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d2ec00c95bc03d7fc1fd98c19b8cfe31.jpg","text":"TemporaryFile(/tmp/multipartBody5108103867906073555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044232649,"filename":"image_05012025_03_29_02_303157_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e4bbeeb521a28d57cab286ce84b56b4e.jpg","text":"TemporaryFile(/tmp/multipartBody178942410719187083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044232649,"filename":"image_05012025_03_28_02_805146_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326843883","file1":"1326843881","file0":"1326843879","file3":"1326843885"},"map_files_photo_id_array":[{"photo_id":"1326843883","filename":"file2"},{"photo_id":"1326843881","filename":"file1"},{"photo_id":"1326843879","filename":"file0"},{"photo_id":"1326843885","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326843881":["hashtag1","hashtag2"]},{"1326843883":["hashtag1","hashtag2"]},{"1326843885":["hashtag1","hashtag2"]},{"1326843879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326843881, 1326843883, 1326843885, 1326843879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61256551742554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:30:21.964570
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/29/image_05012025_03_29_02_303157_0003.jpg', '/home/pi/Desktop/images/05012025/03/30/image_05012025_03_30_02_719708_0000.jpg', '/home/pi/Desktop/images/05012025/03/30/image_05012025_03_30_02_719708_0001.jpg', '/home/pi/Desktop/images/05012025/03/30/image_05012025_03_30_02_719708_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/03/29/image_05012025_03_29_02_303157_0003.jpg
/home/pi/Desktop/images/05012025/03/30/image_05012025_03_30_02_719708_0000.jpg
/home/pi/Desktop/images/05012025/03/30/image_05012025_03_30_02_719708_0001.jpg
/home/pi/Desktop/images/05012025/03/30/image_05012025_03_30_02_719708_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326843895","1326843892","1326843904","1326843897"],"photo_ids_order":["1326843892","1326843895","1326843897","1326843904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3741be7b6a85378842fd0c7029ffdf35.jpg","text":"TemporaryFile(/tmp/multipartBody1377492318527404419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044292327,"filename":"image_05012025_03_30_02_719708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/98d028a5bb1dad801282907a4dcb5aa9.jpg","text":"TemporaryFile(/tmp/multipartBody46444736994363619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044292327,"filename":"image_05012025_03_29_02_303157_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c8ec694ef69181d67e9b5c24f405f800.jpg","text":"TemporaryFile(/tmp/multipartBody587009298249493564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044292327,"filename":"image_05012025_03_30_02_719708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/350a4cc9b4cbd809130dc655060514d9.jpg","text":"TemporaryFile(/tmp/multipartBody847502381858506694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044292327,"filename":"image_05012025_03_30_02_719708_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326843897","file1":"1326843895","file0":"1326843892","file3":"1326843904"},"map_files_photo_id_array":[{"photo_id":"1326843897","filename":"file2"},{"photo_id":"1326843895","filename":"file1"},{"photo_id":"1326843892","filename":"file0"},{"photo_id":"1326843904","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326843895":["hashtag1","hashtag2"]},{"1326843892":["hashtag1","hashtag2"]},{"1326843904":["hashtag1","hashtag2"]},{"1326843897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326843895, 1326843892, 1326843904, 1326843897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.97094440460205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:31:22.507566
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/30/image_05012025_03_30_02_719708_0003.jpg', '/home/pi/Desktop/images/05012025/03/31/image_05012025_03_31_02_368752_0000.jpg', '/home/pi/Desktop/images/05012025/03/31/image_05012025_03_31_02_368752_0001.jpg', '/home/pi/Desktop/images/05012025/03/31/image_05012025_03_31_02_368752_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/03/30/image_05012025_03_30_02_719708_0003.jpg
/home/pi/Desktop/images/05012025/03/31/image_05012025_03_31_02_368752_0000.jpg
/home/pi/Desktop/images/05012025/03/31/image_05012025_03_31_02_368752_0001.jpg
/home/pi/Desktop/images/05012025/03/31/image_05012025_03_31_02_368752_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326843965","1326843967","1326843969","1326843963"],"photo_ids_order":["1326843963","1326843965","1326843967","1326843969"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4379ef459c906ff7aceec2d5ad626581.jpg","text":"TemporaryFile(/tmp/multipartBody698727932816329973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044353144,"filename":"image_05012025_03_31_02_368752_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5b6f97894ab40d0294d011dd5b68e8b2.jpg","text":"TemporaryFile(/tmp/multipartBody8284437412064907477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044353144,"filename":"image_05012025_03_31_02_368752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c6e3a8bb005274871b048e9e8d0928e.jpg","text":"TemporaryFile(/tmp/multipartBody5077162677886310848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044353144,"filename":"image_05012025_03_31_02_368752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4bcdbd79b360696355aac7887e7daa4a.jpg","text":"TemporaryFile(/tmp/multipartBody4688633493293912347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044353144,"filename":"image_05012025_03_30_02_719708_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326843967","file1":"1326843965","file0":"1326843963","file3":"1326843969"},"map_files_photo_id_array":[{"photo_id":"1326843967","filename":"file2"},{"photo_id":"1326843965","filename":"file1"},{"photo_id":"1326843963","filename":"file0"},{"photo_id":"1326843969","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326843965":["hashtag1","hashtag2"]},{"1326843967":["hashtag1","hashtag2"]},{"1326843969":["hashtag1","hashtag2"]},{"1326843963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326843965, 1326843967, 1326843969, 1326843963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.373204946517944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:32:22.061230
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/31/image_05012025_03_31_02_368752_0003.jpg', '/home/pi/Desktop/images/05012025/03/32/image_05012025_03_32_02_860978_0000.jpg', '/home/pi/Desktop/images/05012025/03/32/image_05012025_03_32_02_860978_0001.jpg', '/home/pi/Desktop/images/05012025/03/32/image_05012025_03_32_02_860978_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/03/31/image_05012025_03_31_02_368752_0003.jpg
/home/pi/Desktop/images/05012025/03/32/image_05012025_03_32_02_860978_0000.jpg
/home/pi/Desktop/images/05012025/03/32/image_05012025_03_32_02_860978_0001.jpg
/home/pi/Desktop/images/05012025/03/32/image_05012025_03_32_02_860978_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326844081","1326844111","1326844114","1326844117"],"photo_ids_order":["1326844081","1326844111","1326844114","1326844117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1715cc313b3dc9b24e0d57ca8cb2091e.jpg","text":"TemporaryFile(/tmp/multipartBody5743306103370302749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044412617,"filename":"image_05012025_03_31_02_368752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/afadd55d4c1d1ac583442a4af8d0b85d.jpg","text":"TemporaryFile(/tmp/multipartBody2027346576872711475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044412617,"filename":"image_05012025_03_32_02_860978_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a5ce02c925d2babaee2bdeb1283c3a14.jpg","text":"TemporaryFile(/tmp/multipartBody1976318704382004755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044412617,"filename":"image_05012025_03_32_02_860978_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b5668db207c4124b77654f2ff202978a.jpg","text":"TemporaryFile(/tmp/multipartBody7352026950997566853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044412617,"filename":"image_05012025_03_32_02_860978_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326844114","file1":"1326844111","file0":"1326844081","file3":"1326844117"},"map_files_photo_id_array":[{"photo_id":"1326844114","filename":"file2"},{"photo_id":"1326844111","filename":"file1"},{"photo_id":"1326844081","filename":"file0"},{"photo_id":"1326844117","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326844081":["hashtag1","hashtag2"]},{"1326844111":["hashtag1","hashtag2"]},{"1326844114":["hashtag1","hashtag2"]},{"1326844117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326844081, 1326844111, 1326844114, 1326844117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.45086669921875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:33:22.460828
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/32/image_05012025_03_32_02_860978_0003.jpg', '/home/pi/Desktop/images/05012025/03/33/image_05012025_03_33_02_339498_0000.jpg', '/home/pi/Desktop/images/05012025/03/33/image_05012025_03_33_02_339498_0001.jpg', '/home/pi/Desktop/images/05012025/03/33/image_05012025_03_33_02_339498_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/03/32/image_05012025_03_32_02_860978_0003.jpg
/home/pi/Desktop/images/05012025/03/33/image_05012025_03_33_02_339498_0000.jpg
/home/pi/Desktop/images/05012025/03/33/image_05012025_03_33_02_339498_0001.jpg
/home/pi/Desktop/images/05012025/03/33/image_05012025_03_33_02_339498_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326844184","1326844127","1326844130","1326844182"],"photo_ids_order":["1326844127","1326844130","1326844182","1326844184"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/af4e9e2fcc3bdf4b591855f933a1daf1.jpg","text":"TemporaryFile(/tmp/multipartBody7634473268375582885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044472952,"filename":"image_05012025_03_33_02_339498_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3a8f56b113908bbd4d37adc435048036.jpg","text":"TemporaryFile(/tmp/multipartBody3338550239649288899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044472952,"filename":"image_05012025_03_32_02_860978_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/44619e4b90f0b1675b4a8482cd508cc6.jpg","text":"TemporaryFile(/tmp/multipartBody9146049125763046427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044472952,"filename":"image_05012025_03_33_02_339498_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fa8133d8c03ceb54a1d206de9ad94482.jpg","text":"TemporaryFile(/tmp/multipartBody2424570305778017825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044472952,"filename":"image_05012025_03_33_02_339498_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326844182","file1":"1326844130","file0":"1326844127","file3":"1326844184"},"map_files_photo_id_array":[{"photo_id":"1326844182","filename":"file2"},{"photo_id":"1326844130","filename":"file1"},{"photo_id":"1326844127","filename":"file0"},{"photo_id":"1326844184","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326844184":["hashtag1","hashtag2"]},{"1326844127":["hashtag1","hashtag2"]},{"1326844130":["hashtag1","hashtag2"]},{"1326844182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326844184, 1326844127, 1326844130, 1326844182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74967813491821 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:34:22.074545
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/33/image_05012025_03_33_02_339498_0003.jpg', '/home/pi/Desktop/images/05012025/03/34/image_05012025_03_34_02_908946_0000.jpg', '/home/pi/Desktop/images/05012025/03/34/image_05012025_03_34_02_908946_0001.jpg', '/home/pi/Desktop/images/05012025/03/34/image_05012025_03_34_02_908946_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/03/33/image_05012025_03_33_02_339498_0003.jpg
/home/pi/Desktop/images/05012025/03/34/image_05012025_03_34_02_908946_0000.jpg
/home/pi/Desktop/images/05012025/03/34/image_05012025_03_34_02_908946_0001.jpg
/home/pi/Desktop/images/05012025/03/34/image_05012025_03_34_02_908946_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.096052885055542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:35:03.073038
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/33/image_05012025_03_33_02_339498_0003.jpg', '/home/pi/Desktop/images/05012025/03/34/image_05012025_03_34_02_908946_0000.jpg', '/home/pi/Desktop/images/05012025/03/34/image_05012025_03_34_02_908946_0001.jpg', '/home/pi/Desktop/images/05012025/03/34/image_05012025_03_34_02_908946_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/03/33/image_05012025_03_33_02_339498_0003.jpg
/home/pi/Desktop/images/05012025/03/34/image_05012025_03_34_02_908946_0000.jpg
/home/pi/Desktop/images/05012025/03/34/image_05012025_03_34_02_908946_0001.jpg
/home/pi/Desktop/images/05012025/03/34/image_05012025_03_34_02_908946_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326844238","1326844240","1326844243","1326844237"],"photo_ids_order":["1326844237","1326844238","1326844240","1326844243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7317a848a092f1da6cdbdd6787cd93f1.jpg","text":"TemporaryFile(/tmp/multipartBody840101164917147482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044573651,"filename":"image_05012025_03_34_02_908946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/37d07aa7e1afb17c8d8bbf71905089a8.jpg","text":"TemporaryFile(/tmp/multipartBody6294575997543969560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044573651,"filename":"image_05012025_03_34_02_908946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4cba6ae5a4022a220dfb388c2c8d5fc0.jpg","text":"TemporaryFile(/tmp/multipartBody6662361282175635227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044573651,"filename":"image_05012025_03_34_02_908946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b62be6e5988a0ae4279d3e582bfc23d9.jpg","text":"TemporaryFile(/tmp/multipartBody2246501371718846656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044573651,"filename":"image_05012025_03_33_02_339498_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326844240","file1":"1326844238","file0":"1326844237","file3":"1326844243"},"map_files_photo_id_array":[{"photo_id":"1326844240","filename":"file2"},{"photo_id":"1326844238","filename":"file1"},{"photo_id":"1326844237","filename":"file0"},{"photo_id":"1326844243","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326844238":["hashtag1","hashtag2"]},{"1326844240":["hashtag1","hashtag2"]},{"1326844243":["hashtag1","hashtag2"]},{"1326844237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326844238, 1326844240, 1326844243, 1326844237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09884548187256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:36:02.687046
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/34/image_05012025_03_34_02_908946_0003.jpg', '/home/pi/Desktop/images/05012025/03/35/image_05012025_03_35_02_391245_0000.jpg', '/home/pi/Desktop/images/05012025/03/35/image_05012025_03_35_02_391245_0001.jpg', '/home/pi/Desktop/images/05012025/03/35/image_05012025_03_35_02_391245_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/03/34/image_05012025_03_34_02_908946_0003.jpg
/home/pi/Desktop/images/05012025/03/35/image_05012025_03_35_02_391245_0000.jpg
/home/pi/Desktop/images/05012025/03/35/image_05012025_03_35_02_391245_0001.jpg
/home/pi/Desktop/images/05012025/03/35/image_05012025_03_35_02_391245_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.009632349014282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:36:22.331371
SELECT 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/03/34/image_05012025_03_34_02_908946_0003.jpg', '/home/pi/Desktop/images/05012025/03/35/image_05012025_03_35_02_391245_0000.jpg', '/home/pi/Desktop/images/05012025/03/35/image_05012025_03_35_02_391245_0001.jpg', '/home/pi/Desktop/images/05012025/03/35/image_05012025_03_35_02_391245_0002.jpg', '/home/pi/Desktop/images/05012025/03/35/image_05012025_03_35_02_391245_0003.jpg', '/home/pi/Desktop/images/05012025/03/36/image_05012025_03_36_02_994640_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/03/34/image_05012025_03_34_02_908946_0003.jpg
/home/pi/Desktop/images/05012025/03/35/image_05012025_03_35_02_391245_0000.jpg
/home/pi/Desktop/images/05012025/03/35/image_05012025_03_35_02_391245_0001.jpg
/home/pi/Desktop/images/05012025/03/35/image_05012025_03_35_02_391245_0002.jpg
/home/pi/Desktop/images/05012025/03/35/image_05012025_03_35_02_391245_0003.jpg
/home/pi/Desktop/images/05012025/03/36/image_05012025_03_36_02_994640_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326844308","1326844291","1326844285","1326844318","1326844281","1326844320"],"photo_ids_order":["1326844281","1326844285","1326844291","1326844308","1326844318","1326844320"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f4b68011dd42b0f8dd6dc758c737f82.jpg","text":"TemporaryFile(/tmp/multipartBody7919883040407982929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044657671,"filename":"image_05012025_03_35_02_391245_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/358ac60d5cfbab58c6744aa414a19882.jpg","text":"TemporaryFile(/tmp/multipartBody848081925762206098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044657671,"filename":"image_05012025_03_35_02_391245_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c745f391ccddee8fe5ef22e2229982a7.jpg","text":"TemporaryFile(/tmp/multipartBody7688096675748162705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044657671,"filename":"image_05012025_03_35_02_391245_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/976d0af05118dfaed25b1f7d4568c5e7.jpg","text":"TemporaryFile(/tmp/multipartBody953739613283581511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044657671,"filename":"image_05012025_03_35_02_391245_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1ada11f88123c0b7099c93f367ec0e1c.jpg","text":"TemporaryFile(/tmp/multipartBody4654026682397624903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044657671,"filename":"image_05012025_03_34_02_908946_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/40e8a5e7861908ba86b285ca986ccb8b.jpg","text":"TemporaryFile(/tmp/multipartBody5454387360764810378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044657671,"filename":"image_05012025_03_36_02_994640_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326844291","file1":"1326844285","file0":"1326844281","file4":"1326844318","file5":"1326844320","file3":"1326844308"},"map_files_photo_id_array":[{"photo_id":"1326844320","filename":"file5"},{"photo_id":"1326844291","filename":"file2"},{"photo_id":"1326844318","filename":"file4"},{"photo_id":"1326844285","filename":"file1"},{"photo_id":"1326844281","filename":"file0"},{"photo_id":"1326844308","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326844308":["hashtag1","hashtag2"]},{"1326844291":["hashtag1","hashtag2"]},{"1326844285":["hashtag1","hashtag2"]},{"1326844318":["hashtag1","hashtag2"]},{"1326844281":["hashtag1","hashtag2"]},{"1326844320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326844308, 1326844291, 1326844285, 1326844318, 1326844281, 1326844320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.471423387527466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:37:21.894860
SELECT 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/03/36/image_05012025_03_36_02_994640_0001.jpg', '/home/pi/Desktop/images/05012025/03/36/image_05012025_03_36_02_994640_0002.jpg', '/home/pi/Desktop/images/05012025/03/36/image_05012025_03_36_02_994640_0003.jpg', '/home/pi/Desktop/images/05012025/03/37/image_05012025_03_37_02_706009_0000.jpg', '/home/pi/Desktop/images/05012025/03/37/image_05012025_03_37_02_706009_0001.jpg', '/home/pi/Desktop/images/05012025/03/37/image_05012025_03_37_02_706009_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/03/36/image_05012025_03_36_02_994640_0001.jpg
/home/pi/Desktop/images/05012025/03/36/image_05012025_03_36_02_994640_0002.jpg
/home/pi/Desktop/images/05012025/03/36/image_05012025_03_36_02_994640_0003.jpg
/home/pi/Desktop/images/05012025/03/37/image_05012025_03_37_02_706009_0000.jpg
/home/pi/Desktop/images/05012025/03/37/image_05012025_03_37_02_706009_0001.jpg
/home/pi/Desktop/images/05012025/03/37/image_05012025_03_37_02_706009_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326844454","1326844448","1326844450","1326844444","1326844452","1326844446"],"photo_ids_order":["1326844444","1326844446","1326844448","1326844450","1326844452","1326844454"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3daf0dd9c487d1b8f13df83831282886.jpg","text":"TemporaryFile(/tmp/multipartBody4626747346569233467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044717168,"filename":"image_05012025_03_37_02_706009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d436dfa3e4fa09937a1e0e5165c16b6c.jpg","text":"TemporaryFile(/tmp/multipartBody4984989437545629908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044717168,"filename":"image_05012025_03_36_02_994640_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5a93e23836ca8c57fc4c58b3dcfbcb74.jpg","text":"TemporaryFile(/tmp/multipartBody3519836531537125650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044717168,"filename":"image_05012025_03_37_02_706009_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e92f01ef5d5db8e7e159e174b119751.jpg","text":"TemporaryFile(/tmp/multipartBody8640484802103204038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044717168,"filename":"image_05012025_03_36_02_994640_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/92704a690e3919e5bd45c4e6049433e3.jpg","text":"TemporaryFile(/tmp/multipartBody6869060598264414767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044717168,"filename":"image_05012025_03_37_02_706009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/99efdb6d04a0aa07eca0a3556c1efc57.jpg","text":"TemporaryFile(/tmp/multipartBody7297897954572982727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044717168,"filename":"image_05012025_03_36_02_994640_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326844448","file1":"1326844446","file0":"1326844444","file4":"1326844452","file5":"1326844454","file3":"1326844450"},"map_files_photo_id_array":[{"photo_id":"1326844454","filename":"file5"},{"photo_id":"1326844448","filename":"file2"},{"photo_id":"1326844452","filename":"file4"},{"photo_id":"1326844446","filename":"file1"},{"photo_id":"1326844444","filename":"file0"},{"photo_id":"1326844450","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326844454":["hashtag1","hashtag2"]},{"1326844448":["hashtag1","hashtag2"]},{"1326844450":["hashtag1","hashtag2"]},{"1326844444":["hashtag1","hashtag2"]},{"1326844452":["hashtag1","hashtag2"]},{"1326844446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326844454, 1326844448, 1326844450, 1326844444, 1326844452, 1326844446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.1764018535614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:38:22.452811
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/37/image_05012025_03_37_02_706009_0003.jpg', '/home/pi/Desktop/images/05012025/03/38/image_05012025_03_38_02_263590_0000.jpg', '/home/pi/Desktop/images/05012025/03/38/image_05012025_03_38_02_263590_0001.jpg', '/home/pi/Desktop/images/05012025/03/38/image_05012025_03_38_02_263590_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/03/37/image_05012025_03_37_02_706009_0003.jpg
/home/pi/Desktop/images/05012025/03/38/image_05012025_03_38_02_263590_0000.jpg
/home/pi/Desktop/images/05012025/03/38/image_05012025_03_38_02_263590_0001.jpg
/home/pi/Desktop/images/05012025/03/38/image_05012025_03_38_02_263590_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326844460","1326844463","1326844457","1326844455"],"photo_ids_order":["1326844455","1326844457","1326844460","1326844463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3f95564433e6f8e9685f3f1843b97d3e.jpg","text":"TemporaryFile(/tmp/multipartBody4445067327664401805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044773050,"filename":"image_05012025_03_38_02_263590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/145ff8325b3fc66ca4c74f9576cb2e75.jpg","text":"TemporaryFile(/tmp/multipartBody8562215305334603433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044773050,"filename":"image_05012025_03_38_02_263590_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1a5bb1a1aa8c17af55b48ccd312fd4dd.jpg","text":"TemporaryFile(/tmp/multipartBody4615481417253342068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044773050,"filename":"image_05012025_03_38_02_263590_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cd1b346c5ba812a6da895ecb03c8f530.jpg","text":"TemporaryFile(/tmp/multipartBody2189925928724353918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044773050,"filename":"image_05012025_03_37_02_706009_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326844460","file1":"1326844457","file0":"1326844455","file3":"1326844463"},"map_files_photo_id_array":[{"photo_id":"1326844460","filename":"file2"},{"photo_id":"1326844457","filename":"file1"},{"photo_id":"1326844455","filename":"file0"},{"photo_id":"1326844463","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326844460":["hashtag1","hashtag2"]},{"1326844463":["hashtag1","hashtag2"]},{"1326844457":["hashtag1","hashtag2"]},{"1326844455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326844460, 1326844463, 1326844457, 1326844455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.5534451007843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:39:21.924183
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/38/image_05012025_03_38_02_263590_0003.jpg', '/home/pi/Desktop/images/05012025/03/39/image_05012025_03_39_02_789329_0000.jpg', '/home/pi/Desktop/images/05012025/03/39/image_05012025_03_39_02_789329_0001.jpg', '/home/pi/Desktop/images/05012025/03/39/image_05012025_03_39_02_789329_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/03/38/image_05012025_03_38_02_263590_0003.jpg
/home/pi/Desktop/images/05012025/03/39/image_05012025_03_39_02_789329_0000.jpg
/home/pi/Desktop/images/05012025/03/39/image_05012025_03_39_02_789329_0001.jpg
/home/pi/Desktop/images/05012025/03/39/image_05012025_03_39_02_789329_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326844742","1326844736","1326844738","1326844740"],"photo_ids_order":["1326844736","1326844738","1326844740","1326844742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2739d183b5e18d15be507a62b34e657f.jpg","text":"TemporaryFile(/tmp/multipartBody3030194536350515567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044832286,"filename":"image_05012025_03_39_02_789329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/08b545690a26f026f6679b3f576017e8.jpg","text":"TemporaryFile(/tmp/multipartBody1955550950049748250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044832286,"filename":"image_05012025_03_38_02_263590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ba5c4d0dbb94352b7edc885aeeaf3444.jpg","text":"TemporaryFile(/tmp/multipartBody7694776062596863989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044832286,"filename":"image_05012025_03_39_02_789329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/466bc9e10804c9dd8f724c19b65897bb.jpg","text":"TemporaryFile(/tmp/multipartBody7222302743049559555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044832286,"filename":"image_05012025_03_39_02_789329_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326844740","file1":"1326844738","file0":"1326844736","file3":"1326844742"},"map_files_photo_id_array":[{"photo_id":"1326844740","filename":"file2"},{"photo_id":"1326844738","filename":"file1"},{"photo_id":"1326844736","filename":"file0"},{"photo_id":"1326844742","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326844742":["hashtag1","hashtag2"]},{"1326844736":["hashtag1","hashtag2"]},{"1326844738":["hashtag1","hashtag2"]},{"1326844740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326844742, 1326844736, 1326844738, 1326844740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.05861520767212 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-05 03:40:22.500938
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/39/image_05012025_03_39_02_789329_0003.jpg', '/home/pi/Desktop/images/05012025/03/40/image_05012025_03_40_02_368274_0000.jpg', '/home/pi/Desktop/images/05012025/03/40/image_05012025_03_40_02_368274_0001.jpg', '/home/pi/Desktop/images/05012025/03/40/image_05012025_03_40_02_368274_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/03/39/image_05012025_03_39_02_789329_0003.jpg
/home/pi/Desktop/images/05012025/03/40/image_05012025_03_40_02_368274_0000.jpg
/home/pi/Desktop/images/05012025/03/40/image_05012025_03_40_02_368274_0001.jpg
/home/pi/Desktop/images/05012025/03/40/image_05012025_03_40_02_368274_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326844751","1326844754","1326844757","1326844749"],"photo_ids_order":["1326844749","1326844751","1326844754","1326844757"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f179f6f682b761768053464dc45261b1.jpg","text":"TemporaryFile(/tmp/multipartBody5919568230150850351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044892878,"filename":"image_05012025_03_40_02_368274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a87309c77733c34109e66a318b7b48d2.jpg","text":"TemporaryFile(/tmp/multipartBody5650056390827910256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044892878,"filename":"image_05012025_03_40_02_368274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5af9f6352622f7f4a28a793e8ed5649f.jpg","text":"TemporaryFile(/tmp/multipartBody6167385633741702401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044892878,"filename":"image_05012025_03_40_02_368274_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e50e0cb67de16cb63d2b180d53b29185.jpg","text":"TemporaryFile(/tmp/multipartBody721451291241876475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044892878,"filename":"image_05012025_03_39_02_789329_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326844754","file1":"1326844751","file0":"1326844749","file3":"1326844757"},"map_files_photo_id_array":[{"photo_id":"1326844754","filename":"file2"},{"photo_id":"1326844751","filename":"file1"},{"photo_id":"1326844749","filename":"file0"},{"photo_id":"1326844757","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326844751":["hashtag1","hashtag2"]},{"1326844754":["hashtag1","hashtag2"]},{"1326844757":["hashtag1","hashtag2"]},{"1326844749":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326844751, 1326844754, 1326844757, 1326844749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.14606428146362 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-05 03:41:22.039739
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/40/image_05012025_03_40_02_368274_0003.jpg', '/home/pi/Desktop/images/05012025/03/41/image_05012025_03_41_02_927524_0000.jpg', '/home/pi/Desktop/images/05012025/03/41/image_05012025_03_41_02_927524_0001.jpg', '/home/pi/Desktop/images/05012025/03/41/image_05012025_03_41_02_927524_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/03/40/image_05012025_03_40_02_368274_0003.jpg
/home/pi/Desktop/images/05012025/03/41/image_05012025_03_41_02_927524_0000.jpg
/home/pi/Desktop/images/05012025/03/41/image_05012025_03_41_02_927524_0001.jpg
/home/pi/Desktop/images/05012025/03/41/image_05012025_03_41_02_927524_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326844784","1326844780","1326844786","1326844782"],"photo_ids_order":["1326844780","1326844782","1326844784","1326844786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cbc140c51101cb38e4f9f03e90c54272.jpg","text":"TemporaryFile(/tmp/multipartBody7814672855378697276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044952392,"filename":"image_05012025_03_41_02_927524_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a5c7b88f1910f26635aa5eceedca58d3.jpg","text":"TemporaryFile(/tmp/multipartBody8021556045868932050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044952392,"filename":"image_05012025_03_40_02_368274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f7ecd80a42b2831ae3cd9813563f0cd.jpg","text":"TemporaryFile(/tmp/multipartBody8907760589862964762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044952392,"filename":"image_05012025_03_41_02_927524_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/423853aa81c4ee1ea42e048c9554b601.jpg","text":"TemporaryFile(/tmp/multipartBody4532951223934816765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736044952392,"filename":"image_05012025_03_41_02_927524_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326844784","file1":"1326844782","file0":"1326844780","file3":"1326844786"},"map_files_photo_id_array":[{"photo_id":"1326844784","filename":"file2"},{"photo_id":"1326844782","filename":"file1"},{"photo_id":"1326844780","filename":"file0"},{"photo_id":"1326844786","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326844784":["hashtag1","hashtag2"]},{"1326844780":["hashtag1","hashtag2"]},{"1326844786":["hashtag1","hashtag2"]},{"1326844782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326844784, 1326844780, 1326844786, 1326844782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.474035024642944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:42:03.139727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:42:22.630936
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/41/image_05012025_03_41_02_927524_0003.jpg', '/home/pi/Desktop/images/05012025/03/42/image_05012025_03_42_02_430850_0000.jpg', '/home/pi/Desktop/images/05012025/03/42/image_05012025_03_42_02_430850_0001.jpg', '/home/pi/Desktop/images/05012025/03/42/image_05012025_03_42_02_430850_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/03/41/image_05012025_03_41_02_927524_0003.jpg
/home/pi/Desktop/images/05012025/03/42/image_05012025_03_42_02_430850_0000.jpg
/home/pi/Desktop/images/05012025/03/42/image_05012025_03_42_02_430850_0001.jpg
/home/pi/Desktop/images/05012025/03/42/image_05012025_03_42_02_430850_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.091995477676392 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:43:02.692230
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/41/image_05012025_03_41_02_927524_0003.jpg', '/home/pi/Desktop/images/05012025/03/42/image_05012025_03_42_02_430850_0000.jpg', '/home/pi/Desktop/images/05012025/03/42/image_05012025_03_42_02_430850_0001.jpg', '/home/pi/Desktop/images/05012025/03/42/image_05012025_03_42_02_430850_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/03/41/image_05012025_03_41_02_927524_0003.jpg
/home/pi/Desktop/images/05012025/03/42/image_05012025_03_42_02_430850_0000.jpg
/home/pi/Desktop/images/05012025/03/42/image_05012025_03_42_02_430850_0001.jpg
/home/pi/Desktop/images/05012025/03/42/image_05012025_03_42_02_430850_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326844835","1326844838","1326844834","1326844833"],"photo_ids_order":["1326844833","1326844834","1326844835","1326844838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c44f43124ba7806e355fd375435330ba.jpg","text":"TemporaryFile(/tmp/multipartBody7817422467941284381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045053253,"filename":"image_05012025_03_42_02_430850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a02d6c2c24140e10927143ccb229dfaf.jpg","text":"TemporaryFile(/tmp/multipartBody3133594926250209454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045053253,"filename":"image_05012025_03_42_02_430850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5d5f3d999b84b55f63bc074ef8cd7a00.jpg","text":"TemporaryFile(/tmp/multipartBody5966344026998145983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045053253,"filename":"image_05012025_03_42_02_430850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aad6986984b7920802dc0bfff79a3994.jpg","text":"TemporaryFile(/tmp/multipartBody932049587021849408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045053253,"filename":"image_05012025_03_41_02_927524_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326844835","file1":"1326844834","file0":"1326844833","file3":"1326844838"},"map_files_photo_id_array":[{"photo_id":"1326844835","filename":"file2"},{"photo_id":"1326844834","filename":"file1"},{"photo_id":"1326844833","filename":"file0"},{"photo_id":"1326844838","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326844835":["hashtag1","hashtag2"]},{"1326844838":["hashtag1","hashtag2"]},{"1326844834":["hashtag1","hashtag2"]},{"1326844833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326844835, 1326844838, 1326844834, 1326844833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.784215211868286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:44:03.156972
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/42/image_05012025_03_42_02_430850_0003.jpg', '/home/pi/Desktop/images/05012025/03/43/image_05012025_03_43_02_944353_0000.jpg', '/home/pi/Desktop/images/05012025/03/43/image_05012025_03_43_02_944353_0001.jpg', '/home/pi/Desktop/images/05012025/03/43/image_05012025_03_43_02_944353_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/03/42/image_05012025_03_42_02_430850_0003.jpg
/home/pi/Desktop/images/05012025/03/43/image_05012025_03_43_02_944353_0000.jpg
/home/pi/Desktop/images/05012025/03/43/image_05012025_03_43_02_944353_0001.jpg
/home/pi/Desktop/images/05012025/03/43/image_05012025_03_43_02_944353_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326844862","1326844859","1326844853","1326844855"],"photo_ids_order":["1326844853","1326844855","1326844859","1326844862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb8060b1fd986976267d09c156cb4e71.jpg","text":"TemporaryFile(/tmp/multipartBody6073270303140606873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045113592,"filename":"image_05012025_03_43_02_944353_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8272f76f062838aa9071cb52cbf40c8c.jpg","text":"TemporaryFile(/tmp/multipartBody1619917186535901998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045113592,"filename":"image_05012025_03_43_02_944353_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1815180a0437ebf5c2f516f91ffd4768.jpg","text":"TemporaryFile(/tmp/multipartBody6895264933096475457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045113592,"filename":"image_05012025_03_42_02_430850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/801b7816e565038654e131ee16869c3d.jpg","text":"TemporaryFile(/tmp/multipartBody6851980293351896393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045113592,"filename":"image_05012025_03_43_02_944353_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326844859","file1":"1326844855","file0":"1326844853","file3":"1326844862"},"map_files_photo_id_array":[{"photo_id":"1326844859","filename":"file2"},{"photo_id":"1326844855","filename":"file1"},{"photo_id":"1326844853","filename":"file0"},{"photo_id":"1326844862","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326844862":["hashtag1","hashtag2"]},{"1326844859":["hashtag1","hashtag2"]},{"1326844853":["hashtag1","hashtag2"]},{"1326844855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326844862, 1326844859, 1326844853, 1326844855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.16353797912598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:45:02.842737
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/43/image_05012025_03_43_02_944353_0003.jpg', '/home/pi/Desktop/images/05012025/03/44/image_05012025_03_44_02_414159_0000.jpg', '/home/pi/Desktop/images/05012025/03/44/image_05012025_03_44_02_414159_0001.jpg', '/home/pi/Desktop/images/05012025/03/44/image_05012025_03_44_02_414159_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/03/43/image_05012025_03_43_02_944353_0003.jpg
/home/pi/Desktop/images/05012025/03/44/image_05012025_03_44_02_414159_0000.jpg
/home/pi/Desktop/images/05012025/03/44/image_05012025_03_44_02_414159_0001.jpg
/home/pi/Desktop/images/05012025/03/44/image_05012025_03_44_02_414159_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326844908","1326844901","1326844904","1326844906"],"photo_ids_order":["1326844901","1326844904","1326844906","1326844908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fbf85f2250349b0f433179b259e8eeec.jpg","text":"TemporaryFile(/tmp/multipartBody7079066764933811027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045173446,"filename":"image_05012025_03_44_02_414159_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/73818e44e31b51301ea21c96bd4f0e90.jpg","text":"TemporaryFile(/tmp/multipartBody450656477027009847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045173446,"filename":"image_05012025_03_43_02_944353_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/724b9153085ff1b76fc17b1ce078aa6e.jpg","text":"TemporaryFile(/tmp/multipartBody5413512991912563997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045173446,"filename":"image_05012025_03_44_02_414159_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9a48d26098e50fc536139af785d8d498.jpg","text":"TemporaryFile(/tmp/multipartBody6109661884162798975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045173446,"filename":"image_05012025_03_44_02_414159_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326844906","file1":"1326844904","file0":"1326844901","file3":"1326844908"},"map_files_photo_id_array":[{"photo_id":"1326844906","filename":"file2"},{"photo_id":"1326844904","filename":"file1"},{"photo_id":"1326844901","filename":"file0"},{"photo_id":"1326844908","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326844908":["hashtag1","hashtag2"]},{"1326844901":["hashtag1","hashtag2"]},{"1326844904":["hashtag1","hashtag2"]},{"1326844906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326844908, 1326844901, 1326844904, 1326844906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.83892607688904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:46:02.293832
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/44/image_05012025_03_44_02_414159_0003.jpg', '/home/pi/Desktop/images/05012025/03/45/image_05012025_03_45_03_036937_0000.jpg', '/home/pi/Desktop/images/05012025/03/45/image_05012025_03_45_03_036937_0001.jpg', '/home/pi/Desktop/images/05012025/03/45/image_05012025_03_45_03_036937_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/03/44/image_05012025_03_44_02_414159_0003.jpg
/home/pi/Desktop/images/05012025/03/45/image_05012025_03_45_03_036937_0000.jpg
/home/pi/Desktop/images/05012025/03/45/image_05012025_03_45_03_036937_0001.jpg
/home/pi/Desktop/images/05012025/03/45/image_05012025_03_45_03_036937_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326844916","1326844919","1326844921","1326844917"],"photo_ids_order":["1326844916","1326844917","1326844919","1326844921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3044abbc3f9ed8f891a5c7b0c2341a7b.jpg","text":"TemporaryFile(/tmp/multipartBody8930870530984819508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045232694,"filename":"image_05012025_03_44_02_414159_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ed8c960cc0bb024254d88805991fa01e.jpg","text":"TemporaryFile(/tmp/multipartBody5378825929213763802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045232694,"filename":"image_05012025_03_45_03_036937_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/90e74ed4c17edad26e6ff8e7f3274cc3.jpg","text":"TemporaryFile(/tmp/multipartBody9137484214173664111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045232694,"filename":"image_05012025_03_45_03_036937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c433097084fd83f52fc0398af925c01f.jpg","text":"TemporaryFile(/tmp/multipartBody6967669937544606129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045232694,"filename":"image_05012025_03_45_03_036937_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326844919","file1":"1326844917","file0":"1326844916","file3":"1326844921"},"map_files_photo_id_array":[{"photo_id":"1326844919","filename":"file2"},{"photo_id":"1326844917","filename":"file1"},{"photo_id":"1326844916","filename":"file0"},{"photo_id":"1326844921","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326844916":["hashtag1","hashtag2"]},{"1326844919":["hashtag1","hashtag2"]},{"1326844921":["hashtag1","hashtag2"]},{"1326844917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326844916, 1326844919, 1326844921, 1326844917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.19788908958435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:47:03.039365
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/45/image_05012025_03_45_03_036937_0003.jpg', '/home/pi/Desktop/images/05012025/03/46/image_05012025_03_46_02_549042_0000.jpg', '/home/pi/Desktop/images/05012025/03/46/image_05012025_03_46_02_549042_0001.jpg', '/home/pi/Desktop/images/05012025/03/46/image_05012025_03_46_02_549042_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/03/45/image_05012025_03_45_03_036937_0003.jpg
/home/pi/Desktop/images/05012025/03/46/image_05012025_03_46_02_549042_0000.jpg
/home/pi/Desktop/images/05012025/03/46/image_05012025_03_46_02_549042_0001.jpg
/home/pi/Desktop/images/05012025/03/46/image_05012025_03_46_02_549042_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.937692165374756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:47:22.440835
SELECT 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/03/45/image_05012025_03_45_03_036937_0003.jpg', '/home/pi/Desktop/images/05012025/03/46/image_05012025_03_46_02_549042_0000.jpg', '/home/pi/Desktop/images/05012025/03/46/image_05012025_03_46_02_549042_0001.jpg', '/home/pi/Desktop/images/05012025/03/46/image_05012025_03_46_02_549042_0002.jpg', '/home/pi/Desktop/images/05012025/03/46/image_05012025_03_46_02_549042_0003.jpg', '/home/pi/Desktop/images/05012025/03/47/image_05012025_03_47_02_310874_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/03/45/image_05012025_03_45_03_036937_0003.jpg
/home/pi/Desktop/images/05012025/03/46/image_05012025_03_46_02_549042_0000.jpg
/home/pi/Desktop/images/05012025/03/46/image_05012025_03_46_02_549042_0001.jpg
/home/pi/Desktop/images/05012025/03/46/image_05012025_03_46_02_549042_0002.jpg
/home/pi/Desktop/images/05012025/03/46/image_05012025_03_46_02_549042_0003.jpg
/home/pi/Desktop/images/05012025/03/47/image_05012025_03_47_02_310874_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326844937","1326844945","1326844939","1326844941","1326844935","1326844944"],"photo_ids_order":["1326844935","1326844937","1326844939","1326844941","1326844944","1326844945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e0b6af0491b6f050d41a1a45e1803408.jpg","text":"TemporaryFile(/tmp/multipartBody6037276477974878882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045317526,"filename":"image_05012025_03_46_02_549042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ee3aecb34856e1ef3b2a92aee3428905.jpg","text":"TemporaryFile(/tmp/multipartBody6939733824422178785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045317526,"filename":"image_05012025_03_47_02_310874_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1a04fa259c1147988932cf7d888900a5.jpg","text":"TemporaryFile(/tmp/multipartBody5982164799352111621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045317526,"filename":"image_05012025_03_46_02_549042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/50db1fd4c3777c43b5e54e1c728e384e.jpg","text":"TemporaryFile(/tmp/multipartBody8704852793586507101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045317526,"filename":"image_05012025_03_46_02_549042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88c4cb7baa97d511beb1962bc0bcf776.jpg","text":"TemporaryFile(/tmp/multipartBody5056534048570521550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045317526,"filename":"image_05012025_03_45_03_036937_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3a9ab30b62eae8aecccc7fe0fb70416e.jpg","text":"TemporaryFile(/tmp/multipartBody7264280546612333590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045317526,"filename":"image_05012025_03_46_02_549042_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326844939","file1":"1326844937","file0":"1326844935","file4":"1326844944","file5":"1326844945","file3":"1326844941"},"map_files_photo_id_array":[{"photo_id":"1326844945","filename":"file5"},{"photo_id":"1326844939","filename":"file2"},{"photo_id":"1326844944","filename":"file4"},{"photo_id":"1326844937","filename":"file1"},{"photo_id":"1326844935","filename":"file0"},{"photo_id":"1326844941","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326844937":["hashtag1","hashtag2"]},{"1326844945":["hashtag1","hashtag2"]},{"1326844939":["hashtag1","hashtag2"]},{"1326844941":["hashtag1","hashtag2"]},{"1326844935":["hashtag1","hashtag2"]},{"1326844944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326844937, 1326844945, 1326844939, 1326844941, 1326844935, 1326844944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.0401086807251 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:48:22.202095
SELECT 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/03/47/image_05012025_03_47_02_310874_0001.jpg', '/home/pi/Desktop/images/05012025/03/47/image_05012025_03_47_02_310874_0002.jpg', '/home/pi/Desktop/images/05012025/03/47/image_05012025_03_47_02_310874_0003.jpg', '/home/pi/Desktop/images/05012025/03/48/image_05012025_03_48_02_877980_0000.jpg', '/home/pi/Desktop/images/05012025/03/48/image_05012025_03_48_02_877980_0001.jpg', '/home/pi/Desktop/images/05012025/03/48/image_05012025_03_48_02_877980_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/03/47/image_05012025_03_47_02_310874_0001.jpg
/home/pi/Desktop/images/05012025/03/47/image_05012025_03_47_02_310874_0002.jpg
/home/pi/Desktop/images/05012025/03/47/image_05012025_03_47_02_310874_0003.jpg
/home/pi/Desktop/images/05012025/03/48/image_05012025_03_48_02_877980_0000.jpg
/home/pi/Desktop/images/05012025/03/48/image_05012025_03_48_02_877980_0001.jpg
/home/pi/Desktop/images/05012025/03/48/image_05012025_03_48_02_877980_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326844964","1326844959","1326844953","1326844962","1326844956","1326844950"],"photo_ids_order":["1326844950","1326844953","1326844956","1326844959","1326844962","1326844964"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c064bd09ac33db89d0102f071dd119aa.jpg","text":"TemporaryFile(/tmp/multipartBody6588340701854105806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045377495,"filename":"image_05012025_03_48_02_877980_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/50ffc8404e82ca17ee8a6d9aaa7be53b.jpg","text":"TemporaryFile(/tmp/multipartBody5720830318639884791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045377495,"filename":"image_05012025_03_48_02_877980_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5784dca130bd0d4b09872ceee4329bca.jpg","text":"TemporaryFile(/tmp/multipartBody7826789898458005261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045377495,"filename":"image_05012025_03_47_02_310874_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f222868a1723e53b38b6f3e6447ae22d.jpg","text":"TemporaryFile(/tmp/multipartBody1794274965340650613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045377495,"filename":"image_05012025_03_48_02_877980_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f4da1271c6d7563207cbab1b7273758.jpg","text":"TemporaryFile(/tmp/multipartBody2272939124861862015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045377495,"filename":"image_05012025_03_47_02_310874_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9bb1e181f838f6843a8e1d6716d249ea.jpg","text":"TemporaryFile(/tmp/multipartBody791601940950393674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045377495,"filename":"image_05012025_03_47_02_310874_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326844956","file1":"1326844953","file0":"1326844950","file4":"1326844962","file5":"1326844964","file3":"1326844959"},"map_files_photo_id_array":[{"photo_id":"1326844964","filename":"file5"},{"photo_id":"1326844956","filename":"file2"},{"photo_id":"1326844962","filename":"file4"},{"photo_id":"1326844953","filename":"file1"},{"photo_id":"1326844950","filename":"file0"},{"photo_id":"1326844959","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326844964":["hashtag1","hashtag2"]},{"1326844959":["hashtag1","hashtag2"]},{"1326844953":["hashtag1","hashtag2"]},{"1326844962":["hashtag1","hashtag2"]},{"1326844956":["hashtag1","hashtag2"]},{"1326844950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326844964, 1326844959, 1326844953, 1326844962, 1326844956, 1326844950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.20833945274353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:49:22.656678
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/48/image_05012025_03_48_02_877980_0003.jpg', '/home/pi/Desktop/images/05012025/03/49/image_05012025_03_49_02_528973_0000.jpg', '/home/pi/Desktop/images/05012025/03/49/image_05012025_03_49_02_528973_0001.jpg', '/home/pi/Desktop/images/05012025/03/49/image_05012025_03_49_02_528973_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/03/48/image_05012025_03_48_02_877980_0003.jpg
/home/pi/Desktop/images/05012025/03/49/image_05012025_03_49_02_528973_0000.jpg
/home/pi/Desktop/images/05012025/03/49/image_05012025_03_49_02_528973_0001.jpg
/home/pi/Desktop/images/05012025/03/49/image_05012025_03_49_02_528973_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326844970","1326844972","1326844974","1326844968"],"photo_ids_order":["1326844968","1326844970","1326844972","1326844974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2ebf4d4d9d68a725cc08e170bd18e8c1.jpg","text":"TemporaryFile(/tmp/multipartBody361240632560504071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045432933,"filename":"image_05012025_03_49_02_528973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb33962933741968d4b9eea1c3ee4e52.jpg","text":"TemporaryFile(/tmp/multipartBody4213064734100695381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045432933,"filename":"image_05012025_03_49_02_528973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6ae658d2d594f71b2572e9cc32e5d896.jpg","text":"TemporaryFile(/tmp/multipartBody5851817652658273176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045432933,"filename":"image_05012025_03_49_02_528973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2a38bcdde79f720ff21d1a3524677f9.jpg","text":"TemporaryFile(/tmp/multipartBody6730896600671389634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045432933,"filename":"image_05012025_03_48_02_877980_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326844972","file1":"1326844970","file0":"1326844968","file3":"1326844974"},"map_files_photo_id_array":[{"photo_id":"1326844972","filename":"file2"},{"photo_id":"1326844970","filename":"file1"},{"photo_id":"1326844968","filename":"file0"},{"photo_id":"1326844974","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326844970":["hashtag1","hashtag2"]},{"1326844972":["hashtag1","hashtag2"]},{"1326844974":["hashtag1","hashtag2"]},{"1326844968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326844970, 1326844972, 1326844974, 1326844968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.43946170806885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:50:22.119300
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/49/image_05012025_03_49_02_528973_0003.jpg', '/home/pi/Desktop/images/05012025/03/50/image_05012025_03_50_03_016183_0000.jpg', '/home/pi/Desktop/images/05012025/03/50/image_05012025_03_50_03_016183_0001.jpg', '/home/pi/Desktop/images/05012025/03/50/image_05012025_03_50_03_016183_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/03/49/image_05012025_03_49_02_528973_0003.jpg
/home/pi/Desktop/images/05012025/03/50/image_05012025_03_50_03_016183_0000.jpg
/home/pi/Desktop/images/05012025/03/50/image_05012025_03_50_03_016183_0001.jpg
/home/pi/Desktop/images/05012025/03/50/image_05012025_03_50_03_016183_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.820584535598755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:51:03.261484
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/49/image_05012025_03_49_02_528973_0003.jpg', '/home/pi/Desktop/images/05012025/03/50/image_05012025_03_50_03_016183_0000.jpg', '/home/pi/Desktop/images/05012025/03/50/image_05012025_03_50_03_016183_0001.jpg', '/home/pi/Desktop/images/05012025/03/50/image_05012025_03_50_03_016183_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/03/49/image_05012025_03_49_02_528973_0003.jpg
/home/pi/Desktop/images/05012025/03/50/image_05012025_03_50_03_016183_0000.jpg
/home/pi/Desktop/images/05012025/03/50/image_05012025_03_50_03_016183_0001.jpg
/home/pi/Desktop/images/05012025/03/50/image_05012025_03_50_03_016183_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326845006","1326845003","1326845005","1326845002"],"photo_ids_order":["1326845002","1326845003","1326845005","1326845006"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f5ff7c19f5deb1283b612dda8cc5fb63.jpg","text":"TemporaryFile(/tmp/multipartBody2285785422911574330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045533564,"filename":"image_05012025_03_50_03_016183_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5a9e70a43b8e75d508fba40cd988b94e.jpg","text":"TemporaryFile(/tmp/multipartBody9042193302867812484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045533564,"filename":"image_05012025_03_50_03_016183_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f2b12d376750c194f0f06cfdd5f5480.jpg","text":"TemporaryFile(/tmp/multipartBody5350825024282464214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045533564,"filename":"image_05012025_03_50_03_016183_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e15ec1815493aed8ee09623d13d03dad.jpg","text":"TemporaryFile(/tmp/multipartBody7905861545730802677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045533564,"filename":"image_05012025_03_49_02_528973_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326845005","file1":"1326845003","file0":"1326845002","file3":"1326845006"},"map_files_photo_id_array":[{"photo_id":"1326845005","filename":"file2"},{"photo_id":"1326845003","filename":"file1"},{"photo_id":"1326845002","filename":"file0"},{"photo_id":"1326845006","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326845006":["hashtag1","hashtag2"]},{"1326845003":["hashtag1","hashtag2"]},{"1326845005":["hashtag1","hashtag2"]},{"1326845002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326845006, 1326845003, 1326845005, 1326845002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.68856501579285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:52:02.782838
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/50/image_05012025_03_50_03_016183_0003.jpg', '/home/pi/Desktop/images/05012025/03/51/image_05012025_03_51_02_511737_0000.jpg', '/home/pi/Desktop/images/05012025/03/51/image_05012025_03_51_02_511737_0001.jpg', '/home/pi/Desktop/images/05012025/03/51/image_05012025_03_51_02_511737_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/03/50/image_05012025_03_50_03_016183_0003.jpg
/home/pi/Desktop/images/05012025/03/51/image_05012025_03_51_02_511737_0000.jpg
/home/pi/Desktop/images/05012025/03/51/image_05012025_03_51_02_511737_0001.jpg
/home/pi/Desktop/images/05012025/03/51/image_05012025_03_51_02_511737_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.883094072341919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:52:22.240983
SELECT 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/03/50/image_05012025_03_50_03_016183_0003.jpg', '/home/pi/Desktop/images/05012025/03/51/image_05012025_03_51_02_511737_0000.jpg', '/home/pi/Desktop/images/05012025/03/51/image_05012025_03_51_02_511737_0001.jpg', '/home/pi/Desktop/images/05012025/03/51/image_05012025_03_51_02_511737_0002.jpg', '/home/pi/Desktop/images/05012025/03/51/image_05012025_03_51_02_511737_0003.jpg', '/home/pi/Desktop/images/05012025/03/52/image_05012025_03_52_03_064009_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/03/50/image_05012025_03_50_03_016183_0003.jpg
/home/pi/Desktop/images/05012025/03/51/image_05012025_03_51_02_511737_0000.jpg
/home/pi/Desktop/images/05012025/03/51/image_05012025_03_51_02_511737_0001.jpg
/home/pi/Desktop/images/05012025/03/51/image_05012025_03_51_02_511737_0002.jpg
/home/pi/Desktop/images/05012025/03/51/image_05012025_03_51_02_511737_0003.jpg
/home/pi/Desktop/images/05012025/03/52/image_05012025_03_52_03_064009_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326845027","1326845021","1326845023","1326845029","1326845031","1326845025"],"photo_ids_order":["1326845021","1326845023","1326845025","1326845027","1326845029","1326845031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e8d4d8f485d8bca57ff566ec0034099e.jpg","text":"TemporaryFile(/tmp/multipartBody7624367080257083889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045617381,"filename":"image_05012025_03_51_02_511737_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/43b8f3141d4348eb56b1155662d70592.jpg","text":"TemporaryFile(/tmp/multipartBody1316748627741185504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045617381,"filename":"image_05012025_03_50_03_016183_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce89f16df50b77fe101f1cf225a09c70.jpg","text":"TemporaryFile(/tmp/multipartBody6686214444479535230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045617381,"filename":"image_05012025_03_51_02_511737_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3eca7bf2e7f925f5df5a2fe94d6837a1.jpg","text":"TemporaryFile(/tmp/multipartBody8983262833180907268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045617381,"filename":"image_05012025_03_51_02_511737_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/be1c1dc3878ebc2c08e6fbcbdbf4054f.jpg","text":"TemporaryFile(/tmp/multipartBody7627357991485777713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045617381,"filename":"image_05012025_03_52_03_064009_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2bfe66eb4c33f31f8df3213c034314d3.jpg","text":"TemporaryFile(/tmp/multipartBody6893435669349668694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045617381,"filename":"image_05012025_03_51_02_511737_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326845025","file1":"1326845023","file0":"1326845021","file4":"1326845029","file5":"1326845031","file3":"1326845027"},"map_files_photo_id_array":[{"photo_id":"1326845031","filename":"file5"},{"photo_id":"1326845025","filename":"file2"},{"photo_id":"1326845029","filename":"file4"},{"photo_id":"1326845023","filename":"file1"},{"photo_id":"1326845021","filename":"file0"},{"photo_id":"1326845027","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326845027":["hashtag1","hashtag2"]},{"1326845021":["hashtag1","hashtag2"]},{"1326845023":["hashtag1","hashtag2"]},{"1326845029":["hashtag1","hashtag2"]},{"1326845031":["hashtag1","hashtag2"]},{"1326845025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326845027, 1326845021, 1326845023, 1326845029, 1326845031, 1326845025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.88098859786987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:53:21.771820
SELECT 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/03/52/image_05012025_03_52_03_064009_0001.jpg', '/home/pi/Desktop/images/05012025/03/52/image_05012025_03_52_03_064009_0002.jpg', '/home/pi/Desktop/images/05012025/03/52/image_05012025_03_52_03_064009_0003.jpg', '/home/pi/Desktop/images/05012025/03/53/image_05012025_03_53_02_666630_0000.jpg', '/home/pi/Desktop/images/05012025/03/53/image_05012025_03_53_02_666630_0001.jpg', '/home/pi/Desktop/images/05012025/03/53/image_05012025_03_53_02_666630_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/03/52/image_05012025_03_52_03_064009_0001.jpg
/home/pi/Desktop/images/05012025/03/52/image_05012025_03_52_03_064009_0002.jpg
/home/pi/Desktop/images/05012025/03/52/image_05012025_03_52_03_064009_0003.jpg
/home/pi/Desktop/images/05012025/03/53/image_05012025_03_53_02_666630_0000.jpg
/home/pi/Desktop/images/05012025/03/53/image_05012025_03_53_02_666630_0001.jpg
/home/pi/Desktop/images/05012025/03/53/image_05012025_03_53_02_666630_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":["1326845048","1326845044","1326845038","1326845046","1326845040","1326845034"],"photo_ids_order":["1326845034","1326845038","1326845040","1326845044","1326845046","1326845048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/840a3574e8a8b0fe90548481078d8422.jpg","text":"TemporaryFile(/tmp/multipartBody1201676001171288230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045677076,"filename":"image_05012025_03_53_02_666630_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8a4d2688fce895529fb8ec86bdcbd040.jpg","text":"TemporaryFile(/tmp/multipartBody79676649216459397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045677076,"filename":"image_05012025_03_53_02_666630_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7da6f861a8c4ebbf72f2622c5d58e3b3.jpg","text":"TemporaryFile(/tmp/multipartBody53031443625265559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045677076,"filename":"image_05012025_03_52_03_064009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6e8a16c1b8735d653a633857fcf53720.jpg","text":"TemporaryFile(/tmp/multipartBody1850421519388045152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045677076,"filename":"image_05012025_03_53_02_666630_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/af40f5bdfc8929930ba8653a61ab9098.jpg","text":"TemporaryFile(/tmp/multipartBody8363280616053605034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045677076,"filename":"image_05012025_03_52_03_064009_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d635ea5a4cb7e4f520c72a17b78fe28a.jpg","text":"TemporaryFile(/tmp/multipartBody9172968470399188162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045677076,"filename":"image_05012025_03_52_03_064009_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326845040","file1":"1326845038","file0":"1326845034","file4":"1326845046","file5":"1326845048","file3":"1326845044"},"map_files_photo_id_array":[{"photo_id":"1326845048","filename":"file5"},{"photo_id":"1326845040","filename":"file2"},{"photo_id":"1326845046","filename":"file4"},{"photo_id":"1326845038","filename":"file1"},{"photo_id":"1326845034","filename":"file0"},{"photo_id":"1326845044","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326845048":["hashtag1","hashtag2"]},{"1326845044":["hashtag1","hashtag2"]},{"1326845038":["hashtag1","hashtag2"]},{"1326845046":["hashtag1","hashtag2"]},{"1326845040":["hashtag1","hashtag2"]},{"1326845034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326845048, 1326845044, 1326845038, 1326845046, 1326845040, 1326845034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.20671987533569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:55:02.173363
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/53/image_05012025_03_53_02_666630_0003.jpg', '/home/pi/Desktop/images/05012025/03/54/image_05012025_03_54_02_147601_0000.jpg', '/home/pi/Desktop/images/05012025/03/54/image_05012025_03_54_02_147601_0001.jpg', '/home/pi/Desktop/images/05012025/03/54/image_05012025_03_54_02_147601_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/03/53/image_05012025_03_53_02_666630_0003.jpg
/home/pi/Desktop/images/05012025/03/54/image_05012025_03_54_02_147601_0000.jpg
/home/pi/Desktop/images/05012025/03/54/image_05012025_03_54_02_147601_0001.jpg
/home/pi/Desktop/images/05012025/03/54/image_05012025_03_54_02_147601_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326845098","1326845092","1326845094","1326845096"],"photo_ids_order":["1326845092","1326845094","1326845096","1326845098"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/06794d61c61eca7ed19b347cf6d23972.jpg","text":"TemporaryFile(/tmp/multipartBody4262257264869186694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045772608,"filename":"image_05012025_03_54_02_147601_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6ebadf6d9c39638f0ac79ab6eb254970.jpg","text":"TemporaryFile(/tmp/multipartBody3470494966125414323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045772608,"filename":"image_05012025_03_53_02_666630_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/76ee395caac27bdf1794e9d9ffaed3f3.jpg","text":"TemporaryFile(/tmp/multipartBody8548587999484862564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045772608,"filename":"image_05012025_03_54_02_147601_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/00e99dfe928dad383d8925ddd35848a4.jpg","text":"TemporaryFile(/tmp/multipartBody9189285967002676017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045772608,"filename":"image_05012025_03_54_02_147601_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326845096","file1":"1326845094","file0":"1326845092","file3":"1326845098"},"map_files_photo_id_array":[{"photo_id":"1326845096","filename":"file2"},{"photo_id":"1326845094","filename":"file1"},{"photo_id":"1326845092","filename":"file0"},{"photo_id":"1326845098","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326845098":["hashtag1","hashtag2"]},{"1326845092":["hashtag1","hashtag2"]},{"1326845094":["hashtag1","hashtag2"]},{"1326845096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326845098, 1326845092, 1326845094, 1326845096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.43618869781494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:56:03.017731
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/03/54/image_05012025_03_54_02_147601_0003.jpg', '/home/pi/Desktop/images/05012025/03/55/image_05012025_03_55_02_640934_0000.jpg', '/home/pi/Desktop/images/05012025/03/55/image_05012025_03_55_02_640934_0001.jpg', '/home/pi/Desktop/images/05012025/03/55/image_05012025_03_55_02_640934_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/03/54/image_05012025_03_54_02_147601_0003.jpg
/home/pi/Desktop/images/05012025/03/55/image_05012025_03_55_02_640934_0000.jpg
/home/pi/Desktop/images/05012025/03/55/image_05012025_03_55_02_640934_0001.jpg
/home/pi/Desktop/images/05012025/03/55/image_05012025_03_55_02_640934_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.062214612960815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 03:56:22.523989
SELECT 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/03/54/image_05012025_03_54_02_147601_0003.jpg', '/home/pi/Desktop/images/05012025/03/55/image_05012025_03_55_02_640934_0000.jpg', '/home/pi/Desktop/images/05012025/03/55/image_05012025_03_55_02_640934_0001.jpg', '/home/pi/Desktop/images/05012025/03/55/image_05012025_03_55_02_640934_0002.jpg', '/home/pi/Desktop/images/05012025/03/55/image_05012025_03_55_02_640934_0003.jpg', '/home/pi/Desktop/images/05012025/03/56/image_05012025_03_56_02_152529_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/03/54/image_05012025_03_54_02_147601_0003.jpg
/home/pi/Desktop/images/05012025/03/55/image_05012025_03_55_02_640934_0000.jpg
/home/pi/Desktop/images/05012025/03/55/image_05012025_03_55_02_640934_0001.jpg
/home/pi/Desktop/images/05012025/03/55/image_05012025_03_55_02_640934_0002.jpg
/home/pi/Desktop/images/05012025/03/55/image_05012025_03_55_02_640934_0003.jpg
/home/pi/Desktop/images/05012025/03/56/image_05012025_03_56_02_152529_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":["1326845386","1326845434","1326845116","1326845352","1326845268","1326845384"],"photo_ids_order":["1326845116","1326845268","1326845352","1326845384","1326845386","1326845434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88d9bf04d3ae6912ff43e1b7958d84e0.jpg","text":"TemporaryFile(/tmp/multipartBody378882162217777062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045857806,"filename":"image_05012025_03_55_02_640934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b78047f76c68305c569f1c66eef8de4d.jpg","text":"TemporaryFile(/tmp/multipartBody6012816518285028264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045857806,"filename":"image_05012025_03_56_02_152529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/be51cc3b05d79177183cc7fff814184f.jpg","text":"TemporaryFile(/tmp/multipartBody3497805601390143692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045857806,"filename":"image_05012025_03_54_02_147601_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b9cfda1858c586d46b66db720054cf5.jpg","text":"TemporaryFile(/tmp/multipartBody8301158027011543429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045857806,"filename":"image_05012025_03_55_02_640934_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/87e29b050782a047c3ceccc51ea01512.jpg","text":"TemporaryFile(/tmp/multipartBody1054153135384686312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045857806,"filename":"image_05012025_03_55_02_640934_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/18b04156c977cc49494f7ffeccb8eb50.jpg","text":"TemporaryFile(/tmp/multipartBody281031067430071947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736045857806,"filename":"image_05012025_03_55_02_640934_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326845352","file1":"1326845268","file0":"1326845116","file4":"1326845386","file5":"1326845434","file3":"1326845384"},"map_files_photo_id_array":[{"photo_id":"1326845434","filename":"file5"},{"photo_id":"1326845352","filename":"file2"},{"photo_id":"1326845386","filename":"file4"},{"photo_id":"1326845268","filename":"file1"},{"photo_id":"1326845116","filename":"file0"},{"photo_id":"1326845384","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326845386":["hashtag1","hashtag2"]},{"1326845434":["hashtag1","hashtag2"]},{"1326845116":["hashtag1","hashtag2"]},{"1326845352":["hashtag1","hashtag2"]},{"1326845268":["hashtag1","hashtag2"]},{"1326845384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326845386, 1326845434, 1326845116, 1326845352, 1326845268, 1326845384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.06942296028137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 03:59:03.250384
SELECT 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/03/56/image_05012025_03_56_02_152529_0001.jpg', '/home/pi/Desktop/images/05012025/03/56/image_05012025_03_56_02_152529_0002.jpg', '/home/pi/Desktop/images/05012025/03/56/image_05012025_03_56_02_152529_0003.jpg', '/home/pi/Desktop/images/05012025/03/57/image_05012025_03_57_02_864475_0000.jpg', '/home/pi/Desktop/images/05012025/03/57/image_05012025_03_57_02_864475_0001.jpg', '/home/pi/Desktop/images/05012025/03/57/image_05012025_03_57_02_864475_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/03/56/image_05012025_03_56_02_152529_0001.jpg
/home/pi/Desktop/images/05012025/03/56/image_05012025_03_56_02_152529_0002.jpg
/home/pi/Desktop/images/05012025/03/56/image_05012025_03_56_02_152529_0003.jpg
/home/pi/Desktop/images/05012025/03/57/image_05012025_03_57_02_864475_0000.jpg
/home/pi/Desktop/images/05012025/03/57/image_05012025_03_57_02_864475_0001.jpg
/home/pi/Desktop/images/05012025/03/57/image_05012025_03_57_02_864475_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846128","1326846130","1326846133","1326846136","1326846126","1326846122"],"photo_ids_order":["1326846122","1326846126","1326846128","1326846130","1326846133","1326846136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f87f58deab9b12282be72b4c921d427b.jpg","text":"TemporaryFile(/tmp/multipartBody6130095853440156912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046018549,"filename":"image_05012025_03_56_02_152529_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6de47dca948a5549301cbbc5a0dbb30a.jpg","text":"TemporaryFile(/tmp/multipartBody6361474615005519841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046018549,"filename":"image_05012025_03_57_02_864475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/27ebae40ced01e00fc4cdb05032aefbd.jpg","text":"TemporaryFile(/tmp/multipartBody3480298883969197728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046018549,"filename":"image_05012025_03_57_02_864475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8adc8e304baa5c7586beb1fa01723f00.jpg","text":"TemporaryFile(/tmp/multipartBody2757190173806018951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046018549,"filename":"image_05012025_03_57_02_864475_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f2d84d3cbe62699b344fb7e3be35b0ef.jpg","text":"TemporaryFile(/tmp/multipartBody6926336817433925466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046018549,"filename":"image_05012025_03_56_02_152529_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c9bac0b88b9fbbcdc49b9184de1f7e6.jpg","text":"TemporaryFile(/tmp/multipartBody6187491280067594966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046018549,"filename":"image_05012025_03_56_02_152529_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846128","file1":"1326846126","file0":"1326846122","file4":"1326846133","file5":"1326846136","file3":"1326846130"},"map_files_photo_id_array":[{"photo_id":"1326846136","filename":"file5"},{"photo_id":"1326846128","filename":"file2"},{"photo_id":"1326846133","filename":"file4"},{"photo_id":"1326846126","filename":"file1"},{"photo_id":"1326846122","filename":"file0"},{"photo_id":"1326846130","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846128":["hashtag1","hashtag2"]},{"1326846130":["hashtag1","hashtag2"]},{"1326846133":["hashtag1","hashtag2"]},{"1326846136":["hashtag1","hashtag2"]},{"1326846126":["hashtag1","hashtag2"]},{"1326846122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846128, 1326846130, 1326846133, 1326846136, 1326846126, 1326846122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.507296323776245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:00:02.861683
SELECT 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/03/57/image_05012025_03_57_02_864475_0003.jpg', '/home/pi/Desktop/images/05012025/03/58/image_05012025_03_58_02_349203_0000.jpg', '/home/pi/Desktop/images/05012025/03/58/image_05012025_03_58_02_349203_0001.jpg', '/home/pi/Desktop/images/05012025/03/58/image_05012025_03_58_02_349203_0002.jpg', '/home/pi/Desktop/images/05012025/03/58/image_05012025_03_58_02_349203_0003.jpg', '/home/pi/Desktop/images/05012025/03/59/image_05012025_03_59_02_851124_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/03/57/image_05012025_03_57_02_864475_0003.jpg
/home/pi/Desktop/images/05012025/03/58/image_05012025_03_58_02_349203_0000.jpg
/home/pi/Desktop/images/05012025/03/58/image_05012025_03_58_02_349203_0001.jpg
/home/pi/Desktop/images/05012025/03/58/image_05012025_03_58_02_349203_0002.jpg
/home/pi/Desktop/images/05012025/03/58/image_05012025_03_58_02_349203_0003.jpg
/home/pi/Desktop/images/05012025/03/59/image_05012025_03_59_02_851124_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846206","1326846151","1326846211","1326846214","1326846156","1326846225"],"photo_ids_order":["1326846151","1326846156","1326846206","1326846211","1326846214","1326846225"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c056b03e9950d83cba5e83f3b52aa425.jpg","text":"TemporaryFile(/tmp/multipartBody7146473229609683231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046078160,"filename":"image_05012025_03_58_02_349203_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c0a5d08c3c9d6774d13e086673c0b331.jpg","text":"TemporaryFile(/tmp/multipartBody9204167506169594379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046078160,"filename":"image_05012025_03_57_02_864475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0cc4cd453dc46ee2004df8e4278bc16e.jpg","text":"TemporaryFile(/tmp/multipartBody8592268104918412052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046078160,"filename":"image_05012025_03_58_02_349203_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e85703108144f7816b6e23462d818b91.jpg","text":"TemporaryFile(/tmp/multipartBody1426763727508959856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046078160,"filename":"image_05012025_03_58_02_349203_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cbda551020224e652b102af94735f7d9.jpg","text":"TemporaryFile(/tmp/multipartBody2309487362225876077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046078160,"filename":"image_05012025_03_58_02_349203_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d4affab9ec113d4284a678c411ec847b.jpg","text":"TemporaryFile(/tmp/multipartBody7155959253579387876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046078160,"filename":"image_05012025_03_59_02_851124_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846206","file1":"1326846156","file0":"1326846151","file4":"1326846214","file5":"1326846225","file3":"1326846211"},"map_files_photo_id_array":[{"photo_id":"1326846225","filename":"file5"},{"photo_id":"1326846206","filename":"file2"},{"photo_id":"1326846214","filename":"file4"},{"photo_id":"1326846156","filename":"file1"},{"photo_id":"1326846151","filename":"file0"},{"photo_id":"1326846211","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846206":["hashtag1","hashtag2"]},{"1326846151":["hashtag1","hashtag2"]},{"1326846211":["hashtag1","hashtag2"]},{"1326846214":["hashtag1","hashtag2"]},{"1326846156":["hashtag1","hashtag2"]},{"1326846225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846206, 1326846151, 1326846211, 1326846214, 1326846156, 1326846225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.43892550468445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:01:02.513582
SELECT 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/03/59/image_05012025_03_59_02_851124_0001.jpg', '/home/pi/Desktop/images/05012025/03/59/image_05012025_03_59_02_851124_0002.jpg', '/home/pi/Desktop/images/05012025/03/59/image_05012025_03_59_02_851124_0003.jpg', '/home/pi/Desktop/images/05012025/04/00/image_05012025_04_00_03_039862_0000.jpg', '/home/pi/Desktop/images/05012025/04/00/image_05012025_04_00_03_039862_0001.jpg', '/home/pi/Desktop/images/05012025/04/00/image_05012025_04_00_03_039862_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/03/59/image_05012025_03_59_02_851124_0001.jpg
/home/pi/Desktop/images/05012025/03/59/image_05012025_03_59_02_851124_0002.jpg
/home/pi/Desktop/images/05012025/03/59/image_05012025_03_59_02_851124_0003.jpg
/home/pi/Desktop/images/05012025/04/00/image_05012025_04_00_03_039862_0000.jpg
/home/pi/Desktop/images/05012025/04/00/image_05012025_04_00_03_039862_0001.jpg
/home/pi/Desktop/images/05012025/04/00/image_05012025_04_00_03_039862_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846274","1326846276","1326846281","1326846284","1326846278","1326846272"],"photo_ids_order":["1326846272","1326846274","1326846276","1326846278","1326846281","1326846284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/81a1ba8d6827ba20c7149537dba7b9c5.jpg","text":"TemporaryFile(/tmp/multipartBody8856149871844613188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046137774,"filename":"image_05012025_03_59_02_851124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/54d3452ede75ab8f8fe7725f7aebaa2f.jpg","text":"TemporaryFile(/tmp/multipartBody2181678345973805433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046137774,"filename":"image_05012025_03_59_02_851124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4aa6ab90d8136876243eacb9220bc33d.jpg","text":"TemporaryFile(/tmp/multipartBody289434593302029890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046137774,"filename":"image_05012025_04_00_03_039862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f04c5b18d15b04fc3510eea800621c9.jpg","text":"TemporaryFile(/tmp/multipartBody8714868889945632966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046137774,"filename":"image_05012025_04_00_03_039862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/80f89addf8a987fac1a961f3c3f23501.jpg","text":"TemporaryFile(/tmp/multipartBody7865876784531294830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046137774,"filename":"image_05012025_04_00_03_039862_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a5988635872279dc87eb597134d6c31a.jpg","text":"TemporaryFile(/tmp/multipartBody714126766805663977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046137774,"filename":"image_05012025_03_59_02_851124_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846276","file1":"1326846274","file0":"1326846272","file4":"1326846281","file5":"1326846284","file3":"1326846278"},"map_files_photo_id_array":[{"photo_id":"1326846284","filename":"file5"},{"photo_id":"1326846276","filename":"file2"},{"photo_id":"1326846281","filename":"file4"},{"photo_id":"1326846274","filename":"file1"},{"photo_id":"1326846272","filename":"file0"},{"photo_id":"1326846278","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846274":["hashtag1","hashtag2"]},{"1326846276":["hashtag1","hashtag2"]},{"1326846281":["hashtag1","hashtag2"]},{"1326846284":["hashtag1","hashtag2"]},{"1326846278":["hashtag1","hashtag2"]},{"1326846272":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846274, 1326846276, 1326846281, 1326846284, 1326846278, 1326846272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.183512449264526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:02:02.902438
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/00/image_05012025_04_00_03_039862_0003.jpg', '/home/pi/Desktop/images/05012025/04/01/image_05012025_04_01_02_749903_0000.jpg', '/home/pi/Desktop/images/05012025/04/01/image_05012025_04_01_02_749903_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/04/00/image_05012025_04_00_03_039862_0003.jpg
/home/pi/Desktop/images/05012025/04/01/image_05012025_04_01_02_749903_0000.jpg
/home/pi/Desktop/images/05012025/04/01/image_05012025_04_01_02_749903_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846297","1326846301","1326846299"],"photo_ids_order":["1326846297","1326846299","1326846301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9b7fe18b8146c2c76621f683c0d4e7d.jpg","text":"TemporaryFile(/tmp/multipartBody6722812634963054397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046190839,"filename":"image_05012025_04_00_03_039862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c4cda2e1d2b285f73b38842d46b7f94a.jpg","text":"TemporaryFile(/tmp/multipartBody5293138475400102464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046190839,"filename":"image_05012025_04_01_02_749903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0212ef3a2e3c539b2eafcb081e4fb479.jpg","text":"TemporaryFile(/tmp/multipartBody216433488974546321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046190839,"filename":"image_05012025_04_01_02_749903_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846301","file1":"1326846299","file0":"1326846297"},"map_files_photo_id_array":[{"photo_id":"1326846301","filename":"file2"},{"photo_id":"1326846299","filename":"file1"},{"photo_id":"1326846297","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846297":["hashtag1","hashtag2"]},{"1326846301":["hashtag1","hashtag2"]},{"1326846299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846297, 1326846301, 1326846299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.97428321838379 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:03:02.554119
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/01/image_05012025_04_01_02_749903_0003.jpg', '/home/pi/Desktop/images/05012025/04/02/image_05012025_04_02_02_289804_0000.jpg', '/home/pi/Desktop/images/05012025/04/02/image_05012025_04_02_02_289804_0001.jpg', '/home/pi/Desktop/images/05012025/04/02/image_05012025_04_02_02_289804_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/04/01/image_05012025_04_01_02_749903_0003.jpg
/home/pi/Desktop/images/05012025/04/02/image_05012025_04_02_02_289804_0000.jpg
/home/pi/Desktop/images/05012025/04/02/image_05012025_04_02_02_289804_0001.jpg
/home/pi/Desktop/images/05012025/04/02/image_05012025_04_02_02_289804_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846311","1326846316","1326846312","1326846314"],"photo_ids_order":["1326846311","1326846312","1326846314","1326846316"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f3c0f15c4c1e0beedd9043e7f6d91f2e.jpg","text":"TemporaryFile(/tmp/multipartBody7917795245672624018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046253129,"filename":"image_05012025_04_01_02_749903_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5b50a36b96e0b3aeb55638ef77d21ffe.jpg","text":"TemporaryFile(/tmp/multipartBody6006186071198830728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046253129,"filename":"image_05012025_04_02_02_289804_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f39a4ebd70bf6b3056ddf4d04fc6add8.jpg","text":"TemporaryFile(/tmp/multipartBody5424597127080553467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046253129,"filename":"image_05012025_04_02_02_289804_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3d86d40562fe226794022be5b4b45a1.jpg","text":"TemporaryFile(/tmp/multipartBody5686428769560278515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046253129,"filename":"image_05012025_04_02_02_289804_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846314","file1":"1326846312","file0":"1326846311","file3":"1326846316"},"map_files_photo_id_array":[{"photo_id":"1326846314","filename":"file2"},{"photo_id":"1326846312","filename":"file1"},{"photo_id":"1326846311","filename":"file0"},{"photo_id":"1326846316","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846311":["hashtag1","hashtag2"]},{"1326846316":["hashtag1","hashtag2"]},{"1326846312":["hashtag1","hashtag2"]},{"1326846314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846311, 1326846316, 1326846312, 1326846314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15061378479004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:04:03.047119
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/02/image_05012025_04_02_02_289804_0003.jpg', '/home/pi/Desktop/images/05012025/04/03/image_05012025_04_03_02_843851_0000.jpg', '/home/pi/Desktop/images/05012025/04/03/image_05012025_04_03_02_843851_0001.jpg', '/home/pi/Desktop/images/05012025/04/03/image_05012025_04_03_02_843851_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/04/02/image_05012025_04_02_02_289804_0003.jpg
/home/pi/Desktop/images/05012025/04/03/image_05012025_04_03_02_843851_0000.jpg
/home/pi/Desktop/images/05012025/04/03/image_05012025_04_03_02_843851_0001.jpg
/home/pi/Desktop/images/05012025/04/03/image_05012025_04_03_02_843851_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846331","1326846328","1326846333","1326846329"],"photo_ids_order":["1326846328","1326846329","1326846331","1326846333"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/886080abc572a7d3898e91e7115f873d.jpg","text":"TemporaryFile(/tmp/multipartBody818553614274873622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046313514,"filename":"image_05012025_04_03_02_843851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ebe2e8aaf0e6ef950bc4c951f37cf25d.jpg","text":"TemporaryFile(/tmp/multipartBody7965299672343984945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046313514,"filename":"image_05012025_04_02_02_289804_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/97989bda7f2772757e71aa3a9e975ab5.jpg","text":"TemporaryFile(/tmp/multipartBody9182757120328661998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046313514,"filename":"image_05012025_04_03_02_843851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/53dd8a7c5ff8d52103ec410b498d35de.jpg","text":"TemporaryFile(/tmp/multipartBody7186749826589280437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046313514,"filename":"image_05012025_04_03_02_843851_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846331","file1":"1326846329","file0":"1326846328","file3":"1326846333"},"map_files_photo_id_array":[{"photo_id":"1326846331","filename":"file2"},{"photo_id":"1326846329","filename":"file1"},{"photo_id":"1326846328","filename":"file0"},{"photo_id":"1326846333","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846331":["hashtag1","hashtag2"]},{"1326846328":["hashtag1","hashtag2"]},{"1326846333":["hashtag1","hashtag2"]},{"1326846329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846331, 1326846328, 1326846333, 1326846329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.84386730194092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:05:02.646310
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/03/image_05012025_04_03_02_843851_0003.jpg', '/home/pi/Desktop/images/05012025/04/04/image_05012025_04_04_02_332606_0000.jpg', '/home/pi/Desktop/images/05012025/04/04/image_05012025_04_04_02_332606_0001.jpg', '/home/pi/Desktop/images/05012025/04/04/image_05012025_04_04_02_332606_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/04/03/image_05012025_04_03_02_843851_0003.jpg
/home/pi/Desktop/images/05012025/04/04/image_05012025_04_04_02_332606_0000.jpg
/home/pi/Desktop/images/05012025/04/04/image_05012025_04_04_02_332606_0001.jpg
/home/pi/Desktop/images/05012025/04/04/image_05012025_04_04_02_332606_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.986122846603394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:05:21.989982
SELECT 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/04/03/image_05012025_04_03_02_843851_0003.jpg', '/home/pi/Desktop/images/05012025/04/04/image_05012025_04_04_02_332606_0000.jpg', '/home/pi/Desktop/images/05012025/04/04/image_05012025_04_04_02_332606_0001.jpg', '/home/pi/Desktop/images/05012025/04/04/image_05012025_04_04_02_332606_0002.jpg', '/home/pi/Desktop/images/05012025/04/04/image_05012025_04_04_02_332606_0003.jpg', '/home/pi/Desktop/images/05012025/04/05/image_05012025_04_05_02_927774_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/04/03/image_05012025_04_03_02_843851_0003.jpg
/home/pi/Desktop/images/05012025/04/04/image_05012025_04_04_02_332606_0000.jpg
/home/pi/Desktop/images/05012025/04/04/image_05012025_04_04_02_332606_0001.jpg
/home/pi/Desktop/images/05012025/04/04/image_05012025_04_04_02_332606_0002.jpg
/home/pi/Desktop/images/05012025/04/04/image_05012025_04_04_02_332606_0003.jpg
/home/pi/Desktop/images/05012025/04/05/image_05012025_04_05_02_927774_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846355","1326846349","1326846357","1326846351","1326846353","1326846347"],"photo_ids_order":["1326846347","1326846349","1326846351","1326846353","1326846355","1326846357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4aacb9d9bc3e3e6914c85656c05beb44.jpg","text":"TemporaryFile(/tmp/multipartBody5919512150370802324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046397203,"filename":"image_05012025_04_04_02_332606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/35824336a8009895a0276e33f45662e0.jpg","text":"TemporaryFile(/tmp/multipartBody2366815059513524730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046397203,"filename":"image_05012025_04_04_02_332606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aba1d493c31859c0802df909ababbbbf.jpg","text":"TemporaryFile(/tmp/multipartBody7663799256585031239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046397203,"filename":"image_05012025_04_05_02_927774_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4ede58140346fc7e411db0c35f7e71a7.jpg","text":"TemporaryFile(/tmp/multipartBody6015285704649701816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046397203,"filename":"image_05012025_04_04_02_332606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2858e5b4ee5c5c93d956f8ce648a5f9d.jpg","text":"TemporaryFile(/tmp/multipartBody8289808123235457336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046397203,"filename":"image_05012025_04_04_02_332606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f494abb447b51a806b740f184725d4cb.jpg","text":"TemporaryFile(/tmp/multipartBody6351802571577210629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046397203,"filename":"image_05012025_04_03_02_843851_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846351","file1":"1326846349","file0":"1326846347","file4":"1326846355","file5":"1326846357","file3":"1326846353"},"map_files_photo_id_array":[{"photo_id":"1326846357","filename":"file5"},{"photo_id":"1326846351","filename":"file2"},{"photo_id":"1326846355","filename":"file4"},{"photo_id":"1326846349","filename":"file1"},{"photo_id":"1326846347","filename":"file0"},{"photo_id":"1326846353","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846355":["hashtag1","hashtag2"]},{"1326846349":["hashtag1","hashtag2"]},{"1326846357":["hashtag1","hashtag2"]},{"1326846351":["hashtag1","hashtag2"]},{"1326846353":["hashtag1","hashtag2"]},{"1326846347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846355, 1326846349, 1326846357, 1326846351, 1326846353, 1326846347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.562787771224976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:06:21.772937
SELECT 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/04/05/image_05012025_04_05_02_927774_0001.jpg', '/home/pi/Desktop/images/05012025/04/05/image_05012025_04_05_02_927774_0002.jpg', '/home/pi/Desktop/images/05012025/04/05/image_05012025_04_05_02_927774_0003.jpg', '/home/pi/Desktop/images/05012025/04/06/image_05012025_04_06_02_518631_0000.jpg', '/home/pi/Desktop/images/05012025/04/06/image_05012025_04_06_02_518631_0001.jpg', '/home/pi/Desktop/images/05012025/04/06/image_05012025_04_06_02_518631_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/04/05/image_05012025_04_05_02_927774_0001.jpg
/home/pi/Desktop/images/05012025/04/05/image_05012025_04_05_02_927774_0002.jpg
/home/pi/Desktop/images/05012025/04/05/image_05012025_04_05_02_927774_0003.jpg
/home/pi/Desktop/images/05012025/04/06/image_05012025_04_06_02_518631_0000.jpg
/home/pi/Desktop/images/05012025/04/06/image_05012025_04_06_02_518631_0001.jpg
/home/pi/Desktop/images/05012025/04/06/image_05012025_04_06_02_518631_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846373","1326846363","1326846395","1326846398","1326846392","1326846401"],"photo_ids_order":["1326846363","1326846373","1326846392","1326846395","1326846398","1326846401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d285567f17688a5bc4f4fda5f83252e2.jpg","text":"TemporaryFile(/tmp/multipartBody1716051004219726183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046456984,"filename":"image_05012025_04_05_02_927774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cb5243827e82e995dd22203f773a4642.jpg","text":"TemporaryFile(/tmp/multipartBody1946109025984154073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046456984,"filename":"image_05012025_04_05_02_927774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/af0c3f8c6406dbd9f53077185da96f14.jpg","text":"TemporaryFile(/tmp/multipartBody5008333669429756004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046456984,"filename":"image_05012025_04_06_02_518631_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c56f6942a73a995dee345d23e0ec5bc7.jpg","text":"TemporaryFile(/tmp/multipartBody7046073303095928660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046456984,"filename":"image_05012025_04_06_02_518631_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/95d5233c1e5686f62f38ebce0d1f104a.jpg","text":"TemporaryFile(/tmp/multipartBody1947982253857211511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046456984,"filename":"image_05012025_04_05_02_927774_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/15840864c0d201f724c7b4c006f5c853.jpg","text":"TemporaryFile(/tmp/multipartBody4454298531693876170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046456984,"filename":"image_05012025_04_06_02_518631_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846392","file1":"1326846373","file0":"1326846363","file4":"1326846398","file5":"1326846401","file3":"1326846395"},"map_files_photo_id_array":[{"photo_id":"1326846401","filename":"file5"},{"photo_id":"1326846392","filename":"file2"},{"photo_id":"1326846398","filename":"file4"},{"photo_id":"1326846373","filename":"file1"},{"photo_id":"1326846363","filename":"file0"},{"photo_id":"1326846395","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846373":["hashtag1","hashtag2"]},{"1326846363":["hashtag1","hashtag2"]},{"1326846395":["hashtag1","hashtag2"]},{"1326846398":["hashtag1","hashtag2"]},{"1326846392":["hashtag1","hashtag2"]},{"1326846401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846373, 1326846363, 1326846395, 1326846398, 1326846392, 1326846401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.1681113243103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:07:22.278617
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/06/image_05012025_04_06_02_518631_0003.jpg', '/home/pi/Desktop/images/05012025/04/07/image_05012025_04_07_02_127222_0001.jpg', '/home/pi/Desktop/images/05012025/04/07/image_05012025_04_07_02_127222_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/04/06/image_05012025_04_06_02_518631_0003.jpg
/home/pi/Desktop/images/05012025/04/07/image_05012025_04_07_02_127222_0001.jpg
/home/pi/Desktop/images/05012025/04/07/image_05012025_04_07_02_127222_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846411","1326846405","1326846408"],"photo_ids_order":["1326846405","1326846408","1326846411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f5068c6f08465c21e3eff72376d5ba10.jpg","text":"TemporaryFile(/tmp/multipartBody5134359488286645034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046510312,"filename":"image_05012025_04_07_02_127222_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9eeaba7a0de937d95e0d24ce086d1144.jpg","text":"TemporaryFile(/tmp/multipartBody4168401138608028292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046510312,"filename":"image_05012025_04_06_02_518631_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/92acf12dd8230358f4058e35bdb081a3.jpg","text":"TemporaryFile(/tmp/multipartBody974440408038021762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046510312,"filename":"image_05012025_04_07_02_127222_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846411","file1":"1326846408","file0":"1326846405"},"map_files_photo_id_array":[{"photo_id":"1326846411","filename":"file2"},{"photo_id":"1326846408","filename":"file1"},{"photo_id":"1326846405","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846411":["hashtag1","hashtag2"]},{"1326846405":["hashtag1","hashtag2"]},{"1326846408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846411, 1326846405, 1326846408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.42847442626953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:08:02.304431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:08:21.774221
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/07/image_05012025_04_07_02_127222_0003.jpg', '/home/pi/Desktop/images/05012025/04/08/image_05012025_04_08_02_690879_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/04/07/image_05012025_04_07_02_127222_0003.jpg
/home/pi/Desktop/images/05012025/04/08/image_05012025_04_08_02_690879_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: 5.155039548873901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:09:02.933596
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/07/image_05012025_04_07_02_127222_0003.jpg', '/home/pi/Desktop/images/05012025/04/08/image_05012025_04_08_02_690879_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/04/07/image_05012025_04_07_02_127222_0003.jpg
/home/pi/Desktop/images/05012025/04/08/image_05012025_04_08_02_690879_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846454","1326846453"],"photo_ids_order":["1326846453","1326846454"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/23a6c39fc337bb1ae7e99038c1c8f24d.jpg","text":"TemporaryFile(/tmp/multipartBody7230031581927177759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046608531,"filename":"image_05012025_04_08_02_690879_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/45626fff7f7ec6849268ecd67ee58d76.jpg","text":"TemporaryFile(/tmp/multipartBody8587125464520422888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046608531,"filename":"image_05012025_04_07_02_127222_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326846454","file0":"1326846453"},"map_files_photo_id_array":[{"photo_id":"1326846454","filename":"file1"},{"photo_id":"1326846453","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846454":["hashtag1","hashtag2"]},{"1326846453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846454, 1326846453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.11468768119812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:10:02.432326
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/08/image_05012025_04_08_02_690879_0003.jpg', '/home/pi/Desktop/images/05012025/04/09/image_05012025_04_09_02_188731_0000.jpg', '/home/pi/Desktop/images/05012025/04/09/image_05012025_04_09_02_188731_0001.jpg', '/home/pi/Desktop/images/05012025/04/09/image_05012025_04_09_02_188731_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/04/08/image_05012025_04_08_02_690879_0003.jpg
/home/pi/Desktop/images/05012025/04/09/image_05012025_04_09_02_188731_0000.jpg
/home/pi/Desktop/images/05012025/04/09/image_05012025_04_09_02_188731_0001.jpg
/home/pi/Desktop/images/05012025/04/09/image_05012025_04_09_02_188731_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.973438024520874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:10:21.951165
SELECT 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/04/08/image_05012025_04_08_02_690879_0003.jpg', '/home/pi/Desktop/images/05012025/04/09/image_05012025_04_09_02_188731_0000.jpg', '/home/pi/Desktop/images/05012025/04/09/image_05012025_04_09_02_188731_0001.jpg', '/home/pi/Desktop/images/05012025/04/09/image_05012025_04_09_02_188731_0002.jpg', '/home/pi/Desktop/images/05012025/04/09/image_05012025_04_09_02_188731_0003.jpg', '/home/pi/Desktop/images/05012025/04/10/image_05012025_04_10_02_667954_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/04/08/image_05012025_04_08_02_690879_0003.jpg
/home/pi/Desktop/images/05012025/04/09/image_05012025_04_09_02_188731_0000.jpg
/home/pi/Desktop/images/05012025/04/09/image_05012025_04_09_02_188731_0001.jpg
/home/pi/Desktop/images/05012025/04/09/image_05012025_04_09_02_188731_0002.jpg
/home/pi/Desktop/images/05012025/04/09/image_05012025_04_09_02_188731_0003.jpg
/home/pi/Desktop/images/05012025/04/10/image_05012025_04_10_02_667954_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846503","1326846495","1326846474","1326846501","1326846497","1326846499"],"photo_ids_order":["1326846474","1326846495","1326846497","1326846499","1326846501","1326846503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d909ca7340ad515c13ff8480fd1c516a.jpg","text":"TemporaryFile(/tmp/multipartBody31333609746615125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046697193,"filename":"image_05012025_04_10_02_667954_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/50b938bda9c495b5e6e6d7e46cc569c9.jpg","text":"TemporaryFile(/tmp/multipartBody2143308434709095654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046697193,"filename":"image_05012025_04_09_02_188731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a9a386b0240f531e6fbf105ca4f4b790.jpg","text":"TemporaryFile(/tmp/multipartBody2985783047691296205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046697193,"filename":"image_05012025_04_08_02_690879_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dbf1e5d32a89089544f6939c19af6ad6.jpg","text":"TemporaryFile(/tmp/multipartBody8786220035476292668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046697193,"filename":"image_05012025_04_09_02_188731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cd8ce00fcab2d42274aadf63fcfd52a7.jpg","text":"TemporaryFile(/tmp/multipartBody6110015977553259640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046697193,"filename":"image_05012025_04_09_02_188731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/912eeea9f942633e32169bfd054a3181.jpg","text":"TemporaryFile(/tmp/multipartBody5347964645509798383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046697193,"filename":"image_05012025_04_09_02_188731_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846497","file1":"1326846495","file0":"1326846474","file4":"1326846501","file5":"1326846503","file3":"1326846499"},"map_files_photo_id_array":[{"photo_id":"1326846503","filename":"file5"},{"photo_id":"1326846497","filename":"file2"},{"photo_id":"1326846501","filename":"file4"},{"photo_id":"1326846495","filename":"file1"},{"photo_id":"1326846474","filename":"file0"},{"photo_id":"1326846499","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846503":["hashtag1","hashtag2"]},{"1326846495":["hashtag1","hashtag2"]},{"1326846474":["hashtag1","hashtag2"]},{"1326846501":["hashtag1","hashtag2"]},{"1326846497":["hashtag1","hashtag2"]},{"1326846499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846503, 1326846495, 1326846474, 1326846501, 1326846497, 1326846499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.195104360580444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:11:22.496076
SELECT 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/04/10/image_05012025_04_10_02_667954_0001.jpg', '/home/pi/Desktop/images/05012025/04/10/image_05012025_04_10_02_667954_0002.jpg', '/home/pi/Desktop/images/05012025/04/10/image_05012025_04_10_02_667954_0003.jpg', '/home/pi/Desktop/images/05012025/04/11/image_05012025_04_11_02_334710_0000.jpg', '/home/pi/Desktop/images/05012025/04/11/image_05012025_04_11_02_334710_0001.jpg', '/home/pi/Desktop/images/05012025/04/11/image_05012025_04_11_02_334710_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/04/10/image_05012025_04_10_02_667954_0001.jpg
/home/pi/Desktop/images/05012025/04/10/image_05012025_04_10_02_667954_0002.jpg
/home/pi/Desktop/images/05012025/04/10/image_05012025_04_10_02_667954_0003.jpg
/home/pi/Desktop/images/05012025/04/11/image_05012025_04_11_02_334710_0000.jpg
/home/pi/Desktop/images/05012025/04/11/image_05012025_04_11_02_334710_0001.jpg
/home/pi/Desktop/images/05012025/04/11/image_05012025_04_11_02_334710_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846607","1326846621","1326846599","1326846603","1326846623","1326846605"],"photo_ids_order":["1326846599","1326846603","1326846605","1326846607","1326846621","1326846623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/49ec6f90ada4a80e13c2f6bece658c0c.jpg","text":"TemporaryFile(/tmp/multipartBody8993376936121332080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046757693,"filename":"image_05012025_04_11_02_334710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4131bd2f2386f9362f36a569188def13.jpg","text":"TemporaryFile(/tmp/multipartBody8597866668025910835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046757693,"filename":"image_05012025_04_11_02_334710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3498bd00f8c0d153e566aea8fc7665c8.jpg","text":"TemporaryFile(/tmp/multipartBody6391997061612947698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046757693,"filename":"image_05012025_04_10_02_667954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/96329b0a2b51ee645505eb6eb95b02f9.jpg","text":"TemporaryFile(/tmp/multipartBody3706753885121302665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046757693,"filename":"image_05012025_04_10_02_667954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8cdad9b8bab1694fc91bb324a21d526d.jpg","text":"TemporaryFile(/tmp/multipartBody6219449864505491569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046757693,"filename":"image_05012025_04_11_02_334710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7559ce7bbca64a57499a6a6eb596f935.jpg","text":"TemporaryFile(/tmp/multipartBody7513674624683290488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046757693,"filename":"image_05012025_04_10_02_667954_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846605","file1":"1326846603","file0":"1326846599","file4":"1326846621","file5":"1326846623","file3":"1326846607"},"map_files_photo_id_array":[{"photo_id":"1326846623","filename":"file5"},{"photo_id":"1326846605","filename":"file2"},{"photo_id":"1326846621","filename":"file4"},{"photo_id":"1326846603","filename":"file1"},{"photo_id":"1326846599","filename":"file0"},{"photo_id":"1326846607","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846607":["hashtag1","hashtag2"]},{"1326846621":["hashtag1","hashtag2"]},{"1326846599":["hashtag1","hashtag2"]},{"1326846603":["hashtag1","hashtag2"]},{"1326846623":["hashtag1","hashtag2"]},{"1326846605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846607, 1326846621, 1326846599, 1326846603, 1326846623, 1326846605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.87288522720337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:12:22.096211
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/11/image_05012025_04_11_02_334710_0003.jpg', '/home/pi/Desktop/images/05012025/04/12/image_05012025_04_12_02_922095_0000.jpg', '/home/pi/Desktop/images/05012025/04/12/image_05012025_04_12_02_922095_0001.jpg', '/home/pi/Desktop/images/05012025/04/12/image_05012025_04_12_02_922095_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/04/11/image_05012025_04_11_02_334710_0003.jpg
/home/pi/Desktop/images/05012025/04/12/image_05012025_04_12_02_922095_0000.jpg
/home/pi/Desktop/images/05012025/04/12/image_05012025_04_12_02_922095_0001.jpg
/home/pi/Desktop/images/05012025/04/12/image_05012025_04_12_02_922095_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846691","1326846700","1326846686","1326846683"],"photo_ids_order":["1326846683","1326846686","1326846691","1326846700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9fcb458d0833719bab521148bed6b127.jpg","text":"TemporaryFile(/tmp/multipartBody5008736116805028209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046812491,"filename":"image_05012025_04_12_02_922095_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2d421925dce238f7c0071cad6ecbf0be.jpg","text":"TemporaryFile(/tmp/multipartBody884535397651084749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046812491,"filename":"image_05012025_04_12_02_922095_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4ef6f70398676bbffe06d61d823510a2.jpg","text":"TemporaryFile(/tmp/multipartBody3110136783227299437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046812491,"filename":"image_05012025_04_12_02_922095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2317091c6f6ce8d860d582c959308430.jpg","text":"TemporaryFile(/tmp/multipartBody2948030120533311406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046812491,"filename":"image_05012025_04_11_02_334710_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846691","file1":"1326846686","file0":"1326846683","file3":"1326846700"},"map_files_photo_id_array":[{"photo_id":"1326846691","filename":"file2"},{"photo_id":"1326846686","filename":"file1"},{"photo_id":"1326846683","filename":"file0"},{"photo_id":"1326846700","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846691":["hashtag1","hashtag2"]},{"1326846700":["hashtag1","hashtag2"]},{"1326846686":["hashtag1","hashtag2"]},{"1326846683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846691, 1326846700, 1326846686, 1326846683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.2567253112793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:13:22.616423
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/12/image_05012025_04_12_02_922095_0003.jpg', '/home/pi/Desktop/images/05012025/04/13/image_05012025_04_13_02_460901_0000.jpg', '/home/pi/Desktop/images/05012025/04/13/image_05012025_04_13_02_460901_0001.jpg', '/home/pi/Desktop/images/05012025/04/13/image_05012025_04_13_02_460901_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/04/12/image_05012025_04_12_02_922095_0003.jpg
/home/pi/Desktop/images/05012025/04/13/image_05012025_04_13_02_460901_0000.jpg
/home/pi/Desktop/images/05012025/04/13/image_05012025_04_13_02_460901_0001.jpg
/home/pi/Desktop/images/05012025/04/13/image_05012025_04_13_02_460901_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846744","1326846747","1326846749","1326846740"],"photo_ids_order":["1326846740","1326846744","1326846747","1326846749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1eafada460d86614a0c49fb9d4416dc0.jpg","text":"TemporaryFile(/tmp/multipartBody8656651508966523775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046873019,"filename":"image_05012025_04_13_02_460901_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b6531bf97f4b77d6de0ac2a908ed3c82.jpg","text":"TemporaryFile(/tmp/multipartBody290242356214488486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046873019,"filename":"image_05012025_04_13_02_460901_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe161a1794b866e8a0da64fbd0f9a975.jpg","text":"TemporaryFile(/tmp/multipartBody6469465422463962933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046873019,"filename":"image_05012025_04_13_02_460901_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a5a908018dfcee7299f13c929c9917f4.jpg","text":"TemporaryFile(/tmp/multipartBody6880361637231905891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046873019,"filename":"image_05012025_04_12_02_922095_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846747","file1":"1326846744","file0":"1326846740","file3":"1326846749"},"map_files_photo_id_array":[{"photo_id":"1326846747","filename":"file2"},{"photo_id":"1326846744","filename":"file1"},{"photo_id":"1326846740","filename":"file0"},{"photo_id":"1326846749","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846744":["hashtag1","hashtag2"]},{"1326846747":["hashtag1","hashtag2"]},{"1326846749":["hashtag1","hashtag2"]},{"1326846740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846744, 1326846747, 1326846749, 1326846740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.92094707489014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:14:22.115801
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/13/image_05012025_04_13_02_460901_0003.jpg', '/home/pi/Desktop/images/05012025/04/14/image_05012025_04_14_02_963361_0000.jpg', '/home/pi/Desktop/images/05012025/04/14/image_05012025_04_14_02_963361_0001.jpg', '/home/pi/Desktop/images/05012025/04/14/image_05012025_04_14_02_963361_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/04/13/image_05012025_04_13_02_460901_0003.jpg
/home/pi/Desktop/images/05012025/04/14/image_05012025_04_14_02_963361_0000.jpg
/home/pi/Desktop/images/05012025/04/14/image_05012025_04_14_02_963361_0001.jpg
/home/pi/Desktop/images/05012025/04/14/image_05012025_04_14_02_963361_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846908","1326846910","1326846906","1326846903"],"photo_ids_order":["1326846903","1326846906","1326846908","1326846910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7240a091f74556b6b1ae632bae7b1179.jpg","text":"TemporaryFile(/tmp/multipartBody1554106469669270724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046932413,"filename":"image_05012025_04_14_02_963361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9e956c2e7c1822cd4d4b98c5bfdc232.jpg","text":"TemporaryFile(/tmp/multipartBody4501562202819933292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046932413,"filename":"image_05012025_04_14_02_963361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2936b750a6d03bc021437e88a540a935.jpg","text":"TemporaryFile(/tmp/multipartBody3758355851574629976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046932413,"filename":"image_05012025_04_14_02_963361_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/de53c429c9c705e584ad60a4ce76d951.jpg","text":"TemporaryFile(/tmp/multipartBody8351509109797953127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046932413,"filename":"image_05012025_04_13_02_460901_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846908","file1":"1326846906","file0":"1326846903","file3":"1326846910"},"map_files_photo_id_array":[{"photo_id":"1326846908","filename":"file2"},{"photo_id":"1326846906","filename":"file1"},{"photo_id":"1326846903","filename":"file0"},{"photo_id":"1326846910","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846908":["hashtag1","hashtag2"]},{"1326846910":["hashtag1","hashtag2"]},{"1326846906":["hashtag1","hashtag2"]},{"1326846903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846908, 1326846910, 1326846906, 1326846903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.702187061309814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:15:03.039683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:15:22.527008
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/14/image_05012025_04_14_02_963361_0003.jpg', '/home/pi/Desktop/images/05012025/04/15/image_05012025_04_15_02_475803_0000.jpg', '/home/pi/Desktop/images/05012025/04/15/image_05012025_04_15_02_475803_0001.jpg', '/home/pi/Desktop/images/05012025/04/15/image_05012025_04_15_02_475803_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/04/14/image_05012025_04_14_02_963361_0003.jpg
/home/pi/Desktop/images/05012025/04/15/image_05012025_04_15_02_475803_0000.jpg
/home/pi/Desktop/images/05012025/04/15/image_05012025_04_15_02_475803_0001.jpg
/home/pi/Desktop/images/05012025/04/15/image_05012025_04_15_02_475803_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846940","1326846936","1326846933","1326846938"],"photo_ids_order":["1326846933","1326846936","1326846938","1326846940"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/048375bb0aaab67c0cd763a9a620e0a9.jpg","text":"TemporaryFile(/tmp/multipartBody5808380236911158779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046992857,"filename":"image_05012025_04_15_02_475803_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5d569895f2e41e9f9b72af947ccd155f.jpg","text":"TemporaryFile(/tmp/multipartBody1297758709827061278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046992857,"filename":"image_05012025_04_15_02_475803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b18435b7018386fcb58e679ebc8675f8.jpg","text":"TemporaryFile(/tmp/multipartBody8887858365614514973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046992857,"filename":"image_05012025_04_14_02_963361_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f1a77694089fa5f35999499590b71492.jpg","text":"TemporaryFile(/tmp/multipartBody80938049931266704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736046992857,"filename":"image_05012025_04_15_02_475803_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846938","file1":"1326846936","file0":"1326846933","file3":"1326846940"},"map_files_photo_id_array":[{"photo_id":"1326846938","filename":"file2"},{"photo_id":"1326846936","filename":"file1"},{"photo_id":"1326846933","filename":"file0"},{"photo_id":"1326846940","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846940":["hashtag1","hashtag2"]},{"1326846936":["hashtag1","hashtag2"]},{"1326846933":["hashtag1","hashtag2"]},{"1326846938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846940, 1326846936, 1326846933, 1326846938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.99961042404175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:16:02.701120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:16:22.346490
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/15/image_05012025_04_15_02_475803_0003.jpg', '/home/pi/Desktop/images/05012025/04/16/image_05012025_04_16_02_929819_0000.jpg', '/home/pi/Desktop/images/05012025/04/16/image_05012025_04_16_02_929819_0001.jpg', '/home/pi/Desktop/images/05012025/04/16/image_05012025_04_16_02_929819_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/04/15/image_05012025_04_15_02_475803_0003.jpg
/home/pi/Desktop/images/05012025/04/16/image_05012025_04_16_02_929819_0000.jpg
/home/pi/Desktop/images/05012025/04/16/image_05012025_04_16_02_929819_0001.jpg
/home/pi/Desktop/images/05012025/04/16/image_05012025_04_16_02_929819_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846949","1326846954","1326846951","1326846947"],"photo_ids_order":["1326846947","1326846949","1326846951","1326846954"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/efcd06b335b2a9de03ffbc36ad53d98b.jpg","text":"TemporaryFile(/tmp/multipartBody367381596211282988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047052836,"filename":"image_05012025_04_16_02_929819_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/452249e57c6f7d5ec2b0cc9bb03ffd66.jpg","text":"TemporaryFile(/tmp/multipartBody2416882266066100224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047052836,"filename":"image_05012025_04_16_02_929819_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/119de0e543d661cf452a208557b28b81.jpg","text":"TemporaryFile(/tmp/multipartBody1409297590914232286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047052836,"filename":"image_05012025_04_16_02_929819_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/25930ba2d7bf5704dc5ecfcbf4f6f6b9.jpg","text":"TemporaryFile(/tmp/multipartBody6613762749908172591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047052836,"filename":"image_05012025_04_15_02_475803_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846951","file1":"1326846949","file0":"1326846947","file3":"1326846954"},"map_files_photo_id_array":[{"photo_id":"1326846951","filename":"file2"},{"photo_id":"1326846949","filename":"file1"},{"photo_id":"1326846947","filename":"file0"},{"photo_id":"1326846954","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846949":["hashtag1","hashtag2"]},{"1326846954":["hashtag1","hashtag2"]},{"1326846951":["hashtag1","hashtag2"]},{"1326846947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846949, 1326846954, 1326846951, 1326846947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.06158185005188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:17:02.449984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:17:21.779032
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/16/image_05012025_04_16_02_929819_0003.jpg', '/home/pi/Desktop/images/05012025/04/17/image_05012025_04_17_02_724530_0000.jpg', '/home/pi/Desktop/images/05012025/04/17/image_05012025_04_17_02_724530_0001.jpg', '/home/pi/Desktop/images/05012025/04/17/image_05012025_04_17_02_724530_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/04/16/image_05012025_04_16_02_929819_0003.jpg
/home/pi/Desktop/images/05012025/04/17/image_05012025_04_17_02_724530_0000.jpg
/home/pi/Desktop/images/05012025/04/17/image_05012025_04_17_02_724530_0001.jpg
/home/pi/Desktop/images/05012025/04/17/image_05012025_04_17_02_724530_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326846967","1326846969","1326846971","1326846965"],"photo_ids_order":["1326846965","1326846967","1326846969","1326846971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e7062b58a1c00391838127a4bf9ad72.jpg","text":"TemporaryFile(/tmp/multipartBody7872781830486409656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047112346,"filename":"image_05012025_04_17_02_724530_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/afc7f3139355f00eb8c0d89a970f31c6.jpg","text":"TemporaryFile(/tmp/multipartBody7813161622543998098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047112346,"filename":"image_05012025_04_17_02_724530_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/044e51bd73444e56389a8b6d8ebf897c.jpg","text":"TemporaryFile(/tmp/multipartBody8485213296404693989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047112346,"filename":"image_05012025_04_17_02_724530_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/695640247288834c1d82665f5cc732ea.jpg","text":"TemporaryFile(/tmp/multipartBody8940868352783245286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047112346,"filename":"image_05012025_04_16_02_929819_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326846969","file1":"1326846967","file0":"1326846965","file3":"1326846971"},"map_files_photo_id_array":[{"photo_id":"1326846969","filename":"file2"},{"photo_id":"1326846967","filename":"file1"},{"photo_id":"1326846965","filename":"file0"},{"photo_id":"1326846971","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326846967":["hashtag1","hashtag2"]},{"1326846969":["hashtag1","hashtag2"]},{"1326846971":["hashtag1","hashtag2"]},{"1326846965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326846967, 1326846969, 1326846971, 1326846965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66519832611084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:18:02.732840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:18:22.385386
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/17/image_05012025_04_17_02_724530_0003.jpg', '/home/pi/Desktop/images/05012025/04/18/image_05012025_04_18_02_166622_0000.jpg', '/home/pi/Desktop/images/05012025/04/18/image_05012025_04_18_02_166622_0001.jpg', '/home/pi/Desktop/images/05012025/04/18/image_05012025_04_18_02_166622_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/04/17/image_05012025_04_17_02_724530_0003.jpg
/home/pi/Desktop/images/05012025/04/18/image_05012025_04_18_02_166622_0000.jpg
/home/pi/Desktop/images/05012025/04/18/image_05012025_04_18_02_166622_0001.jpg
/home/pi/Desktop/images/05012025/04/18/image_05012025_04_18_02_166622_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.121335744857788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:19:02.366835
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/17/image_05012025_04_17_02_724530_0003.jpg', '/home/pi/Desktop/images/05012025/04/18/image_05012025_04_18_02_166622_0000.jpg', '/home/pi/Desktop/images/05012025/04/18/image_05012025_04_18_02_166622_0001.jpg', '/home/pi/Desktop/images/05012025/04/18/image_05012025_04_18_02_166622_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/04/17/image_05012025_04_17_02_724530_0003.jpg
/home/pi/Desktop/images/05012025/04/18/image_05012025_04_18_02_166622_0000.jpg
/home/pi/Desktop/images/05012025/04/18/image_05012025_04_18_02_166622_0001.jpg
/home/pi/Desktop/images/05012025/04/18/image_05012025_04_18_02_166622_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847030","1326847029","1326847032","1326847034"],"photo_ids_order":["1326847029","1326847030","1326847032","1326847034"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/24833517068f8f693bb56f94b0d0f074.jpg","text":"TemporaryFile(/tmp/multipartBody729370939108106726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047212967,"filename":"image_05012025_04_18_02_166622_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/335a1dee9f74fab52d919b06aa70ebd6.jpg","text":"TemporaryFile(/tmp/multipartBody939747931142924663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047212967,"filename":"image_05012025_04_17_02_724530_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/277d618c1e514de3b25a36129d67de92.jpg","text":"TemporaryFile(/tmp/multipartBody312320171386293838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047212967,"filename":"image_05012025_04_18_02_166622_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ace9a65ff434ab5f1be5a8b4a474ca7d.jpg","text":"TemporaryFile(/tmp/multipartBody8876642058050906850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047212967,"filename":"image_05012025_04_18_02_166622_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847032","file1":"1326847030","file0":"1326847029","file3":"1326847034"},"map_files_photo_id_array":[{"photo_id":"1326847032","filename":"file2"},{"photo_id":"1326847030","filename":"file1"},{"photo_id":"1326847029","filename":"file0"},{"photo_id":"1326847034","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847030":["hashtag1","hashtag2"]},{"1326847029":["hashtag1","hashtag2"]},{"1326847032":["hashtag1","hashtag2"]},{"1326847034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847030, 1326847029, 1326847032, 1326847034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.29702949523926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:20:03.008972
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/18/image_05012025_04_18_02_166622_0003.jpg', '/home/pi/Desktop/images/05012025/04/19/image_05012025_04_19_02_770774_0000.jpg', '/home/pi/Desktop/images/05012025/04/19/image_05012025_04_19_02_770774_0001.jpg', '/home/pi/Desktop/images/05012025/04/19/image_05012025_04_19_02_770774_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/04/18/image_05012025_04_18_02_166622_0003.jpg
/home/pi/Desktop/images/05012025/04/19/image_05012025_04_19_02_770774_0000.jpg
/home/pi/Desktop/images/05012025/04/19/image_05012025_04_19_02_770774_0001.jpg
/home/pi/Desktop/images/05012025/04/19/image_05012025_04_19_02_770774_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.996853113174438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:20:22.555373
SELECT 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/04/18/image_05012025_04_18_02_166622_0003.jpg', '/home/pi/Desktop/images/05012025/04/19/image_05012025_04_19_02_770774_0000.jpg', '/home/pi/Desktop/images/05012025/04/19/image_05012025_04_19_02_770774_0001.jpg', '/home/pi/Desktop/images/05012025/04/19/image_05012025_04_19_02_770774_0002.jpg', '/home/pi/Desktop/images/05012025/04/19/image_05012025_04_19_02_770774_0003.jpg', '/home/pi/Desktop/images/05012025/04/20/image_05012025_04_20_02_277242_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/04/18/image_05012025_04_18_02_166622_0003.jpg
/home/pi/Desktop/images/05012025/04/19/image_05012025_04_19_02_770774_0000.jpg
/home/pi/Desktop/images/05012025/04/19/image_05012025_04_19_02_770774_0001.jpg
/home/pi/Desktop/images/05012025/04/19/image_05012025_04_19_02_770774_0002.jpg
/home/pi/Desktop/images/05012025/04/19/image_05012025_04_19_02_770774_0003.jpg
/home/pi/Desktop/images/05012025/04/20/image_05012025_04_20_02_277242_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847318","1326847216","1326847320","1326847314","1326847238","1326847316"],"photo_ids_order":["1326847216","1326847238","1326847314","1326847316","1326847318","1326847320"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/64da51481f7c8ee59e2837abb07cac31.jpg","text":"TemporaryFile(/tmp/multipartBody9130450989589479046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047297776,"filename":"image_05012025_04_19_02_770774_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f8fac20966973dcdda6c60c1d238a60.jpg","text":"TemporaryFile(/tmp/multipartBody5317351957133528276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047297776,"filename":"image_05012025_04_18_02_166622_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7e1e71a3cf25bbcaf2f289ec00ae1c40.jpg","text":"TemporaryFile(/tmp/multipartBody7158662333439611382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047297776,"filename":"image_05012025_04_20_02_277242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b85c3470199a2ab9fa030cbe98a5a32.jpg","text":"TemporaryFile(/tmp/multipartBody8640424063086311861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047297776,"filename":"image_05012025_04_19_02_770774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b7b1f5f81de86af43dfac60af34aa52.jpg","text":"TemporaryFile(/tmp/multipartBody2468002979746299945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047297776,"filename":"image_05012025_04_19_02_770774_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b73fad0c32455b0259388952e3bca161.jpg","text":"TemporaryFile(/tmp/multipartBody7144736997506775538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047297776,"filename":"image_05012025_04_19_02_770774_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847314","file1":"1326847238","file0":"1326847216","file4":"1326847318","file5":"1326847320","file3":"1326847316"},"map_files_photo_id_array":[{"photo_id":"1326847320","filename":"file5"},{"photo_id":"1326847314","filename":"file2"},{"photo_id":"1326847318","filename":"file4"},{"photo_id":"1326847238","filename":"file1"},{"photo_id":"1326847216","filename":"file0"},{"photo_id":"1326847316","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847318":["hashtag1","hashtag2"]},{"1326847216":["hashtag1","hashtag2"]},{"1326847320":["hashtag1","hashtag2"]},{"1326847314":["hashtag1","hashtag2"]},{"1326847238":["hashtag1","hashtag2"]},{"1326847316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847318, 1326847216, 1326847320, 1326847314, 1326847238, 1326847316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.585429191589355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:21:22.060914
SELECT 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/04/20/image_05012025_04_20_02_277242_0001.jpg', '/home/pi/Desktop/images/05012025/04/20/image_05012025_04_20_02_277242_0002.jpg', '/home/pi/Desktop/images/05012025/04/20/image_05012025_04_20_02_277242_0003.jpg', '/home/pi/Desktop/images/05012025/04/21/image_05012025_04_21_02_951906_0000.jpg', '/home/pi/Desktop/images/05012025/04/21/image_05012025_04_21_02_951906_0001.jpg', '/home/pi/Desktop/images/05012025/04/21/image_05012025_04_21_02_951906_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/04/20/image_05012025_04_20_02_277242_0001.jpg
/home/pi/Desktop/images/05012025/04/20/image_05012025_04_20_02_277242_0002.jpg
/home/pi/Desktop/images/05012025/04/20/image_05012025_04_20_02_277242_0003.jpg
/home/pi/Desktop/images/05012025/04/21/image_05012025_04_21_02_951906_0000.jpg
/home/pi/Desktop/images/05012025/04/21/image_05012025_04_21_02_951906_0001.jpg
/home/pi/Desktop/images/05012025/04/21/image_05012025_04_21_02_951906_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847357","1326847359","1326847361","1326847355","1326847325","1326847328"],"photo_ids_order":["1326847325","1326847328","1326847355","1326847357","1326847359","1326847361"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/63b0da0e9c22f80f8888bc967fdb5e3e.jpg","text":"TemporaryFile(/tmp/multipartBody3343385776862911721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047357273,"filename":"image_05012025_04_21_02_951906_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/916020be2ef4583aed6f86c92caeb1bc.jpg","text":"TemporaryFile(/tmp/multipartBody6722996997981703974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047357273,"filename":"image_05012025_04_21_02_951906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5cbcddbfc0e5b5b08964da6333f7abd5.jpg","text":"TemporaryFile(/tmp/multipartBody3817364124221023385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047357273,"filename":"image_05012025_04_21_02_951906_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b9540a98a950d1f66b78eb3fbb179439.jpg","text":"TemporaryFile(/tmp/multipartBody1042366719363650212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047357273,"filename":"image_05012025_04_20_02_277242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f4a14b46240c6e15c11c1df1f4703a94.jpg","text":"TemporaryFile(/tmp/multipartBody5612246304070748754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047357273,"filename":"image_05012025_04_20_02_277242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/083ebfde72331923972da03ffec25cc0.jpg","text":"TemporaryFile(/tmp/multipartBody3653383576758249376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047357273,"filename":"image_05012025_04_20_02_277242_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847355","file1":"1326847328","file0":"1326847325","file4":"1326847359","file5":"1326847361","file3":"1326847357"},"map_files_photo_id_array":[{"photo_id":"1326847361","filename":"file5"},{"photo_id":"1326847355","filename":"file2"},{"photo_id":"1326847359","filename":"file4"},{"photo_id":"1326847328","filename":"file1"},{"photo_id":"1326847325","filename":"file0"},{"photo_id":"1326847357","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847357":["hashtag1","hashtag2"]},{"1326847359":["hashtag1","hashtag2"]},{"1326847361":["hashtag1","hashtag2"]},{"1326847355":["hashtag1","hashtag2"]},{"1326847325":["hashtag1","hashtag2"]},{"1326847328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847357, 1326847359, 1326847361, 1326847355, 1326847325, 1326847328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.563398361206055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:22:22.552477
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/21/image_05012025_04_21_02_951906_0003.jpg', '/home/pi/Desktop/images/05012025/04/22/image_05012025_04_22_02_457739_0000.jpg', '/home/pi/Desktop/images/05012025/04/22/image_05012025_04_22_02_457739_0001.jpg', '/home/pi/Desktop/images/05012025/04/22/image_05012025_04_22_02_457739_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/04/21/image_05012025_04_21_02_951906_0003.jpg
/home/pi/Desktop/images/05012025/04/22/image_05012025_04_22_02_457739_0000.jpg
/home/pi/Desktop/images/05012025/04/22/image_05012025_04_22_02_457739_0001.jpg
/home/pi/Desktop/images/05012025/04/22/image_05012025_04_22_02_457739_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847365","1326847373","1326847367","1326847370"],"photo_ids_order":["1326847365","1326847367","1326847370","1326847373"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/de57d95fbf79d4515ac718623ec9bb98.jpg","text":"TemporaryFile(/tmp/multipartBody8740081944179190485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047412863,"filename":"image_05012025_04_21_02_951906_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f59b7cbda0902b8b51e7511472579409.jpg","text":"TemporaryFile(/tmp/multipartBody6727146888376847355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047412863,"filename":"image_05012025_04_22_02_457739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f6707dfdeab039758e514bb1199c19b1.jpg","text":"TemporaryFile(/tmp/multipartBody8392670603649334534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047412863,"filename":"image_05012025_04_22_02_457739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b361387cae379fbf4f329ef4425926a.jpg","text":"TemporaryFile(/tmp/multipartBody958432127613318028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047412863,"filename":"image_05012025_04_22_02_457739_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847370","file1":"1326847367","file0":"1326847365","file3":"1326847373"},"map_files_photo_id_array":[{"photo_id":"1326847370","filename":"file2"},{"photo_id":"1326847367","filename":"file1"},{"photo_id":"1326847365","filename":"file0"},{"photo_id":"1326847373","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847365":["hashtag1","hashtag2"]},{"1326847373":["hashtag1","hashtag2"]},{"1326847367":["hashtag1","hashtag2"]},{"1326847370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847365, 1326847373, 1326847367, 1326847370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.08483934402466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:23:22.004930
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/22/image_05012025_04_22_02_457739_0003.jpg', '/home/pi/Desktop/images/05012025/04/23/image_05012025_04_23_02_906583_0000.jpg', '/home/pi/Desktop/images/05012025/04/23/image_05012025_04_23_02_906583_0001.jpg', '/home/pi/Desktop/images/05012025/04/23/image_05012025_04_23_02_906583_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/04/22/image_05012025_04_22_02_457739_0003.jpg
/home/pi/Desktop/images/05012025/04/23/image_05012025_04_23_02_906583_0000.jpg
/home/pi/Desktop/images/05012025/04/23/image_05012025_04_23_02_906583_0001.jpg
/home/pi/Desktop/images/05012025/04/23/image_05012025_04_23_02_906583_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847389","1326847383","1326847385","1326847387"],"photo_ids_order":["1326847383","1326847385","1326847387","1326847389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/28ca9656ea1c2fdca6fc271856bc616c.jpg","text":"TemporaryFile(/tmp/multipartBody7246614434489795722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047472243,"filename":"image_05012025_04_23_02_906583_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e498270fd056e654c54958a7fab96db6.jpg","text":"TemporaryFile(/tmp/multipartBody310039243125323068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047472243,"filename":"image_05012025_04_22_02_457739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5fe6636517f32489cc146d40402e824d.jpg","text":"TemporaryFile(/tmp/multipartBody854923593815779450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047472243,"filename":"image_05012025_04_23_02_906583_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ecfcfc9863de143270ceec614e89a0b.jpg","text":"TemporaryFile(/tmp/multipartBody1253664784603734975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047472243,"filename":"image_05012025_04_23_02_906583_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847387","file1":"1326847385","file0":"1326847383","file3":"1326847389"},"map_files_photo_id_array":[{"photo_id":"1326847387","filename":"file2"},{"photo_id":"1326847385","filename":"file1"},{"photo_id":"1326847383","filename":"file0"},{"photo_id":"1326847389","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847389":["hashtag1","hashtag2"]},{"1326847383":["hashtag1","hashtag2"]},{"1326847385":["hashtag1","hashtag2"]},{"1326847387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847389, 1326847383, 1326847385, 1326847387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63248682022095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:24:02.916888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:24:22.492243
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/23/image_05012025_04_23_02_906583_0003.jpg', '/home/pi/Desktop/images/05012025/04/24/image_05012025_04_24_02_427662_0000.jpg', '/home/pi/Desktop/images/05012025/04/24/image_05012025_04_24_02_427662_0001.jpg', '/home/pi/Desktop/images/05012025/04/24/image_05012025_04_24_02_427662_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/04/23/image_05012025_04_23_02_906583_0003.jpg
/home/pi/Desktop/images/05012025/04/24/image_05012025_04_24_02_427662_0000.jpg
/home/pi/Desktop/images/05012025/04/24/image_05012025_04_24_02_427662_0001.jpg
/home/pi/Desktop/images/05012025/04/24/image_05012025_04_24_02_427662_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.765488147735596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:25:02.790930
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/23/image_05012025_04_23_02_906583_0003.jpg', '/home/pi/Desktop/images/05012025/04/24/image_05012025_04_24_02_427662_0000.jpg', '/home/pi/Desktop/images/05012025/04/24/image_05012025_04_24_02_427662_0001.jpg', '/home/pi/Desktop/images/05012025/04/24/image_05012025_04_24_02_427662_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/04/23/image_05012025_04_23_02_906583_0003.jpg
/home/pi/Desktop/images/05012025/04/24/image_05012025_04_24_02_427662_0000.jpg
/home/pi/Desktop/images/05012025/04/24/image_05012025_04_24_02_427662_0001.jpg
/home/pi/Desktop/images/05012025/04/24/image_05012025_04_24_02_427662_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847561","1326847560","1326847557","1326847558"],"photo_ids_order":["1326847557","1326847558","1326847560","1326847561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5e78d8830685190917a2d576e03a25c7.jpg","text":"TemporaryFile(/tmp/multipartBody4102919455770440261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047573009,"filename":"image_05012025_04_24_02_427662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e37477750411a50c461a32b7cf3e9d1b.jpg","text":"TemporaryFile(/tmp/multipartBody761461585251756006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047573009,"filename":"image_05012025_04_24_02_427662_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02d367f1464c624c6376c651925f0fed.jpg","text":"TemporaryFile(/tmp/multipartBody3646096608549058654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047573009,"filename":"image_05012025_04_23_02_906583_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bebfd8662a75277fc2483f5e101e6b5c.jpg","text":"TemporaryFile(/tmp/multipartBody1715266117465022368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047573009,"filename":"image_05012025_04_24_02_427662_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847560","file1":"1326847558","file0":"1326847557","file3":"1326847561"},"map_files_photo_id_array":[{"photo_id":"1326847560","filename":"file2"},{"photo_id":"1326847558","filename":"file1"},{"photo_id":"1326847557","filename":"file0"},{"photo_id":"1326847561","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847561":["hashtag1","hashtag2"]},{"1326847560":["hashtag1","hashtag2"]},{"1326847557":["hashtag1","hashtag2"]},{"1326847558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847561, 1326847560, 1326847557, 1326847558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.316734313964844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:26:03.082556
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/24/image_05012025_04_24_02_427662_0003.jpg', '/home/pi/Desktop/images/05012025/04/25/image_05012025_04_25_02_904758_0000.jpg', '/home/pi/Desktop/images/05012025/04/25/image_05012025_04_25_02_904758_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/04/24/image_05012025_04_24_02_427662_0003.jpg
/home/pi/Desktop/images/05012025/04/25/image_05012025_04_25_02_904758_0000.jpg
/home/pi/Desktop/images/05012025/04/25/image_05012025_04_25_02_904758_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.344814777374268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:26:22.673623
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/24/image_05012025_04_24_02_427662_0003.jpg', '/home/pi/Desktop/images/05012025/04/25/image_05012025_04_25_02_904758_0000.jpg', '/home/pi/Desktop/images/05012025/04/25/image_05012025_04_25_02_904758_0001.jpg', '/home/pi/Desktop/images/05012025/04/25/image_05012025_04_25_02_904758_0003.jpg', '/home/pi/Desktop/images/05012025/04/26/image_05012025_04_26_02_437677_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/04/24/image_05012025_04_24_02_427662_0003.jpg
/home/pi/Desktop/images/05012025/04/25/image_05012025_04_25_02_904758_0000.jpg
/home/pi/Desktop/images/05012025/04/25/image_05012025_04_25_02_904758_0001.jpg
/home/pi/Desktop/images/05012025/04/25/image_05012025_04_25_02_904758_0003.jpg
/home/pi/Desktop/images/05012025/04/26/image_05012025_04_26_02_437677_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847578","1326847580","1326847582","1326847576","1326847573"],"photo_ids_order":["1326847573","1326847576","1326847578","1326847580","1326847582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/71a8c7eb687ece768c33b71e424b838e.jpg","text":"TemporaryFile(/tmp/multipartBody6044162515918928371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047655039,"filename":"image_05012025_04_25_02_904758_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62c1e2f650bfb3f116af42a8b22a3e5f.jpg","text":"TemporaryFile(/tmp/multipartBody7398078953828982485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047655039,"filename":"image_05012025_04_25_02_904758_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5496101128696b757f0af4be3c914221.jpg","text":"TemporaryFile(/tmp/multipartBody6759218386316529696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047655039,"filename":"image_05012025_04_26_02_437677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e98d98b92087b5ad637f376cafa3cecd.jpg","text":"TemporaryFile(/tmp/multipartBody3846118145397243931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047655039,"filename":"image_05012025_04_25_02_904758_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3baed728de0ac092acbcb66ac010aec0.jpg","text":"TemporaryFile(/tmp/multipartBody1264012430802859432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047655039,"filename":"image_05012025_04_24_02_427662_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847578","file1":"1326847576","file0":"1326847573","file4":"1326847582","file3":"1326847580"},"map_files_photo_id_array":[{"photo_id":"1326847578","filename":"file2"},{"photo_id":"1326847582","filename":"file4"},{"photo_id":"1326847576","filename":"file1"},{"photo_id":"1326847573","filename":"file0"},{"photo_id":"1326847580","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847578":["hashtag1","hashtag2"]},{"1326847580":["hashtag1","hashtag2"]},{"1326847582":["hashtag1","hashtag2"]},{"1326847576":["hashtag1","hashtag2"]},{"1326847573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847578, 1326847580, 1326847582, 1326847576, 1326847573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.370142698287964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:27:22.313294
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/26/image_05012025_04_26_02_437677_0003.jpg', '/home/pi/Desktop/images/05012025/04/27/image_05012025_04_27_03_109051_0000.jpg', '/home/pi/Desktop/images/05012025/04/27/image_05012025_04_27_03_109051_0001.jpg', '/home/pi/Desktop/images/05012025/04/27/image_05012025_04_27_03_109051_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/04/26/image_05012025_04_26_02_437677_0003.jpg
/home/pi/Desktop/images/05012025/04/27/image_05012025_04_27_03_109051_0000.jpg
/home/pi/Desktop/images/05012025/04/27/image_05012025_04_27_03_109051_0001.jpg
/home/pi/Desktop/images/05012025/04/27/image_05012025_04_27_03_109051_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847621","1326847587","1326847623","1326847594"],"photo_ids_order":["1326847587","1326847594","1326847621","1326847623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c2156070f7f977515b7349c864f93f42.jpg","text":"TemporaryFile(/tmp/multipartBody1556111607562629960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047712360,"filename":"image_05012025_04_27_03_109051_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/725b810ffcdfb795cc3cb0e8490ad24a.jpg","text":"TemporaryFile(/tmp/multipartBody3120728787988594876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047712360,"filename":"image_05012025_04_26_02_437677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f7c0e75de8ba83e7fc1507813458760.jpg","text":"TemporaryFile(/tmp/multipartBody200908353964915742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047712360,"filename":"image_05012025_04_27_03_109051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/496ea1020b90f83b62922617f442a929.jpg","text":"TemporaryFile(/tmp/multipartBody4848300495054706075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047712360,"filename":"image_05012025_04_27_03_109051_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847621","file1":"1326847594","file0":"1326847587","file3":"1326847623"},"map_files_photo_id_array":[{"photo_id":"1326847621","filename":"file2"},{"photo_id":"1326847594","filename":"file1"},{"photo_id":"1326847587","filename":"file0"},{"photo_id":"1326847623","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847621":["hashtag1","hashtag2"]},{"1326847587":["hashtag1","hashtag2"]},{"1326847623":["hashtag1","hashtag2"]},{"1326847594":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847621, 1326847587, 1326847623, 1326847594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.86668848991394 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-05 04:28:21.766633
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/27/image_05012025_04_27_03_109051_0003.jpg', '/home/pi/Desktop/images/05012025/04/28/image_05012025_04_28_02_652113_0000.jpg', '/home/pi/Desktop/images/05012025/04/28/image_05012025_04_28_02_652113_0001.jpg', '/home/pi/Desktop/images/05012025/04/28/image_05012025_04_28_02_652113_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/04/27/image_05012025_04_27_03_109051_0003.jpg
/home/pi/Desktop/images/05012025/04/28/image_05012025_04_28_02_652113_0000.jpg
/home/pi/Desktop/images/05012025/04/28/image_05012025_04_28_02_652113_0001.jpg
/home/pi/Desktop/images/05012025/04/28/image_05012025_04_28_02_652113_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847635","1326847632","1326847628","1326847630"],"photo_ids_order":["1326847628","1326847630","1326847632","1326847635"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/24eeaaf16b4d176869a55628a6658ccc.jpg","text":"TemporaryFile(/tmp/multipartBody99418734140135598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047771726,"filename":"image_05012025_04_28_02_652113_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/634bff0d5980b7080ca533958a9de823.jpg","text":"TemporaryFile(/tmp/multipartBody4252093979984042424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047771726,"filename":"image_05012025_04_28_02_652113_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fbca59594f6b3b32d19516f09e3d0b99.jpg","text":"TemporaryFile(/tmp/multipartBody5049108584380179441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047771726,"filename":"image_05012025_04_27_03_109051_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e342e698229392306d8306933caf3c6a.jpg","text":"TemporaryFile(/tmp/multipartBody1232955288459115396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047771726,"filename":"image_05012025_04_28_02_652113_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847632","file1":"1326847630","file0":"1326847628","file3":"1326847635"},"map_files_photo_id_array":[{"photo_id":"1326847632","filename":"file2"},{"photo_id":"1326847630","filename":"file1"},{"photo_id":"1326847628","filename":"file0"},{"photo_id":"1326847635","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847635":["hashtag1","hashtag2"]},{"1326847632":["hashtag1","hashtag2"]},{"1326847628":["hashtag1","hashtag2"]},{"1326847630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847635, 1326847632, 1326847628, 1326847630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.99815845489502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:29:03.047240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:29:22.238200
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/28/image_05012025_04_28_02_652113_0003.jpg', '/home/pi/Desktop/images/05012025/04/29/image_05012025_04_29_02_177443_0000.jpg', '/home/pi/Desktop/images/05012025/04/29/image_05012025_04_29_02_177443_0001.jpg', '/home/pi/Desktop/images/05012025/04/29/image_05012025_04_29_02_177443_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/04/28/image_05012025_04_28_02_652113_0003.jpg
/home/pi/Desktop/images/05012025/04/29/image_05012025_04_29_02_177443_0000.jpg
/home/pi/Desktop/images/05012025/04/29/image_05012025_04_29_02_177443_0001.jpg
/home/pi/Desktop/images/05012025/04/29/image_05012025_04_29_02_177443_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847654","1326847692","1326847659","1326847661"],"photo_ids_order":["1326847654","1326847659","1326847661","1326847692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/526a3057b99d248b7dfb0f977f40a373.jpg","text":"TemporaryFile(/tmp/multipartBody6190290938187973200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047832169,"filename":"image_05012025_04_28_02_652113_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aba6ca6b119398bc3f1ab1bcb2c8a50d.jpg","text":"TemporaryFile(/tmp/multipartBody9222311265756768961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047832169,"filename":"image_05012025_04_29_02_177443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/778654513bda10c4cafc5119330c746a.jpg","text":"TemporaryFile(/tmp/multipartBody670505139225237310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047832169,"filename":"image_05012025_04_29_02_177443_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ff7ab50160a88a095262a9f19ff3d3c8.jpg","text":"TemporaryFile(/tmp/multipartBody6569691406266590545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047832169,"filename":"image_05012025_04_29_02_177443_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847661","file1":"1326847659","file0":"1326847654","file3":"1326847692"},"map_files_photo_id_array":[{"photo_id":"1326847661","filename":"file2"},{"photo_id":"1326847659","filename":"file1"},{"photo_id":"1326847654","filename":"file0"},{"photo_id":"1326847692","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847654":["hashtag1","hashtag2"]},{"1326847692":["hashtag1","hashtag2"]},{"1326847659":["hashtag1","hashtag2"]},{"1326847661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847654, 1326847692, 1326847659, 1326847661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.26312851905823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:30:02.463948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:30:21.909693
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/29/image_05012025_04_29_02_177443_0003.jpg', '/home/pi/Desktop/images/05012025/04/30/image_05012025_04_30_02_715911_0000.jpg', '/home/pi/Desktop/images/05012025/04/30/image_05012025_04_30_02_715911_0001.jpg', '/home/pi/Desktop/images/05012025/04/30/image_05012025_04_30_02_715911_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/04/29/image_05012025_04_29_02_177443_0003.jpg
/home/pi/Desktop/images/05012025/04/30/image_05012025_04_30_02_715911_0000.jpg
/home/pi/Desktop/images/05012025/04/30/image_05012025_04_30_02_715911_0001.jpg
/home/pi/Desktop/images/05012025/04/30/image_05012025_04_30_02_715911_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.614156723022461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:31:03.067056
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/29/image_05012025_04_29_02_177443_0003.jpg', '/home/pi/Desktop/images/05012025/04/30/image_05012025_04_30_02_715911_0000.jpg', '/home/pi/Desktop/images/05012025/04/30/image_05012025_04_30_02_715911_0001.jpg', '/home/pi/Desktop/images/05012025/04/30/image_05012025_04_30_02_715911_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/04/29/image_05012025_04_29_02_177443_0003.jpg
/home/pi/Desktop/images/05012025/04/30/image_05012025_04_30_02_715911_0000.jpg
/home/pi/Desktop/images/05012025/04/30/image_05012025_04_30_02_715911_0001.jpg
/home/pi/Desktop/images/05012025/04/30/image_05012025_04_30_02_715911_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847807","1326847803","1326847802","1326847805"],"photo_ids_order":["1326847802","1326847803","1326847805","1326847807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5bdb8261d8edc682147c77c354ca066b.jpg","text":"TemporaryFile(/tmp/multipartBody8643948257179707095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047933123,"filename":"image_05012025_04_30_02_715911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aa201bee48b792fe9b2a1e3be495185a.jpg","text":"TemporaryFile(/tmp/multipartBody1236226515933432138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047933123,"filename":"image_05012025_04_30_02_715911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bd736c5b9c362b0a45a7119a983450ef.jpg","text":"TemporaryFile(/tmp/multipartBody2245369088244416116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047933123,"filename":"image_05012025_04_29_02_177443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8948252e15e0d5088bc2af1395e7fd1a.jpg","text":"TemporaryFile(/tmp/multipartBody7909992335655971559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736047933123,"filename":"image_05012025_04_30_02_715911_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847805","file1":"1326847803","file0":"1326847802","file3":"1326847807"},"map_files_photo_id_array":[{"photo_id":"1326847805","filename":"file2"},{"photo_id":"1326847803","filename":"file1"},{"photo_id":"1326847802","filename":"file0"},{"photo_id":"1326847807","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847807":["hashtag1","hashtag2"]},{"1326847803":["hashtag1","hashtag2"]},{"1326847802":["hashtag1","hashtag2"]},{"1326847805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847807, 1326847803, 1326847802, 1326847805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.39520192146301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:32:02.409825
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/30/image_05012025_04_30_02_715911_0003.jpg', '/home/pi/Desktop/images/05012025/04/31/image_05012025_04_31_02_277429_0000.jpg', '/home/pi/Desktop/images/05012025/04/31/image_05012025_04_31_02_277429_0001.jpg', '/home/pi/Desktop/images/05012025/04/31/image_05012025_04_31_02_277429_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/04/30/image_05012025_04_30_02_715911_0003.jpg
/home/pi/Desktop/images/05012025/04/31/image_05012025_04_31_02_277429_0000.jpg
/home/pi/Desktop/images/05012025/04/31/image_05012025_04_31_02_277429_0001.jpg
/home/pi/Desktop/images/05012025/04/31/image_05012025_04_31_02_277429_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.53611421585083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:32:22.031530
SELECT 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/04/30/image_05012025_04_30_02_715911_0003.jpg', '/home/pi/Desktop/images/05012025/04/31/image_05012025_04_31_02_277429_0000.jpg', '/home/pi/Desktop/images/05012025/04/31/image_05012025_04_31_02_277429_0001.jpg', '/home/pi/Desktop/images/05012025/04/31/image_05012025_04_31_02_277429_0002.jpg', '/home/pi/Desktop/images/05012025/04/31/image_05012025_04_31_02_277429_0003.jpg', '/home/pi/Desktop/images/05012025/04/32/image_05012025_04_32_02_783525_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/04/30/image_05012025_04_30_02_715911_0003.jpg
/home/pi/Desktop/images/05012025/04/31/image_05012025_04_31_02_277429_0000.jpg
/home/pi/Desktop/images/05012025/04/31/image_05012025_04_31_02_277429_0001.jpg
/home/pi/Desktop/images/05012025/04/31/image_05012025_04_31_02_277429_0002.jpg
/home/pi/Desktop/images/05012025/04/31/image_05012025_04_31_02_277429_0003.jpg
/home/pi/Desktop/images/05012025/04/32/image_05012025_04_32_02_783525_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847834","1326847828","1326847830","1326847824","1326847832","1326847826"],"photo_ids_order":["1326847824","1326847826","1326847828","1326847830","1326847832","1326847834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8f506a51150cb91daa409fda4a89e43d.jpg","text":"TemporaryFile(/tmp/multipartBody2951913490411753402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048016507,"filename":"image_05012025_04_32_02_783525_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7cc89a0ad5c9a2e7bfd86de156b08ac9.jpg","text":"TemporaryFile(/tmp/multipartBody2683330693498054824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048016507,"filename":"image_05012025_04_31_02_277429_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a390e20ebbc3601867278fdaf8bd50a.jpg","text":"TemporaryFile(/tmp/multipartBody8839557543960369233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048016507,"filename":"image_05012025_04_31_02_277429_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/10ffd208a904cd84bdf4b9d891435774.jpg","text":"TemporaryFile(/tmp/multipartBody2226709452319256136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048016507,"filename":"image_05012025_04_30_02_715911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8dc36b74d933ee120c5d3438e36c5fe8.jpg","text":"TemporaryFile(/tmp/multipartBody5303001226706443510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048016507,"filename":"image_05012025_04_31_02_277429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a14d78313651ca8bf9a782518c1de50f.jpg","text":"TemporaryFile(/tmp/multipartBody8661015399953914725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048016507,"filename":"image_05012025_04_31_02_277429_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847828","file1":"1326847826","file0":"1326847824","file4":"1326847832","file5":"1326847834","file3":"1326847830"},"map_files_photo_id_array":[{"photo_id":"1326847834","filename":"file5"},{"photo_id":"1326847828","filename":"file2"},{"photo_id":"1326847832","filename":"file4"},{"photo_id":"1326847826","filename":"file1"},{"photo_id":"1326847824","filename":"file0"},{"photo_id":"1326847830","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847834":["hashtag1","hashtag2"]},{"1326847828":["hashtag1","hashtag2"]},{"1326847830":["hashtag1","hashtag2"]},{"1326847824":["hashtag1","hashtag2"]},{"1326847832":["hashtag1","hashtag2"]},{"1326847826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847834, 1326847828, 1326847830, 1326847824, 1326847832, 1326847826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.013699531555176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:33:22.563348
SELECT 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/04/32/image_05012025_04_32_02_783525_0001.jpg', '/home/pi/Desktop/images/05012025/04/32/image_05012025_04_32_02_783525_0002.jpg', '/home/pi/Desktop/images/05012025/04/32/image_05012025_04_32_02_783525_0003.jpg', '/home/pi/Desktop/images/05012025/04/33/image_05012025_04_33_02_414167_0000.jpg', '/home/pi/Desktop/images/05012025/04/33/image_05012025_04_33_02_414167_0001.jpg', '/home/pi/Desktop/images/05012025/04/33/image_05012025_04_33_02_414167_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/04/32/image_05012025_04_32_02_783525_0001.jpg
/home/pi/Desktop/images/05012025/04/32/image_05012025_04_32_02_783525_0002.jpg
/home/pi/Desktop/images/05012025/04/32/image_05012025_04_32_02_783525_0003.jpg
/home/pi/Desktop/images/05012025/04/33/image_05012025_04_33_02_414167_0000.jpg
/home/pi/Desktop/images/05012025/04/33/image_05012025_04_33_02_414167_0001.jpg
/home/pi/Desktop/images/05012025/04/33/image_05012025_04_33_02_414167_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847872","1326847866","1326847842","1326847868","1326847838","1326847870"],"photo_ids_order":["1326847838","1326847842","1326847866","1326847868","1326847870","1326847872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/288a847cad76991a07d3dae4a391b6df.jpg","text":"TemporaryFile(/tmp/multipartBody6369139644190921800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048077135,"filename":"image_05012025_04_33_02_414167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f311b2be15bca9f4706609c5279fa12e.jpg","text":"TemporaryFile(/tmp/multipartBody2920799290011911554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048077135,"filename":"image_05012025_04_32_02_783525_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/38717dbc2e9573cae673895eabf92ee0.jpg","text":"TemporaryFile(/tmp/multipartBody7917877071427949833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048077135,"filename":"image_05012025_04_32_02_783525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f41af4198a23faab98e6155dfdcfbfe1.jpg","text":"TemporaryFile(/tmp/multipartBody5651918587660466037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048077135,"filename":"image_05012025_04_33_02_414167_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dbd2d86a25212d0c816152043bef22c8.jpg","text":"TemporaryFile(/tmp/multipartBody4651936562394759866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048077135,"filename":"image_05012025_04_32_02_783525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b4c0f36a300615a4671cce67b895ce9f.jpg","text":"TemporaryFile(/tmp/multipartBody7335498228734086401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048077135,"filename":"image_05012025_04_33_02_414167_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847866","file1":"1326847842","file0":"1326847838","file4":"1326847870","file5":"1326847872","file3":"1326847868"},"map_files_photo_id_array":[{"photo_id":"1326847872","filename":"file5"},{"photo_id":"1326847866","filename":"file2"},{"photo_id":"1326847870","filename":"file4"},{"photo_id":"1326847842","filename":"file1"},{"photo_id":"1326847838","filename":"file0"},{"photo_id":"1326847868","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847872":["hashtag1","hashtag2"]},{"1326847866":["hashtag1","hashtag2"]},{"1326847842":["hashtag1","hashtag2"]},{"1326847868":["hashtag1","hashtag2"]},{"1326847838":["hashtag1","hashtag2"]},{"1326847870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847872, 1326847866, 1326847842, 1326847868, 1326847838, 1326847870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.250364780426025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:34:21.986792
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/33/image_05012025_04_33_02_414167_0003.jpg', '/home/pi/Desktop/images/05012025/04/34/image_05012025_04_34_02_917046_0000.jpg', '/home/pi/Desktop/images/05012025/04/34/image_05012025_04_34_02_917046_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/04/33/image_05012025_04_33_02_414167_0003.jpg
/home/pi/Desktop/images/05012025/04/34/image_05012025_04_34_02_917046_0000.jpg
/home/pi/Desktop/images/05012025/04/34/image_05012025_04_34_02_917046_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847875","1326847876","1326847879"],"photo_ids_order":["1326847875","1326847876","1326847879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/61a6b5e783dbcbac93e9279fe2108937.jpg","text":"TemporaryFile(/tmp/multipartBody6466946733999296158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048129553,"filename":"image_05012025_04_33_02_414167_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/429522170234f50cbe0fdacc855cf3b1.jpg","text":"TemporaryFile(/tmp/multipartBody1279416519681182473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048129553,"filename":"image_05012025_04_34_02_917046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/917724b4ee751774d6ddc4cf7f57510f.jpg","text":"TemporaryFile(/tmp/multipartBody2925027708269434569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048129553,"filename":"image_05012025_04_34_02_917046_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847879","file1":"1326847876","file0":"1326847875"},"map_files_photo_id_array":[{"photo_id":"1326847879","filename":"file2"},{"photo_id":"1326847876","filename":"file1"},{"photo_id":"1326847875","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847875":["hashtag1","hashtag2"]},{"1326847876":["hashtag1","hashtag2"]},{"1326847879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847875, 1326847876, 1326847879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.29458141326904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:35:03.076659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:35:22.472400
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/34/image_05012025_04_34_02_917046_0002.jpg', '/home/pi/Desktop/images/05012025/04/35/image_05012025_04_35_02_371727_0000.jpg', '/home/pi/Desktop/images/05012025/04/35/image_05012025_04_35_02_371727_0001.jpg', '/home/pi/Desktop/images/05012025/04/35/image_05012025_04_35_02_371727_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/04/34/image_05012025_04_34_02_917046_0002.jpg
/home/pi/Desktop/images/05012025/04/35/image_05012025_04_35_02_371727_0000.jpg
/home/pi/Desktop/images/05012025/04/35/image_05012025_04_35_02_371727_0001.jpg
/home/pi/Desktop/images/05012025/04/35/image_05012025_04_35_02_371727_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847899","1326847895","1326847901","1326847897"],"photo_ids_order":["1326847895","1326847897","1326847899","1326847901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0dd27f1aa67cb331b7fcddf16f0609db.jpg","text":"TemporaryFile(/tmp/multipartBody5390521624322504966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048192461,"filename":"image_05012025_04_35_02_371727_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/16d0280c4b951a53fcaa24ae8acfd855.jpg","text":"TemporaryFile(/tmp/multipartBody4280109915247904586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048192461,"filename":"image_05012025_04_34_02_917046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0eb46d711dcdf90e3bd78691f3ffa7dc.jpg","text":"TemporaryFile(/tmp/multipartBody2683807749330862870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048192461,"filename":"image_05012025_04_35_02_371727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bf1d9e3220598f22b84d8fd5607a154d.jpg","text":"TemporaryFile(/tmp/multipartBody8362699364895620237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048192461,"filename":"image_05012025_04_35_02_371727_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847899","file1":"1326847897","file0":"1326847895","file3":"1326847901"},"map_files_photo_id_array":[{"photo_id":"1326847899","filename":"file2"},{"photo_id":"1326847897","filename":"file1"},{"photo_id":"1326847895","filename":"file0"},{"photo_id":"1326847901","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847899":["hashtag1","hashtag2"]},{"1326847895":["hashtag1","hashtag2"]},{"1326847901":["hashtag1","hashtag2"]},{"1326847897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847899, 1326847895, 1326847901, 1326847897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.204355239868164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:36:22.206871
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/35/image_05012025_04_35_02_371727_0003.jpg', '/home/pi/Desktop/images/05012025/04/36/image_05012025_04_36_02_850279_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/04/35/image_05012025_04_35_02_371727_0003.jpg
/home/pi/Desktop/images/05012025/04/36/image_05012025_04_36_02_850279_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847909","1326847907"],"photo_ids_order":["1326847907","1326847909"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f28cb8fdb9f6cc9643952728b6c0aae4.jpg","text":"TemporaryFile(/tmp/multipartBody394023634656735498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048247455,"filename":"image_05012025_04_36_02_850279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/61e931e63cb1898ebff403ba755be95d.jpg","text":"TemporaryFile(/tmp/multipartBody8911393899269380832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048247455,"filename":"image_05012025_04_35_02_371727_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326847909","file0":"1326847907"},"map_files_photo_id_array":[{"photo_id":"1326847909","filename":"file1"},{"photo_id":"1326847907","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847909":["hashtag1","hashtag2"]},{"1326847907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847909, 1326847907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.20265483856201 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:37:03.265425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:37:22.696231
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/36/image_05012025_04_36_02_850279_0001.jpg', '/home/pi/Desktop/images/05012025/04/37/image_05012025_04_37_02_571295_0000.jpg', '/home/pi/Desktop/images/05012025/04/37/image_05012025_04_37_02_571295_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/04/36/image_05012025_04_36_02_850279_0001.jpg
/home/pi/Desktop/images/05012025/04/37/image_05012025_04_37_02_571295_0000.jpg
/home/pi/Desktop/images/05012025/04/37/image_05012025_04_37_02_571295_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847923","1326847919","1326847921"],"photo_ids_order":["1326847919","1326847921","1326847923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6cd2b65203a8a080170bf2e113c37571.jpg","text":"TemporaryFile(/tmp/multipartBody474113249930710998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048310241,"filename":"image_05012025_04_37_02_571295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f401e5ac0ddc0115206f1c65897339c0.jpg","text":"TemporaryFile(/tmp/multipartBody300278834730785768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048310241,"filename":"image_05012025_04_36_02_850279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b6aa8adf4dafa4bb4aa41aa3bf3529a0.jpg","text":"TemporaryFile(/tmp/multipartBody6753093677507792723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048310241,"filename":"image_05012025_04_37_02_571295_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847923","file1":"1326847921","file0":"1326847919"},"map_files_photo_id_array":[{"photo_id":"1326847923","filename":"file2"},{"photo_id":"1326847921","filename":"file1"},{"photo_id":"1326847919","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847923":["hashtag1","hashtag2"]},{"1326847919":["hashtag1","hashtag2"]},{"1326847921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847923, 1326847919, 1326847921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.745163917541504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:38:02.871007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:38:22.409198
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/37/image_05012025_04_37_02_571295_0002.jpg', '/home/pi/Desktop/images/05012025/04/38/image_05012025_04_38_03_055477_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/04/37/image_05012025_04_37_02_571295_0002.jpg
/home/pi/Desktop/images/05012025/04/38/image_05012025_04_38_03_055477_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847932","1326847929"],"photo_ids_order":["1326847929","1326847932"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66f31b945b1d1c9c5dbd70ecd1ec457b.jpg","text":"TemporaryFile(/tmp/multipartBody5503100260960495977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048367651,"filename":"image_05012025_04_38_03_055477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f059a171d86bd1c5bd00119c064513e.jpg","text":"TemporaryFile(/tmp/multipartBody8679736160371280115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048367651,"filename":"image_05012025_04_37_02_571295_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326847932","file0":"1326847929"},"map_files_photo_id_array":[{"photo_id":"1326847932","filename":"file1"},{"photo_id":"1326847929","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847932":["hashtag1","hashtag2"]},{"1326847929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847932, 1326847929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.954993963241577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:39:02.363910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:39:21.839606
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/38/image_05012025_04_38_03_055477_0003.jpg', '/home/pi/Desktop/images/05012025/04/39/image_05012025_04_39_02_727256_0000.jpg', '/home/pi/Desktop/images/05012025/04/39/image_05012025_04_39_02_727256_0001.jpg', '/home/pi/Desktop/images/05012025/04/39/image_05012025_04_39_02_727256_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/04/38/image_05012025_04_38_03_055477_0003.jpg
/home/pi/Desktop/images/05012025/04/39/image_05012025_04_39_02_727256_0000.jpg
/home/pi/Desktop/images/05012025/04/39/image_05012025_04_39_02_727256_0001.jpg
/home/pi/Desktop/images/05012025/04/39/image_05012025_04_39_02_727256_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847971","1326847973","1326847967","1326847969"],"photo_ids_order":["1326847967","1326847969","1326847971","1326847973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c559148940f8dbc1f516c1e85871d0b2.jpg","text":"TemporaryFile(/tmp/multipartBody3642426382516994472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048431735,"filename":"image_05012025_04_39_02_727256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3d80a6720d43d07e74b49e09c36b0c74.jpg","text":"TemporaryFile(/tmp/multipartBody3804072072618027798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048431735,"filename":"image_05012025_04_39_02_727256_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/548b34657f73062dedb75cae92937ba0.jpg","text":"TemporaryFile(/tmp/multipartBody3716323631886817659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048431735,"filename":"image_05012025_04_38_03_055477_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0692ce74a5f6d86d70ce33481d95175a.jpg","text":"TemporaryFile(/tmp/multipartBody7013724459159026337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048431735,"filename":"image_05012025_04_39_02_727256_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847971","file1":"1326847969","file0":"1326847967","file3":"1326847973"},"map_files_photo_id_array":[{"photo_id":"1326847971","filename":"file2"},{"photo_id":"1326847969","filename":"file1"},{"photo_id":"1326847967","filename":"file0"},{"photo_id":"1326847973","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847971":["hashtag1","hashtag2"]},{"1326847973":["hashtag1","hashtag2"]},{"1326847967":["hashtag1","hashtag2"]},{"1326847969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847971, 1326847973, 1326847967, 1326847969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.70738196372986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:40:02.791588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:40:22.370528
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/39/image_05012025_04_39_02_727256_0003.jpg', '/home/pi/Desktop/images/05012025/04/40/image_05012025_04_40_02_235397_0000.jpg', '/home/pi/Desktop/images/05012025/04/40/image_05012025_04_40_02_235397_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/04/39/image_05012025_04_39_02_727256_0003.jpg
/home/pi/Desktop/images/05012025/04/40/image_05012025_04_40_02_235397_0000.jpg
/home/pi/Desktop/images/05012025/04/40/image_05012025_04_40_02_235397_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.1301352977752686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:41:02.647591
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/39/image_05012025_04_39_02_727256_0003.jpg', '/home/pi/Desktop/images/05012025/04/40/image_05012025_04_40_02_235397_0000.jpg', '/home/pi/Desktop/images/05012025/04/40/image_05012025_04_40_02_235397_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/04/39/image_05012025_04_39_02_727256_0003.jpg
/home/pi/Desktop/images/05012025/04/40/image_05012025_04_40_02_235397_0000.jpg
/home/pi/Desktop/images/05012025/04/40/image_05012025_04_40_02_235397_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326847986","1326847990","1326847987"],"photo_ids_order":["1326847986","1326847987","1326847990"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9e219f7283bc4449b178673380f8ef16.jpg","text":"TemporaryFile(/tmp/multipartBody5435805217959604872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048530202,"filename":"image_05012025_04_39_02_727256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/171a04d8c648dc491a46dd8d2b8a66e4.jpg","text":"TemporaryFile(/tmp/multipartBody8121339871448784897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048530202,"filename":"image_05012025_04_40_02_235397_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/17e145bbf302b6f11e0e48a2306335cf.jpg","text":"TemporaryFile(/tmp/multipartBody4228087171856964206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048530202,"filename":"image_05012025_04_40_02_235397_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326847990","file1":"1326847987","file0":"1326847986"},"map_files_photo_id_array":[{"photo_id":"1326847990","filename":"file2"},{"photo_id":"1326847987","filename":"file1"},{"photo_id":"1326847986","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326847986":["hashtag1","hashtag2"]},{"1326847990":["hashtag1","hashtag2"]},{"1326847987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326847986, 1326847990, 1326847987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.82941198348999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:42:02.903624
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/40/image_05012025_04_40_02_235397_0002.jpg', '/home/pi/Desktop/images/05012025/04/41/image_05012025_04_41_02_790137_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/04/40/image_05012025_04_40_02_235397_0002.jpg
/home/pi/Desktop/images/05012025/04/41/image_05012025_04_41_02_790137_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.883864879608154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:42:22.535371
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/40/image_05012025_04_40_02_235397_0002.jpg', '/home/pi/Desktop/images/05012025/04/41/image_05012025_04_41_02_790137_0000.jpg', '/home/pi/Desktop/images/05012025/04/41/image_05012025_04_41_02_790137_0003.jpg', '/home/pi/Desktop/images/05012025/04/42/image_05012025_04_42_02_330192_0001.jpg', '/home/pi/Desktop/images/05012025/04/42/image_05012025_04_42_02_330192_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/04/40/image_05012025_04_40_02_235397_0002.jpg
/home/pi/Desktop/images/05012025/04/41/image_05012025_04_41_02_790137_0000.jpg
/home/pi/Desktop/images/05012025/04/41/image_05012025_04_41_02_790137_0003.jpg
/home/pi/Desktop/images/05012025/04/42/image_05012025_04_42_02_330192_0001.jpg
/home/pi/Desktop/images/05012025/04/42/image_05012025_04_42_02_330192_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326848013","1326848007","1326848009","1326848003","1326848005"],"photo_ids_order":["1326848003","1326848005","1326848007","1326848009","1326848013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8bcede7e862ee3011a70f80e901d1dc5.jpg","text":"TemporaryFile(/tmp/multipartBody7123851744125802047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048614638,"filename":"image_05012025_04_42_02_330192_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d0fc1e58924b03c425cee2a7e37b03ad.jpg","text":"TemporaryFile(/tmp/multipartBody7457059403778811789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048614638,"filename":"image_05012025_04_41_02_790137_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0b98de2855728cba19a611d0d23d0ecc.jpg","text":"TemporaryFile(/tmp/multipartBody8321478243750702827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048614638,"filename":"image_05012025_04_42_02_330192_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d37f4a776cbf918a7ebb5f233863d0c7.jpg","text":"TemporaryFile(/tmp/multipartBody3885286149715717669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048614638,"filename":"image_05012025_04_40_02_235397_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b262b343159716f78bb6122bb59b54a0.jpg","text":"TemporaryFile(/tmp/multipartBody3974606752275234355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048614638,"filename":"image_05012025_04_41_02_790137_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326848007","file1":"1326848005","file0":"1326848003","file4":"1326848013","file3":"1326848009"},"map_files_photo_id_array":[{"photo_id":"1326848007","filename":"file2"},{"photo_id":"1326848013","filename":"file4"},{"photo_id":"1326848005","filename":"file1"},{"photo_id":"1326848003","filename":"file0"},{"photo_id":"1326848009","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326848013":["hashtag1","hashtag2"]},{"1326848007":["hashtag1","hashtag2"]},{"1326848009":["hashtag1","hashtag2"]},{"1326848003":["hashtag1","hashtag2"]},{"1326848005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326848013, 1326848007, 1326848009, 1326848003, 1326848005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.11580801010132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:43:21.950476
SELECT 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/04/42/image_05012025_04_42_02_330192_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/04/42/image_05012025_04_42_02_330192_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326848042"],"photo_id":"1326848042","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/746c86727f751c4ce2d2fd23d827e778.jpg","text":"TemporaryFile(/tmp/multipartBody2368944230111913982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048664924,"filename":"image_05012025_04_42_02_330192_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326848042"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326848042"}],"hashtags":[],"portfolio_id":"19417920","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.251728773117065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:44:02.871401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:44:22.465802
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/43/image_05012025_04_43_02_834012_0002.jpg', '/home/pi/Desktop/images/05012025/04/44/image_05012025_04_44_02_299003_0000.jpg', '/home/pi/Desktop/images/05012025/04/44/image_05012025_04_44_02_299003_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/04/43/image_05012025_04_43_02_834012_0002.jpg
/home/pi/Desktop/images/05012025/04/44/image_05012025_04_44_02_299003_0000.jpg
/home/pi/Desktop/images/05012025/04/44/image_05012025_04_44_02_299003_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326848070","1326848067","1326848074"],"photo_ids_order":["1326848067","1326848070","1326848074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f0bf6decf658f8a203bf62b1b7caf2c4.jpg","text":"TemporaryFile(/tmp/multipartBody1949160501172920673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048730003,"filename":"image_05012025_04_44_02_299003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a7dc340bfe013bb649f9932904d04d8b.jpg","text":"TemporaryFile(/tmp/multipartBody4705943640079290596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048730003,"filename":"image_05012025_04_43_02_834012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d4bbaf382b496d10dbae4d1cf82f9133.jpg","text":"TemporaryFile(/tmp/multipartBody4477649483696110918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048730003,"filename":"image_05012025_04_44_02_299003_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326848074","file1":"1326848070","file0":"1326848067"},"map_files_photo_id_array":[{"photo_id":"1326848074","filename":"file2"},{"photo_id":"1326848070","filename":"file1"},{"photo_id":"1326848067","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326848070":["hashtag1","hashtag2"]},{"1326848067":["hashtag1","hashtag2"]},{"1326848074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326848070, 1326848067, 1326848074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.842123985290527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:45:02.535823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:45:21.955880
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/44/image_05012025_04_44_02_299003_0003.jpg', '/home/pi/Desktop/images/05012025/04/45/image_05012025_04_45_02_758022_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/04/44/image_05012025_04_44_02_299003_0003.jpg
/home/pi/Desktop/images/05012025/04/45/image_05012025_04_45_02_758022_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326848082","1326848084"],"photo_ids_order":["1326848082","1326848084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/016bea8d56dea93a5ee453a11b33dcb6.jpg","text":"TemporaryFile(/tmp/multipartBody882697301431125684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048787211,"filename":"image_05012025_04_44_02_299003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5dfee5610e1e9605c985772a68950217.jpg","text":"TemporaryFile(/tmp/multipartBody6259995055812625116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048787211,"filename":"image_05012025_04_45_02_758022_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326848084","file0":"1326848082"},"map_files_photo_id_array":[{"photo_id":"1326848084","filename":"file1"},{"photo_id":"1326848082","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326848082":["hashtag1","hashtag2"]},{"1326848084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326848082, 1326848084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.73046875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:46:02.991316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:46:22.523903
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/45/image_05012025_04_45_02_758022_0003.jpg', '/home/pi/Desktop/images/05012025/04/46/image_05012025_04_46_02_319286_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/04/45/image_05012025_04_45_02_758022_0003.jpg
/home/pi/Desktop/images/05012025/04/46/image_05012025_04_46_02_319286_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326848117","1326848119"],"photo_ids_order":["1326848117","1326848119"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02d6f5d176278c4fd20e38a424ed190e.jpg","text":"TemporaryFile(/tmp/multipartBody7573044640205642964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048847786,"filename":"image_05012025_04_45_02_758022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aade13031ff92c206ad8762590d378d0.jpg","text":"TemporaryFile(/tmp/multipartBody4266036301837088153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048847786,"filename":"image_05012025_04_46_02_319286_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326848119","file0":"1326848117"},"map_files_photo_id_array":[{"photo_id":"1326848119","filename":"file1"},{"photo_id":"1326848117","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326848117":["hashtag1","hashtag2"]},{"1326848119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326848117, 1326848119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.597517490386963 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:47:02.817690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:47:22.025539
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/46/image_05012025_04_46_02_319286_0003.jpg', '/home/pi/Desktop/images/05012025/04/47/image_05012025_04_47_02_883908_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/04/46/image_05012025_04_46_02_319286_0003.jpg
/home/pi/Desktop/images/05012025/04/47/image_05012025_04_47_02_883908_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326848130","1326848131"],"photo_ids_order":["1326848130","1326848131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3b99c19d256eb36bc5fdc01d38c1ddea.jpg","text":"TemporaryFile(/tmp/multipartBody2945557667552731137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048907266,"filename":"image_05012025_04_46_02_319286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a5a5011d8c48f27e0ad9c1da7e982b90.jpg","text":"TemporaryFile(/tmp/multipartBody3591538345111096421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048907266,"filename":"image_05012025_04_47_02_883908_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326848131","file0":"1326848130"},"map_files_photo_id_array":[{"photo_id":"1326848131","filename":"file1"},{"photo_id":"1326848130","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326848130":["hashtag1","hashtag2"]},{"1326848131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326848130, 1326848131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.460944175720215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:48:03.096644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:48:22.648285
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/47/image_05012025_04_47_02_883908_0003.jpg', '/home/pi/Desktop/images/05012025/04/48/image_05012025_04_48_02_383894_0000.jpg', '/home/pi/Desktop/images/05012025/04/48/image_05012025_04_48_02_383894_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/04/47/image_05012025_04_47_02_883908_0003.jpg
/home/pi/Desktop/images/05012025/04/48/image_05012025_04_48_02_383894_0000.jpg
/home/pi/Desktop/images/05012025/04/48/image_05012025_04_48_02_383894_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326848142","1326848155","1326848140"],"photo_ids_order":["1326848140","1326848142","1326848155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/01232202f4b026649ecd5f8f60b18b3a.jpg","text":"TemporaryFile(/tmp/multipartBody7929628760701284997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048970195,"filename":"image_05012025_04_48_02_383894_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8367d3021f656a528cb82843aab5e56b.jpg","text":"TemporaryFile(/tmp/multipartBody2062518858075111655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048970195,"filename":"image_05012025_04_48_02_383894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/646767b20afdac241d0e692760c56afe.jpg","text":"TemporaryFile(/tmp/multipartBody4648065357474709193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736048970195,"filename":"image_05012025_04_47_02_883908_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326848155","file1":"1326848142","file0":"1326848140"},"map_files_photo_id_array":[{"photo_id":"1326848155","filename":"file2"},{"photo_id":"1326848142","filename":"file1"},{"photo_id":"1326848140","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326848142":["hashtag1","hashtag2"]},{"1326848155":["hashtag1","hashtag2"]},{"1326848140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326848142, 1326848155, 1326848140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.46638560295105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:49:02.765608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:49:22.147696
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/48/image_05012025_04_48_02_383894_0002.jpg', '/home/pi/Desktop/images/05012025/04/49/image_05012025_04_49_03_022828_0000.jpg', '/home/pi/Desktop/images/05012025/04/49/image_05012025_04_49_03_022828_0001.jpg', '/home/pi/Desktop/images/05012025/04/49/image_05012025_04_49_03_022828_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/04/48/image_05012025_04_48_02_383894_0002.jpg
/home/pi/Desktop/images/05012025/04/49/image_05012025_04_49_03_022828_0000.jpg
/home/pi/Desktop/images/05012025/04/49/image_05012025_04_49_03_022828_0001.jpg
/home/pi/Desktop/images/05012025/04/49/image_05012025_04_49_03_022828_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326848190","1326848192","1326848186","1326848188"],"photo_ids_order":["1326848186","1326848188","1326848190","1326848192"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/011e4750e59fd346653138047633b60f.jpg","text":"TemporaryFile(/tmp/multipartBody5074644133810696523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049031981,"filename":"image_05012025_04_49_03_022828_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c4186d1923dcbbe525ea5aec5ffae177.jpg","text":"TemporaryFile(/tmp/multipartBody5671951452931096204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049031981,"filename":"image_05012025_04_49_03_022828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ae568442c5cffe4ec506e8de2f1e4328.jpg","text":"TemporaryFile(/tmp/multipartBody6730374051797165353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049031981,"filename":"image_05012025_04_48_02_383894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b5c11d199338966a611a360141d5d6f7.jpg","text":"TemporaryFile(/tmp/multipartBody779907862659170042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049031981,"filename":"image_05012025_04_49_03_022828_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326848190","file1":"1326848188","file0":"1326848186","file3":"1326848192"},"map_files_photo_id_array":[{"photo_id":"1326848190","filename":"file2"},{"photo_id":"1326848188","filename":"file1"},{"photo_id":"1326848186","filename":"file0"},{"photo_id":"1326848192","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326848190":["hashtag1","hashtag2"]},{"1326848192":["hashtag1","hashtag2"]},{"1326848186":["hashtag1","hashtag2"]},{"1326848188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326848190, 1326848192, 1326848186, 1326848188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.155344009399414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:50:21.807026
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/49/image_05012025_04_49_03_022828_0003.jpg', '/home/pi/Desktop/images/05012025/04/50/image_05012025_04_50_02_597871_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/04/49/image_05012025_04_49_03_022828_0003.jpg
/home/pi/Desktop/images/05012025/04/50/image_05012025_04_50_02_597871_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326848208","1326848210"],"photo_ids_order":["1326848208","1326848210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f24b8ed0d57672f25d4defdf1e915c3.jpg","text":"TemporaryFile(/tmp/multipartBody898171589311716679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049087049,"filename":"image_05012025_04_49_03_022828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6e4d5e8ebecf2cd37f878b37f0ba8ce8.jpg","text":"TemporaryFile(/tmp/multipartBody3654710566024507923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049087049,"filename":"image_05012025_04_50_02_597871_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326848210","file0":"1326848208"},"map_files_photo_id_array":[{"photo_id":"1326848210","filename":"file1"},{"photo_id":"1326848208","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326848208":["hashtag1","hashtag2"]},{"1326848210":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326848208, 1326848210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.368667125701904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:51:03.141363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:51:22.426114
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/50/image_05012025_04_50_02_597871_0001.jpg', '/home/pi/Desktop/images/05012025/04/51/image_05012025_04_51_02_272474_0000.jpg', '/home/pi/Desktop/images/05012025/04/51/image_05012025_04_51_02_272474_0001.jpg', '/home/pi/Desktop/images/05012025/04/51/image_05012025_04_51_02_272474_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/04/50/image_05012025_04_50_02_597871_0001.jpg
/home/pi/Desktop/images/05012025/04/51/image_05012025_04_51_02_272474_0000.jpg
/home/pi/Desktop/images/05012025/04/51/image_05012025_04_51_02_272474_0001.jpg
/home/pi/Desktop/images/05012025/04/51/image_05012025_04_51_02_272474_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326848235","1326848237","1326848242","1326848239"],"photo_ids_order":["1326848235","1326848237","1326848239","1326848242"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b9ffdc236749e89bda9ed515249bcfce.jpg","text":"TemporaryFile(/tmp/multipartBody8965403922412142413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049152285,"filename":"image_05012025_04_50_02_597871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7261745783c8b95fdb15a7059dfc9623.jpg","text":"TemporaryFile(/tmp/multipartBody7368862746062963379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049152285,"filename":"image_05012025_04_51_02_272474_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ac589caf1b5ee54678b163489a1119cd.jpg","text":"TemporaryFile(/tmp/multipartBody3672819646260560770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049152285,"filename":"image_05012025_04_51_02_272474_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2eab6a43f4c2def33d756691ffa93a3d.jpg","text":"TemporaryFile(/tmp/multipartBody2522058687135392021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049152285,"filename":"image_05012025_04_51_02_272474_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326848239","file1":"1326848237","file0":"1326848235","file3":"1326848242"},"map_files_photo_id_array":[{"photo_id":"1326848239","filename":"file2"},{"photo_id":"1326848237","filename":"file1"},{"photo_id":"1326848235","filename":"file0"},{"photo_id":"1326848242","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326848235":["hashtag1","hashtag2"]},{"1326848237":["hashtag1","hashtag2"]},{"1326848242":["hashtag1","hashtag2"]},{"1326848239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326848235, 1326848237, 1326848242, 1326848239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67890381813049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:52:02.369726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:52:22.040838
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/51/image_05012025_04_51_02_272474_0003.jpg', '/home/pi/Desktop/images/05012025/04/52/image_05012025_04_52_02_742010_0000.jpg', '/home/pi/Desktop/images/05012025/04/52/image_05012025_04_52_02_742010_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/04/51/image_05012025_04_51_02_272474_0003.jpg
/home/pi/Desktop/images/05012025/04/52/image_05012025_04_52_02_742010_0000.jpg
/home/pi/Desktop/images/05012025/04/52/image_05012025_04_52_02_742010_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326848298","1326848300","1326848302"],"photo_ids_order":["1326848298","1326848300","1326848302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d1acd78b8c5d64544197a7e2ab0a31e1.jpg","text":"TemporaryFile(/tmp/multipartBody2646762915859694849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049209590,"filename":"image_05012025_04_51_02_272474_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ebf33bbdc3e2fa4fcc29958345484ea6.jpg","text":"TemporaryFile(/tmp/multipartBody2649178798906180734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049209590,"filename":"image_05012025_04_52_02_742010_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2b2295025915aeafd41e43c4d41f2c9.jpg","text":"TemporaryFile(/tmp/multipartBody5073594546178034765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049209590,"filename":"image_05012025_04_52_02_742010_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326848302","file1":"1326848300","file0":"1326848298"},"map_files_photo_id_array":[{"photo_id":"1326848302","filename":"file2"},{"photo_id":"1326848300","filename":"file1"},{"photo_id":"1326848298","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326848298":["hashtag1","hashtag2"]},{"1326848300":["hashtag1","hashtag2"]},{"1326848302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326848298, 1326848300, 1326848302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.38274049758911 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:53:03.224824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:53:22.499844
SELECT 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/04/52/image_05012025_04_52_02_742010_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/04/52/image_05012025_04_52_02_742010_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326848314"],"photo_id":"1326848314","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8a4af7b90344354565123a513ce84cb0.jpg","text":"TemporaryFile(/tmp/multipartBody8945074453754565614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049265454,"filename":"image_05012025_04_52_02_742010_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326848314"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326848314"}],"hashtags":[],"portfolio_id":"19417920","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.101193904876709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:54:02.610656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:54:22.227544
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/53/image_05012025_04_53_02_410221_0000.jpg', '/home/pi/Desktop/images/05012025/04/54/image_05012025_04_54_02_938915_0000.jpg', '/home/pi/Desktop/images/05012025/04/54/image_05012025_04_54_02_938915_0001.jpg', '/home/pi/Desktop/images/05012025/04/54/image_05012025_04_54_02_938915_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/04/53/image_05012025_04_53_02_410221_0000.jpg
/home/pi/Desktop/images/05012025/04/54/image_05012025_04_54_02_938915_0000.jpg
/home/pi/Desktop/images/05012025/04/54/image_05012025_04_54_02_938915_0001.jpg
/home/pi/Desktop/images/05012025/04/54/image_05012025_04_54_02_938915_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.428723096847534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:55:03.385224
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/53/image_05012025_04_53_02_410221_0000.jpg', '/home/pi/Desktop/images/05012025/04/54/image_05012025_04_54_02_938915_0000.jpg', '/home/pi/Desktop/images/05012025/04/54/image_05012025_04_54_02_938915_0001.jpg', '/home/pi/Desktop/images/05012025/04/54/image_05012025_04_54_02_938915_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/04/53/image_05012025_04_53_02_410221_0000.jpg
/home/pi/Desktop/images/05012025/04/54/image_05012025_04_54_02_938915_0000.jpg
/home/pi/Desktop/images/05012025/04/54/image_05012025_04_54_02_938915_0001.jpg
/home/pi/Desktop/images/05012025/04/54/image_05012025_04_54_02_938915_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326848433","1326848432","1326848435","1326848437"],"photo_ids_order":["1326848432","1326848433","1326848435","1326848437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0bebd1095b9073fcaba75154bf8c508f.jpg","text":"TemporaryFile(/tmp/multipartBody4884490498694646801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049373243,"filename":"image_05012025_04_54_02_938915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3b78ff516e9a22f627697e1d815b4e09.jpg","text":"TemporaryFile(/tmp/multipartBody670169330443368390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049373243,"filename":"image_05012025_04_53_02_410221_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/495daa8df57de55d54908c46b6e6afa1.jpg","text":"TemporaryFile(/tmp/multipartBody3457574344765831424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049373243,"filename":"image_05012025_04_54_02_938915_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/22a57bc2cf3d7889ae8bbccdddace500.jpg","text":"TemporaryFile(/tmp/multipartBody2972695959142597534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049373243,"filename":"image_05012025_04_54_02_938915_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326848435","file1":"1326848433","file0":"1326848432","file3":"1326848437"},"map_files_photo_id_array":[{"photo_id":"1326848435","filename":"file2"},{"photo_id":"1326848433","filename":"file1"},{"photo_id":"1326848432","filename":"file0"},{"photo_id":"1326848437","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326848433":["hashtag1","hashtag2"]},{"1326848432":["hashtag1","hashtag2"]},{"1326848435":["hashtag1","hashtag2"]},{"1326848437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326848433, 1326848432, 1326848435, 1326848437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.13579058647156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:56:02.753531
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/54/image_05012025_04_54_02_938915_0003.jpg', '/home/pi/Desktop/images/05012025/04/55/image_05012025_04_55_02_621278_0001.jpg', '/home/pi/Desktop/images/05012025/04/55/image_05012025_04_55_02_621278_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/04/54/image_05012025_04_54_02_938915_0003.jpg
/home/pi/Desktop/images/05012025/04/55/image_05012025_04_55_02_621278_0001.jpg
/home/pi/Desktop/images/05012025/04/55/image_05012025_04_55_02_621278_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326848447","1326848446","1326848449"],"photo_ids_order":["1326848446","1326848447","1326848449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9df0c7cd94b863b5bb081457b43d492a.jpg","text":"TemporaryFile(/tmp/multipartBody1185590956213192716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049430324,"filename":"image_05012025_04_55_02_621278_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/43f386aeaecb48a120a6ec23b7df22c1.jpg","text":"TemporaryFile(/tmp/multipartBody1019726587175179392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049430324,"filename":"image_05012025_04_54_02_938915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7d97855f93ab2cda60253fd8cf97c6f5.jpg","text":"TemporaryFile(/tmp/multipartBody3684429599034122347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049430324,"filename":"image_05012025_04_55_02_621278_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326848449","file1":"1326848447","file0":"1326848446"},"map_files_photo_id_array":[{"photo_id":"1326848449","filename":"file2"},{"photo_id":"1326848447","filename":"file1"},{"photo_id":"1326848446","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326848447":["hashtag1","hashtag2"]},{"1326848446":["hashtag1","hashtag2"]},{"1326848449":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326848447, 1326848446, 1326848449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.156417846679688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:57:02.599191
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/55/image_05012025_04_55_02_621278_0003.jpg', '/home/pi/Desktop/images/05012025/04/56/image_05012025_04_56_03_106862_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/04/55/image_05012025_04_55_02_621278_0003.jpg
/home/pi/Desktop/images/05012025/04/56/image_05012025_04_56_03_106862_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326848747","1326848746"],"photo_ids_order":["1326848746","1326848747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66a20b069676dc27cebedf9e7480ea7c.jpg","text":"TemporaryFile(/tmp/multipartBody1767262563337778916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049487878,"filename":"image_05012025_04_56_03_106862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fc1131709a0593b504ae02f449f477e9.jpg","text":"TemporaryFile(/tmp/multipartBody8663048495391242842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049487878,"filename":"image_05012025_04_55_02_621278_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326848747","file0":"1326848746"},"map_files_photo_id_array":[{"photo_id":"1326848747","filename":"file1"},{"photo_id":"1326848746","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326848747":["hashtag1","hashtag2"]},{"1326848746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326848747, 1326848746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.397974729537964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 04:59:03.311894
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/04/56/image_05012025_04_56_03_106862_0003.jpg', '/home/pi/Desktop/images/05012025/04/57/image_05012025_04_57_02_738662_0000.jpg', '/home/pi/Desktop/images/05012025/04/57/image_05012025_04_57_02_738662_0001.jpg', '/home/pi/Desktop/images/05012025/04/57/image_05012025_04_57_02_738662_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/04/56/image_05012025_04_56_03_106862_0003.jpg
/home/pi/Desktop/images/05012025/04/57/image_05012025_04_57_02_738662_0000.jpg
/home/pi/Desktop/images/05012025/04/57/image_05012025_04_57_02_738662_0001.jpg
/home/pi/Desktop/images/05012025/04/57/image_05012025_04_57_02_738662_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.461125373840332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 04:59:22.678920
SELECT 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/04/56/image_05012025_04_56_03_106862_0003.jpg', '/home/pi/Desktop/images/05012025/04/57/image_05012025_04_57_02_738662_0000.jpg', '/home/pi/Desktop/images/05012025/04/57/image_05012025_04_57_02_738662_0001.jpg', '/home/pi/Desktop/images/05012025/04/57/image_05012025_04_57_02_738662_0002.jpg', '/home/pi/Desktop/images/05012025/04/57/image_05012025_04_57_02_738662_0003.jpg', '/home/pi/Desktop/images/05012025/04/58/image_05012025_04_58_02_251766_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/04/56/image_05012025_04_56_03_106862_0003.jpg
/home/pi/Desktop/images/05012025/04/57/image_05012025_04_57_02_738662_0000.jpg
/home/pi/Desktop/images/05012025/04/57/image_05012025_04_57_02_738662_0001.jpg
/home/pi/Desktop/images/05012025/04/57/image_05012025_04_57_02_738662_0002.jpg
/home/pi/Desktop/images/05012025/04/57/image_05012025_04_57_02_738662_0003.jpg
/home/pi/Desktop/images/05012025/04/58/image_05012025_04_58_02_251766_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326849555","1326849542","1326849548","1326849544","1326849552","1326849546"],"photo_ids_order":["1326849542","1326849544","1326849546","1326849548","1326849552","1326849555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5b6bd163cd78a331086c1855b1cceec2.jpg","text":"TemporaryFile(/tmp/multipartBody876371089899560990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049637085,"filename":"image_05012025_04_58_02_251766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b0f8ce60ac1592612129568fa8722ed.jpg","text":"TemporaryFile(/tmp/multipartBody3706731672745325206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049637085,"filename":"image_05012025_04_56_03_106862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c2f72bdb074799b0728bb85785c3c4ff.jpg","text":"TemporaryFile(/tmp/multipartBody800843232876468074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049637085,"filename":"image_05012025_04_57_02_738662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1be15cc164a7d3759f244401edf30a97.jpg","text":"TemporaryFile(/tmp/multipartBody8740686696668021189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049637085,"filename":"image_05012025_04_57_02_738662_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/513e4a043991198c1cfc6e4bd29098fe.jpg","text":"TemporaryFile(/tmp/multipartBody695632153342875922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049637085,"filename":"image_05012025_04_57_02_738662_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bff6e731b3d46795391329f0c80740fd.jpg","text":"TemporaryFile(/tmp/multipartBody607673641935017330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049637085,"filename":"image_05012025_04_57_02_738662_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326849546","file1":"1326849544","file0":"1326849542","file4":"1326849552","file5":"1326849555","file3":"1326849548"},"map_files_photo_id_array":[{"photo_id":"1326849555","filename":"file5"},{"photo_id":"1326849546","filename":"file2"},{"photo_id":"1326849552","filename":"file4"},{"photo_id":"1326849544","filename":"file1"},{"photo_id":"1326849542","filename":"file0"},{"photo_id":"1326849548","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326849555":["hashtag1","hashtag2"]},{"1326849542":["hashtag1","hashtag2"]},{"1326849548":["hashtag1","hashtag2"]},{"1326849544":["hashtag1","hashtag2"]},{"1326849552":["hashtag1","hashtag2"]},{"1326849546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326849555, 1326849542, 1326849548, 1326849544, 1326849552, 1326849546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.131174087524414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:00:22.262067
SELECT 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/04/58/image_05012025_04_58_02_251766_0001.jpg', '/home/pi/Desktop/images/05012025/04/58/image_05012025_04_58_02_251766_0002.jpg', '/home/pi/Desktop/images/05012025/04/58/image_05012025_04_58_02_251766_0003.jpg', '/home/pi/Desktop/images/05012025/04/59/image_05012025_04_59_02_919251_0000.jpg', '/home/pi/Desktop/images/05012025/04/59/image_05012025_04_59_02_919251_0001.jpg', '/home/pi/Desktop/images/05012025/04/59/image_05012025_04_59_02_919251_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/04/58/image_05012025_04_58_02_251766_0001.jpg
/home/pi/Desktop/images/05012025/04/58/image_05012025_04_58_02_251766_0002.jpg
/home/pi/Desktop/images/05012025/04/58/image_05012025_04_58_02_251766_0003.jpg
/home/pi/Desktop/images/05012025/04/59/image_05012025_04_59_02_919251_0000.jpg
/home/pi/Desktop/images/05012025/04/59/image_05012025_04_59_02_919251_0001.jpg
/home/pi/Desktop/images/05012025/04/59/image_05012025_04_59_02_919251_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326849599","1326849589","1326849601","1326849594","1326849597","1326849591"],"photo_ids_order":["1326849589","1326849591","1326849594","1326849597","1326849599","1326849601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/294f96a5ce73c2527ca67188edd73668.jpg","text":"TemporaryFile(/tmp/multipartBody6963212212628071416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049696644,"filename":"image_05012025_04_59_02_919251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/97c83fff737531df32e76cad1fde2659.jpg","text":"TemporaryFile(/tmp/multipartBody6017093646856093815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049696644,"filename":"image_05012025_04_58_02_251766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/294daa51e8a1d8eca89882437345ca41.jpg","text":"TemporaryFile(/tmp/multipartBody8506508800867613331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049696644,"filename":"image_05012025_04_59_02_919251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9b6887525d63f2c57b81385a2ac6052.jpg","text":"TemporaryFile(/tmp/multipartBody3512099901002863370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049696644,"filename":"image_05012025_04_58_02_251766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2fab267cf27b2042c0540a4fbbc37af7.jpg","text":"TemporaryFile(/tmp/multipartBody44516847165953533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049696644,"filename":"image_05012025_04_59_02_919251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/42bc750287096094720f937752f34381.jpg","text":"TemporaryFile(/tmp/multipartBody3719672760109606401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049696644,"filename":"image_05012025_04_58_02_251766_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326849594","file1":"1326849591","file0":"1326849589","file4":"1326849599","file5":"1326849601","file3":"1326849597"},"map_files_photo_id_array":[{"photo_id":"1326849601","filename":"file5"},{"photo_id":"1326849594","filename":"file2"},{"photo_id":"1326849599","filename":"file4"},{"photo_id":"1326849591","filename":"file1"},{"photo_id":"1326849589","filename":"file0"},{"photo_id":"1326849597","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326849599":["hashtag1","hashtag2"]},{"1326849589":["hashtag1","hashtag2"]},{"1326849601":["hashtag1","hashtag2"]},{"1326849594":["hashtag1","hashtag2"]},{"1326849597":["hashtag1","hashtag2"]},{"1326849591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326849599, 1326849589, 1326849601, 1326849594, 1326849597, 1326849591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.39901924133301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:01:21.776425
SELECT 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/04/59/image_05012025_04_59_02_919251_0003.jpg', '/home/pi/Desktop/images/05012025/05/00/image_05012025_05_00_03_049504_0000.jpg', '/home/pi/Desktop/images/05012025/05/00/image_05012025_05_00_03_049504_0002.jpg', '/home/pi/Desktop/images/05012025/05/00/image_05012025_05_00_03_049504_0003.jpg', '/home/pi/Desktop/images/05012025/05/01/image_05012025_05_01_02_681280_0000.jpg', '/home/pi/Desktop/images/05012025/05/01/image_05012025_05_01_02_681280_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/04/59/image_05012025_04_59_02_919251_0003.jpg
/home/pi/Desktop/images/05012025/05/00/image_05012025_05_00_03_049504_0000.jpg
/home/pi/Desktop/images/05012025/05/00/image_05012025_05_00_03_049504_0002.jpg
/home/pi/Desktop/images/05012025/05/00/image_05012025_05_00_03_049504_0003.jpg
/home/pi/Desktop/images/05012025/05/01/image_05012025_05_01_02_681280_0000.jpg
/home/pi/Desktop/images/05012025/05/01/image_05012025_05_01_02_681280_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326849612","1326849618","1326849620","1326849614","1326849622","1326849616"],"photo_ids_order":["1326849612","1326849614","1326849616","1326849618","1326849620","1326849622"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d3c6c869aef2d065371eced882936997.jpg","text":"TemporaryFile(/tmp/multipartBody628921980586082554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049756390,"filename":"image_05012025_04_59_02_919251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/40a88cc023f37e7f8c1cc937551039d1.jpg","text":"TemporaryFile(/tmp/multipartBody2582509234531123822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049756390,"filename":"image_05012025_05_00_03_049504_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1706c4b37614e576d0c1f79b23abdf21.jpg","text":"TemporaryFile(/tmp/multipartBody7707001184251530903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049756390,"filename":"image_05012025_05_01_02_681280_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c4005acf2ede37401c24b1c71bbd402a.jpg","text":"TemporaryFile(/tmp/multipartBody5337758483491990374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049756390,"filename":"image_05012025_05_00_03_049504_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1cb02f470ee62113c0168b2ccda15b92.jpg","text":"TemporaryFile(/tmp/multipartBody3831628836589145888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049756390,"filename":"image_05012025_05_01_02_681280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7336beaa490919a42c333e79ed5a78bc.jpg","text":"TemporaryFile(/tmp/multipartBody9159753815539597049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049756390,"filename":"image_05012025_05_00_03_049504_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326849616","file1":"1326849614","file0":"1326849612","file4":"1326849620","file5":"1326849622","file3":"1326849618"},"map_files_photo_id_array":[{"photo_id":"1326849622","filename":"file5"},{"photo_id":"1326849616","filename":"file2"},{"photo_id":"1326849620","filename":"file4"},{"photo_id":"1326849614","filename":"file1"},{"photo_id":"1326849612","filename":"file0"},{"photo_id":"1326849618","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326849612":["hashtag1","hashtag2"]},{"1326849618":["hashtag1","hashtag2"]},{"1326849620":["hashtag1","hashtag2"]},{"1326849614":["hashtag1","hashtag2"]},{"1326849622":["hashtag1","hashtag2"]},{"1326849616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326849612, 1326849618, 1326849620, 1326849614, 1326849622, 1326849616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.540974378585815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:02:22.269385
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/01/image_05012025_05_01_02_681280_0002.jpg', '/home/pi/Desktop/images/05012025/05/01/image_05012025_05_01_02_681280_0003.jpg', '/home/pi/Desktop/images/05012025/05/02/image_05012025_05_02_02_147520_0001.jpg', '/home/pi/Desktop/images/05012025/05/02/image_05012025_05_02_02_147520_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/05/01/image_05012025_05_01_02_681280_0002.jpg
/home/pi/Desktop/images/05012025/05/01/image_05012025_05_01_02_681280_0003.jpg
/home/pi/Desktop/images/05012025/05/02/image_05012025_05_02_02_147520_0001.jpg
/home/pi/Desktop/images/05012025/05/02/image_05012025_05_02_02_147520_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326849807","1326849725","1326849809","1326849811"],"photo_ids_order":["1326849725","1326849807","1326849809","1326849811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4897d421a8bb85fc2cc857a96d529d1f.jpg","text":"TemporaryFile(/tmp/multipartBody7331449864052271291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049812270,"filename":"image_05012025_05_01_02_681280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b540c98223bbe0f185ff57441fc096d.jpg","text":"TemporaryFile(/tmp/multipartBody4810426026242699166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049812270,"filename":"image_05012025_05_01_02_681280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/55d26670e13e23ff1bc160d15c104e5a.jpg","text":"TemporaryFile(/tmp/multipartBody8128201129618419294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049812270,"filename":"image_05012025_05_02_02_147520_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/13abdd925af55e98a80cc83cde123d4d.jpg","text":"TemporaryFile(/tmp/multipartBody5618901398203428247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049812270,"filename":"image_05012025_05_02_02_147520_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326849809","file1":"1326849807","file0":"1326849725","file3":"1326849811"},"map_files_photo_id_array":[{"photo_id":"1326849809","filename":"file2"},{"photo_id":"1326849807","filename":"file1"},{"photo_id":"1326849725","filename":"file0"},{"photo_id":"1326849811","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326849807":["hashtag1","hashtag2"]},{"1326849725":["hashtag1","hashtag2"]},{"1326849809":["hashtag1","hashtag2"]},{"1326849811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326849807, 1326849725, 1326849809, 1326849811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73814392089844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:03:02.331038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:03:21.678939
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/02/image_05012025_05_02_02_147520_0003.jpg', '/home/pi/Desktop/images/05012025/05/03/image_05012025_05_03_02_637748_0000.jpg', '/home/pi/Desktop/images/05012025/05/03/image_05012025_05_03_02_637748_0001.jpg', '/home/pi/Desktop/images/05012025/05/03/image_05012025_05_03_02_637748_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/05/02/image_05012025_05_02_02_147520_0003.jpg
/home/pi/Desktop/images/05012025/05/03/image_05012025_05_03_02_637748_0000.jpg
/home/pi/Desktop/images/05012025/05/03/image_05012025_05_03_02_637748_0001.jpg
/home/pi/Desktop/images/05012025/05/03/image_05012025_05_03_02_637748_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326849821","1326849839","1326849861","1326849837"],"photo_ids_order":["1326849821","1326849837","1326849839","1326849861"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/105f0e6bf56b82de8f58dfee4ed5890f.jpg","text":"TemporaryFile(/tmp/multipartBody4979315976747472668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049871567,"filename":"image_05012025_05_02_02_147520_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cc21565e44d137dd0635c3ac9782b9df.jpg","text":"TemporaryFile(/tmp/multipartBody8994728177483061196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049871567,"filename":"image_05012025_05_03_02_637748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/52bf7732bc76eddefcce1fc625e02c75.jpg","text":"TemporaryFile(/tmp/multipartBody4277996558759172219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049871567,"filename":"image_05012025_05_03_02_637748_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3f1293b83c66aefe00bb0bf56f92e6ce.jpg","text":"TemporaryFile(/tmp/multipartBody4872647542501810502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049871567,"filename":"image_05012025_05_03_02_637748_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326849839","file1":"1326849837","file0":"1326849821","file3":"1326849861"},"map_files_photo_id_array":[{"photo_id":"1326849839","filename":"file2"},{"photo_id":"1326849837","filename":"file1"},{"photo_id":"1326849821","filename":"file0"},{"photo_id":"1326849861","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326849821":["hashtag1","hashtag2"]},{"1326849839":["hashtag1","hashtag2"]},{"1326849861":["hashtag1","hashtag2"]},{"1326849837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326849821, 1326849839, 1326849861, 1326849837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.39222693443298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:04:02.771471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:04:22.424834
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/03/image_05012025_05_03_02_637748_0003.jpg', '/home/pi/Desktop/images/05012025/05/04/image_05012025_05_04_02_179570_0000.jpg', '/home/pi/Desktop/images/05012025/05/04/image_05012025_05_04_02_179570_0001.jpg', '/home/pi/Desktop/images/05012025/05/04/image_05012025_05_04_02_179570_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/05/03/image_05012025_05_03_02_637748_0003.jpg
/home/pi/Desktop/images/05012025/05/04/image_05012025_05_04_02_179570_0000.jpg
/home/pi/Desktop/images/05012025/05/04/image_05012025_05_04_02_179570_0001.jpg
/home/pi/Desktop/images/05012025/05/04/image_05012025_05_04_02_179570_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326850041","1326850032","1326850034","1326850036"],"photo_ids_order":["1326850032","1326850034","1326850036","1326850041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11e6ebefc7a3675e6c6397ba9d3e0922.jpg","text":"TemporaryFile(/tmp/multipartBody1531048465903796197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049932467,"filename":"image_05012025_05_04_02_179570_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2bef74bfa23eb756f614a9b940f45ae2.jpg","text":"TemporaryFile(/tmp/multipartBody8878747515135160247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049932467,"filename":"image_05012025_05_03_02_637748_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/83403a60b08df680d30902bb2723dd2e.jpg","text":"TemporaryFile(/tmp/multipartBody4908178734167828493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049932467,"filename":"image_05012025_05_04_02_179570_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9994b478894fe33e62e0f18117e540af.jpg","text":"TemporaryFile(/tmp/multipartBody2482320196268989181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049932467,"filename":"image_05012025_05_04_02_179570_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326850036","file1":"1326850034","file0":"1326850032","file3":"1326850041"},"map_files_photo_id_array":[{"photo_id":"1326850036","filename":"file2"},{"photo_id":"1326850034","filename":"file1"},{"photo_id":"1326850032","filename":"file0"},{"photo_id":"1326850041","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326850041":["hashtag1","hashtag2"]},{"1326850032":["hashtag1","hashtag2"]},{"1326850034":["hashtag1","hashtag2"]},{"1326850036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326850041, 1326850032, 1326850034, 1326850036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.2748658657074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:05:21.987493
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/04/image_05012025_05_04_02_179570_0003.jpg', '/home/pi/Desktop/images/05012025/05/05/image_05012025_05_05_02_782279_0000.jpg', '/home/pi/Desktop/images/05012025/05/05/image_05012025_05_05_02_782279_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/05/04/image_05012025_05_04_02_179570_0003.jpg
/home/pi/Desktop/images/05012025/05/05/image_05012025_05_05_02_782279_0000.jpg
/home/pi/Desktop/images/05012025/05/05/image_05012025_05_05_02_782279_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326850236","1326850238","1326850240"],"photo_ids_order":["1326850236","1326850238","1326850240"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/993f5f9e83e7470f31631445dd339482.jpg","text":"TemporaryFile(/tmp/multipartBody6022267227217479763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049989557,"filename":"image_05012025_05_04_02_179570_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9fe5127d156eebc736ae9cbc9822b35d.jpg","text":"TemporaryFile(/tmp/multipartBody2615477144125240397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049989557,"filename":"image_05012025_05_05_02_782279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6a7209821bc6d96a34977ce59d380c5c.jpg","text":"TemporaryFile(/tmp/multipartBody7665100670011015414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736049989557,"filename":"image_05012025_05_05_02_782279_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326850240","file1":"1326850238","file0":"1326850236"},"map_files_photo_id_array":[{"photo_id":"1326850240","filename":"file2"},{"photo_id":"1326850238","filename":"file1"},{"photo_id":"1326850236","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326850236":["hashtag1","hashtag2"]},{"1326850238":["hashtag1","hashtag2"]},{"1326850240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326850236, 1326850238, 1326850240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.52013540267944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:06:02.798275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:06:22.408186
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/05/image_05012025_05_05_02_782279_0003.jpg', '/home/pi/Desktop/images/05012025/05/06/image_05012025_05_06_02_306560_0001.jpg', '/home/pi/Desktop/images/05012025/05/06/image_05012025_05_06_02_306560_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/05/05/image_05012025_05_05_02_782279_0003.jpg
/home/pi/Desktop/images/05012025/05/06/image_05012025_05_06_02_306560_0001.jpg
/home/pi/Desktop/images/05012025/05/06/image_05012025_05_06_02_306560_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.361490488052368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:07:02.441624
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/05/image_05012025_05_05_02_782279_0003.jpg', '/home/pi/Desktop/images/05012025/05/06/image_05012025_05_06_02_306560_0001.jpg', '/home/pi/Desktop/images/05012025/05/06/image_05012025_05_06_02_306560_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/05/05/image_05012025_05_05_02_782279_0003.jpg
/home/pi/Desktop/images/05012025/05/06/image_05012025_05_06_02_306560_0001.jpg
/home/pi/Desktop/images/05012025/05/06/image_05012025_05_06_02_306560_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326850728","1326850707","1326850675"],"photo_ids_order":["1326850675","1326850707","1326850728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e5f8c13a2e653b70c5201e754334c613.jpg","text":"TemporaryFile(/tmp/multipartBody8680994160925980585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050090266,"filename":"image_05012025_05_06_02_306560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/16ef0efce140045712b6cf381d63e1fa.jpg","text":"TemporaryFile(/tmp/multipartBody6691186647903416307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050090266,"filename":"image_05012025_05_06_02_306560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/65869fab4781b4babf0e4a2695bd2454.jpg","text":"TemporaryFile(/tmp/multipartBody6990867223026631377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050090266,"filename":"image_05012025_05_05_02_782279_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326850728","file1":"1326850707","file0":"1326850675"},"map_files_photo_id_array":[{"photo_id":"1326850728","filename":"file2"},{"photo_id":"1326850707","filename":"file1"},{"photo_id":"1326850675","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326850728":["hashtag1","hashtag2"]},{"1326850707":["hashtag1","hashtag2"]},{"1326850675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326850728, 1326850707, 1326850675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.53179168701172 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:08:02.958155
SELECT 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/05/06/image_05012025_05_06_02_306560_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/05/06/image_05012025_05_06_02_306560_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.589369058609009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:08:22.557087
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/06/image_05012025_05_06_02_306560_0003.jpg', '/home/pi/Desktop/images/05012025/05/07/image_05012025_05_07_02_819619_0001.jpg', '/home/pi/Desktop/images/05012025/05/08/image_05012025_05_08_02_341866_0000.jpg', '/home/pi/Desktop/images/05012025/05/08/image_05012025_05_08_02_341866_0001.jpg', '/home/pi/Desktop/images/05012025/05/08/image_05012025_05_08_02_341866_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/05/06/image_05012025_05_06_02_306560_0003.jpg
/home/pi/Desktop/images/05012025/05/07/image_05012025_05_07_02_819619_0001.jpg
/home/pi/Desktop/images/05012025/05/08/image_05012025_05_08_02_341866_0000.jpg
/home/pi/Desktop/images/05012025/05/08/image_05012025_05_08_02_341866_0001.jpg
/home/pi/Desktop/images/05012025/05/08/image_05012025_05_08_02_341866_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326850985","1326850979","1326850981","1326850983","1326850977"],"photo_ids_order":["1326850977","1326850979","1326850981","1326850983","1326850985"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1a0982e5564598797f86da36d2c57831.jpg","text":"TemporaryFile(/tmp/multipartBody6190735923136750805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050174997,"filename":"image_05012025_05_08_02_341866_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/de777b21cb4569ee1e3dbdd66f5b0ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2653239867549103434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050174997,"filename":"image_05012025_05_07_02_819619_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8a0b76d3809ac25a001c5fe0d5f6c194.jpg","text":"TemporaryFile(/tmp/multipartBody3692725541025122711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050174997,"filename":"image_05012025_05_08_02_341866_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5ea81605cc4d1ce193a7e4b243030b7b.jpg","text":"TemporaryFile(/tmp/multipartBody8052810191761469602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050174997,"filename":"image_05012025_05_08_02_341866_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/df3cfc6a3fa6d2f89f0e24190ca22ad7.jpg","text":"TemporaryFile(/tmp/multipartBody7605675538235948892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050174997,"filename":"image_05012025_05_06_02_306560_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326850981","file1":"1326850979","file0":"1326850977","file4":"1326850985","file3":"1326850983"},"map_files_photo_id_array":[{"photo_id":"1326850981","filename":"file2"},{"photo_id":"1326850985","filename":"file4"},{"photo_id":"1326850979","filename":"file1"},{"photo_id":"1326850977","filename":"file0"},{"photo_id":"1326850983","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326850985":["hashtag1","hashtag2"]},{"1326850979":["hashtag1","hashtag2"]},{"1326850981":["hashtag1","hashtag2"]},{"1326850983":["hashtag1","hashtag2"]},{"1326850977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326850985, 1326850979, 1326850981, 1326850983, 1326850977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.09486413002014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:09:22.069789
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/08/image_05012025_05_08_02_341866_0003.jpg', '/home/pi/Desktop/images/05012025/05/09/image_05012025_05_09_02_948860_0000.jpg', '/home/pi/Desktop/images/05012025/05/09/image_05012025_05_09_02_948860_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/05/08/image_05012025_05_08_02_341866_0003.jpg
/home/pi/Desktop/images/05012025/05/09/image_05012025_05_09_02_948860_0000.jpg
/home/pi/Desktop/images/05012025/05/09/image_05012025_05_09_02_948860_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851168","1326851171","1326851157"],"photo_ids_order":["1326851157","1326851168","1326851171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/144ff534e67a008baa96151e38179549.jpg","text":"TemporaryFile(/tmp/multipartBody7947784634626641930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050229862,"filename":"image_05012025_05_09_02_948860_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cb3d2761c82288d3d78ceff0ecfc1f68.jpg","text":"TemporaryFile(/tmp/multipartBody7156389294842812785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050229862,"filename":"image_05012025_05_09_02_948860_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/874431e5c75cc26c0afa15509fc0f860.jpg","text":"TemporaryFile(/tmp/multipartBody2500274191726613330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050229862,"filename":"image_05012025_05_08_02_341866_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851171","file1":"1326851168","file0":"1326851157"},"map_files_photo_id_array":[{"photo_id":"1326851171","filename":"file2"},{"photo_id":"1326851168","filename":"file1"},{"photo_id":"1326851157","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851168":["hashtag1","hashtag2"]},{"1326851171":["hashtag1","hashtag2"]},{"1326851157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851168, 1326851171, 1326851157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.909239768981934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:10:03.028506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:10:22.661824
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/09/image_05012025_05_09_02_948860_0003.jpg', '/home/pi/Desktop/images/05012025/05/10/image_05012025_05_10_02_468873_0000.jpg', '/home/pi/Desktop/images/05012025/05/10/image_05012025_05_10_02_468873_0001.jpg', '/home/pi/Desktop/images/05012025/05/10/image_05012025_05_10_02_468873_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/05/09/image_05012025_05_09_02_948860_0003.jpg
/home/pi/Desktop/images/05012025/05/10/image_05012025_05_10_02_468873_0000.jpg
/home/pi/Desktop/images/05012025/05/10/image_05012025_05_10_02_468873_0001.jpg
/home/pi/Desktop/images/05012025/05/10/image_05012025_05_10_02_468873_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851194","1326851203","1326851196","1326851199"],"photo_ids_order":["1326851194","1326851196","1326851199","1326851203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/850468ae0fa93ac1048b805e11c89074.jpg","text":"TemporaryFile(/tmp/multipartBody6205543033020157192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050292728,"filename":"image_05012025_05_09_02_948860_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/72fd9d4b0fce6862143e5c699a7795a7.jpg","text":"TemporaryFile(/tmp/multipartBody6240017698035295644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050292728,"filename":"image_05012025_05_10_02_468873_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c2143bc44d5f3c24e10e89c44de88f5e.jpg","text":"TemporaryFile(/tmp/multipartBody4373999892674129976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050292728,"filename":"image_05012025_05_10_02_468873_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3d889479b99d5c4c3dfb9c2d904a1564.jpg","text":"TemporaryFile(/tmp/multipartBody3980378963700943541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050292728,"filename":"image_05012025_05_10_02_468873_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851199","file1":"1326851196","file0":"1326851194","file3":"1326851203"},"map_files_photo_id_array":[{"photo_id":"1326851199","filename":"file2"},{"photo_id":"1326851196","filename":"file1"},{"photo_id":"1326851194","filename":"file0"},{"photo_id":"1326851203","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851194":["hashtag1","hashtag2"]},{"1326851203":["hashtag1","hashtag2"]},{"1326851196":["hashtag1","hashtag2"]},{"1326851199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851194, 1326851203, 1326851196, 1326851199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.61000442504883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:11:02.774820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:11:22.146590
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/10/image_05012025_05_10_02_468873_0003.jpg', '/home/pi/Desktop/images/05012025/05/11/image_05012025_05_11_02_987544_0000.jpg', '/home/pi/Desktop/images/05012025/05/11/image_05012025_05_11_02_987544_0001.jpg', '/home/pi/Desktop/images/05012025/05/11/image_05012025_05_11_02_987544_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/05/10/image_05012025_05_10_02_468873_0003.jpg
/home/pi/Desktop/images/05012025/05/11/image_05012025_05_11_02_987544_0000.jpg
/home/pi/Desktop/images/05012025/05/11/image_05012025_05_11_02_987544_0001.jpg
/home/pi/Desktop/images/05012025/05/11/image_05012025_05_11_02_987544_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851220","1326851217","1326851221","1326851215"],"photo_ids_order":["1326851215","1326851217","1326851220","1326851221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dfbead1c8ab8c19b5bf152b4350258a6.jpg","text":"TemporaryFile(/tmp/multipartBody4083836966712349928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050352448,"filename":"image_05012025_05_11_02_987544_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab81458cc7d14aa6063e157bf9df560c.jpg","text":"TemporaryFile(/tmp/multipartBody7198061304027760849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050352448,"filename":"image_05012025_05_11_02_987544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/58c23464901464c465eacf28609a865a.jpg","text":"TemporaryFile(/tmp/multipartBody850872664134490827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050352448,"filename":"image_05012025_05_11_02_987544_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d59a116c94ccaa3a33b3c43ca3da643a.jpg","text":"TemporaryFile(/tmp/multipartBody5367649835069783367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050352448,"filename":"image_05012025_05_10_02_468873_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851220","file1":"1326851217","file0":"1326851215","file3":"1326851221"},"map_files_photo_id_array":[{"photo_id":"1326851220","filename":"file2"},{"photo_id":"1326851217","filename":"file1"},{"photo_id":"1326851215","filename":"file0"},{"photo_id":"1326851221","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851220":["hashtag1","hashtag2"]},{"1326851217":["hashtag1","hashtag2"]},{"1326851221":["hashtag1","hashtag2"]},{"1326851215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851220, 1326851217, 1326851221, 1326851215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.27759337425232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:12:22.680867
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/11/image_05012025_05_11_02_987544_0003.jpg', '/home/pi/Desktop/images/05012025/05/12/image_05012025_05_12_02_469062_0000.jpg', '/home/pi/Desktop/images/05012025/05/12/image_05012025_05_12_02_469062_0001.jpg', '/home/pi/Desktop/images/05012025/05/12/image_05012025_05_12_02_469062_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/05/11/image_05012025_05_11_02_987544_0003.jpg
/home/pi/Desktop/images/05012025/05/12/image_05012025_05_12_02_469062_0000.jpg
/home/pi/Desktop/images/05012025/05/12/image_05012025_05_12_02_469062_0001.jpg
/home/pi/Desktop/images/05012025/05/12/image_05012025_05_12_02_469062_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851247","1326851234","1326851228","1326851230"],"photo_ids_order":["1326851228","1326851230","1326851234","1326851247"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/36ed3a18bb88f2af0ec3a7d57c0f0dba.jpg","text":"TemporaryFile(/tmp/multipartBody8530614868119074042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050412935,"filename":"image_05012025_05_12_02_469062_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dfddde6e1f9f89e6e0e1ee3b6d8323bf.jpg","text":"TemporaryFile(/tmp/multipartBody9220268533659783432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050412935,"filename":"image_05012025_05_12_02_469062_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/451404b56ebe88e736f51f3733a19336.jpg","text":"TemporaryFile(/tmp/multipartBody2947256380641642360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050412935,"filename":"image_05012025_05_11_02_987544_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dac429ee6fb14b75ec9b94b0ea6787bc.jpg","text":"TemporaryFile(/tmp/multipartBody4029536387916790508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050412935,"filename":"image_05012025_05_12_02_469062_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851234","file1":"1326851230","file0":"1326851228","file3":"1326851247"},"map_files_photo_id_array":[{"photo_id":"1326851234","filename":"file2"},{"photo_id":"1326851230","filename":"file1"},{"photo_id":"1326851228","filename":"file0"},{"photo_id":"1326851247","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851247":["hashtag1","hashtag2"]},{"1326851234":["hashtag1","hashtag2"]},{"1326851228":["hashtag1","hashtag2"]},{"1326851230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851247, 1326851234, 1326851228, 1326851230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.61658024787903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:13:22.146575
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/12/image_05012025_05_12_02_469062_0003.jpg', '/home/pi/Desktop/images/05012025/05/13/image_05012025_05_13_03_058056_0000.jpg', '/home/pi/Desktop/images/05012025/05/13/image_05012025_05_13_03_058056_0001.jpg', '/home/pi/Desktop/images/05012025/05/13/image_05012025_05_13_03_058056_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/05/12/image_05012025_05_12_02_469062_0003.jpg
/home/pi/Desktop/images/05012025/05/13/image_05012025_05_13_03_058056_0000.jpg
/home/pi/Desktop/images/05012025/05/13/image_05012025_05_13_03_058056_0001.jpg
/home/pi/Desktop/images/05012025/05/13/image_05012025_05_13_03_058056_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851285","1326851287","1326851289","1326851283"],"photo_ids_order":["1326851283","1326851285","1326851287","1326851289"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c4239284fb237b204d482f6f564bed65.jpg","text":"TemporaryFile(/tmp/multipartBody8586995252202627436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050472508,"filename":"image_05012025_05_13_03_058056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/751dec3713f8bf3569a1d8e90b2c55de.jpg","text":"TemporaryFile(/tmp/multipartBody4837086281231317504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050472508,"filename":"image_05012025_05_13_03_058056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b6c39b1a1a611664f2eb4d3b684c4bc6.jpg","text":"TemporaryFile(/tmp/multipartBody2301989410426447192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050472508,"filename":"image_05012025_05_13_03_058056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/faf8b2c44976860be12e5616edf9eab8.jpg","text":"TemporaryFile(/tmp/multipartBody6282134135355310358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050472508,"filename":"image_05012025_05_12_02_469062_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851287","file1":"1326851285","file0":"1326851283","file3":"1326851289"},"map_files_photo_id_array":[{"photo_id":"1326851287","filename":"file2"},{"photo_id":"1326851285","filename":"file1"},{"photo_id":"1326851283","filename":"file0"},{"photo_id":"1326851289","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851285":["hashtag1","hashtag2"]},{"1326851287":["hashtag1","hashtag2"]},{"1326851289":["hashtag1","hashtag2"]},{"1326851283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851285, 1326851287, 1326851289, 1326851283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.69405651092529 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:14:03.118889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:14:22.678721
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/13/image_05012025_05_13_03_058056_0003.jpg', '/home/pi/Desktop/images/05012025/05/14/image_05012025_05_14_02_555701_0000.jpg', '/home/pi/Desktop/images/05012025/05/14/image_05012025_05_14_02_555701_0001.jpg', '/home/pi/Desktop/images/05012025/05/14/image_05012025_05_14_02_555701_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/05/13/image_05012025_05_13_03_058056_0003.jpg
/home/pi/Desktop/images/05012025/05/14/image_05012025_05_14_02_555701_0000.jpg
/home/pi/Desktop/images/05012025/05/14/image_05012025_05_14_02_555701_0001.jpg
/home/pi/Desktop/images/05012025/05/14/image_05012025_05_14_02_555701_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851310","1326851304","1326851306","1326851308"],"photo_ids_order":["1326851304","1326851306","1326851308","1326851310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/116669bd85301e4f661c1788f9b6c6b2.jpg","text":"TemporaryFile(/tmp/multipartBody5464775902690149828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050533086,"filename":"image_05012025_05_14_02_555701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6156e29207ced36c01f12849040b7c53.jpg","text":"TemporaryFile(/tmp/multipartBody8512844807295976760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050533086,"filename":"image_05012025_05_13_03_058056_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a58e29494e3c0a4c0e33f1f1eaf70678.jpg","text":"TemporaryFile(/tmp/multipartBody3830967463651310570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050533086,"filename":"image_05012025_05_14_02_555701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/776b54be27263c888b88d34bbd043331.jpg","text":"TemporaryFile(/tmp/multipartBody7672825537468526546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050533086,"filename":"image_05012025_05_14_02_555701_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851308","file1":"1326851306","file0":"1326851304","file3":"1326851310"},"map_files_photo_id_array":[{"photo_id":"1326851308","filename":"file2"},{"photo_id":"1326851306","filename":"file1"},{"photo_id":"1326851304","filename":"file0"},{"photo_id":"1326851310","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851310":["hashtag1","hashtag2"]},{"1326851304":["hashtag1","hashtag2"]},{"1326851306":["hashtag1","hashtag2"]},{"1326851308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851310, 1326851304, 1326851306, 1326851308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.3803813457489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:15:02.586659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:15:22.091997
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/14/image_05012025_05_14_02_555701_0003.jpg', '/home/pi/Desktop/images/05012025/05/15/image_05012025_05_15_03_043313_0000.jpg', '/home/pi/Desktop/images/05012025/05/15/image_05012025_05_15_03_043313_0001.jpg', '/home/pi/Desktop/images/05012025/05/15/image_05012025_05_15_03_043313_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/05/14/image_05012025_05_14_02_555701_0003.jpg
/home/pi/Desktop/images/05012025/05/15/image_05012025_05_15_03_043313_0000.jpg
/home/pi/Desktop/images/05012025/05/15/image_05012025_05_15_03_043313_0001.jpg
/home/pi/Desktop/images/05012025/05/15/image_05012025_05_15_03_043313_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.866619110107422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:16:02.272978
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/14/image_05012025_05_14_02_555701_0003.jpg', '/home/pi/Desktop/images/05012025/05/15/image_05012025_05_15_03_043313_0000.jpg', '/home/pi/Desktop/images/05012025/05/15/image_05012025_05_15_03_043313_0001.jpg', '/home/pi/Desktop/images/05012025/05/15/image_05012025_05_15_03_043313_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/05/14/image_05012025_05_14_02_555701_0003.jpg
/home/pi/Desktop/images/05012025/05/15/image_05012025_05_15_03_043313_0000.jpg
/home/pi/Desktop/images/05012025/05/15/image_05012025_05_15_03_043313_0001.jpg
/home/pi/Desktop/images/05012025/05/15/image_05012025_05_15_03_043313_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851360","1326851362","1326851359","1326851364"],"photo_ids_order":["1326851359","1326851360","1326851362","1326851364"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a9f782a650e6f7bec25e244a5434a1fc.jpg","text":"TemporaryFile(/tmp/multipartBody6813870986554321121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050632550,"filename":"image_05012025_05_15_03_043313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e125290d6b150cc2bcb4cd7d2269d93f.jpg","text":"TemporaryFile(/tmp/multipartBody1053781788704280045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050632550,"filename":"image_05012025_05_15_03_043313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f4c57180222c1f62d48577c94914c75.jpg","text":"TemporaryFile(/tmp/multipartBody5145678915970509190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050632550,"filename":"image_05012025_05_14_02_555701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/57a87b92de34906024387335223bc147.jpg","text":"TemporaryFile(/tmp/multipartBody5581929393679778627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050632550,"filename":"image_05012025_05_15_03_043313_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851362","file1":"1326851360","file0":"1326851359","file3":"1326851364"},"map_files_photo_id_array":[{"photo_id":"1326851362","filename":"file2"},{"photo_id":"1326851360","filename":"file1"},{"photo_id":"1326851359","filename":"file0"},{"photo_id":"1326851364","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851360":["hashtag1","hashtag2"]},{"1326851362":["hashtag1","hashtag2"]},{"1326851359":["hashtag1","hashtag2"]},{"1326851364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851360, 1326851362, 1326851359, 1326851364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.06723237037659 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:17:02.847021
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/15/image_05012025_05_15_03_043313_0003.jpg', '/home/pi/Desktop/images/05012025/05/16/image_05012025_05_16_02_533313_0000.jpg', '/home/pi/Desktop/images/05012025/05/16/image_05012025_05_16_02_533313_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/05/15/image_05012025_05_15_03_043313_0003.jpg
/home/pi/Desktop/images/05012025/05/16/image_05012025_05_16_02_533313_0000.jpg
/home/pi/Desktop/images/05012025/05/16/image_05012025_05_16_02_533313_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.584854364395142 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:17:22.300228
SELECT 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/05/15/image_05012025_05_15_03_043313_0003.jpg', '/home/pi/Desktop/images/05012025/05/16/image_05012025_05_16_02_533313_0000.jpg', '/home/pi/Desktop/images/05012025/05/16/image_05012025_05_16_02_533313_0001.jpg', '/home/pi/Desktop/images/05012025/05/16/image_05012025_05_16_02_533313_0003.jpg', '/home/pi/Desktop/images/05012025/05/17/image_05012025_05_17_02_189840_0000.jpg', '/home/pi/Desktop/images/05012025/05/17/image_05012025_05_17_02_189840_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/05/15/image_05012025_05_15_03_043313_0003.jpg
/home/pi/Desktop/images/05012025/05/16/image_05012025_05_16_02_533313_0000.jpg
/home/pi/Desktop/images/05012025/05/16/image_05012025_05_16_02_533313_0001.jpg
/home/pi/Desktop/images/05012025/05/16/image_05012025_05_16_02_533313_0003.jpg
/home/pi/Desktop/images/05012025/05/17/image_05012025_05_17_02_189840_0000.jpg
/home/pi/Desktop/images/05012025/05/17/image_05012025_05_17_02_189840_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851406","1326851399","1326851407","1326851401","1326851404","1326851397"],"photo_ids_order":["1326851397","1326851399","1326851401","1326851404","1326851406","1326851407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dfb5f10d1789ac05dfccbbacff716db7.jpg","text":"TemporaryFile(/tmp/multipartBody8948394815935612993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050717453,"filename":"image_05012025_05_17_02_189840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d0cb84920e0b6abaacec8d1c86f28f07.jpg","text":"TemporaryFile(/tmp/multipartBody7035425654694192103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050717453,"filename":"image_05012025_05_16_02_533313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b8b5c6972a1d31b281908f5f479b4ee9.jpg","text":"TemporaryFile(/tmp/multipartBody3059534868301852008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050717453,"filename":"image_05012025_05_17_02_189840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f7e33d77af67af660274720dac217a4f.jpg","text":"TemporaryFile(/tmp/multipartBody3836275124207322978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050717453,"filename":"image_05012025_05_16_02_533313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc5e8a140657fb8cbd6a0de720c1d789.jpg","text":"TemporaryFile(/tmp/multipartBody2042318620185179088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050717453,"filename":"image_05012025_05_16_02_533313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0d0035f087dbc287cc24e76007e9234d.jpg","text":"TemporaryFile(/tmp/multipartBody3782738869563232423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050717453,"filename":"image_05012025_05_15_03_043313_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851401","file1":"1326851399","file0":"1326851397","file4":"1326851406","file5":"1326851407","file3":"1326851404"},"map_files_photo_id_array":[{"photo_id":"1326851407","filename":"file5"},{"photo_id":"1326851401","filename":"file2"},{"photo_id":"1326851406","filename":"file4"},{"photo_id":"1326851399","filename":"file1"},{"photo_id":"1326851397","filename":"file0"},{"photo_id":"1326851404","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851406":["hashtag1","hashtag2"]},{"1326851399":["hashtag1","hashtag2"]},{"1326851407":["hashtag1","hashtag2"]},{"1326851401":["hashtag1","hashtag2"]},{"1326851404":["hashtag1","hashtag2"]},{"1326851397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851406, 1326851399, 1326851407, 1326851401, 1326851404, 1326851397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.038386821746826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:18:22.042650
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/17/image_05012025_05_17_02_189840_0002.jpg', '/home/pi/Desktop/images/05012025/05/17/image_05012025_05_17_02_189840_0003.jpg', '/home/pi/Desktop/images/05012025/05/18/image_05012025_05_18_02_679092_0000.jpg', '/home/pi/Desktop/images/05012025/05/18/image_05012025_05_18_02_679092_0001.jpg', '/home/pi/Desktop/images/05012025/05/18/image_05012025_05_18_02_679092_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/05/17/image_05012025_05_17_02_189840_0002.jpg
/home/pi/Desktop/images/05012025/05/17/image_05012025_05_17_02_189840_0003.jpg
/home/pi/Desktop/images/05012025/05/18/image_05012025_05_18_02_679092_0000.jpg
/home/pi/Desktop/images/05012025/05/18/image_05012025_05_18_02_679092_0001.jpg
/home/pi/Desktop/images/05012025/05/18/image_05012025_05_18_02_679092_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851576","1326851573","1326851555","1326851560","1326851484"],"photo_ids_order":["1326851484","1326851555","1326851560","1326851573","1326851576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7a75af13cc76009af7864798c961e20e.jpg","text":"TemporaryFile(/tmp/multipartBody2718357032128760674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050774761,"filename":"image_05012025_05_18_02_679092_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd3c7eca665f73ea225e6105e9749534.jpg","text":"TemporaryFile(/tmp/multipartBody8171933254574587875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050774761,"filename":"image_05012025_05_18_02_679092_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ea628d91e4a3c9464e98b8283f4e6f23.jpg","text":"TemporaryFile(/tmp/multipartBody7712895696201215179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050774761,"filename":"image_05012025_05_17_02_189840_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b2fe7189dba5124934777e3ed9da2d08.jpg","text":"TemporaryFile(/tmp/multipartBody6729423878352936123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050774761,"filename":"image_05012025_05_18_02_679092_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f3df1f4ff06bbe0b103cfc6816d42cd5.jpg","text":"TemporaryFile(/tmp/multipartBody4930486465551630031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050774761,"filename":"image_05012025_05_17_02_189840_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851560","file1":"1326851555","file0":"1326851484","file4":"1326851576","file3":"1326851573"},"map_files_photo_id_array":[{"photo_id":"1326851560","filename":"file2"},{"photo_id":"1326851576","filename":"file4"},{"photo_id":"1326851555","filename":"file1"},{"photo_id":"1326851484","filename":"file0"},{"photo_id":"1326851573","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851576":["hashtag1","hashtag2"]},{"1326851573":["hashtag1","hashtag2"]},{"1326851555":["hashtag1","hashtag2"]},{"1326851560":["hashtag1","hashtag2"]},{"1326851484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851576, 1326851573, 1326851555, 1326851560, 1326851484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.203702449798584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:19:22.486568
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/18/image_05012025_05_18_02_679092_0003.jpg', '/home/pi/Desktop/images/05012025/05/19/image_05012025_05_19_02_402883_0000.jpg', '/home/pi/Desktop/images/05012025/05/19/image_05012025_05_19_02_402883_0001.jpg', '/home/pi/Desktop/images/05012025/05/19/image_05012025_05_19_02_402883_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/05/18/image_05012025_05_18_02_679092_0003.jpg
/home/pi/Desktop/images/05012025/05/19/image_05012025_05_19_02_402883_0000.jpg
/home/pi/Desktop/images/05012025/05/19/image_05012025_05_19_02_402883_0001.jpg
/home/pi/Desktop/images/05012025/05/19/image_05012025_05_19_02_402883_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851613","1326851615","1326851609","1326851611"],"photo_ids_order":["1326851609","1326851611","1326851613","1326851615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/26f24ee2f820b31521c19f95c33a8f61.jpg","text":"TemporaryFile(/tmp/multipartBody4157996571606874948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050832872,"filename":"image_05012025_05_19_02_402883_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ba31858c6a24a15c614c910cbead937a.jpg","text":"TemporaryFile(/tmp/multipartBody8553762749989613926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050832872,"filename":"image_05012025_05_19_02_402883_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62517c1dd95d41fdb130a956d4c1468c.jpg","text":"TemporaryFile(/tmp/multipartBody5631477160114702408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050832872,"filename":"image_05012025_05_18_02_679092_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1b5de664e085c1f6925781a28aa7645b.jpg","text":"TemporaryFile(/tmp/multipartBody5367176439004272499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050832872,"filename":"image_05012025_05_19_02_402883_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851613","file1":"1326851611","file0":"1326851609","file3":"1326851615"},"map_files_photo_id_array":[{"photo_id":"1326851613","filename":"file2"},{"photo_id":"1326851611","filename":"file1"},{"photo_id":"1326851609","filename":"file0"},{"photo_id":"1326851615","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851613":["hashtag1","hashtag2"]},{"1326851615":["hashtag1","hashtag2"]},{"1326851609":["hashtag1","hashtag2"]},{"1326851611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851613, 1326851615, 1326851609, 1326851611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.650882720947266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:20:22.015682
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/19/image_05012025_05_19_02_402883_0003.jpg', '/home/pi/Desktop/images/05012025/05/20/image_05012025_05_20_02_879324_0000.jpg', '/home/pi/Desktop/images/05012025/05/20/image_05012025_05_20_02_879324_0001.jpg', '/home/pi/Desktop/images/05012025/05/20/image_05012025_05_20_02_879324_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/05/19/image_05012025_05_19_02_402883_0003.jpg
/home/pi/Desktop/images/05012025/05/20/image_05012025_05_20_02_879324_0000.jpg
/home/pi/Desktop/images/05012025/05/20/image_05012025_05_20_02_879324_0001.jpg
/home/pi/Desktop/images/05012025/05/20/image_05012025_05_20_02_879324_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.051419019699097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:21:02.999316
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/19/image_05012025_05_19_02_402883_0003.jpg', '/home/pi/Desktop/images/05012025/05/20/image_05012025_05_20_02_879324_0000.jpg', '/home/pi/Desktop/images/05012025/05/20/image_05012025_05_20_02_879324_0001.jpg', '/home/pi/Desktop/images/05012025/05/20/image_05012025_05_20_02_879324_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/05/19/image_05012025_05_19_02_402883_0003.jpg
/home/pi/Desktop/images/05012025/05/20/image_05012025_05_20_02_879324_0000.jpg
/home/pi/Desktop/images/05012025/05/20/image_05012025_05_20_02_879324_0001.jpg
/home/pi/Desktop/images/05012025/05/20/image_05012025_05_20_02_879324_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851630","1326851632","1326851629","1326851634"],"photo_ids_order":["1326851629","1326851630","1326851632","1326851634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ee6e92fe92d04adc877ccff4bbacdd57.jpg","text":"TemporaryFile(/tmp/multipartBody95054936434208889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050933530,"filename":"image_05012025_05_20_02_879324_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/db08f2062980c80c1f9d48e20b259a0a.jpg","text":"TemporaryFile(/tmp/multipartBody8529860283890534497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050933530,"filename":"image_05012025_05_20_02_879324_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4ee0333140d4c0c3d3ba9ee4aa5c1199.jpg","text":"TemporaryFile(/tmp/multipartBody8533292201409847982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050933530,"filename":"image_05012025_05_19_02_402883_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d21c4179ba0aa69eaabb9fceaaaa6c59.jpg","text":"TemporaryFile(/tmp/multipartBody3472622723619485445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736050933530,"filename":"image_05012025_05_20_02_879324_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851632","file1":"1326851630","file0":"1326851629","file3":"1326851634"},"map_files_photo_id_array":[{"photo_id":"1326851632","filename":"file2"},{"photo_id":"1326851630","filename":"file1"},{"photo_id":"1326851629","filename":"file0"},{"photo_id":"1326851634","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851630":["hashtag1","hashtag2"]},{"1326851632":["hashtag1","hashtag2"]},{"1326851629":["hashtag1","hashtag2"]},{"1326851634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851630, 1326851632, 1326851629, 1326851634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0958034992218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:22:02.615246
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/20/image_05012025_05_20_02_879324_0003.jpg', '/home/pi/Desktop/images/05012025/05/21/image_05012025_05_21_02_372766_0000.jpg', '/home/pi/Desktop/images/05012025/05/21/image_05012025_05_21_02_372766_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/05/20/image_05012025_05_20_02_879324_0003.jpg
/home/pi/Desktop/images/05012025/05/21/image_05012025_05_21_02_372766_0000.jpg
/home/pi/Desktop/images/05012025/05/21/image_05012025_05_21_02_372766_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.551252365112305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:22:22.155777
SELECT 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/05/20/image_05012025_05_20_02_879324_0003.jpg', '/home/pi/Desktop/images/05012025/05/21/image_05012025_05_21_02_372766_0000.jpg', '/home/pi/Desktop/images/05012025/05/21/image_05012025_05_21_02_372766_0001.jpg', '/home/pi/Desktop/images/05012025/05/21/image_05012025_05_21_02_372766_0002.jpg', '/home/pi/Desktop/images/05012025/05/22/image_05012025_05_22_02_886216_0000.jpg', '/home/pi/Desktop/images/05012025/05/22/image_05012025_05_22_02_886216_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/05/20/image_05012025_05_20_02_879324_0003.jpg
/home/pi/Desktop/images/05012025/05/21/image_05012025_05_21_02_372766_0000.jpg
/home/pi/Desktop/images/05012025/05/21/image_05012025_05_21_02_372766_0001.jpg
/home/pi/Desktop/images/05012025/05/21/image_05012025_05_21_02_372766_0002.jpg
/home/pi/Desktop/images/05012025/05/22/image_05012025_05_22_02_886216_0000.jpg
/home/pi/Desktop/images/05012025/05/22/image_05012025_05_22_02_886216_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851693","1326851687","1326851684","1326851689","1326851719","1326851691"],"photo_ids_order":["1326851684","1326851687","1326851689","1326851691","1326851693","1326851719"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d067f0b7146c90dc5755ae9e8ee6ab62.jpg","text":"TemporaryFile(/tmp/multipartBody513688447572880171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051017238,"filename":"image_05012025_05_22_02_886216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/64bf3d6a56a239e64a3de3e7b406dd90.jpg","text":"TemporaryFile(/tmp/multipartBody434346213189906689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051017238,"filename":"image_05012025_05_21_02_372766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0a09b179786b621ff570128577426482.jpg","text":"TemporaryFile(/tmp/multipartBody2394308063133318708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051017238,"filename":"image_05012025_05_20_02_879324_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e42a659c860fec6ff34c6f6aff7b5e76.jpg","text":"TemporaryFile(/tmp/multipartBody6439034388752250684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051017238,"filename":"image_05012025_05_21_02_372766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4477f9c6296850fda1081006edba3620.jpg","text":"TemporaryFile(/tmp/multipartBody3970598544029199695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051017238,"filename":"image_05012025_05_22_02_886216_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a4b1e052b18a0a46fd64ba56345413b8.jpg","text":"TemporaryFile(/tmp/multipartBody7942796817881826064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051017238,"filename":"image_05012025_05_21_02_372766_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851689","file1":"1326851687","file0":"1326851684","file4":"1326851693","file5":"1326851719","file3":"1326851691"},"map_files_photo_id_array":[{"photo_id":"1326851719","filename":"file5"},{"photo_id":"1326851689","filename":"file2"},{"photo_id":"1326851693","filename":"file4"},{"photo_id":"1326851687","filename":"file1"},{"photo_id":"1326851684","filename":"file0"},{"photo_id":"1326851691","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851693":["hashtag1","hashtag2"]},{"1326851687":["hashtag1","hashtag2"]},{"1326851684":["hashtag1","hashtag2"]},{"1326851689":["hashtag1","hashtag2"]},{"1326851719":["hashtag1","hashtag2"]},{"1326851691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851693, 1326851687, 1326851684, 1326851689, 1326851719, 1326851691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.75385856628418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:23:22.685806
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/22/image_05012025_05_22_02_886216_0002.jpg', '/home/pi/Desktop/images/05012025/05/22/image_05012025_05_22_02_886216_0003.jpg', '/home/pi/Desktop/images/05012025/05/23/image_05012025_05_23_02_539967_0000.jpg', '/home/pi/Desktop/images/05012025/05/23/image_05012025_05_23_02_539967_0001.jpg', '/home/pi/Desktop/images/05012025/05/23/image_05012025_05_23_02_539967_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/05/22/image_05012025_05_22_02_886216_0002.jpg
/home/pi/Desktop/images/05012025/05/22/image_05012025_05_22_02_886216_0003.jpg
/home/pi/Desktop/images/05012025/05/23/image_05012025_05_23_02_539967_0000.jpg
/home/pi/Desktop/images/05012025/05/23/image_05012025_05_23_02_539967_0001.jpg
/home/pi/Desktop/images/05012025/05/23/image_05012025_05_23_02_539967_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851729","1326851723","1326851731","1326851725","1326851727"],"photo_ids_order":["1326851723","1326851725","1326851727","1326851729","1326851731"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9492b8c2dfb157eea9b741cd79c5b898.jpg","text":"TemporaryFile(/tmp/multipartBody8516196496180562552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051075578,"filename":"image_05012025_05_23_02_539967_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cf033dba34c94152e090b2c296a99140.jpg","text":"TemporaryFile(/tmp/multipartBody2593782254737104060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051075578,"filename":"image_05012025_05_22_02_886216_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4fdb01176b06b61252ef82147dba10c9.jpg","text":"TemporaryFile(/tmp/multipartBody8568820959268613783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051075578,"filename":"image_05012025_05_23_02_539967_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a0fbc7e1f1ebe18124b3b25e9e2c7fcf.jpg","text":"TemporaryFile(/tmp/multipartBody7007355604745873052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051075578,"filename":"image_05012025_05_22_02_886216_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/faa03b21ebbaf8b46cbf978b0408d049.jpg","text":"TemporaryFile(/tmp/multipartBody2709768642453988776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051075578,"filename":"image_05012025_05_23_02_539967_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851727","file1":"1326851725","file0":"1326851723","file4":"1326851731","file3":"1326851729"},"map_files_photo_id_array":[{"photo_id":"1326851727","filename":"file2"},{"photo_id":"1326851731","filename":"file4"},{"photo_id":"1326851725","filename":"file1"},{"photo_id":"1326851723","filename":"file0"},{"photo_id":"1326851729","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851729":["hashtag1","hashtag2"]},{"1326851723":["hashtag1","hashtag2"]},{"1326851731":["hashtag1","hashtag2"]},{"1326851725":["hashtag1","hashtag2"]},{"1326851727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851729, 1326851723, 1326851731, 1326851725, 1326851727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.32538461685181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:24:22.171972
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/23/image_05012025_05_23_02_539967_0003.jpg', '/home/pi/Desktop/images/05012025/05/24/image_05012025_05_24_03_061999_0000.jpg', '/home/pi/Desktop/images/05012025/05/24/image_05012025_05_24_03_061999_0001.jpg', '/home/pi/Desktop/images/05012025/05/24/image_05012025_05_24_03_061999_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/05/23/image_05012025_05_23_02_539967_0003.jpg
/home/pi/Desktop/images/05012025/05/24/image_05012025_05_24_03_061999_0000.jpg
/home/pi/Desktop/images/05012025/05/24/image_05012025_05_24_03_061999_0001.jpg
/home/pi/Desktop/images/05012025/05/24/image_05012025_05_24_03_061999_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851736","1326851741","1326851752","1326851734"],"photo_ids_order":["1326851734","1326851736","1326851741","1326851752"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8eb81afe22b4132db96f7c3b0d23a7c6.jpg","text":"TemporaryFile(/tmp/multipartBody673243686041595561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051132665,"filename":"image_05012025_05_24_03_061999_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/53baee1c7b6ecccd2d2d1074003c3465.jpg","text":"TemporaryFile(/tmp/multipartBody2704158624208135465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051132665,"filename":"image_05012025_05_24_03_061999_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a0df661e3856510357d3f247b4de8d2c.jpg","text":"TemporaryFile(/tmp/multipartBody2357466076196514150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051132665,"filename":"image_05012025_05_24_03_061999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/86dd9f62b3011bcef3f8591f3df9ee18.jpg","text":"TemporaryFile(/tmp/multipartBody3519598352015193841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051132665,"filename":"image_05012025_05_23_02_539967_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851741","file1":"1326851736","file0":"1326851734","file3":"1326851752"},"map_files_photo_id_array":[{"photo_id":"1326851741","filename":"file2"},{"photo_id":"1326851736","filename":"file1"},{"photo_id":"1326851734","filename":"file0"},{"photo_id":"1326851752","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851736":["hashtag1","hashtag2"]},{"1326851741":["hashtag1","hashtag2"]},{"1326851752":["hashtag1","hashtag2"]},{"1326851734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851736, 1326851741, 1326851752, 1326851734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04662799835205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:25:03.367013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:25:22.583701
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/24/image_05012025_05_24_03_061999_0003.jpg', '/home/pi/Desktop/images/05012025/05/25/image_05012025_05_25_02_533640_0000.jpg', '/home/pi/Desktop/images/05012025/05/25/image_05012025_05_25_02_533640_0001.jpg', '/home/pi/Desktop/images/05012025/05/25/image_05012025_05_25_02_533640_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/05/24/image_05012025_05_24_03_061999_0003.jpg
/home/pi/Desktop/images/05012025/05/25/image_05012025_05_25_02_533640_0000.jpg
/home/pi/Desktop/images/05012025/05/25/image_05012025_05_25_02_533640_0001.jpg
/home/pi/Desktop/images/05012025/05/25/image_05012025_05_25_02_533640_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851783","1326851785","1326851781","1326851787"],"photo_ids_order":["1326851781","1326851783","1326851785","1326851787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f11b56c44237d69af15530db393fc893.jpg","text":"TemporaryFile(/tmp/multipartBody3660814678331511961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051192859,"filename":"image_05012025_05_25_02_533640_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1656268390920b8adecd36be6ff6b820.jpg","text":"TemporaryFile(/tmp/multipartBody1215623311910544803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051192859,"filename":"image_05012025_05_25_02_533640_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dce4ecca86273a7b8ae566b770548142.jpg","text":"TemporaryFile(/tmp/multipartBody7957322947815465966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051192859,"filename":"image_05012025_05_24_03_061999_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c5338c9d937648d7604b2ea978174ce8.jpg","text":"TemporaryFile(/tmp/multipartBody5054054323257265536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051192859,"filename":"image_05012025_05_25_02_533640_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851785","file1":"1326851783","file0":"1326851781","file3":"1326851787"},"map_files_photo_id_array":[{"photo_id":"1326851785","filename":"file2"},{"photo_id":"1326851783","filename":"file1"},{"photo_id":"1326851781","filename":"file0"},{"photo_id":"1326851787","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851783":["hashtag1","hashtag2"]},{"1326851785":["hashtag1","hashtag2"]},{"1326851781":["hashtag1","hashtag2"]},{"1326851787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851783, 1326851785, 1326851781, 1326851787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.07014203071594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:26:02.782597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:26:22.287145
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/25/image_05012025_05_25_02_533640_0003.jpg', '/home/pi/Desktop/images/05012025/05/26/image_05012025_05_26_03_050733_0000.jpg', '/home/pi/Desktop/images/05012025/05/26/image_05012025_05_26_03_050733_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/05/25/image_05012025_05_25_02_533640_0003.jpg
/home/pi/Desktop/images/05012025/05/26/image_05012025_05_26_03_050733_0000.jpg
/home/pi/Desktop/images/05012025/05/26/image_05012025_05_26_03_050733_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851795","1326851798","1326851793"],"photo_ids_order":["1326851793","1326851795","1326851798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/285a204c445293c36c1452abc12e35aa.jpg","text":"TemporaryFile(/tmp/multipartBody2763491827239884666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051250116,"filename":"image_05012025_05_26_03_050733_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fcb8994adf9185f06546790df155ac80.jpg","text":"TemporaryFile(/tmp/multipartBody6516439149832362097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051250116,"filename":"image_05012025_05_26_03_050733_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2d42d62d98bf5ad23150ee50cfa6f6fd.jpg","text":"TemporaryFile(/tmp/multipartBody2804457366840693632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051250116,"filename":"image_05012025_05_25_02_533640_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851798","file1":"1326851795","file0":"1326851793"},"map_files_photo_id_array":[{"photo_id":"1326851798","filename":"file2"},{"photo_id":"1326851795","filename":"file1"},{"photo_id":"1326851793","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851795":["hashtag1","hashtag2"]},{"1326851798":["hashtag1","hashtag2"]},{"1326851793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851795, 1326851798, 1326851793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.74314308166504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:27:02.407256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:27:21.819925
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/26/image_05012025_05_26_03_050733_0003.jpg', '/home/pi/Desktop/images/05012025/05/27/image_05012025_05_27_02_699822_0000.jpg', '/home/pi/Desktop/images/05012025/05/27/image_05012025_05_27_02_699822_0001.jpg', '/home/pi/Desktop/images/05012025/05/27/image_05012025_05_27_02_699822_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/05/26/image_05012025_05_26_03_050733_0003.jpg
/home/pi/Desktop/images/05012025/05/27/image_05012025_05_27_02_699822_0000.jpg
/home/pi/Desktop/images/05012025/05/27/image_05012025_05_27_02_699822_0001.jpg
/home/pi/Desktop/images/05012025/05/27/image_05012025_05_27_02_699822_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851817","1326851811","1326851813","1326851815"],"photo_ids_order":["1326851811","1326851813","1326851815","1326851817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c8a3563837762e7d03a88ac1559bd656.jpg","text":"TemporaryFile(/tmp/multipartBody7542478447567459867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051312003,"filename":"image_05012025_05_27_02_699822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9d7cb6dad17e481f3e0443f0cb14877e.jpg","text":"TemporaryFile(/tmp/multipartBody2879455455297419672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051312003,"filename":"image_05012025_05_26_03_050733_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7632881a30d1939b5be53c37cff22772.jpg","text":"TemporaryFile(/tmp/multipartBody10245032822340263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051312003,"filename":"image_05012025_05_27_02_699822_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb24484123eac478e01e50073728a8bc.jpg","text":"TemporaryFile(/tmp/multipartBody6483166772079556654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051312003,"filename":"image_05012025_05_27_02_699822_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851815","file1":"1326851813","file0":"1326851811","file3":"1326851817"},"map_files_photo_id_array":[{"photo_id":"1326851815","filename":"file2"},{"photo_id":"1326851813","filename":"file1"},{"photo_id":"1326851811","filename":"file0"},{"photo_id":"1326851817","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851817":["hashtag1","hashtag2"]},{"1326851811":["hashtag1","hashtag2"]},{"1326851813":["hashtag1","hashtag2"]},{"1326851815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851817, 1326851811, 1326851813, 1326851815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.6399359703064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:28:03.003313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:28:22.470258
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/27/image_05012025_05_27_02_699822_0003.jpg', '/home/pi/Desktop/images/05012025/05/28/image_05012025_05_28_02_223603_0000.jpg', '/home/pi/Desktop/images/05012025/05/28/image_05012025_05_28_02_223603_0001.jpg', '/home/pi/Desktop/images/05012025/05/28/image_05012025_05_28_02_223603_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/05/27/image_05012025_05_27_02_699822_0003.jpg
/home/pi/Desktop/images/05012025/05/28/image_05012025_05_28_02_223603_0000.jpg
/home/pi/Desktop/images/05012025/05/28/image_05012025_05_28_02_223603_0001.jpg
/home/pi/Desktop/images/05012025/05/28/image_05012025_05_28_02_223603_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.79559326171875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:29:02.648682
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/27/image_05012025_05_27_02_699822_0003.jpg', '/home/pi/Desktop/images/05012025/05/28/image_05012025_05_28_02_223603_0000.jpg', '/home/pi/Desktop/images/05012025/05/28/image_05012025_05_28_02_223603_0001.jpg', '/home/pi/Desktop/images/05012025/05/28/image_05012025_05_28_02_223603_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/05/27/image_05012025_05_27_02_699822_0003.jpg
/home/pi/Desktop/images/05012025/05/28/image_05012025_05_28_02_223603_0000.jpg
/home/pi/Desktop/images/05012025/05/28/image_05012025_05_28_02_223603_0001.jpg
/home/pi/Desktop/images/05012025/05/28/image_05012025_05_28_02_223603_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851879","1326851872","1326851881","1326851875"],"photo_ids_order":["1326851872","1326851875","1326851879","1326851881"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/54acc856be754d9af85b77002fa41544.jpg","text":"TemporaryFile(/tmp/multipartBody8468283028299136281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051412930,"filename":"image_05012025_05_28_02_223603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6edccdab8be415148a97846a635e0986.jpg","text":"TemporaryFile(/tmp/multipartBody2292491725328630963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051412930,"filename":"image_05012025_05_27_02_699822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/92c63e6893ecaab5e2e7f713a5302a34.jpg","text":"TemporaryFile(/tmp/multipartBody5869142013160345687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051412930,"filename":"image_05012025_05_28_02_223603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d8bc28cd15d89cd3438f045abc21e450.jpg","text":"TemporaryFile(/tmp/multipartBody7005779201132453756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051412930,"filename":"image_05012025_05_28_02_223603_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851879","file1":"1326851875","file0":"1326851872","file3":"1326851881"},"map_files_photo_id_array":[{"photo_id":"1326851879","filename":"file2"},{"photo_id":"1326851875","filename":"file1"},{"photo_id":"1326851872","filename":"file0"},{"photo_id":"1326851881","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851879":["hashtag1","hashtag2"]},{"1326851872":["hashtag1","hashtag2"]},{"1326851881":["hashtag1","hashtag2"]},{"1326851875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851879, 1326851872, 1326851881, 1326851875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.32477068901062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:30:03.156828
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/28/image_05012025_05_28_02_223603_0003.jpg', '/home/pi/Desktop/images/05012025/05/29/image_05012025_05_29_02_826985_0000.jpg', '/home/pi/Desktop/images/05012025/05/29/image_05012025_05_29_02_826985_0001.jpg', '/home/pi/Desktop/images/05012025/05/29/image_05012025_05_29_02_826985_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/05/28/image_05012025_05_28_02_223603_0003.jpg
/home/pi/Desktop/images/05012025/05/29/image_05012025_05_29_02_826985_0000.jpg
/home/pi/Desktop/images/05012025/05/29/image_05012025_05_29_02_826985_0001.jpg
/home/pi/Desktop/images/05012025/05/29/image_05012025_05_29_02_826985_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851901","1326851904","1326851906","1326851902"],"photo_ids_order":["1326851901","1326851902","1326851904","1326851906"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d20d898f13c49bdf6a5626ffaa1bbbb9.jpg","text":"TemporaryFile(/tmp/multipartBody1937765469517678778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051473529,"filename":"image_05012025_05_28_02_223603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6bf1af1b7cba8c92f93d031793164987.jpg","text":"TemporaryFile(/tmp/multipartBody2867848790682935903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051473529,"filename":"image_05012025_05_29_02_826985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7b02cf3be88944c539d40e19088f0891.jpg","text":"TemporaryFile(/tmp/multipartBody5991972502393043079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051473529,"filename":"image_05012025_05_29_02_826985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7d37d80aeffeff282746fcad3f71bf68.jpg","text":"TemporaryFile(/tmp/multipartBody5589084574512949769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051473529,"filename":"image_05012025_05_29_02_826985_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851904","file1":"1326851902","file0":"1326851901","file3":"1326851906"},"map_files_photo_id_array":[{"photo_id":"1326851904","filename":"file2"},{"photo_id":"1326851902","filename":"file1"},{"photo_id":"1326851901","filename":"file0"},{"photo_id":"1326851906","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851901":["hashtag1","hashtag2"]},{"1326851904":["hashtag1","hashtag2"]},{"1326851906":["hashtag1","hashtag2"]},{"1326851902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851901, 1326851904, 1326851906, 1326851902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.781414270401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:31:02.688663
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/29/image_05012025_05_29_02_826985_0003.jpg', '/home/pi/Desktop/images/05012025/05/30/image_05012025_05_30_02_341575_0000.jpg', '/home/pi/Desktop/images/05012025/05/30/image_05012025_05_30_02_341575_0001.jpg', '/home/pi/Desktop/images/05012025/05/30/image_05012025_05_30_02_341575_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/05/29/image_05012025_05_29_02_826985_0003.jpg
/home/pi/Desktop/images/05012025/05/30/image_05012025_05_30_02_341575_0000.jpg
/home/pi/Desktop/images/05012025/05/30/image_05012025_05_30_02_341575_0001.jpg
/home/pi/Desktop/images/05012025/05/30/image_05012025_05_30_02_341575_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.036468267440796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:31:22.177191
SELECT 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/05/29/image_05012025_05_29_02_826985_0003.jpg', '/home/pi/Desktop/images/05012025/05/30/image_05012025_05_30_02_341575_0000.jpg', '/home/pi/Desktop/images/05012025/05/30/image_05012025_05_30_02_341575_0001.jpg', '/home/pi/Desktop/images/05012025/05/30/image_05012025_05_30_02_341575_0002.jpg', '/home/pi/Desktop/images/05012025/05/30/image_05012025_05_30_02_341575_0003.jpg', '/home/pi/Desktop/images/05012025/05/31/image_05012025_05_31_03_066555_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/05/29/image_05012025_05_29_02_826985_0003.jpg
/home/pi/Desktop/images/05012025/05/30/image_05012025_05_30_02_341575_0000.jpg
/home/pi/Desktop/images/05012025/05/30/image_05012025_05_30_02_341575_0001.jpg
/home/pi/Desktop/images/05012025/05/30/image_05012025_05_30_02_341575_0002.jpg
/home/pi/Desktop/images/05012025/05/30/image_05012025_05_30_02_341575_0003.jpg
/home/pi/Desktop/images/05012025/05/31/image_05012025_05_31_03_066555_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851975","1326851969","1326851977","1326851971","1326851973","1326851979"],"photo_ids_order":["1326851969","1326851971","1326851973","1326851975","1326851977","1326851979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/89ddf290f9828d47124ce6b5c3923ae2.jpg","text":"TemporaryFile(/tmp/multipartBody7294436879070235053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051557506,"filename":"image_05012025_05_30_02_341575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/112ce791e467e2606cb5bf3c7c4b761c.jpg","text":"TemporaryFile(/tmp/multipartBody394879744897089022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051557506,"filename":"image_05012025_05_29_02_826985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/54cbbc7c2e3994d015bb1092a71ff19f.jpg","text":"TemporaryFile(/tmp/multipartBody5624046636482977357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051557506,"filename":"image_05012025_05_30_02_341575_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8031d05b65d1c795a7f0dbf1783a9e99.jpg","text":"TemporaryFile(/tmp/multipartBody6880994454940999112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051557506,"filename":"image_05012025_05_30_02_341575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b7903e985d054257dbe10052be2c22f4.jpg","text":"TemporaryFile(/tmp/multipartBody3956249925475259885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051557506,"filename":"image_05012025_05_30_02_341575_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/492c57ab2db4c3c598d40014c3a7d86e.jpg","text":"TemporaryFile(/tmp/multipartBody7218919113573159933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051557506,"filename":"image_05012025_05_31_03_066555_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851973","file1":"1326851971","file0":"1326851969","file4":"1326851977","file5":"1326851979","file3":"1326851975"},"map_files_photo_id_array":[{"photo_id":"1326851979","filename":"file5"},{"photo_id":"1326851973","filename":"file2"},{"photo_id":"1326851977","filename":"file4"},{"photo_id":"1326851971","filename":"file1"},{"photo_id":"1326851969","filename":"file0"},{"photo_id":"1326851975","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851975":["hashtag1","hashtag2"]},{"1326851969":["hashtag1","hashtag2"]},{"1326851977":["hashtag1","hashtag2"]},{"1326851971":["hashtag1","hashtag2"]},{"1326851973":["hashtag1","hashtag2"]},{"1326851979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851975, 1326851969, 1326851977, 1326851971, 1326851973, 1326851979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.441908836364746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:32:21.752107
SELECT 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/05/31/image_05012025_05_31_03_066555_0001.jpg', '/home/pi/Desktop/images/05012025/05/31/image_05012025_05_31_03_066555_0002.jpg', '/home/pi/Desktop/images/05012025/05/31/image_05012025_05_31_03_066555_0003.jpg', '/home/pi/Desktop/images/05012025/05/32/image_05012025_05_32_02_551619_0000.jpg', '/home/pi/Desktop/images/05012025/05/32/image_05012025_05_32_02_551619_0001.jpg', '/home/pi/Desktop/images/05012025/05/32/image_05012025_05_32_02_551619_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/05/31/image_05012025_05_31_03_066555_0001.jpg
/home/pi/Desktop/images/05012025/05/31/image_05012025_05_31_03_066555_0002.jpg
/home/pi/Desktop/images/05012025/05/31/image_05012025_05_31_03_066555_0003.jpg
/home/pi/Desktop/images/05012025/05/32/image_05012025_05_32_02_551619_0000.jpg
/home/pi/Desktop/images/05012025/05/32/image_05012025_05_32_02_551619_0001.jpg
/home/pi/Desktop/images/05012025/05/32/image_05012025_05_32_02_551619_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326851995","1326852073","1326851983","1326852103","1326852105","1326851985"],"photo_ids_order":["1326851983","1326851985","1326851995","1326852073","1326852103","1326852105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4bf92e8c7185c4e543df8e3d62a94ad3.jpg","text":"TemporaryFile(/tmp/multipartBody44718312409365088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051616984,"filename":"image_05012025_05_31_03_066555_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6c3bf3ce4376aef4d4ad7b66d5e1b374.jpg","text":"TemporaryFile(/tmp/multipartBody1622159218809799550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051616984,"filename":"image_05012025_05_32_02_551619_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ca43acd8bc982b5ad049341c133e1b56.jpg","text":"TemporaryFile(/tmp/multipartBody7749003074494891051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051616984,"filename":"image_05012025_05_31_03_066555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/270248e87640e4e2dfaf6a551f0b8c52.jpg","text":"TemporaryFile(/tmp/multipartBody4142031165034614020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051616984,"filename":"image_05012025_05_32_02_551619_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/938729e1d5ed5982a1682a2fbab5a580.jpg","text":"TemporaryFile(/tmp/multipartBody4653266447431632376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051616984,"filename":"image_05012025_05_32_02_551619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2bcd8a1e5b11c81c11eec3caab814c49.jpg","text":"TemporaryFile(/tmp/multipartBody1721488730880365960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051616984,"filename":"image_05012025_05_31_03_066555_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326851995","file1":"1326851985","file0":"1326851983","file4":"1326852103","file5":"1326852105","file3":"1326852073"},"map_files_photo_id_array":[{"photo_id":"1326852105","filename":"file5"},{"photo_id":"1326851995","filename":"file2"},{"photo_id":"1326852103","filename":"file4"},{"photo_id":"1326851985","filename":"file1"},{"photo_id":"1326851983","filename":"file0"},{"photo_id":"1326852073","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326851995":["hashtag1","hashtag2"]},{"1326852073":["hashtag1","hashtag2"]},{"1326851983":["hashtag1","hashtag2"]},{"1326852103":["hashtag1","hashtag2"]},{"1326852105":["hashtag1","hashtag2"]},{"1326851985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326851995, 1326852073, 1326851983, 1326852103, 1326852105, 1326851985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.71351599693298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:33:22.299304
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/32/image_05012025_05_32_02_551619_0003.jpg', '/home/pi/Desktop/images/05012025/05/33/image_05012025_05_33_02_162467_0000.jpg', '/home/pi/Desktop/images/05012025/05/33/image_05012025_05_33_02_162467_0001.jpg', '/home/pi/Desktop/images/05012025/05/33/image_05012025_05_33_02_162467_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/05/32/image_05012025_05_32_02_551619_0003.jpg
/home/pi/Desktop/images/05012025/05/33/image_05012025_05_33_02_162467_0000.jpg
/home/pi/Desktop/images/05012025/05/33/image_05012025_05_33_02_162467_0001.jpg
/home/pi/Desktop/images/05012025/05/33/image_05012025_05_33_02_162467_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852113","1326852115","1326852109","1326852111"],"photo_ids_order":["1326852109","1326852111","1326852113","1326852115"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/93e0eefbb2ae04d30977e63f6fc0d6e0.jpg","text":"TemporaryFile(/tmp/multipartBody7342228257182701700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051672572,"filename":"image_05012025_05_33_02_162467_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6696b7ac4f6567898941264357d796c0.jpg","text":"TemporaryFile(/tmp/multipartBody9132283095541805269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051672572,"filename":"image_05012025_05_33_02_162467_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62656f998eee4eefa3b3fb50043e52f3.jpg","text":"TemporaryFile(/tmp/multipartBody65615991946856818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051672572,"filename":"image_05012025_05_32_02_551619_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6de5811817f2dbcfe420954e203ed6a2.jpg","text":"TemporaryFile(/tmp/multipartBody6394500246111395237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051672572,"filename":"image_05012025_05_33_02_162467_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852113","file1":"1326852111","file0":"1326852109","file3":"1326852115"},"map_files_photo_id_array":[{"photo_id":"1326852113","filename":"file2"},{"photo_id":"1326852111","filename":"file1"},{"photo_id":"1326852109","filename":"file0"},{"photo_id":"1326852115","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852113":["hashtag1","hashtag2"]},{"1326852115":["hashtag1","hashtag2"]},{"1326852109":["hashtag1","hashtag2"]},{"1326852111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852113, 1326852115, 1326852109, 1326852111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.14659404754639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:34:21.867041
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/33/image_05012025_05_33_02_162467_0003.jpg', '/home/pi/Desktop/images/05012025/05/34/image_05012025_05_34_02_726357_0000.jpg', '/home/pi/Desktop/images/05012025/05/34/image_05012025_05_34_02_726357_0001.jpg', '/home/pi/Desktop/images/05012025/05/34/image_05012025_05_34_02_726357_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/05/33/image_05012025_05_33_02_162467_0003.jpg
/home/pi/Desktop/images/05012025/05/34/image_05012025_05_34_02_726357_0000.jpg
/home/pi/Desktop/images/05012025/05/34/image_05012025_05_34_02_726357_0001.jpg
/home/pi/Desktop/images/05012025/05/34/image_05012025_05_34_02_726357_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852134","1326852136","1326852138","1326852132"],"photo_ids_order":["1326852132","1326852134","1326852136","1326852138"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bfceecd57d2138616736811a34d335d3.jpg","text":"TemporaryFile(/tmp/multipartBody3120707415475048305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051732109,"filename":"image_05012025_05_34_02_726357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/26d2dad63a781ab43656876a57165af8.jpg","text":"TemporaryFile(/tmp/multipartBody5262265769551989913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051732109,"filename":"image_05012025_05_34_02_726357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b8b75188a87d25116e99509dd4a1b8e7.jpg","text":"TemporaryFile(/tmp/multipartBody6677956799168202986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051732109,"filename":"image_05012025_05_34_02_726357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/946c1ca696b8075b928e87a9c9a80738.jpg","text":"TemporaryFile(/tmp/multipartBody1143143406324974367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051732109,"filename":"image_05012025_05_33_02_162467_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852136","file1":"1326852134","file0":"1326852132","file3":"1326852138"},"map_files_photo_id_array":[{"photo_id":"1326852136","filename":"file2"},{"photo_id":"1326852134","filename":"file1"},{"photo_id":"1326852132","filename":"file0"},{"photo_id":"1326852138","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852134":["hashtag1","hashtag2"]},{"1326852136":["hashtag1","hashtag2"]},{"1326852138":["hashtag1","hashtag2"]},{"1326852132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852134, 1326852136, 1326852138, 1326852132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01580834388733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:35:02.904709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:35:22.220819
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/34/image_05012025_05_34_02_726357_0003.jpg', '/home/pi/Desktop/images/05012025/05/35/image_05012025_05_35_02_185423_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/05/34/image_05012025_05_34_02_726357_0003.jpg
/home/pi/Desktop/images/05012025/05/35/image_05012025_05_35_02_185423_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852143","1326852145"],"photo_ids_order":["1326852143","1326852145"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d2bb520f1190061a6d222c1b019fcf18.jpg","text":"TemporaryFile(/tmp/multipartBody8594035585420586115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051787593,"filename":"image_05012025_05_34_02_726357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b066a654b95c3409d43312dc7194d6e4.jpg","text":"TemporaryFile(/tmp/multipartBody4122044384564308816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051787593,"filename":"image_05012025_05_35_02_185423_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326852145","file0":"1326852143"},"map_files_photo_id_array":[{"photo_id":"1326852145","filename":"file1"},{"photo_id":"1326852143","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852143":["hashtag1","hashtag2"]},{"1326852145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852143, 1326852145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.171032190322876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:36:02.572099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:36:22.165718
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/35/image_05012025_05_35_02_185423_0001.jpg', '/home/pi/Desktop/images/05012025/05/36/image_05012025_05_36_02_607037_0000.jpg', '/home/pi/Desktop/images/05012025/05/36/image_05012025_05_36_02_607037_0001.jpg', '/home/pi/Desktop/images/05012025/05/36/image_05012025_05_36_02_607037_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/05/35/image_05012025_05_35_02_185423_0001.jpg
/home/pi/Desktop/images/05012025/05/36/image_05012025_05_36_02_607037_0000.jpg
/home/pi/Desktop/images/05012025/05/36/image_05012025_05_36_02_607037_0001.jpg
/home/pi/Desktop/images/05012025/05/36/image_05012025_05_36_02_607037_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852164","1326852161","1326852158","1326852168"],"photo_ids_order":["1326852158","1326852161","1326852164","1326852168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ffe90a9b1b56e52600cf690a6d8632c.jpg","text":"TemporaryFile(/tmp/multipartBody6185463573214237620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051852485,"filename":"image_05012025_05_36_02_607037_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6ae3633c7aa00adf695d1c6a738e2a2d.jpg","text":"TemporaryFile(/tmp/multipartBody1435581703677813992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051852485,"filename":"image_05012025_05_36_02_607037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2d85d689681d9f24a4cd5dfbb70c5ea9.jpg","text":"TemporaryFile(/tmp/multipartBody6063610880745548818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051852485,"filename":"image_05012025_05_35_02_185423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c64702d7f2a605df10e7419c9f18c5e.jpg","text":"TemporaryFile(/tmp/multipartBody121825591535726721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051852485,"filename":"image_05012025_05_36_02_607037_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852164","file1":"1326852161","file0":"1326852158","file3":"1326852168"},"map_files_photo_id_array":[{"photo_id":"1326852164","filename":"file2"},{"photo_id":"1326852161","filename":"file1"},{"photo_id":"1326852158","filename":"file0"},{"photo_id":"1326852168","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852164":["hashtag1","hashtag2"]},{"1326852161":["hashtag1","hashtag2"]},{"1326852158":["hashtag1","hashtag2"]},{"1326852168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852164, 1326852161, 1326852158, 1326852168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63049674034119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:37:03.295410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:37:22.731373
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/36/image_05012025_05_36_02_607037_0003.jpg', '/home/pi/Desktop/images/05012025/05/37/image_05012025_05_37_02_602204_0000.jpg', '/home/pi/Desktop/images/05012025/05/37/image_05012025_05_37_02_602204_0001.jpg', '/home/pi/Desktop/images/05012025/05/37/image_05012025_05_37_02_602204_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/05/36/image_05012025_05_36_02_607037_0003.jpg
/home/pi/Desktop/images/05012025/05/37/image_05012025_05_37_02_602204_0000.jpg
/home/pi/Desktop/images/05012025/05/37/image_05012025_05_37_02_602204_0001.jpg
/home/pi/Desktop/images/05012025/05/37/image_05012025_05_37_02_602204_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852227","1326852229","1326852222","1326852225"],"photo_ids_order":["1326852222","1326852225","1326852227","1326852229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/87762a7fad96924fe0b31c6524ab2ad2.jpg","text":"TemporaryFile(/tmp/multipartBody6427377531899633210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051912912,"filename":"image_05012025_05_37_02_602204_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/67cb672a53a9a45242e6d7c6366fe4ec.jpg","text":"TemporaryFile(/tmp/multipartBody8941767514313265759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051912912,"filename":"image_05012025_05_37_02_602204_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9866f64432c106ed572afb8033adeca4.jpg","text":"TemporaryFile(/tmp/multipartBody3788025468800378057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051912912,"filename":"image_05012025_05_36_02_607037_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/781bddad5864b55a1f0c26846e0fc206.jpg","text":"TemporaryFile(/tmp/multipartBody6595893041987297291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051912912,"filename":"image_05012025_05_37_02_602204_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852227","file1":"1326852225","file0":"1326852222","file3":"1326852229"},"map_files_photo_id_array":[{"photo_id":"1326852227","filename":"file2"},{"photo_id":"1326852225","filename":"file1"},{"photo_id":"1326852222","filename":"file0"},{"photo_id":"1326852229","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852227":["hashtag1","hashtag2"]},{"1326852229":["hashtag1","hashtag2"]},{"1326852222":["hashtag1","hashtag2"]},{"1326852225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852227, 1326852229, 1326852222, 1326852225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.38210988044739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:38:22.406443
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/37/image_05012025_05_37_02_602204_0003.jpg', '/home/pi/Desktop/images/05012025/05/38/image_05012025_05_38_03_098330_0000.jpg', '/home/pi/Desktop/images/05012025/05/38/image_05012025_05_38_03_098330_0001.jpg', '/home/pi/Desktop/images/05012025/05/38/image_05012025_05_38_03_098330_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/05/37/image_05012025_05_37_02_602204_0003.jpg
/home/pi/Desktop/images/05012025/05/38/image_05012025_05_38_03_098330_0000.jpg
/home/pi/Desktop/images/05012025/05/38/image_05012025_05_38_03_098330_0001.jpg
/home/pi/Desktop/images/05012025/05/38/image_05012025_05_38_03_098330_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852244","1326852238","1326852241","1326852235"],"photo_ids_order":["1326852235","1326852238","1326852241","1326852244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/21ab9824c39247b9791eef0e8423331b.jpg","text":"TemporaryFile(/tmp/multipartBody7640824549211579097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051972657,"filename":"image_05012025_05_38_03_098330_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e8e08777e12d90f59e2dafb629f46eb9.jpg","text":"TemporaryFile(/tmp/multipartBody5470901865639470613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051972657,"filename":"image_05012025_05_38_03_098330_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/03accd00086b6196b1ce103edfff0858.jpg","text":"TemporaryFile(/tmp/multipartBody3646304193081424230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051972657,"filename":"image_05012025_05_38_03_098330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4bcf3ec4dc080c145d80ee118e3204e9.jpg","text":"TemporaryFile(/tmp/multipartBody4438568103593607513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736051972657,"filename":"image_05012025_05_37_02_602204_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852241","file1":"1326852238","file0":"1326852235","file3":"1326852244"},"map_files_photo_id_array":[{"photo_id":"1326852241","filename":"file2"},{"photo_id":"1326852238","filename":"file1"},{"photo_id":"1326852235","filename":"file0"},{"photo_id":"1326852244","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852244":["hashtag1","hashtag2"]},{"1326852238":["hashtag1","hashtag2"]},{"1326852241":["hashtag1","hashtag2"]},{"1326852235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852244, 1326852238, 1326852241, 1326852235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63089299201965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:39:02.498930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:39:21.811109
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/38/image_05012025_05_38_03_098330_0003.jpg', '/home/pi/Desktop/images/05012025/05/39/image_05012025_05_39_02_769259_0000.jpg', '/home/pi/Desktop/images/05012025/05/39/image_05012025_05_39_02_769259_0001.jpg', '/home/pi/Desktop/images/05012025/05/39/image_05012025_05_39_02_769259_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/05/38/image_05012025_05_38_03_098330_0003.jpg
/home/pi/Desktop/images/05012025/05/39/image_05012025_05_39_02_769259_0000.jpg
/home/pi/Desktop/images/05012025/05/39/image_05012025_05_39_02_769259_0001.jpg
/home/pi/Desktop/images/05012025/05/39/image_05012025_05_39_02_769259_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852260","1326852254","1326852256","1326852258"],"photo_ids_order":["1326852254","1326852256","1326852258","1326852260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/128c5f1e9fb28a901ad8233ea74e46e3.jpg","text":"TemporaryFile(/tmp/multipartBody3949152197211511712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052032139,"filename":"image_05012025_05_39_02_769259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/12bfdce3f0a0780e30ef16a3f522a28a.jpg","text":"TemporaryFile(/tmp/multipartBody5882253799091599559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052032139,"filename":"image_05012025_05_38_03_098330_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2e460199cf6f29d62eab623f3fda55e9.jpg","text":"TemporaryFile(/tmp/multipartBody4104267213710935689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052032139,"filename":"image_05012025_05_39_02_769259_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c421ceda15c27e44b92c3dc4d8794565.jpg","text":"TemporaryFile(/tmp/multipartBody3308154406555881188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052032139,"filename":"image_05012025_05_39_02_769259_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852258","file1":"1326852256","file0":"1326852254","file3":"1326852260"},"map_files_photo_id_array":[{"photo_id":"1326852258","filename":"file2"},{"photo_id":"1326852256","filename":"file1"},{"photo_id":"1326852254","filename":"file0"},{"photo_id":"1326852260","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852260":["hashtag1","hashtag2"]},{"1326852254":["hashtag1","hashtag2"]},{"1326852256":["hashtag1","hashtag2"]},{"1326852258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852260, 1326852254, 1326852256, 1326852258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03453850746155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:40:02.892982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:40:22.470724
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/39/image_05012025_05_39_02_769259_0003.jpg', '/home/pi/Desktop/images/05012025/05/40/image_05012025_05_40_02_274972_0000.jpg', '/home/pi/Desktop/images/05012025/05/40/image_05012025_05_40_02_274972_0001.jpg', '/home/pi/Desktop/images/05012025/05/40/image_05012025_05_40_02_274972_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/05/39/image_05012025_05_39_02_769259_0003.jpg
/home/pi/Desktop/images/05012025/05/40/image_05012025_05_40_02_274972_0000.jpg
/home/pi/Desktop/images/05012025/05/40/image_05012025_05_40_02_274972_0001.jpg
/home/pi/Desktop/images/05012025/05/40/image_05012025_05_40_02_274972_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.95270562171936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:41:02.633341
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/39/image_05012025_05_39_02_769259_0003.jpg', '/home/pi/Desktop/images/05012025/05/40/image_05012025_05_40_02_274972_0000.jpg', '/home/pi/Desktop/images/05012025/05/40/image_05012025_05_40_02_274972_0001.jpg', '/home/pi/Desktop/images/05012025/05/40/image_05012025_05_40_02_274972_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/05/39/image_05012025_05_39_02_769259_0003.jpg
/home/pi/Desktop/images/05012025/05/40/image_05012025_05_40_02_274972_0000.jpg
/home/pi/Desktop/images/05012025/05/40/image_05012025_05_40_02_274972_0001.jpg
/home/pi/Desktop/images/05012025/05/40/image_05012025_05_40_02_274972_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852326","1326852328","1326852330","1326852327"],"photo_ids_order":["1326852326","1326852327","1326852328","1326852330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/571aed46a5ebadac7e9ad84df278d303.jpg","text":"TemporaryFile(/tmp/multipartBody8801254797770240792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052133066,"filename":"image_05012025_05_39_02_769259_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4910be919af4262eb33d0feafeb7012d.jpg","text":"TemporaryFile(/tmp/multipartBody580240741296388284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052133066,"filename":"image_05012025_05_40_02_274972_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b2effbb89102397e1c58db2b65849a38.jpg","text":"TemporaryFile(/tmp/multipartBody6994737254479243097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052133066,"filename":"image_05012025_05_40_02_274972_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d53caffddc267721b03e30a420008d68.jpg","text":"TemporaryFile(/tmp/multipartBody4635349302662898613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052133066,"filename":"image_05012025_05_40_02_274972_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852328","file1":"1326852327","file0":"1326852326","file3":"1326852330"},"map_files_photo_id_array":[{"photo_id":"1326852328","filename":"file2"},{"photo_id":"1326852327","filename":"file1"},{"photo_id":"1326852326","filename":"file0"},{"photo_id":"1326852330","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852326":["hashtag1","hashtag2"]},{"1326852328":["hashtag1","hashtag2"]},{"1326852330":["hashtag1","hashtag2"]},{"1326852327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852326, 1326852328, 1326852330, 1326852327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6024866104126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:42:03.106629
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/40/image_05012025_05_40_02_274972_0003.jpg', '/home/pi/Desktop/images/05012025/05/41/image_05012025_05_41_02_872095_0000.jpg', '/home/pi/Desktop/images/05012025/05/41/image_05012025_05_41_02_872095_0001.jpg', '/home/pi/Desktop/images/05012025/05/41/image_05012025_05_41_02_872095_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/05/40/image_05012025_05_40_02_274972_0003.jpg
/home/pi/Desktop/images/05012025/05/41/image_05012025_05_41_02_872095_0000.jpg
/home/pi/Desktop/images/05012025/05/41/image_05012025_05_41_02_872095_0001.jpg
/home/pi/Desktop/images/05012025/05/41/image_05012025_05_41_02_872095_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.934170007705688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:42:22.682199
SELECT 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/05/40/image_05012025_05_40_02_274972_0003.jpg', '/home/pi/Desktop/images/05012025/05/41/image_05012025_05_41_02_872095_0000.jpg', '/home/pi/Desktop/images/05012025/05/41/image_05012025_05_41_02_872095_0001.jpg', '/home/pi/Desktop/images/05012025/05/41/image_05012025_05_41_02_872095_0002.jpg', '/home/pi/Desktop/images/05012025/05/41/image_05012025_05_41_02_872095_0003.jpg', '/home/pi/Desktop/images/05012025/05/42/image_05012025_05_42_02_397269_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/05/40/image_05012025_05_40_02_274972_0003.jpg
/home/pi/Desktop/images/05012025/05/41/image_05012025_05_41_02_872095_0000.jpg
/home/pi/Desktop/images/05012025/05/41/image_05012025_05_41_02_872095_0001.jpg
/home/pi/Desktop/images/05012025/05/41/image_05012025_05_41_02_872095_0002.jpg
/home/pi/Desktop/images/05012025/05/41/image_05012025_05_41_02_872095_0003.jpg
/home/pi/Desktop/images/05012025/05/42/image_05012025_05_42_02_397269_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":["1326852347","1326852385","1326852361","1326852349","1326852393","1326852345"],"photo_ids_order":["1326852345","1326852347","1326852349","1326852361","1326852385","1326852393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cef218bd9312738b62e22f1245f6db28.jpg","text":"TemporaryFile(/tmp/multipartBody6141029480443756568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052217948,"filename":"image_05012025_05_41_02_872095_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/637ddf6c0e38f3abddfb9c4c4006f1f8.jpg","text":"TemporaryFile(/tmp/multipartBody1766816811842837603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052217948,"filename":"image_05012025_05_41_02_872095_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ac811685fa2431e5118706ccdcd4afaf.jpg","text":"TemporaryFile(/tmp/multipartBody2263718668009596314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052217948,"filename":"image_05012025_05_41_02_872095_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4d2ab82abefbf605741225e17d25daa8.jpg","text":"TemporaryFile(/tmp/multipartBody1702392323175728443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052217948,"filename":"image_05012025_05_41_02_872095_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0182d4fdb69c9203de3bf368febd68bd.jpg","text":"TemporaryFile(/tmp/multipartBody380585109497015332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052217948,"filename":"image_05012025_05_42_02_397269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7462b8df5c57e0b75c18bbad8490cfcf.jpg","text":"TemporaryFile(/tmp/multipartBody5070761998894373984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052217948,"filename":"image_05012025_05_40_02_274972_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852349","file1":"1326852347","file0":"1326852345","file4":"1326852385","file5":"1326852393","file3":"1326852361"},"map_files_photo_id_array":[{"photo_id":"1326852393","filename":"file5"},{"photo_id":"1326852349","filename":"file2"},{"photo_id":"1326852385","filename":"file4"},{"photo_id":"1326852347","filename":"file1"},{"photo_id":"1326852345","filename":"file0"},{"photo_id":"1326852361","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852347":["hashtag1","hashtag2"]},{"1326852385":["hashtag1","hashtag2"]},{"1326852361":["hashtag1","hashtag2"]},{"1326852349":["hashtag1","hashtag2"]},{"1326852393":["hashtag1","hashtag2"]},{"1326852345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852347, 1326852385, 1326852361, 1326852349, 1326852393, 1326852345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.10744309425354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:44:03.083986
SELECT 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/05/42/image_05012025_05_42_02_397269_0001.jpg', '/home/pi/Desktop/images/05012025/05/42/image_05012025_05_42_02_397269_0002.jpg', '/home/pi/Desktop/images/05012025/05/42/image_05012025_05_42_02_397269_0003.jpg', '/home/pi/Desktop/images/05012025/05/43/image_05012025_05_43_03_022876_0000.jpg', '/home/pi/Desktop/images/05012025/05/43/image_05012025_05_43_03_022876_0001.jpg', '/home/pi/Desktop/images/05012025/05/43/image_05012025_05_43_03_022876_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/05/42/image_05012025_05_42_02_397269_0001.jpg
/home/pi/Desktop/images/05012025/05/42/image_05012025_05_42_02_397269_0002.jpg
/home/pi/Desktop/images/05012025/05/42/image_05012025_05_42_02_397269_0003.jpg
/home/pi/Desktop/images/05012025/05/43/image_05012025_05_43_03_022876_0000.jpg
/home/pi/Desktop/images/05012025/05/43/image_05012025_05_43_03_022876_0001.jpg
/home/pi/Desktop/images/05012025/05/43/image_05012025_05_43_03_022876_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852425","1326852410","1326852421","1326852418","1326852414","1326852423"],"photo_ids_order":["1326852410","1326852414","1326852418","1326852421","1326852423","1326852425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b86c4e2876b42490e48cf141fbeafd48.jpg","text":"TemporaryFile(/tmp/multipartBody6455141692572674099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052318500,"filename":"image_05012025_05_43_03_022876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab0cefa30715807504c2d0c57d6624b0.jpg","text":"TemporaryFile(/tmp/multipartBody7622535209140727675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052318500,"filename":"image_05012025_05_42_02_397269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eef3ccff1290e9e9d86ecf353884c3fe.jpg","text":"TemporaryFile(/tmp/multipartBody416634985279193196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052318500,"filename":"image_05012025_05_43_03_022876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/586a5fb5405f1cee5246326b18585ed5.jpg","text":"TemporaryFile(/tmp/multipartBody7564620073546589615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052318500,"filename":"image_05012025_05_42_02_397269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/db9a2f167b70885f5d5688d38df6dee6.jpg","text":"TemporaryFile(/tmp/multipartBody6796073482151087850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052318500,"filename":"image_05012025_05_42_02_397269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/64ef16368502cbaca8d2b15f630327dd.jpg","text":"TemporaryFile(/tmp/multipartBody7178452643847518918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052318500,"filename":"image_05012025_05_43_03_022876_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852418","file1":"1326852414","file0":"1326852410","file4":"1326852423","file5":"1326852425","file3":"1326852421"},"map_files_photo_id_array":[{"photo_id":"1326852425","filename":"file5"},{"photo_id":"1326852418","filename":"file2"},{"photo_id":"1326852423","filename":"file4"},{"photo_id":"1326852414","filename":"file1"},{"photo_id":"1326852410","filename":"file0"},{"photo_id":"1326852421","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852425":["hashtag1","hashtag2"]},{"1326852410":["hashtag1","hashtag2"]},{"1326852421":["hashtag1","hashtag2"]},{"1326852418":["hashtag1","hashtag2"]},{"1326852414":["hashtag1","hashtag2"]},{"1326852423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852425, 1326852410, 1326852421, 1326852418, 1326852414, 1326852423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.38085079193115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:45:02.703567
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/43/image_05012025_05_43_03_022876_0003.jpg', '/home/pi/Desktop/images/05012025/05/44/image_05012025_05_44_02_513624_0000.jpg', '/home/pi/Desktop/images/05012025/05/44/image_05012025_05_44_02_513624_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/05/43/image_05012025_05_43_03_022876_0003.jpg
/home/pi/Desktop/images/05012025/05/44/image_05012025_05_44_02_513624_0000.jpg
/home/pi/Desktop/images/05012025/05/44/image_05012025_05_44_02_513624_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852440","1326852436","1326852433"],"photo_ids_order":["1326852433","1326852436","1326852440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0c12ba4eff8dad378b3f4f5ed8997aca.jpg","text":"TemporaryFile(/tmp/multipartBody4773795410277031123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052370695,"filename":"image_05012025_05_44_02_513624_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/67c34f25b95c69b3acc382d46af6adad.jpg","text":"TemporaryFile(/tmp/multipartBody1695131923559899980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052370695,"filename":"image_05012025_05_44_02_513624_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/feacad1576b093bca9f27ae5d6ecc920.jpg","text":"TemporaryFile(/tmp/multipartBody8723115725996775564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052370695,"filename":"image_05012025_05_43_03_022876_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852440","file1":"1326852436","file0":"1326852433"},"map_files_photo_id_array":[{"photo_id":"1326852440","filename":"file2"},{"photo_id":"1326852436","filename":"file1"},{"photo_id":"1326852433","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852440":["hashtag1","hashtag2"]},{"1326852436":["hashtag1","hashtag2"]},{"1326852433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852440, 1326852436, 1326852433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.154637336730957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:46:02.183398
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/44/image_05012025_05_44_02_513624_0003.jpg', '/home/pi/Desktop/images/05012025/05/45/image_05012025_05_45_03_001715_0000.jpg', '/home/pi/Desktop/images/05012025/05/45/image_05012025_05_45_03_001715_0001.jpg', '/home/pi/Desktop/images/05012025/05/45/image_05012025_05_45_03_001715_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/05/44/image_05012025_05_44_02_513624_0003.jpg
/home/pi/Desktop/images/05012025/05/45/image_05012025_05_45_03_001715_0000.jpg
/home/pi/Desktop/images/05012025/05/45/image_05012025_05_45_03_001715_0001.jpg
/home/pi/Desktop/images/05012025/05/45/image_05012025_05_45_03_001715_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852482","1326852485","1326852483","1326852488"],"photo_ids_order":["1326852482","1326852483","1326852485","1326852488"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8ce97f6546d64e2763d55979d3b32a9c.jpg","text":"TemporaryFile(/tmp/multipartBody600232913526361006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052432626,"filename":"image_05012025_05_44_02_513624_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0d094b1eb10d54da6d91aa493020de61.jpg","text":"TemporaryFile(/tmp/multipartBody9011502196381356554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052432626,"filename":"image_05012025_05_45_03_001715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/df5e23bf0c50f00f9561e0a209fe25a9.jpg","text":"TemporaryFile(/tmp/multipartBody4666278419428015626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052432626,"filename":"image_05012025_05_45_03_001715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c52aa48c0acea28bdab737f4a26f9a7f.jpg","text":"TemporaryFile(/tmp/multipartBody5801600694900963578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052432626,"filename":"image_05012025_05_45_03_001715_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852485","file1":"1326852483","file0":"1326852482","file3":"1326852488"},"map_files_photo_id_array":[{"photo_id":"1326852485","filename":"file2"},{"photo_id":"1326852483","filename":"file1"},{"photo_id":"1326852482","filename":"file0"},{"photo_id":"1326852488","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852482":["hashtag1","hashtag2"]},{"1326852485":["hashtag1","hashtag2"]},{"1326852483":["hashtag1","hashtag2"]},{"1326852488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852482, 1326852485, 1326852483, 1326852488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.94911575317383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:47:03.012639
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/45/image_05012025_05_45_03_001715_0003.jpg', '/home/pi/Desktop/images/05012025/05/46/image_05012025_05_46_02_514737_0000.jpg', '/home/pi/Desktop/images/05012025/05/46/image_05012025_05_46_02_514737_0001.jpg', '/home/pi/Desktop/images/05012025/05/46/image_05012025_05_46_02_514737_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/05/45/image_05012025_05_45_03_001715_0003.jpg
/home/pi/Desktop/images/05012025/05/46/image_05012025_05_46_02_514737_0000.jpg
/home/pi/Desktop/images/05012025/05/46/image_05012025_05_46_02_514737_0001.jpg
/home/pi/Desktop/images/05012025/05/46/image_05012025_05_46_02_514737_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852497","1326852589","1326852556","1326852615"],"photo_ids_order":["1326852497","1326852556","1326852589","1326852615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1ec146ea3ec2abf7b1caf5d319c68baa.jpg","text":"TemporaryFile(/tmp/multipartBody3821911849931815644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052493338,"filename":"image_05012025_05_45_03_001715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11e8681fe781e6ff80324dab2563d2c7.jpg","text":"TemporaryFile(/tmp/multipartBody1599348813556103223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052493338,"filename":"image_05012025_05_46_02_514737_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7b93755fb863b62b6d8ad4c96d2ac8d3.jpg","text":"TemporaryFile(/tmp/multipartBody6714832092793322844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052493338,"filename":"image_05012025_05_46_02_514737_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/78968d6a0f26851c2c97a1f23fef745c.jpg","text":"TemporaryFile(/tmp/multipartBody6895982904214602105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052493338,"filename":"image_05012025_05_46_02_514737_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852589","file1":"1326852556","file0":"1326852497","file3":"1326852615"},"map_files_photo_id_array":[{"photo_id":"1326852589","filename":"file2"},{"photo_id":"1326852556","filename":"file1"},{"photo_id":"1326852497","filename":"file0"},{"photo_id":"1326852615","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852497":["hashtag1","hashtag2"]},{"1326852589":["hashtag1","hashtag2"]},{"1326852556":["hashtag1","hashtag2"]},{"1326852615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852497, 1326852589, 1326852556, 1326852615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.05291533470154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:48:02.329730
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/46/image_05012025_05_46_02_514737_0003.jpg', '/home/pi/Desktop/images/05012025/05/47/image_05012025_05_47_02_144599_0000.jpg', '/home/pi/Desktop/images/05012025/05/47/image_05012025_05_47_02_144599_0001.jpg', '/home/pi/Desktop/images/05012025/05/47/image_05012025_05_47_02_144599_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/05/46/image_05012025_05_46_02_514737_0003.jpg
/home/pi/Desktop/images/05012025/05/47/image_05012025_05_47_02_144599_0000.jpg
/home/pi/Desktop/images/05012025/05/47/image_05012025_05_47_02_144599_0001.jpg
/home/pi/Desktop/images/05012025/05/47/image_05012025_05_47_02_144599_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852623","1326852622","1326852625","1326852627"],"photo_ids_order":["1326852622","1326852623","1326852625","1326852627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/148881a0aede60d332f76d522313477b.jpg","text":"TemporaryFile(/tmp/multipartBody9016497023034801045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052552933,"filename":"image_05012025_05_47_02_144599_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7b618da5941b10d96c266027d3d11c8c.jpg","text":"TemporaryFile(/tmp/multipartBody8778307339318561104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052552933,"filename":"image_05012025_05_46_02_514737_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/90cd6eaca4017610671494c708417d16.jpg","text":"TemporaryFile(/tmp/multipartBody5970389940149538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052552933,"filename":"image_05012025_05_47_02_144599_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f86ace1ac0feddc4a96807a914a09150.jpg","text":"TemporaryFile(/tmp/multipartBody2484807834745572497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052552933,"filename":"image_05012025_05_47_02_144599_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852625","file1":"1326852623","file0":"1326852622","file3":"1326852627"},"map_files_photo_id_array":[{"photo_id":"1326852625","filename":"file2"},{"photo_id":"1326852623","filename":"file1"},{"photo_id":"1326852622","filename":"file0"},{"photo_id":"1326852627","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852623":["hashtag1","hashtag2"]},{"1326852622":["hashtag1","hashtag2"]},{"1326852625":["hashtag1","hashtag2"]},{"1326852627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852623, 1326852622, 1326852625, 1326852627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34374928474426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:49:02.992206
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/47/image_05012025_05_47_02_144599_0003.jpg', '/home/pi/Desktop/images/05012025/05/48/image_05012025_05_48_02_703378_0000.jpg', '/home/pi/Desktop/images/05012025/05/48/image_05012025_05_48_02_703378_0001.jpg', '/home/pi/Desktop/images/05012025/05/48/image_05012025_05_48_02_703378_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/05/47/image_05012025_05_47_02_144599_0003.jpg
/home/pi/Desktop/images/05012025/05/48/image_05012025_05_48_02_703378_0000.jpg
/home/pi/Desktop/images/05012025/05/48/image_05012025_05_48_02_703378_0001.jpg
/home/pi/Desktop/images/05012025/05/48/image_05012025_05_48_02_703378_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.098503112792969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:49:22.388207
SELECT 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/05/47/image_05012025_05_47_02_144599_0003.jpg', '/home/pi/Desktop/images/05012025/05/48/image_05012025_05_48_02_703378_0000.jpg', '/home/pi/Desktop/images/05012025/05/48/image_05012025_05_48_02_703378_0001.jpg', '/home/pi/Desktop/images/05012025/05/48/image_05012025_05_48_02_703378_0002.jpg', '/home/pi/Desktop/images/05012025/05/48/image_05012025_05_48_02_703378_0003.jpg', '/home/pi/Desktop/images/05012025/05/49/image_05012025_05_49_02_247837_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/05/47/image_05012025_05_47_02_144599_0003.jpg
/home/pi/Desktop/images/05012025/05/48/image_05012025_05_48_02_703378_0000.jpg
/home/pi/Desktop/images/05012025/05/48/image_05012025_05_48_02_703378_0001.jpg
/home/pi/Desktop/images/05012025/05/48/image_05012025_05_48_02_703378_0002.jpg
/home/pi/Desktop/images/05012025/05/48/image_05012025_05_48_02_703378_0003.jpg
/home/pi/Desktop/images/05012025/05/49/image_05012025_05_49_02_247837_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852680","1326852693","1326852681","1326852684","1326852678","1326852686"],"photo_ids_order":["1326852678","1326852680","1326852681","1326852684","1326852686","1326852693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a8ccee512c619e43df864db4de867d8a.jpg","text":"TemporaryFile(/tmp/multipartBody3733645231023758483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052637744,"filename":"image_05012025_05_48_02_703378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8fd83e7f720921721cf3cae1fc08d8c4.jpg","text":"TemporaryFile(/tmp/multipartBody690509818872087805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052637744,"filename":"image_05012025_05_49_02_247837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/411fcf197f66e6ce7b0c79d5e8214751.jpg","text":"TemporaryFile(/tmp/multipartBody971431832984574858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052637744,"filename":"image_05012025_05_48_02_703378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6e70aab1a69d11b41598fa00cacf7921.jpg","text":"TemporaryFile(/tmp/multipartBody7366213885632584571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052637744,"filename":"image_05012025_05_48_02_703378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b8ed6a490cc9235fd629c269c6b6d15.jpg","text":"TemporaryFile(/tmp/multipartBody2570017898645290557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052637744,"filename":"image_05012025_05_47_02_144599_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/03e87baff0df32e71b41a62e305b4734.jpg","text":"TemporaryFile(/tmp/multipartBody5077883774830762564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052637744,"filename":"image_05012025_05_48_02_703378_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852681","file1":"1326852680","file0":"1326852678","file4":"1326852686","file5":"1326852693","file3":"1326852684"},"map_files_photo_id_array":[{"photo_id":"1326852693","filename":"file5"},{"photo_id":"1326852681","filename":"file2"},{"photo_id":"1326852686","filename":"file4"},{"photo_id":"1326852680","filename":"file1"},{"photo_id":"1326852678","filename":"file0"},{"photo_id":"1326852684","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852680":["hashtag1","hashtag2"]},{"1326852693":["hashtag1","hashtag2"]},{"1326852681":["hashtag1","hashtag2"]},{"1326852684":["hashtag1","hashtag2"]},{"1326852678":["hashtag1","hashtag2"]},{"1326852686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852680, 1326852693, 1326852681, 1326852684, 1326852678, 1326852686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.7906014919281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:50:22.027587
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/49/image_05012025_05_49_02_247837_0001.jpg', '/home/pi/Desktop/images/05012025/05/49/image_05012025_05_49_02_247837_0003.jpg', '/home/pi/Desktop/images/05012025/05/50/image_05012025_05_50_02_757630_0000.jpg', '/home/pi/Desktop/images/05012025/05/50/image_05012025_05_50_02_757630_0001.jpg', '/home/pi/Desktop/images/05012025/05/50/image_05012025_05_50_02_757630_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/05/49/image_05012025_05_49_02_247837_0001.jpg
/home/pi/Desktop/images/05012025/05/49/image_05012025_05_49_02_247837_0003.jpg
/home/pi/Desktop/images/05012025/05/50/image_05012025_05_50_02_757630_0000.jpg
/home/pi/Desktop/images/05012025/05/50/image_05012025_05_50_02_757630_0001.jpg
/home/pi/Desktop/images/05012025/05/50/image_05012025_05_50_02_757630_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852696","1326852699","1326852705","1326852708","1326852702"],"photo_ids_order":["1326852696","1326852699","1326852702","1326852705","1326852708"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0d7ce8e8bb5a0c6b1b1a9d7b93ed8152.jpg","text":"TemporaryFile(/tmp/multipartBody7916540888687713453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052694703,"filename":"image_05012025_05_49_02_247837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/81220a8a7cddd1ced0b5f63e413ccf3a.jpg","text":"TemporaryFile(/tmp/multipartBody7354816878932873331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052694703,"filename":"image_05012025_05_49_02_247837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/71df6a13fdaaba7bf4016e54db36d518.jpg","text":"TemporaryFile(/tmp/multipartBody2113882610338374571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052694703,"filename":"image_05012025_05_50_02_757630_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/986cefff603b5e3ba9f114ad91b852a0.jpg","text":"TemporaryFile(/tmp/multipartBody2589489423868627768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052694703,"filename":"image_05012025_05_50_02_757630_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/984c1bf688b3964049656e96f89984d1.jpg","text":"TemporaryFile(/tmp/multipartBody1391581160052657034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052694703,"filename":"image_05012025_05_50_02_757630_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852702","file1":"1326852699","file0":"1326852696","file4":"1326852708","file3":"1326852705"},"map_files_photo_id_array":[{"photo_id":"1326852702","filename":"file2"},{"photo_id":"1326852708","filename":"file4"},{"photo_id":"1326852699","filename":"file1"},{"photo_id":"1326852696","filename":"file0"},{"photo_id":"1326852705","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852696":["hashtag1","hashtag2"]},{"1326852699":["hashtag1","hashtag2"]},{"1326852705":["hashtag1","hashtag2"]},{"1326852708":["hashtag1","hashtag2"]},{"1326852702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852696, 1326852699, 1326852705, 1326852708, 1326852702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.16201329231262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:51:22.621572
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/50/image_05012025_05_50_02_757630_0003.jpg', '/home/pi/Desktop/images/05012025/05/51/image_05012025_05_51_02_491980_0000.jpg', '/home/pi/Desktop/images/05012025/05/51/image_05012025_05_51_02_491980_0001.jpg', '/home/pi/Desktop/images/05012025/05/51/image_05012025_05_51_02_491980_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/05/50/image_05012025_05_50_02_757630_0003.jpg
/home/pi/Desktop/images/05012025/05/51/image_05012025_05_51_02_491980_0000.jpg
/home/pi/Desktop/images/05012025/05/51/image_05012025_05_51_02_491980_0001.jpg
/home/pi/Desktop/images/05012025/05/51/image_05012025_05_51_02_491980_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852713","1326852715","1326852718","1326852720"],"photo_ids_order":["1326852713","1326852715","1326852718","1326852720"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ebc4da7cc0eba5a9081b5d793474f38a.jpg","text":"TemporaryFile(/tmp/multipartBody2409616966027569578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052753077,"filename":"image_05012025_05_50_02_757630_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/339384c8b40fadd22fee51988268e164.jpg","text":"TemporaryFile(/tmp/multipartBody725198767325689375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052753077,"filename":"image_05012025_05_51_02_491980_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c2d081514c8aac63109f13f12ee1d6cd.jpg","text":"TemporaryFile(/tmp/multipartBody5953721926530961694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052753077,"filename":"image_05012025_05_51_02_491980_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/be2fe776793b258cd28b49831076aa29.jpg","text":"TemporaryFile(/tmp/multipartBody7938230879193707464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052753077,"filename":"image_05012025_05_51_02_491980_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852718","file1":"1326852715","file0":"1326852713","file3":"1326852720"},"map_files_photo_id_array":[{"photo_id":"1326852718","filename":"file2"},{"photo_id":"1326852715","filename":"file1"},{"photo_id":"1326852713","filename":"file0"},{"photo_id":"1326852720","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852713":["hashtag1","hashtag2"]},{"1326852715":["hashtag1","hashtag2"]},{"1326852718":["hashtag1","hashtag2"]},{"1326852720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852713, 1326852715, 1326852718, 1326852720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.00586414337158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:52:22.078146
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/51/image_05012025_05_51_02_491980_0003.jpg', '/home/pi/Desktop/images/05012025/05/52/image_05012025_05_52_02_985741_0000.jpg', '/home/pi/Desktop/images/05012025/05/52/image_05012025_05_52_02_985741_0001.jpg', '/home/pi/Desktop/images/05012025/05/52/image_05012025_05_52_02_985741_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/05/51/image_05012025_05_51_02_491980_0003.jpg
/home/pi/Desktop/images/05012025/05/52/image_05012025_05_52_02_985741_0000.jpg
/home/pi/Desktop/images/05012025/05/52/image_05012025_05_52_02_985741_0001.jpg
/home/pi/Desktop/images/05012025/05/52/image_05012025_05_52_02_985741_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852761","1326852758","1326852763","1326852754"],"photo_ids_order":["1326852754","1326852758","1326852761","1326852763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cc513028bc449226a0ce5658f3bca4e5.jpg","text":"TemporaryFile(/tmp/multipartBody7092895302609061087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052812474,"filename":"image_05012025_05_52_02_985741_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b5ea605a7833dacbd1e47f72f9fd2865.jpg","text":"TemporaryFile(/tmp/multipartBody3874244287778560845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052812474,"filename":"image_05012025_05_52_02_985741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/84cd8dd81a2c03a1f4464814e05d0e8e.jpg","text":"TemporaryFile(/tmp/multipartBody4021431669817520072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052812474,"filename":"image_05012025_05_52_02_985741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/93d7f72b9191625ff6277e1bd147ffe0.jpg","text":"TemporaryFile(/tmp/multipartBody7437041879491092502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052812474,"filename":"image_05012025_05_51_02_491980_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852761","file1":"1326852758","file0":"1326852754","file3":"1326852763"},"map_files_photo_id_array":[{"photo_id":"1326852761","filename":"file2"},{"photo_id":"1326852758","filename":"file1"},{"photo_id":"1326852754","filename":"file0"},{"photo_id":"1326852763","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852761":["hashtag1","hashtag2"]},{"1326852758":["hashtag1","hashtag2"]},{"1326852763":["hashtag1","hashtag2"]},{"1326852754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852761, 1326852758, 1326852763, 1326852754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.1108775138855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:53:22.744310
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/52/image_05012025_05_52_02_985741_0003.jpg', '/home/pi/Desktop/images/05012025/05/53/image_05012025_05_53_02_586419_0000.jpg', '/home/pi/Desktop/images/05012025/05/53/image_05012025_05_53_02_586419_0001.jpg', '/home/pi/Desktop/images/05012025/05/53/image_05012025_05_53_02_586419_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/05/52/image_05012025_05_52_02_985741_0003.jpg
/home/pi/Desktop/images/05012025/05/53/image_05012025_05_53_02_586419_0000.jpg
/home/pi/Desktop/images/05012025/05/53/image_05012025_05_53_02_586419_0001.jpg
/home/pi/Desktop/images/05012025/05/53/image_05012025_05_53_02_586419_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852776","1326852778","1326852772","1326852774"],"photo_ids_order":["1326852772","1326852774","1326852776","1326852778"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ac5e16eb087cdd95046fb5e91d9354b8.jpg","text":"TemporaryFile(/tmp/multipartBody3090659275301220858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052873274,"filename":"image_05012025_05_53_02_586419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8faed9ef67cc38067054a0b13949e05d.jpg","text":"TemporaryFile(/tmp/multipartBody6357509295676021183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052873274,"filename":"image_05012025_05_53_02_586419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/376fae7b2616d5e8826ad6914bc4f499.jpg","text":"TemporaryFile(/tmp/multipartBody6396661240729539268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052873274,"filename":"image_05012025_05_52_02_985741_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/814156d463e75fd37d085f39b427e353.jpg","text":"TemporaryFile(/tmp/multipartBody8933897891113644883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052873274,"filename":"image_05012025_05_53_02_586419_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852776","file1":"1326852774","file0":"1326852772","file3":"1326852778"},"map_files_photo_id_array":[{"photo_id":"1326852776","filename":"file2"},{"photo_id":"1326852774","filename":"file1"},{"photo_id":"1326852772","filename":"file0"},{"photo_id":"1326852778","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852776":["hashtag1","hashtag2"]},{"1326852778":["hashtag1","hashtag2"]},{"1326852772":["hashtag1","hashtag2"]},{"1326852774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852776, 1326852778, 1326852772, 1326852774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.576393127441406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:54:02.562740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:54:22.196026
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/53/image_05012025_05_53_02_586419_0003.jpg', '/home/pi/Desktop/images/05012025/05/54/image_05012025_05_54_03_093049_0000.jpg', '/home/pi/Desktop/images/05012025/05/54/image_05012025_05_54_03_093049_0001.jpg', '/home/pi/Desktop/images/05012025/05/54/image_05012025_05_54_03_093049_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/05/53/image_05012025_05_53_02_586419_0003.jpg
/home/pi/Desktop/images/05012025/05/54/image_05012025_05_54_03_093049_0000.jpg
/home/pi/Desktop/images/05012025/05/54/image_05012025_05_54_03_093049_0001.jpg
/home/pi/Desktop/images/05012025/05/54/image_05012025_05_54_03_093049_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.022261142730713 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:55:03.359961
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/53/image_05012025_05_53_02_586419_0003.jpg', '/home/pi/Desktop/images/05012025/05/54/image_05012025_05_54_03_093049_0000.jpg', '/home/pi/Desktop/images/05012025/05/54/image_05012025_05_54_03_093049_0001.jpg', '/home/pi/Desktop/images/05012025/05/54/image_05012025_05_54_03_093049_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/05/53/image_05012025_05_53_02_586419_0003.jpg
/home/pi/Desktop/images/05012025/05/54/image_05012025_05_54_03_093049_0000.jpg
/home/pi/Desktop/images/05012025/05/54/image_05012025_05_54_03_093049_0001.jpg
/home/pi/Desktop/images/05012025/05/54/image_05012025_05_54_03_093049_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326852794","1326852796","1326852795","1326852797"],"photo_ids_order":["1326852794","1326852795","1326852796","1326852797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/17f09c4708c702895fac536b66f676b9.jpg","text":"TemporaryFile(/tmp/multipartBody870002967192638837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052973821,"filename":"image_05012025_05_53_02_586419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a5c6a485fde41963bf46c58df555448f.jpg","text":"TemporaryFile(/tmp/multipartBody832112777828828167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052973821,"filename":"image_05012025_05_54_03_093049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/57cf5a7c7b7c5ac238eed2774586bcf3.jpg","text":"TemporaryFile(/tmp/multipartBody8686657022533843968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052973821,"filename":"image_05012025_05_54_03_093049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/452a19eb2ca12b682e1f08ba06a931a6.jpg","text":"TemporaryFile(/tmp/multipartBody9000982796931059775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736052973821,"filename":"image_05012025_05_54_03_093049_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326852796","file1":"1326852795","file0":"1326852794","file3":"1326852797"},"map_files_photo_id_array":[{"photo_id":"1326852796","filename":"file2"},{"photo_id":"1326852795","filename":"file1"},{"photo_id":"1326852794","filename":"file0"},{"photo_id":"1326852797","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326852794":["hashtag1","hashtag2"]},{"1326852796":["hashtag1","hashtag2"]},{"1326852795":["hashtag1","hashtag2"]},{"1326852797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326852794, 1326852796, 1326852795, 1326852797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.06200861930847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:56:02.910964
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/54/image_05012025_05_54_03_093049_0003.jpg', '/home/pi/Desktop/images/05012025/05/55/image_05012025_05_55_02_534759_0000.jpg', '/home/pi/Desktop/images/05012025/05/55/image_05012025_05_55_02_534759_0001.jpg', '/home/pi/Desktop/images/05012025/05/55/image_05012025_05_55_02_534759_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/05/54/image_05012025_05_54_03_093049_0003.jpg
/home/pi/Desktop/images/05012025/05/55/image_05012025_05_55_02_534759_0000.jpg
/home/pi/Desktop/images/05012025/05/55/image_05012025_05_55_02_534759_0001.jpg
/home/pi/Desktop/images/05012025/05/55/image_05012025_05_55_02_534759_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326853135","1326853324","1326853158","1326853295"],"photo_ids_order":["1326853135","1326853158","1326853295","1326853324"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c78519c7c0856c4662b181c0f974100.jpg","text":"TemporaryFile(/tmp/multipartBody5091880341972350717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053033311,"filename":"image_05012025_05_54_03_093049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7d9ae486689da928e84d576eb3315603.jpg","text":"TemporaryFile(/tmp/multipartBody5973407921852786677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053033311,"filename":"image_05012025_05_55_02_534759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/644046d52c7e46dcc5be69b6a8af80de.jpg","text":"TemporaryFile(/tmp/multipartBody1638849396966675141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053033311,"filename":"image_05012025_05_55_02_534759_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/73d74b390621b0caa162eab50986a751.jpg","text":"TemporaryFile(/tmp/multipartBody8052571292128522006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053033311,"filename":"image_05012025_05_55_02_534759_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326853295","file1":"1326853158","file0":"1326853135","file3":"1326853324"},"map_files_photo_id_array":[{"photo_id":"1326853295","filename":"file2"},{"photo_id":"1326853158","filename":"file1"},{"photo_id":"1326853135","filename":"file0"},{"photo_id":"1326853324","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326853135":["hashtag1","hashtag2"]},{"1326853324":["hashtag1","hashtag2"]},{"1326853158":["hashtag1","hashtag2"]},{"1326853295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326853135, 1326853324, 1326853158, 1326853295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.75407361984253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 05:57:02.451400
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/05/55/image_05012025_05_55_02_534759_0003.jpg', '/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0000.jpg', '/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0001.jpg', '/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_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/05/55/image_05012025_05_55_02_534759_0003.jpg
/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0000.jpg
/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0001.jpg
/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_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.056641340255737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 05:57:21.846456
SELECT 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/05/55/image_05012025_05_55_02_534759_0003.jpg', '/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0000.jpg', '/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0001.jpg', '/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0002.jpg', '/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0003.jpg', '/home/pi/Desktop/images/05012025/05/57/image_05012025_05_57_02_772072_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/05/55/image_05012025_05_55_02_534759_0003.jpg
/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0000.jpg
/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0001.jpg
/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0002.jpg
/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0003.jpg
/home/pi/Desktop/images/05012025/05/57/image_05012025_05_57_02_772072_0000.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-05 05:59:03.059802
SELECT 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/05/55/image_05012025_05_55_02_534759_0003.jpg', '/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0000.jpg', '/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0001.jpg', '/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0002.jpg', '/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0003.jpg', '/home/pi/Desktop/images/05012025/05/57/image_05012025_05_57_02_772072_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/05/55/image_05012025_05_55_02_534759_0003.jpg
/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0000.jpg
/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0001.jpg
/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0002.jpg
/home/pi/Desktop/images/05012025/05/56/image_05012025_05_56_03_050476_0003.jpg
/home/pi/Desktop/images/05012025/05/57/image_05012025_05_57_02_772072_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326853940","1326853942","1326853936","1326853951","1326853944","1326853947"],"photo_ids_order":["1326853936","1326853940","1326853942","1326853944","1326853947","1326853951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a2c084f29b2278da5054f8b5dfd1669a.jpg","text":"TemporaryFile(/tmp/multipartBody5948516869902507893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053218270,"filename":"image_05012025_05_56_03_050476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9451daa6a7e0ab2aa09eba85b28e8873.jpg","text":"TemporaryFile(/tmp/multipartBody8406725920569273221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053218270,"filename":"image_05012025_05_56_03_050476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c77634ee38f69be0bfcc03a55dfd5fb.jpg","text":"TemporaryFile(/tmp/multipartBody4825106035974602356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053218270,"filename":"image_05012025_05_55_02_534759_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b2d7d5a303195fa2e7f4ca9a2967fa2.jpg","text":"TemporaryFile(/tmp/multipartBody5944178035434889669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053218270,"filename":"image_05012025_05_57_02_772072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/21a2043898a7ac9f4f5c74cab50be992.jpg","text":"TemporaryFile(/tmp/multipartBody7540946116243231627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053218270,"filename":"image_05012025_05_56_03_050476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f079de2c7afb63126f4d4611dc39a242.jpg","text":"TemporaryFile(/tmp/multipartBody8487197747335762203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053218270,"filename":"image_05012025_05_56_03_050476_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326853942","file1":"1326853940","file0":"1326853936","file4":"1326853947","file5":"1326853951","file3":"1326853944"},"map_files_photo_id_array":[{"photo_id":"1326853951","filename":"file5"},{"photo_id":"1326853942","filename":"file2"},{"photo_id":"1326853947","filename":"file4"},{"photo_id":"1326853940","filename":"file1"},{"photo_id":"1326853936","filename":"file0"},{"photo_id":"1326853944","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326853940":["hashtag1","hashtag2"]},{"1326853942":["hashtag1","hashtag2"]},{"1326853936":["hashtag1","hashtag2"]},{"1326853951":["hashtag1","hashtag2"]},{"1326853944":["hashtag1","hashtag2"]},{"1326853947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326853940, 1326853942, 1326853936, 1326853951, 1326853944, 1326853947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.38397264480591 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:00:02.765257
SELECT 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/05/57/image_05012025_05_57_02_772072_0001.jpg', '/home/pi/Desktop/images/05012025/05/57/image_05012025_05_57_02_772072_0002.jpg', '/home/pi/Desktop/images/05012025/05/57/image_05012025_05_57_02_772072_0003.jpg', '/home/pi/Desktop/images/05012025/05/58/image_05012025_05_58_02_262654_0000.jpg', '/home/pi/Desktop/images/05012025/05/58/image_05012025_05_58_02_262654_0001.jpg', '/home/pi/Desktop/images/05012025/05/58/image_05012025_05_58_02_262654_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/05/57/image_05012025_05_57_02_772072_0001.jpg
/home/pi/Desktop/images/05012025/05/57/image_05012025_05_57_02_772072_0002.jpg
/home/pi/Desktop/images/05012025/05/57/image_05012025_05_57_02_772072_0003.jpg
/home/pi/Desktop/images/05012025/05/58/image_05012025_05_58_02_262654_0000.jpg
/home/pi/Desktop/images/05012025/05/58/image_05012025_05_58_02_262654_0001.jpg
/home/pi/Desktop/images/05012025/05/58/image_05012025_05_58_02_262654_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326853963","1326853980","1326853965","1326853968","1326853970","1326853967"],"photo_ids_order":["1326853963","1326853965","1326853967","1326853968","1326853970","1326853980"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c9159ef6d2b488b5520183fe4a6fb2c2.jpg","text":"TemporaryFile(/tmp/multipartBody1797030203933800249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053277923,"filename":"image_05012025_05_57_02_772072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7c8fbffa9d3aa0619f780c30bc8ae3ac.jpg","text":"TemporaryFile(/tmp/multipartBody7601952686717669602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053277923,"filename":"image_05012025_05_58_02_262654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cd6002377c4041aa4121ea493a110183.jpg","text":"TemporaryFile(/tmp/multipartBody7617154830574294087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053277923,"filename":"image_05012025_05_57_02_772072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d8c5e3c3c6d8d2c6c3396eee7ffe7b82.jpg","text":"TemporaryFile(/tmp/multipartBody8333083627475987753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053277923,"filename":"image_05012025_05_58_02_262654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f3d68c3bf70fcda700633c42647bcad.jpg","text":"TemporaryFile(/tmp/multipartBody2741007034833265510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053277923,"filename":"image_05012025_05_58_02_262654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/164660ac5113e8c5b18a9a1679deaeb5.jpg","text":"TemporaryFile(/tmp/multipartBody7404295502069857821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053277923,"filename":"image_05012025_05_57_02_772072_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326853967","file1":"1326853965","file0":"1326853963","file4":"1326853970","file5":"1326853980","file3":"1326853968"},"map_files_photo_id_array":[{"photo_id":"1326853980","filename":"file5"},{"photo_id":"1326853967","filename":"file2"},{"photo_id":"1326853970","filename":"file4"},{"photo_id":"1326853965","filename":"file1"},{"photo_id":"1326853963","filename":"file0"},{"photo_id":"1326853968","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326853963":["hashtag1","hashtag2"]},{"1326853980":["hashtag1","hashtag2"]},{"1326853965":["hashtag1","hashtag2"]},{"1326853968":["hashtag1","hashtag2"]},{"1326853970":["hashtag1","hashtag2"]},{"1326853967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326853963, 1326853980, 1326853965, 1326853968, 1326853970, 1326853967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.30656719207764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:01:03.434802
SELECT 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/05/58/image_05012025_05_58_02_262654_0003.jpg', '/home/pi/Desktop/images/05012025/05/59/image_05012025_05_59_02_939170_0000.jpg', '/home/pi/Desktop/images/05012025/05/59/image_05012025_05_59_02_939170_0001.jpg', '/home/pi/Desktop/images/05012025/05/59/image_05012025_05_59_02_939170_0002.jpg', '/home/pi/Desktop/images/05012025/05/59/image_05012025_05_59_02_939170_0003.jpg', '/home/pi/Desktop/images/05012025/06/00/image_05012025_06_00_03_051632_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/05/58/image_05012025_05_58_02_262654_0003.jpg
/home/pi/Desktop/images/05012025/05/59/image_05012025_05_59_02_939170_0000.jpg
/home/pi/Desktop/images/05012025/05/59/image_05012025_05_59_02_939170_0001.jpg
/home/pi/Desktop/images/05012025/05/59/image_05012025_05_59_02_939170_0002.jpg
/home/pi/Desktop/images/05012025/05/59/image_05012025_05_59_02_939170_0003.jpg
/home/pi/Desktop/images/05012025/06/00/image_05012025_06_00_03_051632_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854017","1326854025","1326854013","1326854019","1326854021","1326854015"],"photo_ids_order":["1326854013","1326854015","1326854017","1326854019","1326854021","1326854025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8208f043f4af20cb7c60d134255628d3.jpg","text":"TemporaryFile(/tmp/multipartBody1328974266523852138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053338729,"filename":"image_05012025_05_59_02_939170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a8f4a02ec46f7e676ab71e357587815d.jpg","text":"TemporaryFile(/tmp/multipartBody3252324682407967233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053338729,"filename":"image_05012025_06_00_03_051632_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ac9f2e21a54ec87acbe55925042a099d.jpg","text":"TemporaryFile(/tmp/multipartBody2679055716028663555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053338729,"filename":"image_05012025_05_58_02_262654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/35a31f5f2b2be6b301dd9a5cd7e4ab00.jpg","text":"TemporaryFile(/tmp/multipartBody6745084804348377923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053338729,"filename":"image_05012025_05_59_02_939170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/98596b1057a1e01178f24c14692a2c38.jpg","text":"TemporaryFile(/tmp/multipartBody2587968705237078478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053338729,"filename":"image_05012025_05_59_02_939170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/14e4971aa6974bb1abe378744fd55b4d.jpg","text":"TemporaryFile(/tmp/multipartBody2826073928787862680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053338729,"filename":"image_05012025_05_59_02_939170_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854017","file1":"1326854015","file0":"1326854013","file4":"1326854021","file5":"1326854025","file3":"1326854019"},"map_files_photo_id_array":[{"photo_id":"1326854025","filename":"file5"},{"photo_id":"1326854017","filename":"file2"},{"photo_id":"1326854021","filename":"file4"},{"photo_id":"1326854015","filename":"file1"},{"photo_id":"1326854013","filename":"file0"},{"photo_id":"1326854019","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854017":["hashtag1","hashtag2"]},{"1326854025":["hashtag1","hashtag2"]},{"1326854013":["hashtag1","hashtag2"]},{"1326854019":["hashtag1","hashtag2"]},{"1326854021":["hashtag1","hashtag2"]},{"1326854015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854017, 1326854025, 1326854013, 1326854019, 1326854021, 1326854015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.26634645462036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:02:02.790799
SELECT 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/06/00/image_05012025_06_00_03_051632_0001.jpg', '/home/pi/Desktop/images/05012025/06/00/image_05012025_06_00_03_051632_0002.jpg', '/home/pi/Desktop/images/05012025/06/00/image_05012025_06_00_03_051632_0003.jpg', '/home/pi/Desktop/images/05012025/06/01/image_05012025_06_01_02_591789_0000.jpg', '/home/pi/Desktop/images/05012025/06/01/image_05012025_06_01_02_591789_0001.jpg', '/home/pi/Desktop/images/05012025/06/01/image_05012025_06_01_02_591789_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/06/00/image_05012025_06_00_03_051632_0001.jpg
/home/pi/Desktop/images/05012025/06/00/image_05012025_06_00_03_051632_0002.jpg
/home/pi/Desktop/images/05012025/06/00/image_05012025_06_00_03_051632_0003.jpg
/home/pi/Desktop/images/05012025/06/01/image_05012025_06_01_02_591789_0000.jpg
/home/pi/Desktop/images/05012025/06/01/image_05012025_06_01_02_591789_0001.jpg
/home/pi/Desktop/images/05012025/06/01/image_05012025_06_01_02_591789_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":["1326854191","1326854185","1326854181","1326854186","1326854189","1326854183"],"photo_ids_order":["1326854181","1326854183","1326854185","1326854186","1326854189","1326854191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66a0e5ecc3bc43fb26ce3e8653cd49e2.jpg","text":"TemporaryFile(/tmp/multipartBody7262975777300533893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053398058,"filename":"image_05012025_06_01_02_591789_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1269386382e0b8a165a0d765a529864f.jpg","text":"TemporaryFile(/tmp/multipartBody6424901726484123795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053398058,"filename":"image_05012025_06_00_03_051632_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f850ace3256a9e32b916a3e00a0f0e05.jpg","text":"TemporaryFile(/tmp/multipartBody654570567152276441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053398058,"filename":"image_05012025_06_00_03_051632_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/60e73b270c618bfc1d346734c5e09c44.jpg","text":"TemporaryFile(/tmp/multipartBody4228775973217756235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053398058,"filename":"image_05012025_06_01_02_591789_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11deb19e48db2c0dc34c26503856d497.jpg","text":"TemporaryFile(/tmp/multipartBody802702982463798897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053398058,"filename":"image_05012025_06_01_02_591789_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/40f6913f8098e588599845defbc8af58.jpg","text":"TemporaryFile(/tmp/multipartBody4901567309167137371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053398058,"filename":"image_05012025_06_00_03_051632_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854185","file1":"1326854183","file0":"1326854181","file4":"1326854189","file5":"1326854191","file3":"1326854186"},"map_files_photo_id_array":[{"photo_id":"1326854191","filename":"file5"},{"photo_id":"1326854185","filename":"file2"},{"photo_id":"1326854189","filename":"file4"},{"photo_id":"1326854183","filename":"file1"},{"photo_id":"1326854181","filename":"file0"},{"photo_id":"1326854186","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854191":["hashtag1","hashtag2"]},{"1326854185":["hashtag1","hashtag2"]},{"1326854181":["hashtag1","hashtag2"]},{"1326854186":["hashtag1","hashtag2"]},{"1326854189":["hashtag1","hashtag2"]},{"1326854183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854191, 1326854185, 1326854181, 1326854186, 1326854189, 1326854183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.0907244682312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:03:21.774630
SELECT 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/06/01/image_05012025_06_01_02_591789_0003.jpg', '/home/pi/Desktop/images/05012025/06/02/image_05012025_06_02_03_091828_0000.jpg', '/home/pi/Desktop/images/05012025/06/02/image_05012025_06_02_03_091828_0001.jpg', '/home/pi/Desktop/images/05012025/06/02/image_05012025_06_02_03_091828_0002.jpg', '/home/pi/Desktop/images/05012025/06/02/image_05012025_06_02_03_091828_0003.jpg', '/home/pi/Desktop/images/05012025/06/03/image_05012025_06_03_02_608200_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/06/01/image_05012025_06_01_02_591789_0003.jpg
/home/pi/Desktop/images/05012025/06/02/image_05012025_06_02_03_091828_0000.jpg
/home/pi/Desktop/images/05012025/06/02/image_05012025_06_02_03_091828_0001.jpg
/home/pi/Desktop/images/05012025/06/02/image_05012025_06_02_03_091828_0002.jpg
/home/pi/Desktop/images/05012025/06/02/image_05012025_06_02_03_091828_0003.jpg
/home/pi/Desktop/images/05012025/06/03/image_05012025_06_03_02_608200_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854215","1326854199","1326854202","1326854237","1326854204","1326854213"],"photo_ids_order":["1326854199","1326854202","1326854204","1326854213","1326854215","1326854237"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/98f1fb52bb8181a05c937eb371e2267e.jpg","text":"TemporaryFile(/tmp/multipartBody1582066845060842551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053477013,"filename":"image_05012025_06_02_03_091828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cb2672931c4f0c124bb74d3ab70e9725.jpg","text":"TemporaryFile(/tmp/multipartBody5792986602319447646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053477013,"filename":"image_05012025_06_01_02_591789_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/528d0ea4d2a93f7d600854d03cbac4ec.jpg","text":"TemporaryFile(/tmp/multipartBody5208584640337813785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053477013,"filename":"image_05012025_06_02_03_091828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c862ff628e66e02f0b8d8cddac11336.jpg","text":"TemporaryFile(/tmp/multipartBody3844948916461339062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053477013,"filename":"image_05012025_06_03_02_608200_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6efe887bc186671a116c55867fc32f45.jpg","text":"TemporaryFile(/tmp/multipartBody6676268194177304473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053477013,"filename":"image_05012025_06_02_03_091828_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7fd0f4fa2f24015947755c12a7c250b2.jpg","text":"TemporaryFile(/tmp/multipartBody2982589937825091921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053477013,"filename":"image_05012025_06_02_03_091828_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854204","file1":"1326854202","file0":"1326854199","file4":"1326854215","file5":"1326854237","file3":"1326854213"},"map_files_photo_id_array":[{"photo_id":"1326854237","filename":"file5"},{"photo_id":"1326854204","filename":"file2"},{"photo_id":"1326854215","filename":"file4"},{"photo_id":"1326854202","filename":"file1"},{"photo_id":"1326854199","filename":"file0"},{"photo_id":"1326854213","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854215":["hashtag1","hashtag2"]},{"1326854199":["hashtag1","hashtag2"]},{"1326854202":["hashtag1","hashtag2"]},{"1326854237":["hashtag1","hashtag2"]},{"1326854204":["hashtag1","hashtag2"]},{"1326854213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854215, 1326854199, 1326854202, 1326854237, 1326854204, 1326854213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.38413429260254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:04:22.260978
SELECT 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/06/03/image_05012025_06_03_02_608200_0001.jpg', '/home/pi/Desktop/images/05012025/06/03/image_05012025_06_03_02_608200_0002.jpg', '/home/pi/Desktop/images/05012025/06/03/image_05012025_06_03_02_608200_0003.jpg', '/home/pi/Desktop/images/05012025/06/04/image_05012025_06_04_02_138140_0000.jpg', '/home/pi/Desktop/images/05012025/06/04/image_05012025_06_04_02_138140_0001.jpg', '/home/pi/Desktop/images/05012025/06/04/image_05012025_06_04_02_138140_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/06/03/image_05012025_06_03_02_608200_0001.jpg
/home/pi/Desktop/images/05012025/06/03/image_05012025_06_03_02_608200_0002.jpg
/home/pi/Desktop/images/05012025/06/03/image_05012025_06_03_02_608200_0003.jpg
/home/pi/Desktop/images/05012025/06/04/image_05012025_06_04_02_138140_0000.jpg
/home/pi/Desktop/images/05012025/06/04/image_05012025_06_04_02_138140_0001.jpg
/home/pi/Desktop/images/05012025/06/04/image_05012025_06_04_02_138140_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854251","1326854254","1326854244","1326854247","1326854255","1326854240"],"photo_ids_order":["1326854240","1326854244","1326854247","1326854251","1326854254","1326854255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/65a2055e7e3a036650be833967a4a2d4.jpg","text":"TemporaryFile(/tmp/multipartBody7784655271139502304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053537743,"filename":"image_05012025_06_04_02_138140_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5212be5e49a32eb862bc91092a3e0414.jpg","text":"TemporaryFile(/tmp/multipartBody6513507824733440410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053537743,"filename":"image_05012025_06_04_02_138140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/29d23c136632526e74ef72ce15b7c409.jpg","text":"TemporaryFile(/tmp/multipartBody1113436831128517081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053537743,"filename":"image_05012025_06_03_02_608200_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/01df44cdd94501c13d3f901b042e4bb6.jpg","text":"TemporaryFile(/tmp/multipartBody6818657919142445915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053537743,"filename":"image_05012025_06_03_02_608200_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d90b6a7b33a458ded8299fa7dad10ace.jpg","text":"TemporaryFile(/tmp/multipartBody6604653659755112124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053537743,"filename":"image_05012025_06_04_02_138140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2bbc03376313c234f684354f147d768.jpg","text":"TemporaryFile(/tmp/multipartBody5504766022067146719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053537743,"filename":"image_05012025_06_03_02_608200_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854247","file1":"1326854244","file0":"1326854240","file4":"1326854254","file5":"1326854255","file3":"1326854251"},"map_files_photo_id_array":[{"photo_id":"1326854255","filename":"file5"},{"photo_id":"1326854247","filename":"file2"},{"photo_id":"1326854254","filename":"file4"},{"photo_id":"1326854244","filename":"file1"},{"photo_id":"1326854240","filename":"file0"},{"photo_id":"1326854251","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854251":["hashtag1","hashtag2"]},{"1326854254":["hashtag1","hashtag2"]},{"1326854244":["hashtag1","hashtag2"]},{"1326854247":["hashtag1","hashtag2"]},{"1326854255":["hashtag1","hashtag2"]},{"1326854240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854251, 1326854254, 1326854244, 1326854247, 1326854255, 1326854240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.91861534118652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:05:22.735220
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/04/image_05012025_06_04_02_138140_0003.jpg', '/home/pi/Desktop/images/05012025/06/05/image_05012025_06_05_02_609896_0000.jpg', '/home/pi/Desktop/images/05012025/06/05/image_05012025_06_05_02_609896_0001.jpg', '/home/pi/Desktop/images/05012025/06/05/image_05012025_06_05_02_609896_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/06/04/image_05012025_06_04_02_138140_0003.jpg
/home/pi/Desktop/images/05012025/06/05/image_05012025_06_05_02_609896_0000.jpg
/home/pi/Desktop/images/05012025/06/05/image_05012025_06_05_02_609896_0001.jpg
/home/pi/Desktop/images/05012025/06/05/image_05012025_06_05_02_609896_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854266","1326854260","1326854262","1326854264"],"photo_ids_order":["1326854260","1326854262","1326854264","1326854266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1402c191664a9dc51fc899bc34069033.jpg","text":"TemporaryFile(/tmp/multipartBody6787359245203521578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053593165,"filename":"image_05012025_06_05_02_609896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66ed6aa4f6d1612376885a3d962e8f1c.jpg","text":"TemporaryFile(/tmp/multipartBody8841284205650407219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053593165,"filename":"image_05012025_06_04_02_138140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ec3b792a50b901d82754dfc59170eedd.jpg","text":"TemporaryFile(/tmp/multipartBody4231776637129831340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053593165,"filename":"image_05012025_06_05_02_609896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/db0e31501875cfd612fa404808ae814f.jpg","text":"TemporaryFile(/tmp/multipartBody872354237602084511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053593165,"filename":"image_05012025_06_05_02_609896_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854264","file1":"1326854262","file0":"1326854260","file3":"1326854266"},"map_files_photo_id_array":[{"photo_id":"1326854264","filename":"file2"},{"photo_id":"1326854262","filename":"file1"},{"photo_id":"1326854260","filename":"file0"},{"photo_id":"1326854266","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854266":["hashtag1","hashtag2"]},{"1326854260":["hashtag1","hashtag2"]},{"1326854262":["hashtag1","hashtag2"]},{"1326854264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854266, 1326854260, 1326854262, 1326854264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43658638000488 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:06:02.596796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:06:22.185696
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/05/image_05012025_06_05_02_609896_0003.jpg', '/home/pi/Desktop/images/05012025/06/06/image_05012025_06_06_03_100275_0000.jpg', '/home/pi/Desktop/images/05012025/06/06/image_05012025_06_06_03_100275_0001.jpg', '/home/pi/Desktop/images/05012025/06/06/image_05012025_06_06_03_100275_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/06/05/image_05012025_06_05_02_609896_0003.jpg
/home/pi/Desktop/images/05012025/06/06/image_05012025_06_06_03_100275_0000.jpg
/home/pi/Desktop/images/05012025/06/06/image_05012025_06_06_03_100275_0001.jpg
/home/pi/Desktop/images/05012025/06/06/image_05012025_06_06_03_100275_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.929004907608032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:07:03.338882
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/05/image_05012025_06_05_02_609896_0003.jpg', '/home/pi/Desktop/images/05012025/06/06/image_05012025_06_06_03_100275_0000.jpg', '/home/pi/Desktop/images/05012025/06/06/image_05012025_06_06_03_100275_0001.jpg', '/home/pi/Desktop/images/05012025/06/06/image_05012025_06_06_03_100275_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/06/05/image_05012025_06_05_02_609896_0003.jpg
/home/pi/Desktop/images/05012025/06/06/image_05012025_06_06_03_100275_0000.jpg
/home/pi/Desktop/images/05012025/06/06/image_05012025_06_06_03_100275_0001.jpg
/home/pi/Desktop/images/05012025/06/06/image_05012025_06_06_03_100275_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854311","1326854310","1326854313","1326854315"],"photo_ids_order":["1326854310","1326854311","1326854313","1326854315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88d6f6027970ba5a81bc57b2272f6776.jpg","text":"TemporaryFile(/tmp/multipartBody1109736684714786908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053693717,"filename":"image_05012025_06_06_03_100275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3ddcf175522d4fdb759a0f08d1c9e891.jpg","text":"TemporaryFile(/tmp/multipartBody7555454120716876141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053693717,"filename":"image_05012025_06_05_02_609896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2aa52fad1a648e3cc8750e48969d47a5.jpg","text":"TemporaryFile(/tmp/multipartBody620033473811805519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053693717,"filename":"image_05012025_06_06_03_100275_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/13bff63edcc06272d11aa27d2e141494.jpg","text":"TemporaryFile(/tmp/multipartBody9156467288912496764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053693717,"filename":"image_05012025_06_06_03_100275_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854313","file1":"1326854311","file0":"1326854310","file3":"1326854315"},"map_files_photo_id_array":[{"photo_id":"1326854313","filename":"file2"},{"photo_id":"1326854311","filename":"file1"},{"photo_id":"1326854310","filename":"file0"},{"photo_id":"1326854315","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854311":["hashtag1","hashtag2"]},{"1326854310":["hashtag1","hashtag2"]},{"1326854313":["hashtag1","hashtag2"]},{"1326854315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854311, 1326854310, 1326854313, 1326854315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.892831325531006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:08:02.793095
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/06/image_05012025_06_06_03_100275_0003.jpg', '/home/pi/Desktop/images/05012025/06/07/image_05012025_06_07_02_585859_0000.jpg', '/home/pi/Desktop/images/05012025/06/07/image_05012025_06_07_02_585859_0001.jpg', '/home/pi/Desktop/images/05012025/06/07/image_05012025_06_07_02_585859_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/06/06/image_05012025_06_06_03_100275_0003.jpg
/home/pi/Desktop/images/05012025/06/07/image_05012025_06_07_02_585859_0000.jpg
/home/pi/Desktop/images/05012025/06/07/image_05012025_06_07_02_585859_0001.jpg
/home/pi/Desktop/images/05012025/06/07/image_05012025_06_07_02_585859_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.963681936264038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:08:22.265700
SELECT 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/06/06/image_05012025_06_06_03_100275_0003.jpg', '/home/pi/Desktop/images/05012025/06/07/image_05012025_06_07_02_585859_0000.jpg', '/home/pi/Desktop/images/05012025/06/07/image_05012025_06_07_02_585859_0001.jpg', '/home/pi/Desktop/images/05012025/06/07/image_05012025_06_07_02_585859_0002.jpg', '/home/pi/Desktop/images/05012025/06/07/image_05012025_06_07_02_585859_0003.jpg', '/home/pi/Desktop/images/05012025/06/08/image_05012025_06_08_03_107032_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/06/06/image_05012025_06_06_03_100275_0003.jpg
/home/pi/Desktop/images/05012025/06/07/image_05012025_06_07_02_585859_0000.jpg
/home/pi/Desktop/images/05012025/06/07/image_05012025_06_07_02_585859_0001.jpg
/home/pi/Desktop/images/05012025/06/07/image_05012025_06_07_02_585859_0002.jpg
/home/pi/Desktop/images/05012025/06/07/image_05012025_06_07_02_585859_0003.jpg
/home/pi/Desktop/images/05012025/06/08/image_05012025_06_08_03_107032_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854332","1326854341","1326854335","1326854337","1326854342","1326854339"],"photo_ids_order":["1326854332","1326854335","1326854337","1326854339","1326854341","1326854342"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f8ac806d804652e37bdbde3bf9b4942.jpg","text":"TemporaryFile(/tmp/multipartBody2275731507716941077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053777537,"filename":"image_05012025_06_06_03_100275_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/da8ce9ace5cb341b87b65b67018c686b.jpg","text":"TemporaryFile(/tmp/multipartBody765164417778298384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053777537,"filename":"image_05012025_06_07_02_585859_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a62dfc5aa0eb1ffa9bf1af78bf22bd78.jpg","text":"TemporaryFile(/tmp/multipartBody4826723713004525576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053777537,"filename":"image_05012025_06_07_02_585859_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/58270fe1ef1ed71dc1f48b4b0613b786.jpg","text":"TemporaryFile(/tmp/multipartBody1055869317609999269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053777537,"filename":"image_05012025_06_07_02_585859_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/85fa46ce61f3258b27b591870a03f7ae.jpg","text":"TemporaryFile(/tmp/multipartBody7657432711815567610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053777537,"filename":"image_05012025_06_08_03_107032_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/61d3a744ac429c0e8e5775b4026f5014.jpg","text":"TemporaryFile(/tmp/multipartBody4752207831901744423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053777537,"filename":"image_05012025_06_07_02_585859_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854337","file1":"1326854335","file0":"1326854332","file4":"1326854341","file5":"1326854342","file3":"1326854339"},"map_files_photo_id_array":[{"photo_id":"1326854342","filename":"file5"},{"photo_id":"1326854337","filename":"file2"},{"photo_id":"1326854341","filename":"file4"},{"photo_id":"1326854335","filename":"file1"},{"photo_id":"1326854332","filename":"file0"},{"photo_id":"1326854339","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854332":["hashtag1","hashtag2"]},{"1326854341":["hashtag1","hashtag2"]},{"1326854335":["hashtag1","hashtag2"]},{"1326854337":["hashtag1","hashtag2"]},{"1326854342":["hashtag1","hashtag2"]},{"1326854339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854332, 1326854341, 1326854335, 1326854337, 1326854342, 1326854339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.2174506187439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:09:21.871085
SELECT 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/06/08/image_05012025_06_08_03_107032_0001.jpg', '/home/pi/Desktop/images/05012025/06/08/image_05012025_06_08_03_107032_0002.jpg', '/home/pi/Desktop/images/05012025/06/08/image_05012025_06_08_03_107032_0003.jpg', '/home/pi/Desktop/images/05012025/06/09/image_05012025_06_09_02_733510_0000.jpg', '/home/pi/Desktop/images/05012025/06/09/image_05012025_06_09_02_733510_0001.jpg', '/home/pi/Desktop/images/05012025/06/09/image_05012025_06_09_02_733510_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/06/08/image_05012025_06_08_03_107032_0001.jpg
/home/pi/Desktop/images/05012025/06/08/image_05012025_06_08_03_107032_0002.jpg
/home/pi/Desktop/images/05012025/06/08/image_05012025_06_08_03_107032_0003.jpg
/home/pi/Desktop/images/05012025/06/09/image_05012025_06_09_02_733510_0000.jpg
/home/pi/Desktop/images/05012025/06/09/image_05012025_06_09_02_733510_0001.jpg
/home/pi/Desktop/images/05012025/06/09/image_05012025_06_09_02_733510_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854356","1326854368","1326854347","1326854349","1326854366","1326854345"],"photo_ids_order":["1326854345","1326854347","1326854349","1326854356","1326854366","1326854368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c8b245c041c044b14b5490ffc513bdef.jpg","text":"TemporaryFile(/tmp/multipartBody75351789029302377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053837276,"filename":"image_05012025_06_09_02_733510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4e9efc410189690958976c89522383b5.jpg","text":"TemporaryFile(/tmp/multipartBody8847373417397360794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053837276,"filename":"image_05012025_06_09_02_733510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/454ef61c7a00affcdd5511ba3cd62736.jpg","text":"TemporaryFile(/tmp/multipartBody6221180566811940906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053837276,"filename":"image_05012025_06_08_03_107032_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1ee172e264907a0aabdf69474b73e187.jpg","text":"TemporaryFile(/tmp/multipartBody6426369078078554927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053837276,"filename":"image_05012025_06_08_03_107032_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d9c3467829077652b00a4abd15bf9884.jpg","text":"TemporaryFile(/tmp/multipartBody785761976551616152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053837276,"filename":"image_05012025_06_09_02_733510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/45403e19f4f0260bc8df77c08c6e4c08.jpg","text":"TemporaryFile(/tmp/multipartBody1303938041232495483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053837276,"filename":"image_05012025_06_08_03_107032_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854349","file1":"1326854347","file0":"1326854345","file4":"1326854366","file5":"1326854368","file3":"1326854356"},"map_files_photo_id_array":[{"photo_id":"1326854368","filename":"file5"},{"photo_id":"1326854349","filename":"file2"},{"photo_id":"1326854366","filename":"file4"},{"photo_id":"1326854347","filename":"file1"},{"photo_id":"1326854345","filename":"file0"},{"photo_id":"1326854356","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854356":["hashtag1","hashtag2"]},{"1326854368":["hashtag1","hashtag2"]},{"1326854347":["hashtag1","hashtag2"]},{"1326854349":["hashtag1","hashtag2"]},{"1326854366":["hashtag1","hashtag2"]},{"1326854345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854356, 1326854368, 1326854347, 1326854349, 1326854366, 1326854345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.36548900604248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:10:22.379573
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/09/image_05012025_06_09_02_733510_0003.jpg', '/home/pi/Desktop/images/05012025/06/10/image_05012025_06_10_02_258884_0000.jpg', '/home/pi/Desktop/images/05012025/06/10/image_05012025_06_10_02_258884_0001.jpg', '/home/pi/Desktop/images/05012025/06/10/image_05012025_06_10_02_258884_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/06/09/image_05012025_06_09_02_733510_0003.jpg
/home/pi/Desktop/images/05012025/06/10/image_05012025_06_10_02_258884_0000.jpg
/home/pi/Desktop/images/05012025/06/10/image_05012025_06_10_02_258884_0001.jpg
/home/pi/Desktop/images/05012025/06/10/image_05012025_06_10_02_258884_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854391","1326854388","1326854396","1326854393"],"photo_ids_order":["1326854388","1326854391","1326854393","1326854396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8928de38393947a53ac82e384dd0ee72.jpg","text":"TemporaryFile(/tmp/multipartBody7649281440443991878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053892907,"filename":"image_05012025_06_10_02_258884_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a78670324888a92b0d9d3ebdafb716bb.jpg","text":"TemporaryFile(/tmp/multipartBody7673565549116235768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053892907,"filename":"image_05012025_06_09_02_733510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d4c76dcddfefe1f9cea9a6a093f17640.jpg","text":"TemporaryFile(/tmp/multipartBody3474909003653352174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053892907,"filename":"image_05012025_06_10_02_258884_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3f5a374af52b149630a04190eef74fc9.jpg","text":"TemporaryFile(/tmp/multipartBody7112459328166543118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053892907,"filename":"image_05012025_06_10_02_258884_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854393","file1":"1326854391","file0":"1326854388","file3":"1326854396"},"map_files_photo_id_array":[{"photo_id":"1326854393","filename":"file2"},{"photo_id":"1326854391","filename":"file1"},{"photo_id":"1326854388","filename":"file0"},{"photo_id":"1326854396","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854391":["hashtag1","hashtag2"]},{"1326854388":["hashtag1","hashtag2"]},{"1326854396":["hashtag1","hashtag2"]},{"1326854393":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854391, 1326854388, 1326854396, 1326854393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.882739782333374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:11:21.921233
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/10/image_05012025_06_10_02_258884_0003.jpg', '/home/pi/Desktop/images/05012025/06/11/image_05012025_06_11_02_750327_0000.jpg', '/home/pi/Desktop/images/05012025/06/11/image_05012025_06_11_02_750327_0001.jpg', '/home/pi/Desktop/images/05012025/06/11/image_05012025_06_11_02_750327_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/06/10/image_05012025_06_10_02_258884_0003.jpg
/home/pi/Desktop/images/05012025/06/11/image_05012025_06_11_02_750327_0000.jpg
/home/pi/Desktop/images/05012025/06/11/image_05012025_06_11_02_750327_0001.jpg
/home/pi/Desktop/images/05012025/06/11/image_05012025_06_11_02_750327_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854407","1326854409","1326854411","1326854405"],"photo_ids_order":["1326854405","1326854407","1326854409","1326854411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1b5bbf3823b234160166e868b33c8374.jpg","text":"TemporaryFile(/tmp/multipartBody7412497895902925166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053952209,"filename":"image_05012025_06_11_02_750327_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b610c0ced03f080e4d73d2447741797.jpg","text":"TemporaryFile(/tmp/multipartBody3201904064469647325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053952209,"filename":"image_05012025_06_11_02_750327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c518cc844ac84a7ffcaad459666fe601.jpg","text":"TemporaryFile(/tmp/multipartBody5187895506308072620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053952209,"filename":"image_05012025_06_11_02_750327_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/abe30e57cb83bb8a16313b3a0ecb4e92.jpg","text":"TemporaryFile(/tmp/multipartBody802236070921295990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736053952209,"filename":"image_05012025_06_10_02_258884_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854409","file1":"1326854407","file0":"1326854405","file3":"1326854411"},"map_files_photo_id_array":[{"photo_id":"1326854409","filename":"file2"},{"photo_id":"1326854407","filename":"file1"},{"photo_id":"1326854405","filename":"file0"},{"photo_id":"1326854411","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854407":["hashtag1","hashtag2"]},{"1326854409":["hashtag1","hashtag2"]},{"1326854411":["hashtag1","hashtag2"]},{"1326854405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854407, 1326854409, 1326854411, 1326854405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.08852529525757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:12:03.042088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:12:22.516005
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/11/image_05012025_06_11_02_750327_0003.jpg', '/home/pi/Desktop/images/05012025/06/12/image_05012025_06_12_02_342781_0000.jpg', '/home/pi/Desktop/images/05012025/06/12/image_05012025_06_12_02_342781_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/06/11/image_05012025_06_11_02_750327_0003.jpg
/home/pi/Desktop/images/05012025/06/12/image_05012025_06_12_02_342781_0000.jpg
/home/pi/Desktop/images/05012025/06/12/image_05012025_06_12_02_342781_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.574442386627197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:13:02.683622
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/11/image_05012025_06_11_02_750327_0003.jpg', '/home/pi/Desktop/images/05012025/06/12/image_05012025_06_12_02_342781_0000.jpg', '/home/pi/Desktop/images/05012025/06/12/image_05012025_06_12_02_342781_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/06/11/image_05012025_06_11_02_750327_0003.jpg
/home/pi/Desktop/images/05012025/06/12/image_05012025_06_12_02_342781_0000.jpg
/home/pi/Desktop/images/05012025/06/12/image_05012025_06_12_02_342781_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854430","1326854432","1326854429"],"photo_ids_order":["1326854429","1326854430","1326854432"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c6933bfb0c1d6005250714f964da7d1a.jpg","text":"TemporaryFile(/tmp/multipartBody6024651407989643828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054050710,"filename":"image_05012025_06_12_02_342781_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/31dd483690b1bd452473a0382d90573a.jpg","text":"TemporaryFile(/tmp/multipartBody5278884282599603194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054050710,"filename":"image_05012025_06_12_02_342781_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/06c8dca808478cfa52b2970ec592596a.jpg","text":"TemporaryFile(/tmp/multipartBody7187897169924869294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054050710,"filename":"image_05012025_06_11_02_750327_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854432","file1":"1326854430","file0":"1326854429"},"map_files_photo_id_array":[{"photo_id":"1326854432","filename":"file2"},{"photo_id":"1326854430","filename":"file1"},{"photo_id":"1326854429","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854430":["hashtag1","hashtag2"]},{"1326854432":["hashtag1","hashtag2"]},{"1326854429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854430, 1326854432, 1326854429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.17267060279846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:14:02.251953
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/12/image_05012025_06_12_02_342781_0002.jpg', '/home/pi/Desktop/images/05012025/06/13/image_05012025_06_13_02_911807_0000.jpg', '/home/pi/Desktop/images/05012025/06/13/image_05012025_06_13_02_911807_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/06/12/image_05012025_06_12_02_342781_0002.jpg
/home/pi/Desktop/images/05012025/06/13/image_05012025_06_13_02_911807_0000.jpg
/home/pi/Desktop/images/05012025/06/13/image_05012025_06_13_02_911807_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.504153728485107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:14:21.795598
SELECT 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/06/12/image_05012025_06_12_02_342781_0002.jpg', '/home/pi/Desktop/images/05012025/06/13/image_05012025_06_13_02_911807_0000.jpg', '/home/pi/Desktop/images/05012025/06/13/image_05012025_06_13_02_911807_0002.jpg', '/home/pi/Desktop/images/05012025/06/13/image_05012025_06_13_02_911807_0003.jpg', '/home/pi/Desktop/images/05012025/06/14/image_05012025_06_14_02_547094_0000.jpg', '/home/pi/Desktop/images/05012025/06/14/image_05012025_06_14_02_547094_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/06/12/image_05012025_06_12_02_342781_0002.jpg
/home/pi/Desktop/images/05012025/06/13/image_05012025_06_13_02_911807_0000.jpg
/home/pi/Desktop/images/05012025/06/13/image_05012025_06_13_02_911807_0002.jpg
/home/pi/Desktop/images/05012025/06/13/image_05012025_06_13_02_911807_0003.jpg
/home/pi/Desktop/images/05012025/06/14/image_05012025_06_14_02_547094_0000.jpg
/home/pi/Desktop/images/05012025/06/14/image_05012025_06_14_02_547094_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854470","1326854466","1326854480","1326854477","1326854468","1326854473"],"photo_ids_order":["1326854466","1326854468","1326854470","1326854473","1326854477","1326854480"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1afce45dc7b244be6ebef116f0db5e09.jpg","text":"TemporaryFile(/tmp/multipartBody7220264212806947189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054136931,"filename":"image_05012025_06_13_02_911807_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a2cee5d121d7915d0af5f3471ef1c6f.jpg","text":"TemporaryFile(/tmp/multipartBody7380649325220103461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054136931,"filename":"image_05012025_06_12_02_342781_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/457b960fceac78c5df1e346a6cd761d4.jpg","text":"TemporaryFile(/tmp/multipartBody386069612037686311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054136931,"filename":"image_05012025_06_14_02_547094_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c9db955978b05225fad027acbe3a67aa.jpg","text":"TemporaryFile(/tmp/multipartBody1996590179969518315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054136931,"filename":"image_05012025_06_14_02_547094_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e27102615ce73947bf63f37348d399bf.jpg","text":"TemporaryFile(/tmp/multipartBody2707488749872088880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054136931,"filename":"image_05012025_06_13_02_911807_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5ea8b7267869e82ca1bd850442d0d2a8.jpg","text":"TemporaryFile(/tmp/multipartBody7769979040620207835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054136931,"filename":"image_05012025_06_13_02_911807_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854470","file1":"1326854468","file0":"1326854466","file4":"1326854477","file5":"1326854480","file3":"1326854473"},"map_files_photo_id_array":[{"photo_id":"1326854480","filename":"file5"},{"photo_id":"1326854470","filename":"file2"},{"photo_id":"1326854477","filename":"file4"},{"photo_id":"1326854468","filename":"file1"},{"photo_id":"1326854466","filename":"file0"},{"photo_id":"1326854473","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854470":["hashtag1","hashtag2"]},{"1326854466":["hashtag1","hashtag2"]},{"1326854480":["hashtag1","hashtag2"]},{"1326854477":["hashtag1","hashtag2"]},{"1326854468":["hashtag1","hashtag2"]},{"1326854473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854470, 1326854466, 1326854480, 1326854477, 1326854468, 1326854473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.63212251663208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:15:22.324434
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/14/image_05012025_06_14_02_547094_0002.jpg', '/home/pi/Desktop/images/05012025/06/14/image_05012025_06_14_02_547094_0003.jpg', '/home/pi/Desktop/images/05012025/06/15/image_05012025_06_15_02_152001_0000.jpg', '/home/pi/Desktop/images/05012025/06/15/image_05012025_06_15_02_152001_0001.jpg', '/home/pi/Desktop/images/05012025/06/15/image_05012025_06_15_02_152001_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/06/14/image_05012025_06_14_02_547094_0002.jpg
/home/pi/Desktop/images/05012025/06/14/image_05012025_06_14_02_547094_0003.jpg
/home/pi/Desktop/images/05012025/06/15/image_05012025_06_15_02_152001_0000.jpg
/home/pi/Desktop/images/05012025/06/15/image_05012025_06_15_02_152001_0001.jpg
/home/pi/Desktop/images/05012025/06/15/image_05012025_06_15_02_152001_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854509","1326854502","1326854486","1326854491","1326854494"],"photo_ids_order":["1326854486","1326854491","1326854494","1326854502","1326854509"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/633fe36fcf7b082868ef03396a826ea3.jpg","text":"TemporaryFile(/tmp/multipartBody289063194710352122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054195213,"filename":"image_05012025_06_15_02_152001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/79674b8475e46e3701f34a4c26c35903.jpg","text":"TemporaryFile(/tmp/multipartBody9024041482502852821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054195213,"filename":"image_05012025_06_15_02_152001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4fddefec10ac81582cdd9472ffc97246.jpg","text":"TemporaryFile(/tmp/multipartBody3894782249607353412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054195213,"filename":"image_05012025_06_14_02_547094_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b8fa246e22bc07f60660aa12446a1aa0.jpg","text":"TemporaryFile(/tmp/multipartBody5820534375653045925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054195213,"filename":"image_05012025_06_14_02_547094_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/03b045c61754755db50a11e74b3e9381.jpg","text":"TemporaryFile(/tmp/multipartBody4020237573697317681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054195213,"filename":"image_05012025_06_15_02_152001_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854494","file1":"1326854491","file0":"1326854486","file4":"1326854509","file3":"1326854502"},"map_files_photo_id_array":[{"photo_id":"1326854494","filename":"file2"},{"photo_id":"1326854509","filename":"file4"},{"photo_id":"1326854491","filename":"file1"},{"photo_id":"1326854486","filename":"file0"},{"photo_id":"1326854502","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854509":["hashtag1","hashtag2"]},{"1326854502":["hashtag1","hashtag2"]},{"1326854486":["hashtag1","hashtag2"]},{"1326854491":["hashtag1","hashtag2"]},{"1326854494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854509, 1326854502, 1326854486, 1326854491, 1326854494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.35961079597473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:16:21.822086
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/15/image_05012025_06_15_02_152001_0003.jpg', '/home/pi/Desktop/images/05012025/06/16/image_05012025_06_16_02_670457_0000.jpg', '/home/pi/Desktop/images/05012025/06/16/image_05012025_06_16_02_670457_0001.jpg', '/home/pi/Desktop/images/05012025/06/16/image_05012025_06_16_02_670457_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/06/15/image_05012025_06_15_02_152001_0003.jpg
/home/pi/Desktop/images/05012025/06/16/image_05012025_06_16_02_670457_0000.jpg
/home/pi/Desktop/images/05012025/06/16/image_05012025_06_16_02_670457_0001.jpg
/home/pi/Desktop/images/05012025/06/16/image_05012025_06_16_02_670457_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854539","1326854541","1326854543","1326854546"],"photo_ids_order":["1326854539","1326854541","1326854543","1326854546"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/972764c6f89f355864e18a57fba1d4f0.jpg","text":"TemporaryFile(/tmp/multipartBody7048296401420684446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054252241,"filename":"image_05012025_06_15_02_152001_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9cff5f29439abbf0d2df0de5ef60fa26.jpg","text":"TemporaryFile(/tmp/multipartBody1649479727941005352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054252241,"filename":"image_05012025_06_16_02_670457_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/36c8297b2c9bd6bcc74271d5a57276e1.jpg","text":"TemporaryFile(/tmp/multipartBody4543028744233833876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054252241,"filename":"image_05012025_06_16_02_670457_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/82f3aff0a138397764f7ea39f9706073.jpg","text":"TemporaryFile(/tmp/multipartBody5994444252472242135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054252241,"filename":"image_05012025_06_16_02_670457_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854543","file1":"1326854541","file0":"1326854539","file3":"1326854546"},"map_files_photo_id_array":[{"photo_id":"1326854543","filename":"file2"},{"photo_id":"1326854541","filename":"file1"},{"photo_id":"1326854539","filename":"file0"},{"photo_id":"1326854546","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854539":["hashtag1","hashtag2"]},{"1326854541":["hashtag1","hashtag2"]},{"1326854543":["hashtag1","hashtag2"]},{"1326854546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854539, 1326854541, 1326854543, 1326854546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.4553644657135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:17:02.881489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:17:22.277353
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/16/image_05012025_06_16_02_670457_0003.jpg', '/home/pi/Desktop/images/05012025/06/17/image_05012025_06_17_02_154413_0000.jpg', '/home/pi/Desktop/images/05012025/06/17/image_05012025_06_17_02_154413_0001.jpg', '/home/pi/Desktop/images/05012025/06/17/image_05012025_06_17_02_154413_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/06/16/image_05012025_06_16_02_670457_0003.jpg
/home/pi/Desktop/images/05012025/06/17/image_05012025_06_17_02_154413_0000.jpg
/home/pi/Desktop/images/05012025/06/17/image_05012025_06_17_02_154413_0001.jpg
/home/pi/Desktop/images/05012025/06/17/image_05012025_06_17_02_154413_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854563","1326854559","1326854556","1326854561"],"photo_ids_order":["1326854556","1326854559","1326854561","1326854563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b4fd864f3d520f50459571bbd6e289ab.jpg","text":"TemporaryFile(/tmp/multipartBody5331394907952305418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054312577,"filename":"image_05012025_06_17_02_154413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a3325a46ea21d223983300f5ca08c13b.jpg","text":"TemporaryFile(/tmp/multipartBody4191548271053263623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054312577,"filename":"image_05012025_06_17_02_154413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2037ef6c28cdc621e30dc2e63c3226d5.jpg","text":"TemporaryFile(/tmp/multipartBody3110608929804969088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054312577,"filename":"image_05012025_06_16_02_670457_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e0558aad343bb27f965440d2ab8bb72e.jpg","text":"TemporaryFile(/tmp/multipartBody6347687061472323675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054312577,"filename":"image_05012025_06_17_02_154413_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854561","file1":"1326854559","file0":"1326854556","file3":"1326854563"},"map_files_photo_id_array":[{"photo_id":"1326854561","filename":"file2"},{"photo_id":"1326854559","filename":"file1"},{"photo_id":"1326854556","filename":"file0"},{"photo_id":"1326854563","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854563":["hashtag1","hashtag2"]},{"1326854559":["hashtag1","hashtag2"]},{"1326854556":["hashtag1","hashtag2"]},{"1326854561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854563, 1326854559, 1326854556, 1326854561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.82734489440918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:18:02.339804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:18:21.893896
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/17/image_05012025_06_17_02_154413_0003.jpg', '/home/pi/Desktop/images/05012025/06/18/image_05012025_06_18_02_660474_0000.jpg', '/home/pi/Desktop/images/05012025/06/18/image_05012025_06_18_02_660474_0001.jpg', '/home/pi/Desktop/images/05012025/06/18/image_05012025_06_18_02_660474_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/06/17/image_05012025_06_17_02_154413_0003.jpg
/home/pi/Desktop/images/05012025/06/18/image_05012025_06_18_02_660474_0000.jpg
/home/pi/Desktop/images/05012025/06/18/image_05012025_06_18_02_660474_0001.jpg
/home/pi/Desktop/images/05012025/06/18/image_05012025_06_18_02_660474_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854579","1326854570","1326854587","1326854572"],"photo_ids_order":["1326854570","1326854572","1326854579","1326854587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c7a2be846f2403fb2c3b992d092d2027.jpg","text":"TemporaryFile(/tmp/multipartBody6926715665818331106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054372226,"filename":"image_05012025_06_18_02_660474_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/00233c8a61c1349a56dad086c6cbca51.jpg","text":"TemporaryFile(/tmp/multipartBody5858993072501534166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054372226,"filename":"image_05012025_06_17_02_154413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f5750b69c3e5250e4bfb01fffe716a46.jpg","text":"TemporaryFile(/tmp/multipartBody457486806650867257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054372226,"filename":"image_05012025_06_18_02_660474_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4e9a853412daab12066ac22006055992.jpg","text":"TemporaryFile(/tmp/multipartBody4896298637146441171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054372226,"filename":"image_05012025_06_18_02_660474_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854579","file1":"1326854572","file0":"1326854570","file3":"1326854587"},"map_files_photo_id_array":[{"photo_id":"1326854579","filename":"file2"},{"photo_id":"1326854572","filename":"file1"},{"photo_id":"1326854570","filename":"file0"},{"photo_id":"1326854587","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854579":["hashtag1","hashtag2"]},{"1326854570":["hashtag1","hashtag2"]},{"1326854587":["hashtag1","hashtag2"]},{"1326854572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854579, 1326854570, 1326854587, 1326854572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.350398540496826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:19:02.897283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:19:22.344866
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/18/image_05012025_06_18_02_660474_0003.jpg', '/home/pi/Desktop/images/05012025/06/19/image_05012025_06_19_02_288308_0000.jpg', '/home/pi/Desktop/images/05012025/06/19/image_05012025_06_19_02_288308_0001.jpg', '/home/pi/Desktop/images/05012025/06/19/image_05012025_06_19_02_288308_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/06/18/image_05012025_06_18_02_660474_0003.jpg
/home/pi/Desktop/images/05012025/06/19/image_05012025_06_19_02_288308_0000.jpg
/home/pi/Desktop/images/05012025/06/19/image_05012025_06_19_02_288308_0001.jpg
/home/pi/Desktop/images/05012025/06/19/image_05012025_06_19_02_288308_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854623","1326854621","1326854615","1326854618"],"photo_ids_order":["1326854615","1326854618","1326854621","1326854623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3c9886cda1f9e48ecfbd8426b2639cbb.jpg","text":"TemporaryFile(/tmp/multipartBody1412404744800052416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054432667,"filename":"image_05012025_06_19_02_288308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/69bd4be938a88e9cf4522e3115f1e9b9.jpg","text":"TemporaryFile(/tmp/multipartBody8280856582023177566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054432667,"filename":"image_05012025_06_19_02_288308_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/16d8af23321e04c1c9e8cb334c4564d7.jpg","text":"TemporaryFile(/tmp/multipartBody8994567382184637884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054432667,"filename":"image_05012025_06_18_02_660474_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3869c97499a5b58a7d41bb98f4ac6310.jpg","text":"TemporaryFile(/tmp/multipartBody1277009069400060151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054432667,"filename":"image_05012025_06_19_02_288308_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854621","file1":"1326854618","file0":"1326854615","file3":"1326854623"},"map_files_photo_id_array":[{"photo_id":"1326854621","filename":"file2"},{"photo_id":"1326854618","filename":"file1"},{"photo_id":"1326854615","filename":"file0"},{"photo_id":"1326854623","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854623":["hashtag1","hashtag2"]},{"1326854621":["hashtag1","hashtag2"]},{"1326854615":["hashtag1","hashtag2"]},{"1326854618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854623, 1326854621, 1326854615, 1326854618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.275107622146606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:20:22.289743
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/19/image_05012025_06_19_02_288308_0003.jpg', '/home/pi/Desktop/images/05012025/06/20/image_05012025_06_20_02_743535_0000.jpg', '/home/pi/Desktop/images/05012025/06/20/image_05012025_06_20_02_743535_0001.jpg', '/home/pi/Desktop/images/05012025/06/20/image_05012025_06_20_02_743535_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/06/19/image_05012025_06_19_02_288308_0003.jpg
/home/pi/Desktop/images/05012025/06/20/image_05012025_06_20_02_743535_0000.jpg
/home/pi/Desktop/images/05012025/06/20/image_05012025_06_20_02_743535_0001.jpg
/home/pi/Desktop/images/05012025/06/20/image_05012025_06_20_02_743535_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.935544490814209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:21:02.424681
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/19/image_05012025_06_19_02_288308_0003.jpg', '/home/pi/Desktop/images/05012025/06/20/image_05012025_06_20_02_743535_0000.jpg', '/home/pi/Desktop/images/05012025/06/20/image_05012025_06_20_02_743535_0001.jpg', '/home/pi/Desktop/images/05012025/06/20/image_05012025_06_20_02_743535_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/06/19/image_05012025_06_19_02_288308_0003.jpg
/home/pi/Desktop/images/05012025/06/20/image_05012025_06_20_02_743535_0000.jpg
/home/pi/Desktop/images/05012025/06/20/image_05012025_06_20_02_743535_0001.jpg
/home/pi/Desktop/images/05012025/06/20/image_05012025_06_20_02_743535_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854641","1326854644","1326854638","1326854639"],"photo_ids_order":["1326854638","1326854639","1326854641","1326854644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5e97d7ce18105e07953b7d381bd8c73a.jpg","text":"TemporaryFile(/tmp/multipartBody2033254958946493401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054532825,"filename":"image_05012025_06_20_02_743535_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/49a84993505327f6169b17a000847b83.jpg","text":"TemporaryFile(/tmp/multipartBody5424985874695941431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054532825,"filename":"image_05012025_06_20_02_743535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/12da0c580082e922885f32035d6b6751.jpg","text":"TemporaryFile(/tmp/multipartBody1182037904573727294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054532825,"filename":"image_05012025_06_19_02_288308_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62af70f527e0882f16aed36202ca5da1.jpg","text":"TemporaryFile(/tmp/multipartBody6832901566988300310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054532825,"filename":"image_05012025_06_20_02_743535_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854641","file1":"1326854639","file0":"1326854638","file3":"1326854644"},"map_files_photo_id_array":[{"photo_id":"1326854641","filename":"file2"},{"photo_id":"1326854639","filename":"file1"},{"photo_id":"1326854638","filename":"file0"},{"photo_id":"1326854644","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854641":["hashtag1","hashtag2"]},{"1326854644":["hashtag1","hashtag2"]},{"1326854638":["hashtag1","hashtag2"]},{"1326854639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854641, 1326854644, 1326854638, 1326854639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.0274338722229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:22:02.725099
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/20/image_05012025_06_20_02_743535_0003.jpg', '/home/pi/Desktop/images/05012025/06/21/image_05012025_06_21_02_629588_0000.jpg', '/home/pi/Desktop/images/05012025/06/21/image_05012025_06_21_02_629588_0001.jpg', '/home/pi/Desktop/images/05012025/06/21/image_05012025_06_21_02_629588_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/06/20/image_05012025_06_20_02_743535_0003.jpg
/home/pi/Desktop/images/05012025/06/21/image_05012025_06_21_02_629588_0000.jpg
/home/pi/Desktop/images/05012025/06/21/image_05012025_06_21_02_629588_0001.jpg
/home/pi/Desktop/images/05012025/06/21/image_05012025_06_21_02_629588_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.094985723495483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:22:22.385754
SELECT 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/06/20/image_05012025_06_20_02_743535_0003.jpg', '/home/pi/Desktop/images/05012025/06/21/image_05012025_06_21_02_629588_0000.jpg', '/home/pi/Desktop/images/05012025/06/21/image_05012025_06_21_02_629588_0001.jpg', '/home/pi/Desktop/images/05012025/06/21/image_05012025_06_21_02_629588_0002.jpg', '/home/pi/Desktop/images/05012025/06/21/image_05012025_06_21_02_629588_0003.jpg', '/home/pi/Desktop/images/05012025/06/22/image_05012025_06_22_02_192576_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/06/20/image_05012025_06_20_02_743535_0003.jpg
/home/pi/Desktop/images/05012025/06/21/image_05012025_06_21_02_629588_0000.jpg
/home/pi/Desktop/images/05012025/06/21/image_05012025_06_21_02_629588_0001.jpg
/home/pi/Desktop/images/05012025/06/21/image_05012025_06_21_02_629588_0002.jpg
/home/pi/Desktop/images/05012025/06/21/image_05012025_06_21_02_629588_0003.jpg
/home/pi/Desktop/images/05012025/06/22/image_05012025_06_22_02_192576_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854722","1326854716","1326854724","1326854718","1326854720","1326854714"],"photo_ids_order":["1326854714","1326854716","1326854718","1326854720","1326854722","1326854724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b78199542d618e801c19e81e9587a7c9.jpg","text":"TemporaryFile(/tmp/multipartBody2873160865478818560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054617756,"filename":"image_05012025_06_21_02_629588_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f611ff5ae3fdfa33648a0a846767dc82.jpg","text":"TemporaryFile(/tmp/multipartBody6149814225541823385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054617756,"filename":"image_05012025_06_21_02_629588_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b767d892ea78947cb08ff230f213c5e0.jpg","text":"TemporaryFile(/tmp/multipartBody10109987477889435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054617756,"filename":"image_05012025_06_22_02_192576_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f0c81114b12baaf852128e9c0720e338.jpg","text":"TemporaryFile(/tmp/multipartBody2620538613551285693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054617756,"filename":"image_05012025_06_21_02_629588_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5e7c21ab75f43355450efadc78359897.jpg","text":"TemporaryFile(/tmp/multipartBody5505497700811912471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054617756,"filename":"image_05012025_06_21_02_629588_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c3463778565c155d8419f623d90aa132.jpg","text":"TemporaryFile(/tmp/multipartBody7688654571891940836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054617756,"filename":"image_05012025_06_20_02_743535_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854718","file1":"1326854716","file0":"1326854714","file4":"1326854722","file5":"1326854724","file3":"1326854720"},"map_files_photo_id_array":[{"photo_id":"1326854724","filename":"file5"},{"photo_id":"1326854718","filename":"file2"},{"photo_id":"1326854722","filename":"file4"},{"photo_id":"1326854716","filename":"file1"},{"photo_id":"1326854714","filename":"file0"},{"photo_id":"1326854720","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854722":["hashtag1","hashtag2"]},{"1326854716":["hashtag1","hashtag2"]},{"1326854724":["hashtag1","hashtag2"]},{"1326854718":["hashtag1","hashtag2"]},{"1326854720":["hashtag1","hashtag2"]},{"1326854714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854722, 1326854716, 1326854724, 1326854718, 1326854720, 1326854714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.207730770111084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:23:22.013624
SELECT 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/06/22/image_05012025_06_22_02_192576_0001.jpg', '/home/pi/Desktop/images/05012025/06/22/image_05012025_06_22_02_192576_0002.jpg', '/home/pi/Desktop/images/05012025/06/22/image_05012025_06_22_02_192576_0003.jpg', '/home/pi/Desktop/images/05012025/06/23/image_05012025_06_23_02_853903_0000.jpg', '/home/pi/Desktop/images/05012025/06/23/image_05012025_06_23_02_853903_0001.jpg', '/home/pi/Desktop/images/05012025/06/23/image_05012025_06_23_02_853903_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/06/22/image_05012025_06_22_02_192576_0001.jpg
/home/pi/Desktop/images/05012025/06/22/image_05012025_06_22_02_192576_0002.jpg
/home/pi/Desktop/images/05012025/06/22/image_05012025_06_22_02_192576_0003.jpg
/home/pi/Desktop/images/05012025/06/23/image_05012025_06_23_02_853903_0000.jpg
/home/pi/Desktop/images/05012025/06/23/image_05012025_06_23_02_853903_0001.jpg
/home/pi/Desktop/images/05012025/06/23/image_05012025_06_23_02_853903_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854875","1326854869","1326854877","1326854871","1326854879","1326854873"],"photo_ids_order":["1326854869","1326854871","1326854873","1326854875","1326854877","1326854879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/71e1ce6fe5527955c71d8253d98afbc7.jpg","text":"TemporaryFile(/tmp/multipartBody6569661479258429078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054677118,"filename":"image_05012025_06_23_02_853903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2e54177ce1f2d153429d827e49463d95.jpg","text":"TemporaryFile(/tmp/multipartBody2329995505709059616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054677118,"filename":"image_05012025_06_22_02_192576_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3dc73da935322f2b45f80b35b5d5429e.jpg","text":"TemporaryFile(/tmp/multipartBody8854727927731075190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054677118,"filename":"image_05012025_06_23_02_853903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a8998931cc1b32dc5c86706aaa4e2dd3.jpg","text":"TemporaryFile(/tmp/multipartBody4001127761800232978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054677118,"filename":"image_05012025_06_22_02_192576_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b32da88cc36c2137dc783ae2af2c6d5b.jpg","text":"TemporaryFile(/tmp/multipartBody2975431288068525561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054677118,"filename":"image_05012025_06_23_02_853903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/45782df3bc81f5cd67c69647f135f3e1.jpg","text":"TemporaryFile(/tmp/multipartBody4791640671125270497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054677118,"filename":"image_05012025_06_22_02_192576_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854873","file1":"1326854871","file0":"1326854869","file4":"1326854877","file5":"1326854879","file3":"1326854875"},"map_files_photo_id_array":[{"photo_id":"1326854879","filename":"file5"},{"photo_id":"1326854873","filename":"file2"},{"photo_id":"1326854877","filename":"file4"},{"photo_id":"1326854871","filename":"file1"},{"photo_id":"1326854869","filename":"file0"},{"photo_id":"1326854875","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854875":["hashtag1","hashtag2"]},{"1326854869":["hashtag1","hashtag2"]},{"1326854877":["hashtag1","hashtag2"]},{"1326854871":["hashtag1","hashtag2"]},{"1326854879":["hashtag1","hashtag2"]},{"1326854873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854875, 1326854869, 1326854877, 1326854871, 1326854879, 1326854873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.10196304321289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:24:22.516862
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/23/image_05012025_06_23_02_853903_0003.jpg', '/home/pi/Desktop/images/05012025/06/24/image_05012025_06_24_02_403562_0000.jpg', '/home/pi/Desktop/images/05012025/06/24/image_05012025_06_24_02_403562_0001.jpg', '/home/pi/Desktop/images/05012025/06/24/image_05012025_06_24_02_403562_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/06/23/image_05012025_06_23_02_853903_0003.jpg
/home/pi/Desktop/images/05012025/06/24/image_05012025_06_24_02_403562_0000.jpg
/home/pi/Desktop/images/05012025/06/24/image_05012025_06_24_02_403562_0001.jpg
/home/pi/Desktop/images/05012025/06/24/image_05012025_06_24_02_403562_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854895","1326854889","1326854882","1326854884"],"photo_ids_order":["1326854882","1326854884","1326854889","1326854895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/918ed7a5efd757c3a4521602f8df4437.jpg","text":"TemporaryFile(/tmp/multipartBody8167175618170812369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054732877,"filename":"image_05012025_06_24_02_403562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3bd415831c726e14ba9c4f2707ce5e37.jpg","text":"TemporaryFile(/tmp/multipartBody809106105031453444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054732877,"filename":"image_05012025_06_24_02_403562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/48fac60eb0da2202efa406745165ba62.jpg","text":"TemporaryFile(/tmp/multipartBody382706393627032124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054732877,"filename":"image_05012025_06_23_02_853903_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab7298d263e78f6fe80ca851bbb0d171.jpg","text":"TemporaryFile(/tmp/multipartBody5414051605494866748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054732877,"filename":"image_05012025_06_24_02_403562_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854889","file1":"1326854884","file0":"1326854882","file3":"1326854895"},"map_files_photo_id_array":[{"photo_id":"1326854889","filename":"file2"},{"photo_id":"1326854884","filename":"file1"},{"photo_id":"1326854882","filename":"file0"},{"photo_id":"1326854895","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854895":["hashtag1","hashtag2"]},{"1326854889":["hashtag1","hashtag2"]},{"1326854882":["hashtag1","hashtag2"]},{"1326854884":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854895, 1326854889, 1326854882, 1326854884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3533718585968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:25:22.032503
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/24/image_05012025_06_24_02_403562_0003.jpg', '/home/pi/Desktop/images/05012025/06/25/image_05012025_06_25_02_913955_0000.jpg', '/home/pi/Desktop/images/05012025/06/25/image_05012025_06_25_02_913955_0001.jpg', '/home/pi/Desktop/images/05012025/06/25/image_05012025_06_25_02_913955_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/06/24/image_05012025_06_24_02_403562_0003.jpg
/home/pi/Desktop/images/05012025/06/25/image_05012025_06_25_02_913955_0000.jpg
/home/pi/Desktop/images/05012025/06/25/image_05012025_06_25_02_913955_0001.jpg
/home/pi/Desktop/images/05012025/06/25/image_05012025_06_25_02_913955_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854929","1326854925","1326854936","1326854927"],"photo_ids_order":["1326854925","1326854927","1326854929","1326854936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1546861ed60c26bd5f6027b0c0bf7099.jpg","text":"TemporaryFile(/tmp/multipartBody3517293708289406943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054792312,"filename":"image_05012025_06_25_02_913955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce4f4e3d705af255b5613dee2c55811d.jpg","text":"TemporaryFile(/tmp/multipartBody7941299652037641721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054792312,"filename":"image_05012025_06_24_02_403562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3590d031e105cd5c83d073ac058cb71c.jpg","text":"TemporaryFile(/tmp/multipartBody4829217027957025887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054792312,"filename":"image_05012025_06_25_02_913955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3ec72d0ff0529b352e9195c29784f76.jpg","text":"TemporaryFile(/tmp/multipartBody6507238498038633433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054792312,"filename":"image_05012025_06_25_02_913955_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854929","file1":"1326854927","file0":"1326854925","file3":"1326854936"},"map_files_photo_id_array":[{"photo_id":"1326854929","filename":"file2"},{"photo_id":"1326854927","filename":"file1"},{"photo_id":"1326854925","filename":"file0"},{"photo_id":"1326854936","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854929":["hashtag1","hashtag2"]},{"1326854925":["hashtag1","hashtag2"]},{"1326854936":["hashtag1","hashtag2"]},{"1326854927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854929, 1326854925, 1326854936, 1326854927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.91048240661621 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:26:22.553854
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/25/image_05012025_06_25_02_913955_0003.jpg', '/home/pi/Desktop/images/05012025/06/26/image_05012025_06_26_02_374676_0000.jpg', '/home/pi/Desktop/images/05012025/06/26/image_05012025_06_26_02_374676_0001.jpg', '/home/pi/Desktop/images/05012025/06/26/image_05012025_06_26_02_374676_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/06/25/image_05012025_06_25_02_913955_0003.jpg
/home/pi/Desktop/images/05012025/06/26/image_05012025_06_26_02_374676_0000.jpg
/home/pi/Desktop/images/05012025/06/26/image_05012025_06_26_02_374676_0001.jpg
/home/pi/Desktop/images/05012025/06/26/image_05012025_06_26_02_374676_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.971054792404175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:27:02.682256
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/25/image_05012025_06_25_02_913955_0003.jpg', '/home/pi/Desktop/images/05012025/06/26/image_05012025_06_26_02_374676_0000.jpg', '/home/pi/Desktop/images/05012025/06/26/image_05012025_06_26_02_374676_0001.jpg', '/home/pi/Desktop/images/05012025/06/26/image_05012025_06_26_02_374676_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/06/25/image_05012025_06_25_02_913955_0003.jpg
/home/pi/Desktop/images/05012025/06/26/image_05012025_06_26_02_374676_0000.jpg
/home/pi/Desktop/images/05012025/06/26/image_05012025_06_26_02_374676_0001.jpg
/home/pi/Desktop/images/05012025/06/26/image_05012025_06_26_02_374676_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326854959","1326854955","1326854954","1326854957"],"photo_ids_order":["1326854954","1326854955","1326854957","1326854959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e52bc2ac4e34276a2f7cbcfee395df6f.jpg","text":"TemporaryFile(/tmp/multipartBody8056562627163550943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054893087,"filename":"image_05012025_06_26_02_374676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/db36dc0a5b12476bf70671a54d6c2bb7.jpg","text":"TemporaryFile(/tmp/multipartBody549426397514539153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054893087,"filename":"image_05012025_06_26_02_374676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c4a4f0c75b950043efea08bd2db0e4e1.jpg","text":"TemporaryFile(/tmp/multipartBody6556271646231407173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054893087,"filename":"image_05012025_06_25_02_913955_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ca877922bc8a8d697fcec2190fa2db06.jpg","text":"TemporaryFile(/tmp/multipartBody1267531282509115462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054893087,"filename":"image_05012025_06_26_02_374676_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326854957","file1":"1326854955","file0":"1326854954","file3":"1326854959"},"map_files_photo_id_array":[{"photo_id":"1326854957","filename":"file2"},{"photo_id":"1326854955","filename":"file1"},{"photo_id":"1326854954","filename":"file0"},{"photo_id":"1326854959","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326854959":["hashtag1","hashtag2"]},{"1326854955":["hashtag1","hashtag2"]},{"1326854954":["hashtag1","hashtag2"]},{"1326854957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326854959, 1326854955, 1326854954, 1326854957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26897668838501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:28:03.004441
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/26/image_05012025_06_26_02_374676_0003.jpg', '/home/pi/Desktop/images/05012025/06/27/image_05012025_06_27_02_890916_0000.jpg', '/home/pi/Desktop/images/05012025/06/27/image_05012025_06_27_02_890916_0001.jpg', '/home/pi/Desktop/images/05012025/06/27/image_05012025_06_27_02_890916_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/06/26/image_05012025_06_26_02_374676_0003.jpg
/home/pi/Desktop/images/05012025/06/27/image_05012025_06_27_02_890916_0000.jpg
/home/pi/Desktop/images/05012025/06/27/image_05012025_06_27_02_890916_0001.jpg
/home/pi/Desktop/images/05012025/06/27/image_05012025_06_27_02_890916_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.960590124130249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:28:22.639918
SELECT 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/06/26/image_05012025_06_26_02_374676_0003.jpg', '/home/pi/Desktop/images/05012025/06/27/image_05012025_06_27_02_890916_0000.jpg', '/home/pi/Desktop/images/05012025/06/27/image_05012025_06_27_02_890916_0001.jpg', '/home/pi/Desktop/images/05012025/06/27/image_05012025_06_27_02_890916_0002.jpg', '/home/pi/Desktop/images/05012025/06/27/image_05012025_06_27_02_890916_0003.jpg', '/home/pi/Desktop/images/05012025/06/28/image_05012025_06_28_02_381244_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/06/26/image_05012025_06_26_02_374676_0003.jpg
/home/pi/Desktop/images/05012025/06/27/image_05012025_06_27_02_890916_0000.jpg
/home/pi/Desktop/images/05012025/06/27/image_05012025_06_27_02_890916_0001.jpg
/home/pi/Desktop/images/05012025/06/27/image_05012025_06_27_02_890916_0002.jpg
/home/pi/Desktop/images/05012025/06/27/image_05012025_06_27_02_890916_0003.jpg
/home/pi/Desktop/images/05012025/06/28/image_05012025_06_28_02_381244_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855054","1326855062","1326855056","1326855050","1326855058","1326855052"],"photo_ids_order":["1326855050","1326855052","1326855054","1326855056","1326855058","1326855062"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a95f0a45f40e089f39bac1e1d14a597b.jpg","text":"TemporaryFile(/tmp/multipartBody8138288995976715756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054977855,"filename":"image_05012025_06_27_02_890916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f71cfea28d5be76e20d818872c8ae3d.jpg","text":"TemporaryFile(/tmp/multipartBody4294366131373195976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054977855,"filename":"image_05012025_06_28_02_381244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/00c1af1db763ab51a7b412b481555db6.jpg","text":"TemporaryFile(/tmp/multipartBody9213052479385740245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054977855,"filename":"image_05012025_06_27_02_890916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1a5fac41a6afa15b812d990d2d1bb5a5.jpg","text":"TemporaryFile(/tmp/multipartBody8236414476040684702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054977855,"filename":"image_05012025_06_26_02_374676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4514089e2ce9ace5878ad8f53bb1c14f.jpg","text":"TemporaryFile(/tmp/multipartBody9021144173358148453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054977855,"filename":"image_05012025_06_27_02_890916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f522888b1a5a64657384b3cadd9a78cf.jpg","text":"TemporaryFile(/tmp/multipartBody3598392673716780041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736054977855,"filename":"image_05012025_06_27_02_890916_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855054","file1":"1326855052","file0":"1326855050","file4":"1326855058","file5":"1326855062","file3":"1326855056"},"map_files_photo_id_array":[{"photo_id":"1326855062","filename":"file5"},{"photo_id":"1326855054","filename":"file2"},{"photo_id":"1326855058","filename":"file4"},{"photo_id":"1326855052","filename":"file1"},{"photo_id":"1326855050","filename":"file0"},{"photo_id":"1326855056","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855054":["hashtag1","hashtag2"]},{"1326855062":["hashtag1","hashtag2"]},{"1326855056":["hashtag1","hashtag2"]},{"1326855050":["hashtag1","hashtag2"]},{"1326855058":["hashtag1","hashtag2"]},{"1326855052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855054, 1326855062, 1326855056, 1326855050, 1326855058, 1326855052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.72329926490784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:29:22.192748
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/28/image_05012025_06_28_02_381244_0002.jpg', '/home/pi/Desktop/images/05012025/06/28/image_05012025_06_28_02_381244_0003.jpg', '/home/pi/Desktop/images/05012025/06/29/image_05012025_06_29_03_071984_0000.jpg', '/home/pi/Desktop/images/05012025/06/29/image_05012025_06_29_03_071984_0001.jpg', '/home/pi/Desktop/images/05012025/06/29/image_05012025_06_29_03_071984_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/06/28/image_05012025_06_28_02_381244_0002.jpg
/home/pi/Desktop/images/05012025/06/28/image_05012025_06_28_02_381244_0003.jpg
/home/pi/Desktop/images/05012025/06/29/image_05012025_06_29_03_071984_0000.jpg
/home/pi/Desktop/images/05012025/06/29/image_05012025_06_29_03_071984_0001.jpg
/home/pi/Desktop/images/05012025/06/29/image_05012025_06_29_03_071984_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855081","1326855078","1326855083","1326855076","1326855073"],"photo_ids_order":["1326855073","1326855076","1326855078","1326855081","1326855083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d2548fea00535996c0e73e030c4dcf23.jpg","text":"TemporaryFile(/tmp/multipartBody2515711485086322846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055034979,"filename":"image_05012025_06_29_03_071984_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/73ff67c69a91abb62ae1e9010dd895c1.jpg","text":"TemporaryFile(/tmp/multipartBody3497365532913411638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055034979,"filename":"image_05012025_06_29_03_071984_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b9ca90c1824674747f1132baeb65c00.jpg","text":"TemporaryFile(/tmp/multipartBody8549954700071486275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055034979,"filename":"image_05012025_06_29_03_071984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f5599a31789958269c94929ad752c0a5.jpg","text":"TemporaryFile(/tmp/multipartBody2573426471288277909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055034979,"filename":"image_05012025_06_28_02_381244_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d06cb55218fbc09743f561e957063ea9.jpg","text":"TemporaryFile(/tmp/multipartBody571314068346553104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055034979,"filename":"image_05012025_06_28_02_381244_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855078","file1":"1326855076","file0":"1326855073","file4":"1326855083","file3":"1326855081"},"map_files_photo_id_array":[{"photo_id":"1326855078","filename":"file2"},{"photo_id":"1326855083","filename":"file4"},{"photo_id":"1326855076","filename":"file1"},{"photo_id":"1326855073","filename":"file0"},{"photo_id":"1326855081","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855081":["hashtag1","hashtag2"]},{"1326855078":["hashtag1","hashtag2"]},{"1326855083":["hashtag1","hashtag2"]},{"1326855076":["hashtag1","hashtag2"]},{"1326855073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855081, 1326855078, 1326855083, 1326855076, 1326855073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.63188314437866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:30:22.768668
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/29/image_05012025_06_29_03_071984_0003.jpg', '/home/pi/Desktop/images/05012025/06/30/image_05012025_06_30_02_601310_0000.jpg', '/home/pi/Desktop/images/05012025/06/30/image_05012025_06_30_02_601310_0001.jpg', '/home/pi/Desktop/images/05012025/06/30/image_05012025_06_30_02_601310_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/06/29/image_05012025_06_29_03_071984_0003.jpg
/home/pi/Desktop/images/05012025/06/30/image_05012025_06_30_02_601310_0000.jpg
/home/pi/Desktop/images/05012025/06/30/image_05012025_06_30_02_601310_0001.jpg
/home/pi/Desktop/images/05012025/06/30/image_05012025_06_30_02_601310_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855093","1326855096","1326855117","1326855110"],"photo_ids_order":["1326855093","1326855096","1326855110","1326855117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ed01042b50004336ca4782aa7815ad51.jpg","text":"TemporaryFile(/tmp/multipartBody463223238045790758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055093084,"filename":"image_05012025_06_29_03_071984_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/28b1075afdf803a4c9cd03bc2891a93f.jpg","text":"TemporaryFile(/tmp/multipartBody742253151894638593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055093084,"filename":"image_05012025_06_30_02_601310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c6c87f5015d8b67336758efd51828d11.jpg","text":"TemporaryFile(/tmp/multipartBody5407030927300332829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055093084,"filename":"image_05012025_06_30_02_601310_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1670405ca726fe879dc711f113f2af43.jpg","text":"TemporaryFile(/tmp/multipartBody440218056668892874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055093084,"filename":"image_05012025_06_30_02_601310_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855110","file1":"1326855096","file0":"1326855093","file3":"1326855117"},"map_files_photo_id_array":[{"photo_id":"1326855110","filename":"file2"},{"photo_id":"1326855096","filename":"file1"},{"photo_id":"1326855093","filename":"file0"},{"photo_id":"1326855117","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855093":["hashtag1","hashtag2"]},{"1326855096":["hashtag1","hashtag2"]},{"1326855117":["hashtag1","hashtag2"]},{"1326855110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855093, 1326855096, 1326855117, 1326855110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.79228687286377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:31:22.353970
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/30/image_05012025_06_30_02_601310_0003.jpg', '/home/pi/Desktop/images/05012025/06/31/image_05012025_06_31_03_167251_0000.jpg', '/home/pi/Desktop/images/05012025/06/31/image_05012025_06_31_03_167251_0001.jpg', '/home/pi/Desktop/images/05012025/06/31/image_05012025_06_31_03_167251_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/06/30/image_05012025_06_30_02_601310_0003.jpg
/home/pi/Desktop/images/05012025/06/31/image_05012025_06_31_03_167251_0000.jpg
/home/pi/Desktop/images/05012025/06/31/image_05012025_06_31_03_167251_0001.jpg
/home/pi/Desktop/images/05012025/06/31/image_05012025_06_31_03_167251_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855154","1326855156","1326855152","1326855149"],"photo_ids_order":["1326855149","1326855152","1326855154","1326855156"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9472fcad9778fd67d8b8614ac5e2d34.jpg","text":"TemporaryFile(/tmp/multipartBody7529834659368374246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055152760,"filename":"image_05012025_06_31_03_167251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f7d16582276cd5fbe343a74e5ba3497.jpg","text":"TemporaryFile(/tmp/multipartBody56320943635665572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055152760,"filename":"image_05012025_06_31_03_167251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/86a6a819a22a2e5d6b15576fd000f007.jpg","text":"TemporaryFile(/tmp/multipartBody894005869974153676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055152760,"filename":"image_05012025_06_31_03_167251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eacdd1f32f6fe7cc1e8438cdf417ae48.jpg","text":"TemporaryFile(/tmp/multipartBody1558466663552073236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055152760,"filename":"image_05012025_06_30_02_601310_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855154","file1":"1326855152","file0":"1326855149","file3":"1326855156"},"map_files_photo_id_array":[{"photo_id":"1326855154","filename":"file2"},{"photo_id":"1326855152","filename":"file1"},{"photo_id":"1326855149","filename":"file0"},{"photo_id":"1326855156","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855154":["hashtag1","hashtag2"]},{"1326855156":["hashtag1","hashtag2"]},{"1326855152":["hashtag1","hashtag2"]},{"1326855149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855154, 1326855156, 1326855152, 1326855149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.35763716697693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:32:21.841294
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/31/image_05012025_06_31_03_167251_0003.jpg', '/home/pi/Desktop/images/05012025/06/32/image_05012025_06_32_02_710333_0000.jpg', '/home/pi/Desktop/images/05012025/06/32/image_05012025_06_32_02_710333_0001.jpg', '/home/pi/Desktop/images/05012025/06/32/image_05012025_06_32_02_710333_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/06/31/image_05012025_06_31_03_167251_0003.jpg
/home/pi/Desktop/images/05012025/06/32/image_05012025_06_32_02_710333_0000.jpg
/home/pi/Desktop/images/05012025/06/32/image_05012025_06_32_02_710333_0001.jpg
/home/pi/Desktop/images/05012025/06/32/image_05012025_06_32_02_710333_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.906047105789185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:33:03.004680
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/31/image_05012025_06_31_03_167251_0003.jpg', '/home/pi/Desktop/images/05012025/06/32/image_05012025_06_32_02_710333_0000.jpg', '/home/pi/Desktop/images/05012025/06/32/image_05012025_06_32_02_710333_0001.jpg', '/home/pi/Desktop/images/05012025/06/32/image_05012025_06_32_02_710333_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/06/31/image_05012025_06_31_03_167251_0003.jpg
/home/pi/Desktop/images/05012025/06/32/image_05012025_06_32_02_710333_0000.jpg
/home/pi/Desktop/images/05012025/06/32/image_05012025_06_32_02_710333_0001.jpg
/home/pi/Desktop/images/05012025/06/32/image_05012025_06_32_02_710333_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855183","1326855179","1326855181","1326855178"],"photo_ids_order":["1326855178","1326855179","1326855181","1326855183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a1f03d03d8020efecacea9dc2a24c1f8.jpg","text":"TemporaryFile(/tmp/multipartBody527577715577251858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055253379,"filename":"image_05012025_06_32_02_710333_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a9a43fd522538cdfa94c2c325dd805e.jpg","text":"TemporaryFile(/tmp/multipartBody6536439512833588524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055253379,"filename":"image_05012025_06_32_02_710333_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/57bcd9d0b34fdbe736a495efab8847ee.jpg","text":"TemporaryFile(/tmp/multipartBody4836745210254759020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055253379,"filename":"image_05012025_06_32_02_710333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8aa64cb1fe165bbd2aa159251c114d94.jpg","text":"TemporaryFile(/tmp/multipartBody8742409646746874216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055253379,"filename":"image_05012025_06_31_03_167251_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855181","file1":"1326855179","file0":"1326855178","file3":"1326855183"},"map_files_photo_id_array":[{"photo_id":"1326855181","filename":"file2"},{"photo_id":"1326855179","filename":"file1"},{"photo_id":"1326855178","filename":"file0"},{"photo_id":"1326855183","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855183":["hashtag1","hashtag2"]},{"1326855179":["hashtag1","hashtag2"]},{"1326855181":["hashtag1","hashtag2"]},{"1326855178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855183, 1326855179, 1326855181, 1326855178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.02978801727295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:34:02.480640
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/32/image_05012025_06_32_02_710333_0003.jpg', '/home/pi/Desktop/images/05012025/06/33/image_05012025_06_33_02_255362_0000.jpg', '/home/pi/Desktop/images/05012025/06/33/image_05012025_06_33_02_255362_0001.jpg', '/home/pi/Desktop/images/05012025/06/33/image_05012025_06_33_02_255362_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/06/32/image_05012025_06_32_02_710333_0003.jpg
/home/pi/Desktop/images/05012025/06/33/image_05012025_06_33_02_255362_0000.jpg
/home/pi/Desktop/images/05012025/06/33/image_05012025_06_33_02_255362_0001.jpg
/home/pi/Desktop/images/05012025/06/33/image_05012025_06_33_02_255362_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.905065298080444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:34:21.972218
SELECT 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/06/32/image_05012025_06_32_02_710333_0003.jpg', '/home/pi/Desktop/images/05012025/06/33/image_05012025_06_33_02_255362_0000.jpg', '/home/pi/Desktop/images/05012025/06/33/image_05012025_06_33_02_255362_0001.jpg', '/home/pi/Desktop/images/05012025/06/33/image_05012025_06_33_02_255362_0002.jpg', '/home/pi/Desktop/images/05012025/06/33/image_05012025_06_33_02_255362_0003.jpg', '/home/pi/Desktop/images/05012025/06/34/image_05012025_06_34_02_809128_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/06/32/image_05012025_06_32_02_710333_0003.jpg
/home/pi/Desktop/images/05012025/06/33/image_05012025_06_33_02_255362_0000.jpg
/home/pi/Desktop/images/05012025/06/33/image_05012025_06_33_02_255362_0001.jpg
/home/pi/Desktop/images/05012025/06/33/image_05012025_06_33_02_255362_0002.jpg
/home/pi/Desktop/images/05012025/06/33/image_05012025_06_33_02_255362_0003.jpg
/home/pi/Desktop/images/05012025/06/34/image_05012025_06_34_02_809128_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855205","1326855208","1326855198","1326855202","1326855204","1326855200"],"photo_ids_order":["1326855198","1326855200","1326855202","1326855204","1326855205","1326855208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/230db14739eac36072619868dd85c20d.jpg","text":"TemporaryFile(/tmp/multipartBody1822726656690916680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055337068,"filename":"image_05012025_06_33_02_255362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3c125877f624f9770d0a93e73c80288b.jpg","text":"TemporaryFile(/tmp/multipartBody8708925384327701683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055337068,"filename":"image_05012025_06_34_02_809128_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/44b09dcd9a37c7e44472d657fa6d410b.jpg","text":"TemporaryFile(/tmp/multipartBody4069467148857283503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055337068,"filename":"image_05012025_06_32_02_710333_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/043c5e0c4628d7c2cfcd514744ac5c73.jpg","text":"TemporaryFile(/tmp/multipartBody8681647181534945279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055337068,"filename":"image_05012025_06_33_02_255362_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e0acb61698d2e1e6f424ff75be5b0865.jpg","text":"TemporaryFile(/tmp/multipartBody2168747034581322636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055337068,"filename":"image_05012025_06_33_02_255362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5db9b0f6adb1a5ff54a2bd6fdf2b33c8.jpg","text":"TemporaryFile(/tmp/multipartBody4182191175283812662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055337068,"filename":"image_05012025_06_33_02_255362_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855202","file1":"1326855200","file0":"1326855198","file4":"1326855205","file5":"1326855208","file3":"1326855204"},"map_files_photo_id_array":[{"photo_id":"1326855208","filename":"file5"},{"photo_id":"1326855202","filename":"file2"},{"photo_id":"1326855205","filename":"file4"},{"photo_id":"1326855200","filename":"file1"},{"photo_id":"1326855198","filename":"file0"},{"photo_id":"1326855204","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855205":["hashtag1","hashtag2"]},{"1326855208":["hashtag1","hashtag2"]},{"1326855198":["hashtag1","hashtag2"]},{"1326855202":["hashtag1","hashtag2"]},{"1326855204":["hashtag1","hashtag2"]},{"1326855200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855205, 1326855208, 1326855198, 1326855202, 1326855204, 1326855200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.091357469558716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:35:22.541052
SELECT 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/06/34/image_05012025_06_34_02_809128_0001.jpg', '/home/pi/Desktop/images/05012025/06/34/image_05012025_06_34_02_809128_0002.jpg', '/home/pi/Desktop/images/05012025/06/34/image_05012025_06_34_02_809128_0003.jpg', '/home/pi/Desktop/images/05012025/06/35/image_05012025_06_35_02_397190_0000.jpg', '/home/pi/Desktop/images/05012025/06/35/image_05012025_06_35_02_397190_0001.jpg', '/home/pi/Desktop/images/05012025/06/35/image_05012025_06_35_02_397190_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/06/34/image_05012025_06_34_02_809128_0001.jpg
/home/pi/Desktop/images/05012025/06/34/image_05012025_06_34_02_809128_0002.jpg
/home/pi/Desktop/images/05012025/06/34/image_05012025_06_34_02_809128_0003.jpg
/home/pi/Desktop/images/05012025/06/35/image_05012025_06_35_02_397190_0000.jpg
/home/pi/Desktop/images/05012025/06/35/image_05012025_06_35_02_397190_0001.jpg
/home/pi/Desktop/images/05012025/06/35/image_05012025_06_35_02_397190_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855214","1326855217","1326855225","1326855219","1326855221","1326855223"],"photo_ids_order":["1326855214","1326855217","1326855219","1326855221","1326855223","1326855225"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f91ec76003019285a54b6d319e36d4c2.jpg","text":"TemporaryFile(/tmp/multipartBody7975432382178597169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055397679,"filename":"image_05012025_06_34_02_809128_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bbf5cdf61eb2ab9c984d801426d6736b.jpg","text":"TemporaryFile(/tmp/multipartBody1369819135873418433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055397679,"filename":"image_05012025_06_34_02_809128_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3690855bb178763f2b51b8999cea6507.jpg","text":"TemporaryFile(/tmp/multipartBody6160014483688131539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055397679,"filename":"image_05012025_06_35_02_397190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d31acdbf8bd424a0d32090d3cf7703bc.jpg","text":"TemporaryFile(/tmp/multipartBody1884591656017016623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055397679,"filename":"image_05012025_06_34_02_809128_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eba77f3cddde3b3214491e9e6b2774b8.jpg","text":"TemporaryFile(/tmp/multipartBody3947774449962740856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055397679,"filename":"image_05012025_06_35_02_397190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/17eb303edf42b75e7ee5f4a561f796b6.jpg","text":"TemporaryFile(/tmp/multipartBody3586514524267116934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055397679,"filename":"image_05012025_06_35_02_397190_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855219","file1":"1326855217","file0":"1326855214","file4":"1326855223","file5":"1326855225","file3":"1326855221"},"map_files_photo_id_array":[{"photo_id":"1326855225","filename":"file5"},{"photo_id":"1326855219","filename":"file2"},{"photo_id":"1326855223","filename":"file4"},{"photo_id":"1326855217","filename":"file1"},{"photo_id":"1326855214","filename":"file0"},{"photo_id":"1326855221","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855214":["hashtag1","hashtag2"]},{"1326855217":["hashtag1","hashtag2"]},{"1326855225":["hashtag1","hashtag2"]},{"1326855219":["hashtag1","hashtag2"]},{"1326855221":["hashtag1","hashtag2"]},{"1326855223":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855214, 1326855217, 1326855225, 1326855219, 1326855221, 1326855223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.27169632911682 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:36:22.113051
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/35/image_05012025_06_35_02_397190_0003.jpg', '/home/pi/Desktop/images/05012025/06/36/image_05012025_06_36_02_975143_0000.jpg', '/home/pi/Desktop/images/05012025/06/36/image_05012025_06_36_02_975143_0001.jpg', '/home/pi/Desktop/images/05012025/06/36/image_05012025_06_36_02_975143_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/06/35/image_05012025_06_35_02_397190_0003.jpg
/home/pi/Desktop/images/05012025/06/36/image_05012025_06_36_02_975143_0000.jpg
/home/pi/Desktop/images/05012025/06/36/image_05012025_06_36_02_975143_0001.jpg
/home/pi/Desktop/images/05012025/06/36/image_05012025_06_36_02_975143_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855232","1326855235","1326855229","1326855239"],"photo_ids_order":["1326855229","1326855232","1326855235","1326855239"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a6aae7f128204a32860462b228cfbfee.jpg","text":"TemporaryFile(/tmp/multipartBody4249564181844975333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055452422,"filename":"image_05012025_06_36_02_975143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5bc7f252d1a83955d1b2ff5f8aa4c338.jpg","text":"TemporaryFile(/tmp/multipartBody4727025346345194644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055452422,"filename":"image_05012025_06_36_02_975143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f3252df26836e0e1fc42229dc68cc1b8.jpg","text":"TemporaryFile(/tmp/multipartBody6670902369463890031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055452422,"filename":"image_05012025_06_35_02_397190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/940265dbab9bb9368acd5186b68f9d90.jpg","text":"TemporaryFile(/tmp/multipartBody1510455533049066239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055452422,"filename":"image_05012025_06_36_02_975143_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855235","file1":"1326855232","file0":"1326855229","file3":"1326855239"},"map_files_photo_id_array":[{"photo_id":"1326855235","filename":"file2"},{"photo_id":"1326855232","filename":"file1"},{"photo_id":"1326855229","filename":"file0"},{"photo_id":"1326855239","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855232":["hashtag1","hashtag2"]},{"1326855235":["hashtag1","hashtag2"]},{"1326855229":["hashtag1","hashtag2"]},{"1326855239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855232, 1326855235, 1326855229, 1326855239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62333154678345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:37:03.258137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:37:22.624656
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/36/image_05012025_06_36_02_975143_0003.jpg', '/home/pi/Desktop/images/05012025/06/37/image_05012025_06_37_02_512124_0000.jpg', '/home/pi/Desktop/images/05012025/06/37/image_05012025_06_37_02_512124_0001.jpg', '/home/pi/Desktop/images/05012025/06/37/image_05012025_06_37_02_512124_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/06/36/image_05012025_06_36_02_975143_0003.jpg
/home/pi/Desktop/images/05012025/06/37/image_05012025_06_37_02_512124_0000.jpg
/home/pi/Desktop/images/05012025/06/37/image_05012025_06_37_02_512124_0001.jpg
/home/pi/Desktop/images/05012025/06/37/image_05012025_06_37_02_512124_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855291","1326855285","1326855287","1326855289"],"photo_ids_order":["1326855285","1326855287","1326855289","1326855291"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/034130ef3a06a71738e7e056b2f1ff7c.jpg","text":"TemporaryFile(/tmp/multipartBody776548153780803612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055513041,"filename":"image_05012025_06_37_02_512124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/813c4adb7d8c3b364b1cc437fe257544.jpg","text":"TemporaryFile(/tmp/multipartBody685416275523373469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055513041,"filename":"image_05012025_06_36_02_975143_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6d9a1b16f991b25867928ab4678ec5e6.jpg","text":"TemporaryFile(/tmp/multipartBody4875059258831044518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055513041,"filename":"image_05012025_06_37_02_512124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1924e28fbb62747ebbf88f53a6156b13.jpg","text":"TemporaryFile(/tmp/multipartBody8560766649935409571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055513041,"filename":"image_05012025_06_37_02_512124_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855289","file1":"1326855287","file0":"1326855285","file3":"1326855291"},"map_files_photo_id_array":[{"photo_id":"1326855289","filename":"file2"},{"photo_id":"1326855287","filename":"file1"},{"photo_id":"1326855285","filename":"file0"},{"photo_id":"1326855291","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855291":["hashtag1","hashtag2"]},{"1326855285":["hashtag1","hashtag2"]},{"1326855287":["hashtag1","hashtag2"]},{"1326855289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855291, 1326855285, 1326855287, 1326855289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.644699573516846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:38:02.708782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:38:22.385426
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/37/image_05012025_06_37_02_512124_0003.jpg', '/home/pi/Desktop/images/05012025/06/38/image_05012025_06_38_03_100952_0000.jpg', '/home/pi/Desktop/images/05012025/06/38/image_05012025_06_38_03_100952_0001.jpg', '/home/pi/Desktop/images/05012025/06/38/image_05012025_06_38_03_100952_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/06/37/image_05012025_06_37_02_512124_0003.jpg
/home/pi/Desktop/images/05012025/06/38/image_05012025_06_38_03_100952_0000.jpg
/home/pi/Desktop/images/05012025/06/38/image_05012025_06_38_03_100952_0001.jpg
/home/pi/Desktop/images/05012025/06/38/image_05012025_06_38_03_100952_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855304","1326855300","1326855298","1326855302"],"photo_ids_order":["1326855298","1326855300","1326855302","1326855304"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/175e7cc29897aca2f4ce52a26e79f794.jpg","text":"TemporaryFile(/tmp/multipartBody730845199817416363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055572713,"filename":"image_05012025_06_38_03_100952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e6b9f95241ee22be417be165ea1a6377.jpg","text":"TemporaryFile(/tmp/multipartBody7073415965633668404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055572713,"filename":"image_05012025_06_38_03_100952_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/68e1e8bd54bb822cb0297937856f9dc5.jpg","text":"TemporaryFile(/tmp/multipartBody1208488383588670035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055572713,"filename":"image_05012025_06_37_02_512124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0bddd938e8c5352a8883db1fa466e81c.jpg","text":"TemporaryFile(/tmp/multipartBody149454332917648149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055572713,"filename":"image_05012025_06_38_03_100952_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855302","file1":"1326855300","file0":"1326855298","file3":"1326855304"},"map_files_photo_id_array":[{"photo_id":"1326855302","filename":"file2"},{"photo_id":"1326855300","filename":"file1"},{"photo_id":"1326855298","filename":"file0"},{"photo_id":"1326855304","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855304":["hashtag1","hashtag2"]},{"1326855300":["hashtag1","hashtag2"]},{"1326855298":["hashtag1","hashtag2"]},{"1326855302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855304, 1326855300, 1326855298, 1326855302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.33280277252197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:39:21.963003
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/38/image_05012025_06_38_03_100952_0003.jpg', '/home/pi/Desktop/images/05012025/06/39/image_05012025_06_39_02_769341_0000.jpg', '/home/pi/Desktop/images/05012025/06/39/image_05012025_06_39_02_769341_0001.jpg', '/home/pi/Desktop/images/05012025/06/39/image_05012025_06_39_02_769341_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/06/38/image_05012025_06_38_03_100952_0003.jpg
/home/pi/Desktop/images/05012025/06/39/image_05012025_06_39_02_769341_0000.jpg
/home/pi/Desktop/images/05012025/06/39/image_05012025_06_39_02_769341_0001.jpg
/home/pi/Desktop/images/05012025/06/39/image_05012025_06_39_02_769341_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855313","1326855315","1326855318","1326855311"],"photo_ids_order":["1326855311","1326855313","1326855315","1326855318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9007cdbf6a5a91a5380d68a5a2995c82.jpg","text":"TemporaryFile(/tmp/multipartBody5455281612321275760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055632191,"filename":"image_05012025_06_39_02_769341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/772b256248d384454edba9c59c01f1f3.jpg","text":"TemporaryFile(/tmp/multipartBody8140193255480857396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055632191,"filename":"image_05012025_06_39_02_769341_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f2f46f1cf2067c7d0abf007d986668b8.jpg","text":"TemporaryFile(/tmp/multipartBody1238323527091389472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055632191,"filename":"image_05012025_06_39_02_769341_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e864d7a9bdfa4a4aacf0bb48645365ef.jpg","text":"TemporaryFile(/tmp/multipartBody4793123796239185356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055632191,"filename":"image_05012025_06_38_03_100952_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855315","file1":"1326855313","file0":"1326855311","file3":"1326855318"},"map_files_photo_id_array":[{"photo_id":"1326855315","filename":"file2"},{"photo_id":"1326855313","filename":"file1"},{"photo_id":"1326855311","filename":"file0"},{"photo_id":"1326855318","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855313":["hashtag1","hashtag2"]},{"1326855315":["hashtag1","hashtag2"]},{"1326855318":["hashtag1","hashtag2"]},{"1326855311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855313, 1326855315, 1326855318, 1326855311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.66175842285156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:40:22.505651
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/39/image_05012025_06_39_02_769341_0003.jpg', '/home/pi/Desktop/images/05012025/06/40/image_05012025_06_40_02_363112_0000.jpg', '/home/pi/Desktop/images/05012025/06/40/image_05012025_06_40_02_363112_0001.jpg', '/home/pi/Desktop/images/05012025/06/40/image_05012025_06_40_02_363112_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/06/39/image_05012025_06_39_02_769341_0003.jpg
/home/pi/Desktop/images/05012025/06/40/image_05012025_06_40_02_363112_0000.jpg
/home/pi/Desktop/images/05012025/06/40/image_05012025_06_40_02_363112_0001.jpg
/home/pi/Desktop/images/05012025/06/40/image_05012025_06_40_02_363112_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855357","1326855362","1326855365","1326855359"],"photo_ids_order":["1326855357","1326855359","1326855362","1326855365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f28784af39988dc36f2c9dc670a422f6.jpg","text":"TemporaryFile(/tmp/multipartBody7886957355644807070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055692920,"filename":"image_05012025_06_39_02_769341_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8ec99a4d40f86fca109580a97ca440d8.jpg","text":"TemporaryFile(/tmp/multipartBody1664764017873136754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055692920,"filename":"image_05012025_06_40_02_363112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8f25d91112a522a29609295168f3dee9.jpg","text":"TemporaryFile(/tmp/multipartBody5252383394776678617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055692920,"filename":"image_05012025_06_40_02_363112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/202ec2789595f0b1d6b19485f767c2f9.jpg","text":"TemporaryFile(/tmp/multipartBody2771324930553303124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055692920,"filename":"image_05012025_06_40_02_363112_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855362","file1":"1326855359","file0":"1326855357","file3":"1326855365"},"map_files_photo_id_array":[{"photo_id":"1326855362","filename":"file2"},{"photo_id":"1326855359","filename":"file1"},{"photo_id":"1326855357","filename":"file0"},{"photo_id":"1326855365","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855357":["hashtag1","hashtag2"]},{"1326855362":["hashtag1","hashtag2"]},{"1326855365":["hashtag1","hashtag2"]},{"1326855359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855357, 1326855362, 1326855365, 1326855359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.3465473651886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:41:02.614289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:41:21.960638
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/40/image_05012025_06_40_02_363112_0003.jpg', '/home/pi/Desktop/images/05012025/06/41/image_05012025_06_41_02_849982_0000.jpg', '/home/pi/Desktop/images/05012025/06/41/image_05012025_06_41_02_849982_0001.jpg', '/home/pi/Desktop/images/05012025/06/41/image_05012025_06_41_02_849982_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/06/40/image_05012025_06_40_02_363112_0003.jpg
/home/pi/Desktop/images/05012025/06/41/image_05012025_06_41_02_849982_0000.jpg
/home/pi/Desktop/images/05012025/06/41/image_05012025_06_41_02_849982_0001.jpg
/home/pi/Desktop/images/05012025/06/41/image_05012025_06_41_02_849982_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855381","1326855375","1326855377","1326855379"],"photo_ids_order":["1326855375","1326855377","1326855379","1326855381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cef569cf42472feb8ef170039daca3f9.jpg","text":"TemporaryFile(/tmp/multipartBody1539555476849443609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055752441,"filename":"image_05012025_06_41_02_849982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/91de090cc424b9f0dccd59a652b949a0.jpg","text":"TemporaryFile(/tmp/multipartBody7987807859893304707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055752441,"filename":"image_05012025_06_40_02_363112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6da604a9a7a95b2369942cf717da67e6.jpg","text":"TemporaryFile(/tmp/multipartBody8942805629166298202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055752441,"filename":"image_05012025_06_41_02_849982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/afdc9fc1a7cfbc1bbfcac1892fa39ff8.jpg","text":"TemporaryFile(/tmp/multipartBody3012991968222329517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055752441,"filename":"image_05012025_06_41_02_849982_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855379","file1":"1326855377","file0":"1326855375","file3":"1326855381"},"map_files_photo_id_array":[{"photo_id":"1326855379","filename":"file2"},{"photo_id":"1326855377","filename":"file1"},{"photo_id":"1326855375","filename":"file0"},{"photo_id":"1326855381","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855381":["hashtag1","hashtag2"]},{"1326855375":["hashtag1","hashtag2"]},{"1326855377":["hashtag1","hashtag2"]},{"1326855379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855381, 1326855375, 1326855377, 1326855379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.94723606109619 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-05 06:42:22.537252
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/41/image_05012025_06_41_02_849982_0003.jpg', '/home/pi/Desktop/images/05012025/06/42/image_05012025_06_42_02_305300_0000.jpg', '/home/pi/Desktop/images/05012025/06/42/image_05012025_06_42_02_305300_0001.jpg', '/home/pi/Desktop/images/05012025/06/42/image_05012025_06_42_02_305300_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/06/41/image_05012025_06_41_02_849982_0003.jpg
/home/pi/Desktop/images/05012025/06/42/image_05012025_06_42_02_305300_0000.jpg
/home/pi/Desktop/images/05012025/06/42/image_05012025_06_42_02_305300_0001.jpg
/home/pi/Desktop/images/05012025/06/42/image_05012025_06_42_02_305300_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.926907539367676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:43:02.680412
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/41/image_05012025_06_41_02_849982_0003.jpg', '/home/pi/Desktop/images/05012025/06/42/image_05012025_06_42_02_305300_0000.jpg', '/home/pi/Desktop/images/05012025/06/42/image_05012025_06_42_02_305300_0001.jpg', '/home/pi/Desktop/images/05012025/06/42/image_05012025_06_42_02_305300_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/06/41/image_05012025_06_41_02_849982_0003.jpg
/home/pi/Desktop/images/05012025/06/42/image_05012025_06_42_02_305300_0000.jpg
/home/pi/Desktop/images/05012025/06/42/image_05012025_06_42_02_305300_0001.jpg
/home/pi/Desktop/images/05012025/06/42/image_05012025_06_42_02_305300_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855424","1326855426","1326855422","1326855421"],"photo_ids_order":["1326855421","1326855422","1326855424","1326855426"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dc4172dfaf57013c4be7724eb1ed38b4.jpg","text":"TemporaryFile(/tmp/multipartBody4957714701711999328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055853137,"filename":"image_05012025_06_42_02_305300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eb36c11e39d249ce1b070a8c1b1b4525.jpg","text":"TemporaryFile(/tmp/multipartBody6837237059341495139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055853137,"filename":"image_05012025_06_42_02_305300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe61bec8dc413c5de2f5069fc541c79b.jpg","text":"TemporaryFile(/tmp/multipartBody2196415409603156718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055853137,"filename":"image_05012025_06_42_02_305300_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/89668421d33d2f1522a7534e61314a25.jpg","text":"TemporaryFile(/tmp/multipartBody2540058949750437083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055853137,"filename":"image_05012025_06_41_02_849982_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855424","file1":"1326855422","file0":"1326855421","file3":"1326855426"},"map_files_photo_id_array":[{"photo_id":"1326855424","filename":"file2"},{"photo_id":"1326855422","filename":"file1"},{"photo_id":"1326855421","filename":"file0"},{"photo_id":"1326855426","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855424":["hashtag1","hashtag2"]},{"1326855426":["hashtag1","hashtag2"]},{"1326855422":["hashtag1","hashtag2"]},{"1326855421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855424, 1326855426, 1326855422, 1326855421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.290250062942505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:44:03.092645
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/42/image_05012025_06_42_02_305300_0003.jpg', '/home/pi/Desktop/images/05012025/06/43/image_05012025_06_43_02_910541_0000.jpg', '/home/pi/Desktop/images/05012025/06/43/image_05012025_06_43_02_910541_0001.jpg', '/home/pi/Desktop/images/05012025/06/43/image_05012025_06_43_02_910541_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/06/42/image_05012025_06_42_02_305300_0003.jpg
/home/pi/Desktop/images/05012025/06/43/image_05012025_06_43_02_910541_0000.jpg
/home/pi/Desktop/images/05012025/06/43/image_05012025_06_43_02_910541_0001.jpg
/home/pi/Desktop/images/05012025/06/43/image_05012025_06_43_02_910541_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.86402940750122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:44:22.658400
SELECT 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/06/42/image_05012025_06_42_02_305300_0003.jpg', '/home/pi/Desktop/images/05012025/06/43/image_05012025_06_43_02_910541_0000.jpg', '/home/pi/Desktop/images/05012025/06/43/image_05012025_06_43_02_910541_0001.jpg', '/home/pi/Desktop/images/05012025/06/43/image_05012025_06_43_02_910541_0002.jpg', '/home/pi/Desktop/images/05012025/06/43/image_05012025_06_43_02_910541_0003.jpg', '/home/pi/Desktop/images/05012025/06/44/image_05012025_06_44_02_424617_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/06/42/image_05012025_06_42_02_305300_0003.jpg
/home/pi/Desktop/images/05012025/06/43/image_05012025_06_43_02_910541_0000.jpg
/home/pi/Desktop/images/05012025/06/43/image_05012025_06_43_02_910541_0001.jpg
/home/pi/Desktop/images/05012025/06/43/image_05012025_06_43_02_910541_0002.jpg
/home/pi/Desktop/images/05012025/06/43/image_05012025_06_43_02_910541_0003.jpg
/home/pi/Desktop/images/05012025/06/44/image_05012025_06_44_02_424617_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855462","1326855459","1326855456","1326855452","1326855449","1326855454"],"photo_ids_order":["1326855449","1326855452","1326855454","1326855456","1326855459","1326855462"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5336be971d44013c00617517801fe163.jpg","text":"TemporaryFile(/tmp/multipartBody7183245025583819330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055937771,"filename":"image_05012025_06_44_02_424617_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/351c996961f38c26311b6753af96b04d.jpg","text":"TemporaryFile(/tmp/multipartBody8050870737482324211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055937771,"filename":"image_05012025_06_43_02_910541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cce38313d3e824b8728b428fccedd5c0.jpg","text":"TemporaryFile(/tmp/multipartBody5135816221695307107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055937771,"filename":"image_05012025_06_43_02_910541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8e8cc236b0c8795007c800a980c6977d.jpg","text":"TemporaryFile(/tmp/multipartBody2654066889659216360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055937771,"filename":"image_05012025_06_43_02_910541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/df29554081a256cb3f43650733fff63a.jpg","text":"TemporaryFile(/tmp/multipartBody2796107461487092056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055937771,"filename":"image_05012025_06_42_02_305300_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/79299c8e110b0c868fccb02558b76691.jpg","text":"TemporaryFile(/tmp/multipartBody2656267367488893167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055937771,"filename":"image_05012025_06_43_02_910541_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855454","file1":"1326855452","file0":"1326855449","file4":"1326855459","file5":"1326855462","file3":"1326855456"},"map_files_photo_id_array":[{"photo_id":"1326855462","filename":"file5"},{"photo_id":"1326855454","filename":"file2"},{"photo_id":"1326855459","filename":"file4"},{"photo_id":"1326855452","filename":"file1"},{"photo_id":"1326855449","filename":"file0"},{"photo_id":"1326855456","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855462":["hashtag1","hashtag2"]},{"1326855459":["hashtag1","hashtag2"]},{"1326855456":["hashtag1","hashtag2"]},{"1326855452":["hashtag1","hashtag2"]},{"1326855449":["hashtag1","hashtag2"]},{"1326855454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855462, 1326855459, 1326855456, 1326855452, 1326855449, 1326855454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.377798318862915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:45:22.070113
SELECT 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/06/44/image_05012025_06_44_02_424617_0001.jpg', '/home/pi/Desktop/images/05012025/06/44/image_05012025_06_44_02_424617_0002.jpg', '/home/pi/Desktop/images/05012025/06/44/image_05012025_06_44_02_424617_0003.jpg', '/home/pi/Desktop/images/05012025/06/45/image_05012025_06_45_02_980017_0000.jpg', '/home/pi/Desktop/images/05012025/06/45/image_05012025_06_45_02_980017_0001.jpg', '/home/pi/Desktop/images/05012025/06/45/image_05012025_06_45_02_980017_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/06/44/image_05012025_06_44_02_424617_0001.jpg
/home/pi/Desktop/images/05012025/06/44/image_05012025_06_44_02_424617_0002.jpg
/home/pi/Desktop/images/05012025/06/44/image_05012025_06_44_02_424617_0003.jpg
/home/pi/Desktop/images/05012025/06/45/image_05012025_06_45_02_980017_0000.jpg
/home/pi/Desktop/images/05012025/06/45/image_05012025_06_45_02_980017_0001.jpg
/home/pi/Desktop/images/05012025/06/45/image_05012025_06_45_02_980017_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855480","1326855497","1326855476","1326855485","1326855500","1326855478"],"photo_ids_order":["1326855476","1326855478","1326855480","1326855485","1326855497","1326855500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9a521f1a10338e17bff0b3b4af8c7077.jpg","text":"TemporaryFile(/tmp/multipartBody802712432773097334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055997231,"filename":"image_05012025_06_44_02_424617_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d33b8b696ca555d8a6741fe833dc7d35.jpg","text":"TemporaryFile(/tmp/multipartBody1420715582392470547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055997231,"filename":"image_05012025_06_45_02_980017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a1bd2d0cabaa6983e13d2063df930879.jpg","text":"TemporaryFile(/tmp/multipartBody627935661550132664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055997231,"filename":"image_05012025_06_44_02_424617_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e185036f122ad1ae72cf8a8cd57f7be.jpg","text":"TemporaryFile(/tmp/multipartBody3570913078333632666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055997231,"filename":"image_05012025_06_45_02_980017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f7f7c6e164a776f8fbb378109b3c0911.jpg","text":"TemporaryFile(/tmp/multipartBody360103446844061462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055997231,"filename":"image_05012025_06_45_02_980017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a8936cef957367663a66630c3549388f.jpg","text":"TemporaryFile(/tmp/multipartBody740050527546957896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736055997231,"filename":"image_05012025_06_44_02_424617_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855480","file1":"1326855478","file0":"1326855476","file4":"1326855497","file5":"1326855500","file3":"1326855485"},"map_files_photo_id_array":[{"photo_id":"1326855500","filename":"file5"},{"photo_id":"1326855480","filename":"file2"},{"photo_id":"1326855497","filename":"file4"},{"photo_id":"1326855478","filename":"file1"},{"photo_id":"1326855476","filename":"file0"},{"photo_id":"1326855485","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855480":["hashtag1","hashtag2"]},{"1326855497":["hashtag1","hashtag2"]},{"1326855476":["hashtag1","hashtag2"]},{"1326855485":["hashtag1","hashtag2"]},{"1326855500":["hashtag1","hashtag2"]},{"1326855478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855480, 1326855497, 1326855476, 1326855485, 1326855500, 1326855478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.29123020172119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:46:22.729344
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/45/image_05012025_06_45_02_980017_0003.jpg', '/home/pi/Desktop/images/05012025/06/46/image_05012025_06_46_02_573780_0000.jpg', '/home/pi/Desktop/images/05012025/06/46/image_05012025_06_46_02_573780_0001.jpg', '/home/pi/Desktop/images/05012025/06/46/image_05012025_06_46_02_573780_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/06/45/image_05012025_06_45_02_980017_0003.jpg
/home/pi/Desktop/images/05012025/06/46/image_05012025_06_46_02_573780_0000.jpg
/home/pi/Desktop/images/05012025/06/46/image_05012025_06_46_02_573780_0001.jpg
/home/pi/Desktop/images/05012025/06/46/image_05012025_06_46_02_573780_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855537","1326855532","1326855541","1326855529"],"photo_ids_order":["1326855529","1326855532","1326855537","1326855541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/434251f23b663a0f9bd39e0eac259d1a.jpg","text":"TemporaryFile(/tmp/multipartBody5945209448969465889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056053154,"filename":"image_05012025_06_46_02_573780_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5fd4aa85f6647ebdfa58c9c16523a6a7.jpg","text":"TemporaryFile(/tmp/multipartBody4202707478873178434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056053154,"filename":"image_05012025_06_46_02_573780_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/48d5cd5219265094726366b773e9bfbf.jpg","text":"TemporaryFile(/tmp/multipartBody6548328579310760516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056053154,"filename":"image_05012025_06_46_02_573780_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fa74bc40098ae0dc75089026b0d0c24e.jpg","text":"TemporaryFile(/tmp/multipartBody7342065629763215209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056053154,"filename":"image_05012025_06_45_02_980017_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855537","file1":"1326855532","file0":"1326855529","file3":"1326855541"},"map_files_photo_id_array":[{"photo_id":"1326855537","filename":"file2"},{"photo_id":"1326855532","filename":"file1"},{"photo_id":"1326855529","filename":"file0"},{"photo_id":"1326855541","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855537":["hashtag1","hashtag2"]},{"1326855532":["hashtag1","hashtag2"]},{"1326855541":["hashtag1","hashtag2"]},{"1326855529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855537, 1326855532, 1326855541, 1326855529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.17004132270813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:47:22.255571
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/46/image_05012025_06_46_02_573780_0003.jpg', '/home/pi/Desktop/images/05012025/06/47/image_05012025_06_47_03_121985_0000.jpg', '/home/pi/Desktop/images/05012025/06/47/image_05012025_06_47_03_121985_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/06/46/image_05012025_06_46_02_573780_0003.jpg
/home/pi/Desktop/images/05012025/06/47/image_05012025_06_47_03_121985_0000.jpg
/home/pi/Desktop/images/05012025/06/47/image_05012025_06_47_03_121985_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855561","1326855563","1326855557"],"photo_ids_order":["1326855557","1326855561","1326855563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6209a3002064c73a4f08e66fc965b48d.jpg","text":"TemporaryFile(/tmp/multipartBody7060958780358694312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056110176,"filename":"image_05012025_06_47_03_121985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4949f62885a5e7c30a8285d5baacbad1.jpg","text":"TemporaryFile(/tmp/multipartBody1878333323425231238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056110176,"filename":"image_05012025_06_47_03_121985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4310818f47e41c4a460d37b9dd00d641.jpg","text":"TemporaryFile(/tmp/multipartBody6544494099283814539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056110176,"filename":"image_05012025_06_46_02_573780_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855563","file1":"1326855561","file0":"1326855557"},"map_files_photo_id_array":[{"photo_id":"1326855563","filename":"file2"},{"photo_id":"1326855561","filename":"file1"},{"photo_id":"1326855557","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855561":["hashtag1","hashtag2"]},{"1326855563":["hashtag1","hashtag2"]},{"1326855557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855561, 1326855563, 1326855557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.40186905860901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:48:02.175793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:48:21.733937
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/47/image_05012025_06_47_03_121985_0003.jpg', '/home/pi/Desktop/images/05012025/06/48/image_05012025_06_48_02_631519_0000.jpg', '/home/pi/Desktop/images/05012025/06/48/image_05012025_06_48_02_631519_0001.jpg', '/home/pi/Desktop/images/05012025/06/48/image_05012025_06_48_02_631519_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/06/47/image_05012025_06_47_03_121985_0003.jpg
/home/pi/Desktop/images/05012025/06/48/image_05012025_06_48_02_631519_0000.jpg
/home/pi/Desktop/images/05012025/06/48/image_05012025_06_48_02_631519_0001.jpg
/home/pi/Desktop/images/05012025/06/48/image_05012025_06_48_02_631519_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855584","1326855596","1326855577","1326855580"],"photo_ids_order":["1326855577","1326855580","1326855584","1326855596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ccfccb1319a8fbfbef8c33ff126cda1c.jpg","text":"TemporaryFile(/tmp/multipartBody4053199889292582350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056172311,"filename":"image_05012025_06_48_02_631519_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9a50dc3b0d17bd545e385420a5bad4b4.jpg","text":"TemporaryFile(/tmp/multipartBody8959941960089565134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056172311,"filename":"image_05012025_06_48_02_631519_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e45d9a0d5aee91d2a38d6a609086fda1.jpg","text":"TemporaryFile(/tmp/multipartBody7021039424866615681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056172311,"filename":"image_05012025_06_47_03_121985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/19ec6125d1ff3ca4c768802790a5c0d8.jpg","text":"TemporaryFile(/tmp/multipartBody7534832626898479117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056172311,"filename":"image_05012025_06_48_02_631519_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855584","file1":"1326855580","file0":"1326855577","file3":"1326855596"},"map_files_photo_id_array":[{"photo_id":"1326855584","filename":"file2"},{"photo_id":"1326855580","filename":"file1"},{"photo_id":"1326855577","filename":"file0"},{"photo_id":"1326855596","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855584":["hashtag1","hashtag2"]},{"1326855596":["hashtag1","hashtag2"]},{"1326855577":["hashtag1","hashtag2"]},{"1326855580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855584, 1326855596, 1326855577, 1326855580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.692288875579834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:49:02.970164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:49:22.297026
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/48/image_05012025_06_48_02_631519_0003.jpg', '/home/pi/Desktop/images/05012025/06/49/image_05012025_06_49_02_247577_0000.jpg', '/home/pi/Desktop/images/05012025/06/49/image_05012025_06_49_02_247577_0001.jpg', '/home/pi/Desktop/images/05012025/06/49/image_05012025_06_49_02_247577_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/06/48/image_05012025_06_48_02_631519_0003.jpg
/home/pi/Desktop/images/05012025/06/49/image_05012025_06_49_02_247577_0000.jpg
/home/pi/Desktop/images/05012025/06/49/image_05012025_06_49_02_247577_0001.jpg
/home/pi/Desktop/images/05012025/06/49/image_05012025_06_49_02_247577_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855637","1326855633","1326855635","1326855640"],"photo_ids_order":["1326855633","1326855635","1326855637","1326855640"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/918466fcd0b652d2c9e9bd00ffdc56a9.jpg","text":"TemporaryFile(/tmp/multipartBody6492580534789951633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056232754,"filename":"image_05012025_06_49_02_247577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/41621889c58e1221f7e9cf7339b41aaf.jpg","text":"TemporaryFile(/tmp/multipartBody8207748696602095657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056232754,"filename":"image_05012025_06_48_02_631519_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ea9b535c4e3f504d65ac0bf5267b8291.jpg","text":"TemporaryFile(/tmp/multipartBody3452122739529430172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056232754,"filename":"image_05012025_06_49_02_247577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ec09631f9044407b759174f8065e2ae8.jpg","text":"TemporaryFile(/tmp/multipartBody7736193970540690360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056232754,"filename":"image_05012025_06_49_02_247577_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855637","file1":"1326855635","file0":"1326855633","file3":"1326855640"},"map_files_photo_id_array":[{"photo_id":"1326855637","filename":"file2"},{"photo_id":"1326855635","filename":"file1"},{"photo_id":"1326855633","filename":"file0"},{"photo_id":"1326855640","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855637":["hashtag1","hashtag2"]},{"1326855633":["hashtag1","hashtag2"]},{"1326855635":["hashtag1","hashtag2"]},{"1326855640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855637, 1326855633, 1326855635, 1326855640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.92389941215515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:50:21.976673
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/49/image_05012025_06_49_02_247577_0003.jpg', '/home/pi/Desktop/images/05012025/06/50/image_05012025_06_50_02_747265_0000.jpg', '/home/pi/Desktop/images/05012025/06/50/image_05012025_06_50_02_747265_0001.jpg', '/home/pi/Desktop/images/05012025/06/50/image_05012025_06_50_02_747265_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/06/49/image_05012025_06_49_02_247577_0003.jpg
/home/pi/Desktop/images/05012025/06/50/image_05012025_06_50_02_747265_0000.jpg
/home/pi/Desktop/images/05012025/06/50/image_05012025_06_50_02_747265_0001.jpg
/home/pi/Desktop/images/05012025/06/50/image_05012025_06_50_02_747265_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.126896619796753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:51:03.096966
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/49/image_05012025_06_49_02_247577_0003.jpg', '/home/pi/Desktop/images/05012025/06/50/image_05012025_06_50_02_747265_0000.jpg', '/home/pi/Desktop/images/05012025/06/50/image_05012025_06_50_02_747265_0001.jpg', '/home/pi/Desktop/images/05012025/06/50/image_05012025_06_50_02_747265_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/06/49/image_05012025_06_49_02_247577_0003.jpg
/home/pi/Desktop/images/05012025/06/50/image_05012025_06_50_02_747265_0000.jpg
/home/pi/Desktop/images/05012025/06/50/image_05012025_06_50_02_747265_0001.jpg
/home/pi/Desktop/images/05012025/06/50/image_05012025_06_50_02_747265_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855657","1326855654","1326855659","1326855655"],"photo_ids_order":["1326855654","1326855655","1326855657","1326855659"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d2c3e340eb99f7187592bac9a570c22c.jpg","text":"TemporaryFile(/tmp/multipartBody6120912878772972585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056333679,"filename":"image_05012025_06_50_02_747265_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88310565835e6cf666ade89775e517a7.jpg","text":"TemporaryFile(/tmp/multipartBody2615439388292329229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056333679,"filename":"image_05012025_06_49_02_247577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/30b6a7fec0b0164ac50dd912c2f2c68e.jpg","text":"TemporaryFile(/tmp/multipartBody2105177723359602356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056333679,"filename":"image_05012025_06_50_02_747265_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a229aff1e6888e2ed946d6fce65233d.jpg","text":"TemporaryFile(/tmp/multipartBody23672518297641199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056333679,"filename":"image_05012025_06_50_02_747265_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855657","file1":"1326855655","file0":"1326855654","file3":"1326855659"},"map_files_photo_id_array":[{"photo_id":"1326855657","filename":"file2"},{"photo_id":"1326855655","filename":"file1"},{"photo_id":"1326855654","filename":"file0"},{"photo_id":"1326855659","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855657":["hashtag1","hashtag2"]},{"1326855654":["hashtag1","hashtag2"]},{"1326855659":["hashtag1","hashtag2"]},{"1326855655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855657, 1326855654, 1326855659, 1326855655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.907898902893066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:52:02.536870
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/50/image_05012025_06_50_02_747265_0003.jpg', '/home/pi/Desktop/images/05012025/06/51/image_05012025_06_51_02_302024_0000.jpg', '/home/pi/Desktop/images/05012025/06/51/image_05012025_06_51_02_302024_0001.jpg', '/home/pi/Desktop/images/05012025/06/51/image_05012025_06_51_02_302024_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/06/50/image_05012025_06_50_02_747265_0003.jpg
/home/pi/Desktop/images/05012025/06/51/image_05012025_06_51_02_302024_0000.jpg
/home/pi/Desktop/images/05012025/06/51/image_05012025_06_51_02_302024_0001.jpg
/home/pi/Desktop/images/05012025/06/51/image_05012025_06_51_02_302024_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.994859218597412 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:52:22.062417
SELECT 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/06/50/image_05012025_06_50_02_747265_0003.jpg', '/home/pi/Desktop/images/05012025/06/51/image_05012025_06_51_02_302024_0000.jpg', '/home/pi/Desktop/images/05012025/06/51/image_05012025_06_51_02_302024_0001.jpg', '/home/pi/Desktop/images/05012025/06/51/image_05012025_06_51_02_302024_0002.jpg', '/home/pi/Desktop/images/05012025/06/51/image_05012025_06_51_02_302024_0003.jpg', '/home/pi/Desktop/images/05012025/06/52/image_05012025_06_52_02_915899_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/06/50/image_05012025_06_50_02_747265_0003.jpg
/home/pi/Desktop/images/05012025/06/51/image_05012025_06_51_02_302024_0000.jpg
/home/pi/Desktop/images/05012025/06/51/image_05012025_06_51_02_302024_0001.jpg
/home/pi/Desktop/images/05012025/06/51/image_05012025_06_51_02_302024_0002.jpg
/home/pi/Desktop/images/05012025/06/51/image_05012025_06_51_02_302024_0003.jpg
/home/pi/Desktop/images/05012025/06/52/image_05012025_06_52_02_915899_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855715","1326855706","1326855708","1326855710","1326855713","1326855712"],"photo_ids_order":["1326855706","1326855708","1326855710","1326855712","1326855713","1326855715"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d8777c79c7bf07ef1844287f5e25404b.jpg","text":"TemporaryFile(/tmp/multipartBody4880726836219831147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056417336,"filename":"image_05012025_06_52_02_915899_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9a153e34891e20f896bbfea3a6705722.jpg","text":"TemporaryFile(/tmp/multipartBody8942252552349048995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056417336,"filename":"image_05012025_06_50_02_747265_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/50e2ee81eb5ece96ab4d3ffead59b13b.jpg","text":"TemporaryFile(/tmp/multipartBody6660911888889792866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056417336,"filename":"image_05012025_06_51_02_302024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c201a292b3bcba64747512477165343a.jpg","text":"TemporaryFile(/tmp/multipartBody95856007756300362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056417336,"filename":"image_05012025_06_51_02_302024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f76a1804a9761a7674049c77e242433c.jpg","text":"TemporaryFile(/tmp/multipartBody3758973098337292489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056417336,"filename":"image_05012025_06_51_02_302024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/415b49eff715517c0dd8fad46418ab78.jpg","text":"TemporaryFile(/tmp/multipartBody5639529982822383011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056417336,"filename":"image_05012025_06_51_02_302024_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855710","file1":"1326855708","file0":"1326855706","file4":"1326855713","file5":"1326855715","file3":"1326855712"},"map_files_photo_id_array":[{"photo_id":"1326855715","filename":"file5"},{"photo_id":"1326855710","filename":"file2"},{"photo_id":"1326855713","filename":"file4"},{"photo_id":"1326855708","filename":"file1"},{"photo_id":"1326855706","filename":"file0"},{"photo_id":"1326855712","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855715":["hashtag1","hashtag2"]},{"1326855706":["hashtag1","hashtag2"]},{"1326855708":["hashtag1","hashtag2"]},{"1326855710":["hashtag1","hashtag2"]},{"1326855713":["hashtag1","hashtag2"]},{"1326855712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855715, 1326855706, 1326855708, 1326855710, 1326855713, 1326855712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.758169412612915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:53:22.659495
SELECT 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/06/52/image_05012025_06_52_02_915899_0001.jpg', '/home/pi/Desktop/images/05012025/06/52/image_05012025_06_52_02_915899_0002.jpg', '/home/pi/Desktop/images/05012025/06/52/image_05012025_06_52_02_915899_0003.jpg', '/home/pi/Desktop/images/05012025/06/53/image_05012025_06_53_02_510271_0000.jpg', '/home/pi/Desktop/images/05012025/06/53/image_05012025_06_53_02_510271_0001.jpg', '/home/pi/Desktop/images/05012025/06/53/image_05012025_06_53_02_510271_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/06/52/image_05012025_06_52_02_915899_0001.jpg
/home/pi/Desktop/images/05012025/06/52/image_05012025_06_52_02_915899_0002.jpg
/home/pi/Desktop/images/05012025/06/52/image_05012025_06_52_02_915899_0003.jpg
/home/pi/Desktop/images/05012025/06/53/image_05012025_06_53_02_510271_0000.jpg
/home/pi/Desktop/images/05012025/06/53/image_05012025_06_53_02_510271_0001.jpg
/home/pi/Desktop/images/05012025/06/53/image_05012025_06_53_02_510271_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855721","1326855723","1326855728","1326855731","1326855725","1326855730"],"photo_ids_order":["1326855721","1326855723","1326855725","1326855728","1326855730","1326855731"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e5863837c93b81b9c61e90e3bccecff7.jpg","text":"TemporaryFile(/tmp/multipartBody4005400614868661384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056477839,"filename":"image_05012025_06_52_02_915899_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/618b21d25a8985f75f3d5d1137f6125a.jpg","text":"TemporaryFile(/tmp/multipartBody8036625563254095526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056477839,"filename":"image_05012025_06_52_02_915899_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2736c572d8e4679064c9a9f0271ddcd5.jpg","text":"TemporaryFile(/tmp/multipartBody3132545844224424389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056477839,"filename":"image_05012025_06_53_02_510271_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6d902a359b0c57ab36a05b0156562166.jpg","text":"TemporaryFile(/tmp/multipartBody1310300000076680530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056477839,"filename":"image_05012025_06_53_02_510271_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c8b259b9befa5e5b1b36465c771fe6c.jpg","text":"TemporaryFile(/tmp/multipartBody7428600701477127846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056477839,"filename":"image_05012025_06_52_02_915899_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c4c0dd4230b9a72823dd88ee873b641.jpg","text":"TemporaryFile(/tmp/multipartBody8996634745937054168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056477839,"filename":"image_05012025_06_53_02_510271_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855725","file1":"1326855723","file0":"1326855721","file4":"1326855730","file5":"1326855731","file3":"1326855728"},"map_files_photo_id_array":[{"photo_id":"1326855731","filename":"file5"},{"photo_id":"1326855725","filename":"file2"},{"photo_id":"1326855730","filename":"file4"},{"photo_id":"1326855723","filename":"file1"},{"photo_id":"1326855721","filename":"file0"},{"photo_id":"1326855728","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855721":["hashtag1","hashtag2"]},{"1326855723":["hashtag1","hashtag2"]},{"1326855728":["hashtag1","hashtag2"]},{"1326855731":["hashtag1","hashtag2"]},{"1326855725":["hashtag1","hashtag2"]},{"1326855730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855721, 1326855723, 1326855728, 1326855731, 1326855725, 1326855730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.371541261672974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:54:22.140040
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/53/image_05012025_06_53_02_510271_0003.jpg', '/home/pi/Desktop/images/05012025/06/54/image_05012025_06_54_03_010200_0000.jpg', '/home/pi/Desktop/images/05012025/06/54/image_05012025_06_54_03_010200_0001.jpg', '/home/pi/Desktop/images/05012025/06/54/image_05012025_06_54_03_010200_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/06/53/image_05012025_06_53_02_510271_0003.jpg
/home/pi/Desktop/images/05012025/06/54/image_05012025_06_54_03_010200_0000.jpg
/home/pi/Desktop/images/05012025/06/54/image_05012025_06_54_03_010200_0001.jpg
/home/pi/Desktop/images/05012025/06/54/image_05012025_06_54_03_010200_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855735","1326855737","1326855751","1326855748"],"photo_ids_order":["1326855735","1326855737","1326855748","1326855751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8ff463a644dc1a2ce074c6a0b468f49a.jpg","text":"TemporaryFile(/tmp/multipartBody3569998308000544945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056532307,"filename":"image_05012025_06_53_02_510271_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5194e3ed4abe13785c06c075f1ead187.jpg","text":"TemporaryFile(/tmp/multipartBody7875989079971124062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056532307,"filename":"image_05012025_06_54_03_010200_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0af7981e15653b8458ea096698db11b2.jpg","text":"TemporaryFile(/tmp/multipartBody598819205849393923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056532307,"filename":"image_05012025_06_54_03_010200_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/665975476ec0588bcda9f142e342d306.jpg","text":"TemporaryFile(/tmp/multipartBody6768023136812904071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056532307,"filename":"image_05012025_06_54_03_010200_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855748","file1":"1326855737","file0":"1326855735","file3":"1326855751"},"map_files_photo_id_array":[{"photo_id":"1326855748","filename":"file2"},{"photo_id":"1326855737","filename":"file1"},{"photo_id":"1326855735","filename":"file0"},{"photo_id":"1326855751","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855735":["hashtag1","hashtag2"]},{"1326855737":["hashtag1","hashtag2"]},{"1326855751":["hashtag1","hashtag2"]},{"1326855748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855735, 1326855737, 1326855751, 1326855748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.923723220825195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:55:03.372040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:55:22.569439
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/54/image_05012025_06_54_03_010200_0003.jpg', '/home/pi/Desktop/images/05012025/06/55/image_05012025_06_55_02_493966_0000.jpg', '/home/pi/Desktop/images/05012025/06/55/image_05012025_06_55_02_493966_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/06/54/image_05012025_06_54_03_010200_0003.jpg
/home/pi/Desktop/images/05012025/06/55/image_05012025_06_55_02_493966_0000.jpg
/home/pi/Desktop/images/05012025/06/55/image_05012025_06_55_02_493966_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326855782","1326855785","1326855788"],"photo_ids_order":["1326855782","1326855785","1326855788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/acf794fe1d901f50dd6cf03b78ecde42.jpg","text":"TemporaryFile(/tmp/multipartBody3424024165038848476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056590548,"filename":"image_05012025_06_54_03_010200_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1743ed750d0ed09d0d0898607ea2cf49.jpg","text":"TemporaryFile(/tmp/multipartBody7131393192356043094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056590548,"filename":"image_05012025_06_55_02_493966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2650420f32a7813d5333076addbd95e8.jpg","text":"TemporaryFile(/tmp/multipartBody8557844050722260615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056590548,"filename":"image_05012025_06_55_02_493966_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326855788","file1":"1326855785","file0":"1326855782"},"map_files_photo_id_array":[{"photo_id":"1326855788","filename":"file2"},{"photo_id":"1326855785","filename":"file1"},{"photo_id":"1326855782","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326855782":["hashtag1","hashtag2"]},{"1326855785":["hashtag1","hashtag2"]},{"1326855788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326855782, 1326855785, 1326855788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.135990142822266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:56:02.767275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:56:22.247079
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/55/image_05012025_06_55_02_493966_0002.jpg', '/home/pi/Desktop/images/05012025/06/56/image_05012025_06_56_02_987959_0000.jpg', '/home/pi/Desktop/images/05012025/06/56/image_05012025_06_56_02_987959_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/06/55/image_05012025_06_55_02_493966_0002.jpg
/home/pi/Desktop/images/05012025/06/56/image_05012025_06_56_02_987959_0000.jpg
/home/pi/Desktop/images/05012025/06/56/image_05012025_06_56_02_987959_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326856131","1326856056","1326856165"],"photo_ids_order":["1326856056","1326856131","1326856165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9412623c3a759f91bf8bf5baf41a9bbf.jpg","text":"TemporaryFile(/tmp/multipartBody6377523164127396338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056650205,"filename":"image_05012025_06_56_02_987959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/af239c311f9c96bd92442f8c90bcc9f6.jpg","text":"TemporaryFile(/tmp/multipartBody265455857996048586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056650205,"filename":"image_05012025_06_55_02_493966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62f39981cec07e29ec7493ca4fcec312.jpg","text":"TemporaryFile(/tmp/multipartBody2163851099566103835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056650205,"filename":"image_05012025_06_56_02_987959_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326856165","file1":"1326856131","file0":"1326856056"},"map_files_photo_id_array":[{"photo_id":"1326856165","filename":"file2"},{"photo_id":"1326856131","filename":"file1"},{"photo_id":"1326856056","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326856131":["hashtag1","hashtag2"]},{"1326856056":["hashtag1","hashtag2"]},{"1326856165":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326856131, 1326856056, 1326856165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.329058170318604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:57:02.329208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:57:21.707855
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/56/image_05012025_06_56_02_987959_0003.jpg', '/home/pi/Desktop/images/05012025/06/57/image_05012025_06_57_02_620407_0000.jpg', '/home/pi/Desktop/images/05012025/06/57/image_05012025_06_57_02_620407_0001.jpg', '/home/pi/Desktop/images/05012025/06/57/image_05012025_06_57_02_620407_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/06/56/image_05012025_06_56_02_987959_0003.jpg
/home/pi/Desktop/images/05012025/06/57/image_05012025_06_57_02_620407_0000.jpg
/home/pi/Desktop/images/05012025/06/57/image_05012025_06_57_02_620407_0001.jpg
/home/pi/Desktop/images/05012025/06/57/image_05012025_06_57_02_620407_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326856659","1326856559","1326856673","1326856637"],"photo_ids_order":["1326856559","1326856637","1326856659","1326856673"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7033bc6a4287aaf8ea3c6eebdbb49fb5.jpg","text":"TemporaryFile(/tmp/multipartBody3830075601251002706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056712095,"filename":"image_05012025_06_57_02_620407_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c29c57361f44ea3d803682c8e4f71192.jpg","text":"TemporaryFile(/tmp/multipartBody8804936399824420327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056712095,"filename":"image_05012025_06_56_02_987959_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dec3b5022e4eec3befd619f7aa012671.jpg","text":"TemporaryFile(/tmp/multipartBody5542235583633540101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056712095,"filename":"image_05012025_06_57_02_620407_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88004824ef362869475110029b55cd97.jpg","text":"TemporaryFile(/tmp/multipartBody2022227122729543391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056712095,"filename":"image_05012025_06_57_02_620407_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326856659","file1":"1326856637","file0":"1326856559","file3":"1326856673"},"map_files_photo_id_array":[{"photo_id":"1326856659","filename":"file2"},{"photo_id":"1326856637","filename":"file1"},{"photo_id":"1326856559","filename":"file0"},{"photo_id":"1326856673","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326856659":["hashtag1","hashtag2"]},{"1326856559":["hashtag1","hashtag2"]},{"1326856673":["hashtag1","hashtag2"]},{"1326856637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326856659, 1326856559, 1326856673, 1326856637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.17563796043396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 06:59:03.232718
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/57/image_05012025_06_57_02_620407_0003.jpg', '/home/pi/Desktop/images/05012025/06/58/image_05012025_06_58_02_107911_0000.jpg', '/home/pi/Desktop/images/05012025/06/58/image_05012025_06_58_02_107911_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/06/57/image_05012025_06_57_02_620407_0003.jpg
/home/pi/Desktop/images/05012025/06/58/image_05012025_06_58_02_107911_0000.jpg
/home/pi/Desktop/images/05012025/06/58/image_05012025_06_58_02_107911_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.6536712646484375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 06:59:22.618111
SELECT 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/06/57/image_05012025_06_57_02_620407_0003.jpg', '/home/pi/Desktop/images/05012025/06/58/image_05012025_06_58_02_107911_0000.jpg', '/home/pi/Desktop/images/05012025/06/58/image_05012025_06_58_02_107911_0002.jpg', '/home/pi/Desktop/images/05012025/06/58/image_05012025_06_58_02_107911_0003.jpg', '/home/pi/Desktop/images/05012025/06/59/image_05012025_06_59_02_779583_0000.jpg', '/home/pi/Desktop/images/05012025/06/59/image_05012025_06_59_02_779583_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/06/57/image_05012025_06_57_02_620407_0003.jpg
/home/pi/Desktop/images/05012025/06/58/image_05012025_06_58_02_107911_0000.jpg
/home/pi/Desktop/images/05012025/06/58/image_05012025_06_58_02_107911_0002.jpg
/home/pi/Desktop/images/05012025/06/58/image_05012025_06_58_02_107911_0003.jpg
/home/pi/Desktop/images/05012025/06/59/image_05012025_06_59_02_779583_0000.jpg
/home/pi/Desktop/images/05012025/06/59/image_05012025_06_59_02_779583_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857121","1326857129","1326857117","1326857132","1326857125","1326857119"],"photo_ids_order":["1326857117","1326857119","1326857121","1326857125","1326857129","1326857132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/503e26ec08bf7e300208db81c91f2856.jpg","text":"TemporaryFile(/tmp/multipartBody3341565447553450899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056837892,"filename":"image_05012025_06_58_02_107911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/567f3465b9c06aaa0b99e47bc0250be8.jpg","text":"TemporaryFile(/tmp/multipartBody4056261244535467366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056837892,"filename":"image_05012025_06_59_02_779583_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0c95aac04daa062931570151ce2bce03.jpg","text":"TemporaryFile(/tmp/multipartBody6802222056681821502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056837892,"filename":"image_05012025_06_57_02_620407_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/da271b546057ec306fa98d64f095d273.jpg","text":"TemporaryFile(/tmp/multipartBody644068126681550081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056837892,"filename":"image_05012025_06_59_02_779583_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bd5024e1a81015fafd8219e4b8b663a6.jpg","text":"TemporaryFile(/tmp/multipartBody3756033088880168198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056837892,"filename":"image_05012025_06_58_02_107911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad994e13b76b8b49d2952e0a56ab4e4e.jpg","text":"TemporaryFile(/tmp/multipartBody5817096499059905526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056837892,"filename":"image_05012025_06_58_02_107911_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857121","file1":"1326857119","file0":"1326857117","file4":"1326857129","file5":"1326857132","file3":"1326857125"},"map_files_photo_id_array":[{"photo_id":"1326857132","filename":"file5"},{"photo_id":"1326857121","filename":"file2"},{"photo_id":"1326857129","filename":"file4"},{"photo_id":"1326857119","filename":"file1"},{"photo_id":"1326857117","filename":"file0"},{"photo_id":"1326857125","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857121":["hashtag1","hashtag2"]},{"1326857129":["hashtag1","hashtag2"]},{"1326857117":["hashtag1","hashtag2"]},{"1326857132":["hashtag1","hashtag2"]},{"1326857125":["hashtag1","hashtag2"]},{"1326857119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857121, 1326857129, 1326857117, 1326857132, 1326857125, 1326857119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.39379525184631 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:00:22.361357
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/06/59/image_05012025_06_59_02_779583_0003.jpg', '/home/pi/Desktop/images/05012025/07/00/image_05012025_07_00_03_006354_0000.jpg', '/home/pi/Desktop/images/05012025/07/00/image_05012025_07_00_03_006354_0001.jpg', '/home/pi/Desktop/images/05012025/07/00/image_05012025_07_00_03_006354_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/06/59/image_05012025_06_59_02_779583_0003.jpg
/home/pi/Desktop/images/05012025/07/00/image_05012025_07_00_03_006354_0000.jpg
/home/pi/Desktop/images/05012025/07/00/image_05012025_07_00_03_006354_0001.jpg
/home/pi/Desktop/images/05012025/07/00/image_05012025_07_00_03_006354_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857144","1326857146","1326857155","1326857143"],"photo_ids_order":["1326857143","1326857144","1326857146","1326857155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c05202cf5e2f66b219aa224deb13f1a8.jpg","text":"TemporaryFile(/tmp/multipartBody3818834336703769486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056892764,"filename":"image_05012025_07_00_03_006354_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d974b2f57775870217177ecb913bf1c4.jpg","text":"TemporaryFile(/tmp/multipartBody5342362829335256042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056892764,"filename":"image_05012025_07_00_03_006354_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/37131d2084240a32f734ec9ce0808490.jpg","text":"TemporaryFile(/tmp/multipartBody1060355082625618279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056892764,"filename":"image_05012025_07_00_03_006354_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3923574731d57a4fc9a6a006d4eccfe6.jpg","text":"TemporaryFile(/tmp/multipartBody4570913471621334201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056892764,"filename":"image_05012025_06_59_02_779583_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857146","file1":"1326857144","file0":"1326857143","file3":"1326857155"},"map_files_photo_id_array":[{"photo_id":"1326857146","filename":"file2"},{"photo_id":"1326857144","filename":"file1"},{"photo_id":"1326857143","filename":"file0"},{"photo_id":"1326857155","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857144":["hashtag1","hashtag2"]},{"1326857146":["hashtag1","hashtag2"]},{"1326857155":["hashtag1","hashtag2"]},{"1326857143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857144, 1326857146, 1326857155, 1326857143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.88837385177612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:01:21.871274
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/00/image_05012025_07_00_03_006354_0003.jpg', '/home/pi/Desktop/images/05012025/07/01/image_05012025_07_01_02_712709_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/07/00/image_05012025_07_00_03_006354_0003.jpg
/home/pi/Desktop/images/05012025/07/01/image_05012025_07_01_02_712709_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: 5.201045513153076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:02:02.797775
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/00/image_05012025_07_00_03_006354_0003.jpg', '/home/pi/Desktop/images/05012025/07/01/image_05012025_07_01_02_712709_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/07/00/image_05012025_07_00_03_006354_0003.jpg
/home/pi/Desktop/images/05012025/07/01/image_05012025_07_01_02_712709_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857246","1326857245"],"photo_ids_order":["1326857245","1326857246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/554a1e692e77f3983c20560b375ef631.jpg","text":"TemporaryFile(/tmp/multipartBody4093253489501561703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056988372,"filename":"image_05012025_07_01_02_712709_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8d650a9d967966ba25b29344ad17b077.jpg","text":"TemporaryFile(/tmp/multipartBody6833339953753490596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736056988372,"filename":"image_05012025_07_00_03_006354_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326857246","file0":"1326857245"},"map_files_photo_id_array":[{"photo_id":"1326857246","filename":"file1"},{"photo_id":"1326857245","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857246":["hashtag1","hashtag2"]},{"1326857245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857246, 1326857245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.83254075050354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:03:02.425788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:03:21.800972
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/01/image_05012025_07_01_02_712709_0003.jpg', '/home/pi/Desktop/images/05012025/07/03/image_05012025_07_03_02_717877_0000.jpg', '/home/pi/Desktop/images/05012025/07/03/image_05012025_07_03_02_717877_0001.jpg', '/home/pi/Desktop/images/05012025/07/03/image_05012025_07_03_02_717877_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/07/01/image_05012025_07_01_02_712709_0003.jpg
/home/pi/Desktop/images/05012025/07/03/image_05012025_07_03_02_717877_0000.jpg
/home/pi/Desktop/images/05012025/07/03/image_05012025_07_03_02_717877_0001.jpg
/home/pi/Desktop/images/05012025/07/03/image_05012025_07_03_02_717877_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857270","1326857261","1326857258","1326857272"],"photo_ids_order":["1326857258","1326857261","1326857270","1326857272"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ace3bb02891cb6c67543869dc0747c9b.jpg","text":"TemporaryFile(/tmp/multipartBody6799750841732962835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057072164,"filename":"image_05012025_07_03_02_717877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bd777bbedb3095d270ce2a176218ec12.jpg","text":"TemporaryFile(/tmp/multipartBody3883288697122243687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057072164,"filename":"image_05012025_07_03_02_717877_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/47bbb0f3c671fc791fa89eae2cc85622.jpg","text":"TemporaryFile(/tmp/multipartBody8157250527007178955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057072164,"filename":"image_05012025_07_01_02_712709_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7236d6d2acf38851f827d9ce40cb0eaf.jpg","text":"TemporaryFile(/tmp/multipartBody942932938257894166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057072164,"filename":"image_05012025_07_03_02_717877_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857270","file1":"1326857261","file0":"1326857258","file3":"1326857272"},"map_files_photo_id_array":[{"photo_id":"1326857270","filename":"file2"},{"photo_id":"1326857261","filename":"file1"},{"photo_id":"1326857258","filename":"file0"},{"photo_id":"1326857272","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857270":["hashtag1","hashtag2"]},{"1326857261":["hashtag1","hashtag2"]},{"1326857258":["hashtag1","hashtag2"]},{"1326857272":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857270, 1326857261, 1326857258, 1326857272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.993698596954346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:04:02.888159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:04:22.431772
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/03/image_05012025_07_03_02_717877_0003.jpg', '/home/pi/Desktop/images/05012025/07/04/image_05012025_07_04_02_207918_0001.jpg', '/home/pi/Desktop/images/05012025/07/04/image_05012025_07_04_02_207918_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/07/03/image_05012025_07_03_02_717877_0003.jpg
/home/pi/Desktop/images/05012025/07/04/image_05012025_07_04_02_207918_0001.jpg
/home/pi/Desktop/images/05012025/07/04/image_05012025_07_04_02_207918_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857309","1326857302","1326857305"],"photo_ids_order":["1326857302","1326857305","1326857309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4516aa1ef6fe3c3ef4ea865ddcabcadc.jpg","text":"TemporaryFile(/tmp/multipartBody207601377682060859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057130397,"filename":"image_05012025_07_04_02_207918_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/953dfb6d19f8619e606edb3ae0e2f2d1.jpg","text":"TemporaryFile(/tmp/multipartBody1493739284717713006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057130397,"filename":"image_05012025_07_03_02_717877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e1206f2cc63a38a15ba371d25fa82aca.jpg","text":"TemporaryFile(/tmp/multipartBody4039763749590921521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057130397,"filename":"image_05012025_07_04_02_207918_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857309","file1":"1326857305","file0":"1326857302"},"map_files_photo_id_array":[{"photo_id":"1326857309","filename":"file2"},{"photo_id":"1326857305","filename":"file1"},{"photo_id":"1326857302","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857309":["hashtag1","hashtag2"]},{"1326857302":["hashtag1","hashtag2"]},{"1326857305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857309, 1326857302, 1326857305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.377323389053345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:05:02.577241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:05:21.912890
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/04/image_05012025_07_04_02_207918_0003.jpg', '/home/pi/Desktop/images/05012025/07/05/image_05012025_07_05_02_815368_0000.jpg', '/home/pi/Desktop/images/05012025/07/05/image_05012025_07_05_02_815368_0001.jpg', '/home/pi/Desktop/images/05012025/07/05/image_05012025_07_05_02_815368_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/07/04/image_05012025_07_04_02_207918_0003.jpg
/home/pi/Desktop/images/05012025/07/05/image_05012025_07_05_02_815368_0000.jpg
/home/pi/Desktop/images/05012025/07/05/image_05012025_07_05_02_815368_0001.jpg
/home/pi/Desktop/images/05012025/07/05/image_05012025_07_05_02_815368_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857325","1326857327","1326857329","1326857322"],"photo_ids_order":["1326857322","1326857325","1326857327","1326857329"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aad5beab47bfc54018939ccb7b70444f.jpg","text":"TemporaryFile(/tmp/multipartBody1637043134454442107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057192306,"filename":"image_05012025_07_05_02_815368_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb5abbe48e9362311fcca1182839e4ce.jpg","text":"TemporaryFile(/tmp/multipartBody5096827319251406000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057192306,"filename":"image_05012025_07_05_02_815368_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3efca3d106412ab5d7c20be5b309da31.jpg","text":"TemporaryFile(/tmp/multipartBody6982091897104192513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057192306,"filename":"image_05012025_07_05_02_815368_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e76acfbd6a40be5ee1dc07622794ccd1.jpg","text":"TemporaryFile(/tmp/multipartBody8128957728079163270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057192306,"filename":"image_05012025_07_04_02_207918_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857327","file1":"1326857325","file0":"1326857322","file3":"1326857329"},"map_files_photo_id_array":[{"photo_id":"1326857327","filename":"file2"},{"photo_id":"1326857325","filename":"file1"},{"photo_id":"1326857322","filename":"file0"},{"photo_id":"1326857329","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857325":["hashtag1","hashtag2"]},{"1326857327":["hashtag1","hashtag2"]},{"1326857329":["hashtag1","hashtag2"]},{"1326857322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857325, 1326857327, 1326857329, 1326857322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.86378335952759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:06:02.942308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:06:22.717893
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/05/image_05012025_07_05_02_815368_0003.jpg', '/home/pi/Desktop/images/05012025/07/06/image_05012025_07_06_02_301917_0000.jpg', '/home/pi/Desktop/images/05012025/07/06/image_05012025_07_06_02_301917_0001.jpg', '/home/pi/Desktop/images/05012025/07/06/image_05012025_07_06_02_301917_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/07/05/image_05012025_07_05_02_815368_0003.jpg
/home/pi/Desktop/images/05012025/07/06/image_05012025_07_06_02_301917_0000.jpg
/home/pi/Desktop/images/05012025/07/06/image_05012025_07_06_02_301917_0001.jpg
/home/pi/Desktop/images/05012025/07/06/image_05012025_07_06_02_301917_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.022286653518677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:07:02.762788
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/05/image_05012025_07_05_02_815368_0003.jpg', '/home/pi/Desktop/images/05012025/07/06/image_05012025_07_06_02_301917_0000.jpg', '/home/pi/Desktop/images/05012025/07/06/image_05012025_07_06_02_301917_0001.jpg', '/home/pi/Desktop/images/05012025/07/06/image_05012025_07_06_02_301917_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/07/05/image_05012025_07_05_02_815368_0003.jpg
/home/pi/Desktop/images/05012025/07/06/image_05012025_07_06_02_301917_0000.jpg
/home/pi/Desktop/images/05012025/07/06/image_05012025_07_06_02_301917_0001.jpg
/home/pi/Desktop/images/05012025/07/06/image_05012025_07_06_02_301917_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857372","1326857375","1326857377","1326857373"],"photo_ids_order":["1326857372","1326857373","1326857375","1326857377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe7ffedab196efda0b48e3189d74dcfe.jpg","text":"TemporaryFile(/tmp/multipartBody726915752779330705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057293198,"filename":"image_05012025_07_05_02_815368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f68db07e65d551c6f7b692c5397b3256.jpg","text":"TemporaryFile(/tmp/multipartBody3126057529985578322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057293198,"filename":"image_05012025_07_06_02_301917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5e0ea358b4e105fc83a1170c609825b5.jpg","text":"TemporaryFile(/tmp/multipartBody632174147117301361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057293198,"filename":"image_05012025_07_06_02_301917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b1c008163f0a8c8f39c4e752cc69797.jpg","text":"TemporaryFile(/tmp/multipartBody7538979592991925185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057293198,"filename":"image_05012025_07_06_02_301917_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857375","file1":"1326857373","file0":"1326857372","file3":"1326857377"},"map_files_photo_id_array":[{"photo_id":"1326857375","filename":"file2"},{"photo_id":"1326857373","filename":"file1"},{"photo_id":"1326857372","filename":"file0"},{"photo_id":"1326857377","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857372":["hashtag1","hashtag2"]},{"1326857375":["hashtag1","hashtag2"]},{"1326857377":["hashtag1","hashtag2"]},{"1326857373":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857372, 1326857375, 1326857377, 1326857373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.49424934387207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:08:03.108254
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/06/image_05012025_07_06_02_301917_0003.jpg', '/home/pi/Desktop/images/05012025/07/07/image_05012025_07_07_02_987993_0000.jpg', '/home/pi/Desktop/images/05012025/07/07/image_05012025_07_07_02_987993_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/07/06/image_05012025_07_06_02_301917_0003.jpg
/home/pi/Desktop/images/05012025/07/07/image_05012025_07_07_02_987993_0000.jpg
/home/pi/Desktop/images/05012025/07/07/image_05012025_07_07_02_987993_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857412","1326857409","1326857411"],"photo_ids_order":["1326857409","1326857411","1326857412"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c36b7fbcc39e944163701f3fd401cfcd.jpg","text":"TemporaryFile(/tmp/multipartBody1103904807111083164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057351095,"filename":"image_05012025_07_07_02_987993_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7a96fffb1fdf8a9ac65f7b4b5cba8e99.jpg","text":"TemporaryFile(/tmp/multipartBody5775904719773715206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057351095,"filename":"image_05012025_07_06_02_301917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b2b06efeef47f2f864f755f9d12f0a4d.jpg","text":"TemporaryFile(/tmp/multipartBody5946442105276396502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057351095,"filename":"image_05012025_07_07_02_987993_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857412","file1":"1326857411","file0":"1326857409"},"map_files_photo_id_array":[{"photo_id":"1326857412","filename":"file2"},{"photo_id":"1326857411","filename":"file1"},{"photo_id":"1326857409","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857412":["hashtag1","hashtag2"]},{"1326857409":["hashtag1","hashtag2"]},{"1326857411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857412, 1326857409, 1326857411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.754709243774414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:09:02.642253
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/07/image_05012025_07_07_02_987993_0003.jpg', '/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_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/07/07/image_05012025_07_07_02_987993_0003.jpg
/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_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>883lm7ace</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>883lm7ace</strong>.
uploaded 0 photos
time to upload: 35.21980118751526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:10:02.320033
SELECT 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/07/07/image_05012025_07_07_02_987993_0003.jpg', '/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0000.jpg', '/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0003.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0000.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0001.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_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/07/07/image_05012025_07_07_02_987993_0003.jpg
/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0000.jpg
/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0003.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0000.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0001.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_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>883lmb8ni</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>883lmb8ni</strong>.
uploaded 0 photos
time to upload: 44.78620982170105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:11:02.966922
SELECT 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/07/07/image_05012025_07_07_02_987993_0003.jpg', '/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0000.jpg', '/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0003.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0000.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0001.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_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/07/07/image_05012025_07_07_02_987993_0003.jpg
/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0000.jpg
/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0003.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0000.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0001.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_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.804538011550903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:11:22.300175
SELECT 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/07/07/image_05012025_07_07_02_987993_0003.jpg', '/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0000.jpg', '/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0003.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0000.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0001.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_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/07/07/image_05012025_07_07_02_987993_0003.jpg
/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0000.jpg
/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0003.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0000.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0001.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_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>883lmfn53</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>883lmfn53</strong>.
uploaded 0 photos
time to upload: 44.766724824905396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:12:22.112273
SELECT 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/07/07/image_05012025_07_07_02_987993_0003.jpg', '/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0000.jpg', '/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0003.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0000.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0001.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_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/07/07/image_05012025_07_07_02_987993_0003.jpg
/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0000.jpg
/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0003.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0000.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0001.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_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>883lmj7hm</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>883lmj7hm</strong>.
uploaded 0 photos
time to upload: 44.77279782295227 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:13:22.643677
SELECT 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/07/07/image_05012025_07_07_02_987993_0003.jpg', '/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0000.jpg', '/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0003.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0000.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0001.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_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/07/07/image_05012025_07_07_02_987993_0003.jpg
/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0000.jpg
/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0003.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0000.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0001.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_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>883lmmj59</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>883lmmj59</strong>.
uploaded 0 photos
time to upload: 44.75675129890442 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:14:22.124646
SELECT 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/07/07/image_05012025_07_07_02_987993_0003.jpg', '/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0000.jpg', '/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0003.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0000.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0001.jpg', '/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_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/07/07/image_05012025_07_07_02_987993_0003.jpg
/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0000.jpg
/home/pi/Desktop/images/05012025/07/08/image_05012025_07_08_02_481227_0003.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0000.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0001.jpg
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_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":["1326857439","1326857430","1326857444","1326857435","1326857448","1326857442"],"photo_ids_order":["1326857430","1326857435","1326857439","1326857442","1326857444","1326857448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/77cade203b695ba150da4249e75be2f9.jpg","text":"TemporaryFile(/tmp/multipartBody768341213095629902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057737276,"filename":"image_05012025_07_08_02_481227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1ae5cc131524b02a0c5e61cf58e037b0.jpg","text":"TemporaryFile(/tmp/multipartBody9216750742977386222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057737276,"filename":"image_05012025_07_07_02_987993_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4be1fa0fdab5af98373945812493a999.jpg","text":"TemporaryFile(/tmp/multipartBody64829552685528945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057737276,"filename":"image_05012025_07_09_03_038876_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0ffacfac05401e43a2209ab6a9647f15.jpg","text":"TemporaryFile(/tmp/multipartBody6306947793597282983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057737276,"filename":"image_05012025_07_08_02_481227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c95e16275f8e1c11fabf89d180a8b27b.jpg","text":"TemporaryFile(/tmp/multipartBody441298151788151431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057737276,"filename":"image_05012025_07_09_03_038876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/40015000ec574663acb0f6524ffc8da0.jpg","text":"TemporaryFile(/tmp/multipartBody1895818557510693295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057737276,"filename":"image_05012025_07_09_03_038876_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857439","file1":"1326857435","file0":"1326857430","file4":"1326857444","file5":"1326857448","file3":"1326857442"},"map_files_photo_id_array":[{"photo_id":"1326857448","filename":"file5"},{"photo_id":"1326857439","filename":"file2"},{"photo_id":"1326857444","filename":"file4"},{"photo_id":"1326857435","filename":"file1"},{"photo_id":"1326857430","filename":"file0"},{"photo_id":"1326857442","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857439":["hashtag1","hashtag2"]},{"1326857430":["hashtag1","hashtag2"]},{"1326857444":["hashtag1","hashtag2"]},{"1326857435":["hashtag1","hashtag2"]},{"1326857448":["hashtag1","hashtag2"]},{"1326857442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857439, 1326857430, 1326857444, 1326857435, 1326857448, 1326857442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.66705513000488 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:16:02.619295
SELECT 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/07/09/image_05012025_07_09_03_038876_0003.jpg', '/home/pi/Desktop/images/05012025/07/10/image_05012025_07_10_02_567346_0000.jpg', '/home/pi/Desktop/images/05012025/07/10/image_05012025_07_10_02_567346_0001.jpg', '/home/pi/Desktop/images/05012025/07/10/image_05012025_07_10_02_567346_0003.jpg', '/home/pi/Desktop/images/05012025/07/11/image_05012025_07_11_02_162831_0000.jpg', '/home/pi/Desktop/images/05012025/07/11/image_05012025_07_11_02_162831_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/07/09/image_05012025_07_09_03_038876_0003.jpg
/home/pi/Desktop/images/05012025/07/10/image_05012025_07_10_02_567346_0000.jpg
/home/pi/Desktop/images/05012025/07/10/image_05012025_07_10_02_567346_0001.jpg
/home/pi/Desktop/images/05012025/07/10/image_05012025_07_10_02_567346_0003.jpg
/home/pi/Desktop/images/05012025/07/11/image_05012025_07_11_02_162831_0000.jpg
/home/pi/Desktop/images/05012025/07/11/image_05012025_07_11_02_162831_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857462","1326857465","1326857467","1326857461","1326857460","1326857463"],"photo_ids_order":["1326857460","1326857461","1326857462","1326857463","1326857465","1326857467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1b00af1700f7549bc2f8be7f0a69c5cb.jpg","text":"TemporaryFile(/tmp/multipartBody913860315403127842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057837222,"filename":"image_05012025_07_10_02_567346_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/57af4c6e9a269a816a5d59ee6b9d9ded.jpg","text":"TemporaryFile(/tmp/multipartBody7913970543332485127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057837222,"filename":"image_05012025_07_11_02_162831_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a5fe38ebd42dc7194775f57576fa89a0.jpg","text":"TemporaryFile(/tmp/multipartBody9099872094081161055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057837222,"filename":"image_05012025_07_11_02_162831_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bca06c6c392f2dda3bbbda6a6652f0e2.jpg","text":"TemporaryFile(/tmp/multipartBody863181738542501828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057837222,"filename":"image_05012025_07_10_02_567346_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b97c90298cda7f2e1d7df1b704affa44.jpg","text":"TemporaryFile(/tmp/multipartBody9094855778724674473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057837222,"filename":"image_05012025_07_09_03_038876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cc0b3db50cb124cd36bc6690ad1df460.jpg","text":"TemporaryFile(/tmp/multipartBody813549562607325234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057837222,"filename":"image_05012025_07_10_02_567346_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857462","file1":"1326857461","file0":"1326857460","file4":"1326857465","file5":"1326857467","file3":"1326857463"},"map_files_photo_id_array":[{"photo_id":"1326857467","filename":"file5"},{"photo_id":"1326857462","filename":"file2"},{"photo_id":"1326857465","filename":"file4"},{"photo_id":"1326857461","filename":"file1"},{"photo_id":"1326857460","filename":"file0"},{"photo_id":"1326857463","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857462":["hashtag1","hashtag2"]},{"1326857465":["hashtag1","hashtag2"]},{"1326857467":["hashtag1","hashtag2"]},{"1326857461":["hashtag1","hashtag2"]},{"1326857460":["hashtag1","hashtag2"]},{"1326857463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857462, 1326857465, 1326857467, 1326857461, 1326857460, 1326857463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.52527856826782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:17:03.351062
SELECT 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/07/11/image_05012025_07_11_02_162831_0002.jpg', '/home/pi/Desktop/images/05012025/07/11/image_05012025_07_11_02_162831_0003.jpg', '/home/pi/Desktop/images/05012025/07/12/image_05012025_07_12_02_690893_0000.jpg', '/home/pi/Desktop/images/05012025/07/12/image_05012025_07_12_02_690893_0001.jpg', '/home/pi/Desktop/images/05012025/07/12/image_05012025_07_12_02_690893_0002.jpg', '/home/pi/Desktop/images/05012025/07/12/image_05012025_07_12_02_690893_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/07/11/image_05012025_07_11_02_162831_0002.jpg
/home/pi/Desktop/images/05012025/07/11/image_05012025_07_11_02_162831_0003.jpg
/home/pi/Desktop/images/05012025/07/12/image_05012025_07_12_02_690893_0000.jpg
/home/pi/Desktop/images/05012025/07/12/image_05012025_07_12_02_690893_0001.jpg
/home/pi/Desktop/images/05012025/07/12/image_05012025_07_12_02_690893_0002.jpg
/home/pi/Desktop/images/05012025/07/12/image_05012025_07_12_02_690893_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857474","1326857485","1326857473","1326857482","1326857476","1326857479"],"photo_ids_order":["1326857473","1326857474","1326857476","1326857479","1326857482","1326857485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aafc43c7be425ce10098f337ea548713.jpg","text":"TemporaryFile(/tmp/multipartBody5468756201427348887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057898391,"filename":"image_05012025_07_11_02_162831_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a1f36fe10766a945778d78690d97ab75.jpg","text":"TemporaryFile(/tmp/multipartBody913956535217190949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057898391,"filename":"image_05012025_07_12_02_690893_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/372171dcb31aba752adc0eef7d3a91b8.jpg","text":"TemporaryFile(/tmp/multipartBody703289145592770552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057898391,"filename":"image_05012025_07_11_02_162831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/183ea53ebc9aea7055b1d8a45cb0e8a0.jpg","text":"TemporaryFile(/tmp/multipartBody7276484668924735091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057898391,"filename":"image_05012025_07_12_02_690893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a141592bec5b8e3ec59ceccb95c4b57.jpg","text":"TemporaryFile(/tmp/multipartBody7502980554164445162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057898391,"filename":"image_05012025_07_12_02_690893_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9bce4407173fb0f3ed697c827de72a34.jpg","text":"TemporaryFile(/tmp/multipartBody7535684652346705817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057898391,"filename":"image_05012025_07_12_02_690893_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857476","file1":"1326857474","file0":"1326857473","file4":"1326857482","file5":"1326857485","file3":"1326857479"},"map_files_photo_id_array":[{"photo_id":"1326857485","filename":"file5"},{"photo_id":"1326857476","filename":"file2"},{"photo_id":"1326857482","filename":"file4"},{"photo_id":"1326857474","filename":"file1"},{"photo_id":"1326857473","filename":"file0"},{"photo_id":"1326857479","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857474":["hashtag1","hashtag2"]},{"1326857485":["hashtag1","hashtag2"]},{"1326857473":["hashtag1","hashtag2"]},{"1326857482":["hashtag1","hashtag2"]},{"1326857476":["hashtag1","hashtag2"]},{"1326857479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857474, 1326857485, 1326857473, 1326857482, 1326857476, 1326857479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.448155641555786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:18:22.337885
SELECT 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/07/13/image_05012025_07_13_02_432305_0000.jpg', '/home/pi/Desktop/images/05012025/07/13/image_05012025_07_13_02_432305_0001.jpg', '/home/pi/Desktop/images/05012025/07/13/image_05012025_07_13_02_432305_0002.jpg', '/home/pi/Desktop/images/05012025/07/13/image_05012025_07_13_02_432305_0003.jpg', '/home/pi/Desktop/images/05012025/07/14/image_05012025_07_14_02_999287_0000.jpg', '/home/pi/Desktop/images/05012025/07/14/image_05012025_07_14_02_999287_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/07/13/image_05012025_07_13_02_432305_0000.jpg
/home/pi/Desktop/images/05012025/07/13/image_05012025_07_13_02_432305_0001.jpg
/home/pi/Desktop/images/05012025/07/13/image_05012025_07_13_02_432305_0002.jpg
/home/pi/Desktop/images/05012025/07/13/image_05012025_07_13_02_432305_0003.jpg
/home/pi/Desktop/images/05012025/07/14/image_05012025_07_14_02_999287_0000.jpg
/home/pi/Desktop/images/05012025/07/14/image_05012025_07_14_02_999287_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857492","1326857507","1326857501","1326857494","1326857532","1326857529"],"photo_ids_order":["1326857492","1326857494","1326857501","1326857507","1326857529","1326857532"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/40001f5478524d8df573a95b101c69bb.jpg","text":"TemporaryFile(/tmp/multipartBody8502025083433768929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057977664,"filename":"image_05012025_07_13_02_432305_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fc9cafd57118db57f62ff0254fcd457c.jpg","text":"TemporaryFile(/tmp/multipartBody9113710656386919304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057977664,"filename":"image_05012025_07_13_02_432305_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a61e8516e02c624b4967cf2ae06ebf17.jpg","text":"TemporaryFile(/tmp/multipartBody4100582290030107093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057977664,"filename":"image_05012025_07_13_02_432305_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e0051cedd3246f1bf73a66553d5ee9c6.jpg","text":"TemporaryFile(/tmp/multipartBody7959092973620244783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057977664,"filename":"image_05012025_07_13_02_432305_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2050d86a0d997e29b0e963874ec10d9f.jpg","text":"TemporaryFile(/tmp/multipartBody8260127637039173120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057977664,"filename":"image_05012025_07_14_02_999287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/89e19036ecfce29707d5f8ea2960ef6c.jpg","text":"TemporaryFile(/tmp/multipartBody666522228778621763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736057977664,"filename":"image_05012025_07_14_02_999287_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857501","file1":"1326857494","file0":"1326857492","file4":"1326857529","file5":"1326857532","file3":"1326857507"},"map_files_photo_id_array":[{"photo_id":"1326857532","filename":"file5"},{"photo_id":"1326857501","filename":"file2"},{"photo_id":"1326857529","filename":"file4"},{"photo_id":"1326857494","filename":"file1"},{"photo_id":"1326857492","filename":"file0"},{"photo_id":"1326857507","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857492":["hashtag1","hashtag2"]},{"1326857507":["hashtag1","hashtag2"]},{"1326857501":["hashtag1","hashtag2"]},{"1326857494":["hashtag1","hashtag2"]},{"1326857532":["hashtag1","hashtag2"]},{"1326857529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857492, 1326857507, 1326857501, 1326857494, 1326857532, 1326857529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.421775579452515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:19:21.774224
SELECT 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/07/14/image_05012025_07_14_02_999287_0002.jpg', '/home/pi/Desktop/images/05012025/07/14/image_05012025_07_14_02_999287_0003.jpg', '/home/pi/Desktop/images/05012025/07/15/image_05012025_07_15_02_517013_0000.jpg', '/home/pi/Desktop/images/05012025/07/15/image_05012025_07_15_02_517013_0001.jpg', '/home/pi/Desktop/images/05012025/07/15/image_05012025_07_15_02_517013_0002.jpg', '/home/pi/Desktop/images/05012025/07/15/image_05012025_07_15_02_517013_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/07/14/image_05012025_07_14_02_999287_0002.jpg
/home/pi/Desktop/images/05012025/07/14/image_05012025_07_14_02_999287_0003.jpg
/home/pi/Desktop/images/05012025/07/15/image_05012025_07_15_02_517013_0000.jpg
/home/pi/Desktop/images/05012025/07/15/image_05012025_07_15_02_517013_0001.jpg
/home/pi/Desktop/images/05012025/07/15/image_05012025_07_15_02_517013_0002.jpg
/home/pi/Desktop/images/05012025/07/15/image_05012025_07_15_02_517013_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857543","1326857549","1326857551","1326857545","1326857547","1326857541"],"photo_ids_order":["1326857541","1326857543","1326857545","1326857547","1326857549","1326857551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8c4c3fcb8b4916b158a5d1ea03fc4124.jpg","text":"TemporaryFile(/tmp/multipartBody2732641154739315374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058036878,"filename":"image_05012025_07_14_02_999287_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/97386dd9d2f4151e888069a9717dc649.jpg","text":"TemporaryFile(/tmp/multipartBody3883997348727507325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058036878,"filename":"image_05012025_07_15_02_517013_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/64816363ce2f2b9903b5ce67fd308ddb.jpg","text":"TemporaryFile(/tmp/multipartBody688834292212436179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058036878,"filename":"image_05012025_07_15_02_517013_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c19d0eec0baed3376fc9475b136990cd.jpg","text":"TemporaryFile(/tmp/multipartBody3172500175739158395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058036878,"filename":"image_05012025_07_15_02_517013_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f74fd4335addfa5381cbabc492f33bf.jpg","text":"TemporaryFile(/tmp/multipartBody3241732771947757753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058036878,"filename":"image_05012025_07_15_02_517013_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/90d490308d169cfbedb063f9c4f22b70.jpg","text":"TemporaryFile(/tmp/multipartBody1081230431621340019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058036878,"filename":"image_05012025_07_14_02_999287_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857545","file1":"1326857543","file0":"1326857541","file4":"1326857549","file5":"1326857551","file3":"1326857547"},"map_files_photo_id_array":[{"photo_id":"1326857551","filename":"file5"},{"photo_id":"1326857545","filename":"file2"},{"photo_id":"1326857549","filename":"file4"},{"photo_id":"1326857543","filename":"file1"},{"photo_id":"1326857541","filename":"file0"},{"photo_id":"1326857547","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857543":["hashtag1","hashtag2"]},{"1326857549":["hashtag1","hashtag2"]},{"1326857551":["hashtag1","hashtag2"]},{"1326857545":["hashtag1","hashtag2"]},{"1326857547":["hashtag1","hashtag2"]},{"1326857541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857543, 1326857549, 1326857551, 1326857545, 1326857547, 1326857541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.883763551712036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:21:02.501258
SELECT 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/07/16/image_05012025_07_16_02_983142_0000.jpg', '/home/pi/Desktop/images/05012025/07/16/image_05012025_07_16_02_983142_0001.jpg', '/home/pi/Desktop/images/05012025/07/16/image_05012025_07_16_02_983142_0002.jpg', '/home/pi/Desktop/images/05012025/07/16/image_05012025_07_16_02_983142_0003.jpg', '/home/pi/Desktop/images/05012025/07/17/image_05012025_07_17_02_527209_0000.jpg', '/home/pi/Desktop/images/05012025/07/17/image_05012025_07_17_02_527209_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/07/16/image_05012025_07_16_02_983142_0000.jpg
/home/pi/Desktop/images/05012025/07/16/image_05012025_07_16_02_983142_0001.jpg
/home/pi/Desktop/images/05012025/07/16/image_05012025_07_16_02_983142_0002.jpg
/home/pi/Desktop/images/05012025/07/16/image_05012025_07_16_02_983142_0003.jpg
/home/pi/Desktop/images/05012025/07/17/image_05012025_07_17_02_527209_0000.jpg
/home/pi/Desktop/images/05012025/07/17/image_05012025_07_17_02_527209_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":["1326857567","1326857584","1326857593","1326857569","1326857571","1326857565"],"photo_ids_order":["1326857565","1326857567","1326857569","1326857571","1326857584","1326857593"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c90a27b442ac970b089d81439a56d29a.jpg","text":"TemporaryFile(/tmp/multipartBody7517536528996037874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058137735,"filename":"image_05012025_07_16_02_983142_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b9197d78625b7fdaf10ffd563f1ec97f.jpg","text":"TemporaryFile(/tmp/multipartBody6609614406602738459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058137735,"filename":"image_05012025_07_17_02_527209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f0b3714245bd01dbb5bbabe409a8002.jpg","text":"TemporaryFile(/tmp/multipartBody7101386479869827210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058137735,"filename":"image_05012025_07_17_02_527209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0462c95c6126b044b1b0567457bb5b76.jpg","text":"TemporaryFile(/tmp/multipartBody6878403359416018787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058137735,"filename":"image_05012025_07_16_02_983142_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/90a6d44d6fbc1d410f36b79491f74ff4.jpg","text":"TemporaryFile(/tmp/multipartBody8040565918825861274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058137735,"filename":"image_05012025_07_16_02_983142_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/25fbb9cf395f0b2e6040e76f2b1671e7.jpg","text":"TemporaryFile(/tmp/multipartBody2906545862541611024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058137735,"filename":"image_05012025_07_16_02_983142_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857569","file1":"1326857567","file0":"1326857565","file4":"1326857584","file5":"1326857593","file3":"1326857571"},"map_files_photo_id_array":[{"photo_id":"1326857593","filename":"file5"},{"photo_id":"1326857569","filename":"file2"},{"photo_id":"1326857584","filename":"file4"},{"photo_id":"1326857567","filename":"file1"},{"photo_id":"1326857565","filename":"file0"},{"photo_id":"1326857571","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857567":["hashtag1","hashtag2"]},{"1326857584":["hashtag1","hashtag2"]},{"1326857593":["hashtag1","hashtag2"]},{"1326857569":["hashtag1","hashtag2"]},{"1326857571":["hashtag1","hashtag2"]},{"1326857565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857567, 1326857584, 1326857593, 1326857569, 1326857571, 1326857565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.99019813537598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:22:22.480371
SELECT 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/07/17/image_05012025_07_17_02_527209_0002.jpg', '/home/pi/Desktop/images/05012025/07/17/image_05012025_07_17_02_527209_0003.jpg', '/home/pi/Desktop/images/05012025/07/18/image_05012025_07_18_03_047652_0000.jpg', '/home/pi/Desktop/images/05012025/07/18/image_05012025_07_18_03_047652_0001.jpg', '/home/pi/Desktop/images/05012025/07/18/image_05012025_07_18_03_047652_0002.jpg', '/home/pi/Desktop/images/05012025/07/19/image_05012025_07_19_02_653611_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/07/17/image_05012025_07_17_02_527209_0002.jpg
/home/pi/Desktop/images/05012025/07/17/image_05012025_07_17_02_527209_0003.jpg
/home/pi/Desktop/images/05012025/07/18/image_05012025_07_18_03_047652_0000.jpg
/home/pi/Desktop/images/05012025/07/18/image_05012025_07_18_03_047652_0001.jpg
/home/pi/Desktop/images/05012025/07/18/image_05012025_07_18_03_047652_0002.jpg
/home/pi/Desktop/images/05012025/07/19/image_05012025_07_19_02_653611_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.77318787574768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:23:02.590063
SELECT 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/07/17/image_05012025_07_17_02_527209_0002.jpg', '/home/pi/Desktop/images/05012025/07/17/image_05012025_07_17_02_527209_0003.jpg', '/home/pi/Desktop/images/05012025/07/18/image_05012025_07_18_03_047652_0000.jpg', '/home/pi/Desktop/images/05012025/07/18/image_05012025_07_18_03_047652_0001.jpg', '/home/pi/Desktop/images/05012025/07/18/image_05012025_07_18_03_047652_0002.jpg', '/home/pi/Desktop/images/05012025/07/19/image_05012025_07_19_02_653611_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/07/17/image_05012025_07_17_02_527209_0002.jpg
/home/pi/Desktop/images/05012025/07/17/image_05012025_07_17_02_527209_0003.jpg
/home/pi/Desktop/images/05012025/07/18/image_05012025_07_18_03_047652_0000.jpg
/home/pi/Desktop/images/05012025/07/18/image_05012025_07_18_03_047652_0001.jpg
/home/pi/Desktop/images/05012025/07/18/image_05012025_07_18_03_047652_0002.jpg
/home/pi/Desktop/images/05012025/07/19/image_05012025_07_19_02_653611_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":["1326857643","1326857636","1326857639","1326857641","1326857644","1326857638"],"photo_ids_order":["1326857636","1326857638","1326857639","1326857641","1326857643","1326857644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/78bb71a312e858e596e5b2e697b65406.jpg","text":"TemporaryFile(/tmp/multipartBody6427192200551201121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058257873,"filename":"image_05012025_07_18_03_047652_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fedc914249ccf8eb048fb17be9300f51.jpg","text":"TemporaryFile(/tmp/multipartBody1346776895690900147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058257873,"filename":"image_05012025_07_17_02_527209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6a834bd329af61fbbed2d9aa089a0c97.jpg","text":"TemporaryFile(/tmp/multipartBody632633475322694016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058257873,"filename":"image_05012025_07_18_03_047652_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1bfcf74eaf22b9a0fc596864eebdcf82.jpg","text":"TemporaryFile(/tmp/multipartBody4856733666231088842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058257873,"filename":"image_05012025_07_18_03_047652_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0f7842d679125f38ab0cf9d0b221491c.jpg","text":"TemporaryFile(/tmp/multipartBody5279098825649055773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058257873,"filename":"image_05012025_07_19_02_653611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c2fa00810fbe4eb91e471580a31a2d37.jpg","text":"TemporaryFile(/tmp/multipartBody1312659319637976474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058257873,"filename":"image_05012025_07_17_02_527209_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857639","file1":"1326857638","file0":"1326857636","file4":"1326857643","file5":"1326857644","file3":"1326857641"},"map_files_photo_id_array":[{"photo_id":"1326857644","filename":"file5"},{"photo_id":"1326857639","filename":"file2"},{"photo_id":"1326857643","filename":"file4"},{"photo_id":"1326857638","filename":"file1"},{"photo_id":"1326857636","filename":"file0"},{"photo_id":"1326857641","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857643":["hashtag1","hashtag2"]},{"1326857636":["hashtag1","hashtag2"]},{"1326857639":["hashtag1","hashtag2"]},{"1326857641":["hashtag1","hashtag2"]},{"1326857644":["hashtag1","hashtag2"]},{"1326857638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857643, 1326857636, 1326857639, 1326857641, 1326857644, 1326857638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.96619701385498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:24:22.661858
SELECT 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/07/19/image_05012025_07_19_02_653611_0001.jpg', '/home/pi/Desktop/images/05012025/07/19/image_05012025_07_19_02_653611_0002.jpg', '/home/pi/Desktop/images/05012025/07/19/image_05012025_07_19_02_653611_0003.jpg', '/home/pi/Desktop/images/05012025/07/20/image_05012025_07_20_02_191191_0000.jpg', '/home/pi/Desktop/images/05012025/07/20/image_05012025_07_20_02_191191_0001.jpg', '/home/pi/Desktop/images/05012025/07/20/image_05012025_07_20_02_191191_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/07/19/image_05012025_07_19_02_653611_0001.jpg
/home/pi/Desktop/images/05012025/07/19/image_05012025_07_19_02_653611_0002.jpg
/home/pi/Desktop/images/05012025/07/19/image_05012025_07_19_02_653611_0003.jpg
/home/pi/Desktop/images/05012025/07/20/image_05012025_07_20_02_191191_0000.jpg
/home/pi/Desktop/images/05012025/07/20/image_05012025_07_20_02_191191_0001.jpg
/home/pi/Desktop/images/05012025/07/20/image_05012025_07_20_02_191191_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.535762786865234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:25:02.820798
SELECT 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/07/19/image_05012025_07_19_02_653611_0001.jpg', '/home/pi/Desktop/images/05012025/07/19/image_05012025_07_19_02_653611_0002.jpg', '/home/pi/Desktop/images/05012025/07/19/image_05012025_07_19_02_653611_0003.jpg', '/home/pi/Desktop/images/05012025/07/20/image_05012025_07_20_02_191191_0000.jpg', '/home/pi/Desktop/images/05012025/07/20/image_05012025_07_20_02_191191_0001.jpg', '/home/pi/Desktop/images/05012025/07/20/image_05012025_07_20_02_191191_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/07/19/image_05012025_07_19_02_653611_0001.jpg
/home/pi/Desktop/images/05012025/07/19/image_05012025_07_19_02_653611_0002.jpg
/home/pi/Desktop/images/05012025/07/19/image_05012025_07_19_02_653611_0003.jpg
/home/pi/Desktop/images/05012025/07/20/image_05012025_07_20_02_191191_0000.jpg
/home/pi/Desktop/images/05012025/07/20/image_05012025_07_20_02_191191_0001.jpg
/home/pi/Desktop/images/05012025/07/20/image_05012025_07_20_02_191191_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":["1326857699","1326857703","1326857705","1326857701","1326857707","1326857697"],"photo_ids_order":["1326857697","1326857699","1326857701","1326857703","1326857705","1326857707"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/38414ee0f00faca9d263fdd76e090f78.jpg","text":"TemporaryFile(/tmp/multipartBody6041536341200723217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058377844,"filename":"image_05012025_07_19_02_653611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e81a9ad9952d5e243a25becbfc1f79d7.jpg","text":"TemporaryFile(/tmp/multipartBody686509616529934599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058377844,"filename":"image_05012025_07_20_02_191191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fa50939b3f61bd0a158362eb49dede32.jpg","text":"TemporaryFile(/tmp/multipartBody8680876654442810330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058377844,"filename":"image_05012025_07_20_02_191191_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0acedf58c6a814f5a8397c21575f6f2d.jpg","text":"TemporaryFile(/tmp/multipartBody3520630054738814532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058377844,"filename":"image_05012025_07_19_02_653611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9c0384c5cd28a63875e37bfb2984b5fb.jpg","text":"TemporaryFile(/tmp/multipartBody8903448095841836813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058377844,"filename":"image_05012025_07_20_02_191191_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e7d8463959f6cc56519d3220cbfd8f89.jpg","text":"TemporaryFile(/tmp/multipartBody1191252394092800650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058377844,"filename":"image_05012025_07_19_02_653611_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857701","file1":"1326857699","file0":"1326857697","file4":"1326857705","file5":"1326857707","file3":"1326857703"},"map_files_photo_id_array":[{"photo_id":"1326857707","filename":"file5"},{"photo_id":"1326857701","filename":"file2"},{"photo_id":"1326857705","filename":"file4"},{"photo_id":"1326857699","filename":"file1"},{"photo_id":"1326857697","filename":"file0"},{"photo_id":"1326857703","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857699":["hashtag1","hashtag2"]},{"1326857703":["hashtag1","hashtag2"]},{"1326857705":["hashtag1","hashtag2"]},{"1326857701":["hashtag1","hashtag2"]},{"1326857707":["hashtag1","hashtag2"]},{"1326857697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857699, 1326857703, 1326857705, 1326857701, 1326857707, 1326857697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.45269513130188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:26:21.821224
SELECT 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/07/20/image_05012025_07_20_02_191191_0003.jpg', '/home/pi/Desktop/images/05012025/07/21/image_05012025_07_21_02_683930_0000.jpg', '/home/pi/Desktop/images/05012025/07/21/image_05012025_07_21_02_683930_0001.jpg', '/home/pi/Desktop/images/05012025/07/21/image_05012025_07_21_02_683930_0002.jpg', '/home/pi/Desktop/images/05012025/07/21/image_05012025_07_21_02_683930_0003.jpg', '/home/pi/Desktop/images/05012025/07/22/image_05012025_07_22_02_196480_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/07/20/image_05012025_07_20_02_191191_0003.jpg
/home/pi/Desktop/images/05012025/07/21/image_05012025_07_21_02_683930_0000.jpg
/home/pi/Desktop/images/05012025/07/21/image_05012025_07_21_02_683930_0001.jpg
/home/pi/Desktop/images/05012025/07/21/image_05012025_07_21_02_683930_0002.jpg
/home/pi/Desktop/images/05012025/07/21/image_05012025_07_21_02_683930_0003.jpg
/home/pi/Desktop/images/05012025/07/22/image_05012025_07_22_02_196480_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857718","1326857729","1326857720","1326857722","1326857731","1326857724"],"photo_ids_order":["1326857718","1326857720","1326857722","1326857724","1326857729","1326857731"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e38652e01d63767965bd4c83c5f28f5c.jpg","text":"TemporaryFile(/tmp/multipartBody6765203663733321385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058456827,"filename":"image_05012025_07_20_02_191191_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f16145f88aa4b6d72a368dfa981ebdf0.jpg","text":"TemporaryFile(/tmp/multipartBody8457165330594110634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058456827,"filename":"image_05012025_07_21_02_683930_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/97c0ddfe505a972bb60f0540c6888e9d.jpg","text":"TemporaryFile(/tmp/multipartBody2954030405694123431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058456827,"filename":"image_05012025_07_21_02_683930_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c6d481de67d4709b32f4f5972e59c4cb.jpg","text":"TemporaryFile(/tmp/multipartBody1700611513284091381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058456827,"filename":"image_05012025_07_21_02_683930_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/98ddc968d6b43b3e9249413d3a6f4d34.jpg","text":"TemporaryFile(/tmp/multipartBody2302408371577868089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058456827,"filename":"image_05012025_07_22_02_196480_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/53bb253293184ec96a5015a519e14539.jpg","text":"TemporaryFile(/tmp/multipartBody7355824521515705822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058456827,"filename":"image_05012025_07_21_02_683930_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857722","file1":"1326857720","file0":"1326857718","file4":"1326857729","file5":"1326857731","file3":"1326857724"},"map_files_photo_id_array":[{"photo_id":"1326857731","filename":"file5"},{"photo_id":"1326857722","filename":"file2"},{"photo_id":"1326857729","filename":"file4"},{"photo_id":"1326857720","filename":"file1"},{"photo_id":"1326857718","filename":"file0"},{"photo_id":"1326857724","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857718":["hashtag1","hashtag2"]},{"1326857729":["hashtag1","hashtag2"]},{"1326857720":["hashtag1","hashtag2"]},{"1326857722":["hashtag1","hashtag2"]},{"1326857731":["hashtag1","hashtag2"]},{"1326857724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857718, 1326857729, 1326857720, 1326857722, 1326857731, 1326857724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.99593257904053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:27:22.377379
SELECT 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/07/22/image_05012025_07_22_02_196480_0001.jpg', '/home/pi/Desktop/images/05012025/07/22/image_05012025_07_22_02_196480_0002.jpg', '/home/pi/Desktop/images/05012025/07/22/image_05012025_07_22_02_196480_0003.jpg', '/home/pi/Desktop/images/05012025/07/23/image_05012025_07_23_02_871993_0000.jpg', '/home/pi/Desktop/images/05012025/07/23/image_05012025_07_23_02_871993_0002.jpg', '/home/pi/Desktop/images/05012025/07/23/image_05012025_07_23_02_871993_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/07/22/image_05012025_07_22_02_196480_0001.jpg
/home/pi/Desktop/images/05012025/07/22/image_05012025_07_22_02_196480_0002.jpg
/home/pi/Desktop/images/05012025/07/22/image_05012025_07_22_02_196480_0003.jpg
/home/pi/Desktop/images/05012025/07/23/image_05012025_07_23_02_871993_0000.jpg
/home/pi/Desktop/images/05012025/07/23/image_05012025_07_23_02_871993_0002.jpg
/home/pi/Desktop/images/05012025/07/23/image_05012025_07_23_02_871993_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857768","1326857770","1326857794","1326857776","1326857766","1326857748"],"photo_ids_order":["1326857748","1326857766","1326857768","1326857770","1326857776","1326857794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/578eb2d95d5626b110fac9acfa2bbf2b.jpg","text":"TemporaryFile(/tmp/multipartBody6972351694793759385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058517147,"filename":"image_05012025_07_22_02_196480_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/497473e04151a04a09354d298d056847.jpg","text":"TemporaryFile(/tmp/multipartBody2886726041188157530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058517147,"filename":"image_05012025_07_23_02_871993_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7c1cdab5418ba4359a023973db765d0b.jpg","text":"TemporaryFile(/tmp/multipartBody2475524303448329954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058517147,"filename":"image_05012025_07_23_02_871993_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/679da7d0b99e5780f4d3381d2b9c68ac.jpg","text":"TemporaryFile(/tmp/multipartBody2998657120906327985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058517147,"filename":"image_05012025_07_23_02_871993_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/559bea3b7c6f111ae81cb08a081150b4.jpg","text":"TemporaryFile(/tmp/multipartBody6409355168081053457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058517147,"filename":"image_05012025_07_22_02_196480_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4e7ca5560106f6d6d102f897db34cc57.jpg","text":"TemporaryFile(/tmp/multipartBody7840498754980730389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058517147,"filename":"image_05012025_07_22_02_196480_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857768","file1":"1326857766","file0":"1326857748","file4":"1326857776","file5":"1326857794","file3":"1326857770"},"map_files_photo_id_array":[{"photo_id":"1326857794","filename":"file5"},{"photo_id":"1326857768","filename":"file2"},{"photo_id":"1326857776","filename":"file4"},{"photo_id":"1326857766","filename":"file1"},{"photo_id":"1326857748","filename":"file0"},{"photo_id":"1326857770","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857768":["hashtag1","hashtag2"]},{"1326857770":["hashtag1","hashtag2"]},{"1326857794":["hashtag1","hashtag2"]},{"1326857776":["hashtag1","hashtag2"]},{"1326857766":["hashtag1","hashtag2"]},{"1326857748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857768, 1326857770, 1326857794, 1326857776, 1326857766, 1326857748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.030317068099976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:28:21.891724
SELECT 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/07/24/image_05012025_07_24_02_348496_0000.jpg', '/home/pi/Desktop/images/05012025/07/24/image_05012025_07_24_02_348496_0001.jpg', '/home/pi/Desktop/images/05012025/07/24/image_05012025_07_24_02_348496_0002.jpg', '/home/pi/Desktop/images/05012025/07/24/image_05012025_07_24_02_348496_0003.jpg', '/home/pi/Desktop/images/05012025/07/25/image_05012025_07_25_03_050075_0003.jpg', '/home/pi/Desktop/images/05012025/07/26/image_05012025_07_26_02_603157_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/07/24/image_05012025_07_24_02_348496_0000.jpg
/home/pi/Desktop/images/05012025/07/24/image_05012025_07_24_02_348496_0001.jpg
/home/pi/Desktop/images/05012025/07/24/image_05012025_07_24_02_348496_0002.jpg
/home/pi/Desktop/images/05012025/07/24/image_05012025_07_24_02_348496_0003.jpg
/home/pi/Desktop/images/05012025/07/25/image_05012025_07_25_03_050075_0003.jpg
/home/pi/Desktop/images/05012025/07/26/image_05012025_07_26_02_603157_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857814","1326857807","1326857809","1326857799","1326857811","1326857805"],"photo_ids_order":["1326857799","1326857805","1326857807","1326857809","1326857811","1326857814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5e5d943e2052f26090db67834f5185e5.jpg","text":"TemporaryFile(/tmp/multipartBody6393826250165470721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058576479,"filename":"image_05012025_07_26_02_603157_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/75db55067a9675bfa667119abe45338b.jpg","text":"TemporaryFile(/tmp/multipartBody639500993450131781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058576479,"filename":"image_05012025_07_24_02_348496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0fac8ecb55d338aaf149b41eeadf981b.jpg","text":"TemporaryFile(/tmp/multipartBody2586659432203858022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058576479,"filename":"image_05012025_07_24_02_348496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/63609cec3e2d01c1790defd6e7113b2b.jpg","text":"TemporaryFile(/tmp/multipartBody6226047112752854585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058576479,"filename":"image_05012025_07_24_02_348496_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2ead3c8c8c1e5cf1bccc328affcb38e7.jpg","text":"TemporaryFile(/tmp/multipartBody5358598523722527686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058576479,"filename":"image_05012025_07_25_03_050075_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f4d557dd812ce7fdb86bbec0e9b44b7.jpg","text":"TemporaryFile(/tmp/multipartBody5628653128887139224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058576479,"filename":"image_05012025_07_24_02_348496_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857807","file1":"1326857805","file0":"1326857799","file4":"1326857811","file5":"1326857814","file3":"1326857809"},"map_files_photo_id_array":[{"photo_id":"1326857814","filename":"file5"},{"photo_id":"1326857807","filename":"file2"},{"photo_id":"1326857811","filename":"file4"},{"photo_id":"1326857805","filename":"file1"},{"photo_id":"1326857799","filename":"file0"},{"photo_id":"1326857809","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857814":["hashtag1","hashtag2"]},{"1326857807":["hashtag1","hashtag2"]},{"1326857809":["hashtag1","hashtag2"]},{"1326857799":["hashtag1","hashtag2"]},{"1326857811":["hashtag1","hashtag2"]},{"1326857805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857814, 1326857807, 1326857809, 1326857799, 1326857811, 1326857805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.443331718444824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:29:22.359940
SELECT 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/07/26/image_05012025_07_26_02_603157_0001.jpg', '/home/pi/Desktop/images/05012025/07/26/image_05012025_07_26_02_603157_0002.jpg', '/home/pi/Desktop/images/05012025/07/26/image_05012025_07_26_02_603157_0003.jpg', '/home/pi/Desktop/images/05012025/07/27/image_05012025_07_27_02_241346_0000.jpg', '/home/pi/Desktop/images/05012025/07/27/image_05012025_07_27_02_241346_0002.jpg', '/home/pi/Desktop/images/05012025/07/27/image_05012025_07_27_02_241346_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/07/26/image_05012025_07_26_02_603157_0001.jpg
/home/pi/Desktop/images/05012025/07/26/image_05012025_07_26_02_603157_0002.jpg
/home/pi/Desktop/images/05012025/07/26/image_05012025_07_26_02_603157_0003.jpg
/home/pi/Desktop/images/05012025/07/27/image_05012025_07_27_02_241346_0000.jpg
/home/pi/Desktop/images/05012025/07/27/image_05012025_07_27_02_241346_0002.jpg
/home/pi/Desktop/images/05012025/07/27/image_05012025_07_27_02_241346_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857840","1326857834","1326857837","1326857828","1326857830","1326857826"],"photo_ids_order":["1326857826","1326857828","1326857830","1326857834","1326857837","1326857840"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6310d95696c14648c8e96bab69ddf006.jpg","text":"TemporaryFile(/tmp/multipartBody154550043166847605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058636821,"filename":"image_05012025_07_27_02_241346_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1b8ac6582316842f3f3d0dd6e154b6ab.jpg","text":"TemporaryFile(/tmp/multipartBody8561604903859997160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058636821,"filename":"image_05012025_07_27_02_241346_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/026fd1863f7b4cd7bbddb09309646b5e.jpg","text":"TemporaryFile(/tmp/multipartBody159036136152922629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058636821,"filename":"image_05012025_07_27_02_241346_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e9815727d5c0027da3f5fece5e60477c.jpg","text":"TemporaryFile(/tmp/multipartBody6988052692558527613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058636821,"filename":"image_05012025_07_26_02_603157_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/649541593e35e5c67c74f0fafcfce6c6.jpg","text":"TemporaryFile(/tmp/multipartBody574024301061287883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058636821,"filename":"image_05012025_07_26_02_603157_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/27fb648be4007a0b7aee05c64fb360d5.jpg","text":"TemporaryFile(/tmp/multipartBody2804433426799802706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058636821,"filename":"image_05012025_07_26_02_603157_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857830","file1":"1326857828","file0":"1326857826","file4":"1326857837","file5":"1326857840","file3":"1326857834"},"map_files_photo_id_array":[{"photo_id":"1326857840","filename":"file5"},{"photo_id":"1326857830","filename":"file2"},{"photo_id":"1326857837","filename":"file4"},{"photo_id":"1326857828","filename":"file1"},{"photo_id":"1326857826","filename":"file0"},{"photo_id":"1326857834","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857840":["hashtag1","hashtag2"]},{"1326857834":["hashtag1","hashtag2"]},{"1326857837":["hashtag1","hashtag2"]},{"1326857828":["hashtag1","hashtag2"]},{"1326857830":["hashtag1","hashtag2"]},{"1326857826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857840, 1326857834, 1326857837, 1326857828, 1326857830, 1326857826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.384305000305176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:31:03.155633
SELECT 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/07/28/image_05012025_07_28_02_741498_0000.jpg', '/home/pi/Desktop/images/05012025/07/28/image_05012025_07_28_02_741498_0001.jpg', '/home/pi/Desktop/images/05012025/07/28/image_05012025_07_28_02_741498_0003.jpg', '/home/pi/Desktop/images/05012025/07/29/image_05012025_07_29_02_260280_0000.jpg', '/home/pi/Desktop/images/05012025/07/29/image_05012025_07_29_02_260280_0001.jpg', '/home/pi/Desktop/images/05012025/07/29/image_05012025_07_29_02_260280_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/07/28/image_05012025_07_28_02_741498_0000.jpg
/home/pi/Desktop/images/05012025/07/28/image_05012025_07_28_02_741498_0001.jpg
/home/pi/Desktop/images/05012025/07/28/image_05012025_07_28_02_741498_0003.jpg
/home/pi/Desktop/images/05012025/07/29/image_05012025_07_29_02_260280_0000.jpg
/home/pi/Desktop/images/05012025/07/29/image_05012025_07_29_02_260280_0001.jpg
/home/pi/Desktop/images/05012025/07/29/image_05012025_07_29_02_260280_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857870","1326857873","1326857876","1326857878","1326857866","1326857868"],"photo_ids_order":["1326857866","1326857868","1326857870","1326857873","1326857876","1326857878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ba44c3bbc8284c59c2fb77dc90765b69.jpg","text":"TemporaryFile(/tmp/multipartBody3032234088041301643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058737596,"filename":"image_05012025_07_28_02_741498_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dcdc7577234ef76ad04e6e0c34c9fca9.jpg","text":"TemporaryFile(/tmp/multipartBody7311964144699290881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058737596,"filename":"image_05012025_07_29_02_260280_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/544e9ea5e2bf53a38800e2d0520d202e.jpg","text":"TemporaryFile(/tmp/multipartBody9156097685928528478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058737596,"filename":"image_05012025_07_29_02_260280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f1738a9fc192c2e192da4d9e607d0dd4.jpg","text":"TemporaryFile(/tmp/multipartBody7531856604470084149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058737596,"filename":"image_05012025_07_29_02_260280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc4642ad6d79cb3ecf3ff5a12bf778a8.jpg","text":"TemporaryFile(/tmp/multipartBody2496695192301951935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058737596,"filename":"image_05012025_07_28_02_741498_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/55f64be90c796dec19866caeb7258b90.jpg","text":"TemporaryFile(/tmp/multipartBody2830019635513263260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058737596,"filename":"image_05012025_07_28_02_741498_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857870","file1":"1326857868","file0":"1326857866","file4":"1326857876","file5":"1326857878","file3":"1326857873"},"map_files_photo_id_array":[{"photo_id":"1326857878","filename":"file5"},{"photo_id":"1326857870","filename":"file2"},{"photo_id":"1326857876","filename":"file4"},{"photo_id":"1326857868","filename":"file1"},{"photo_id":"1326857866","filename":"file0"},{"photo_id":"1326857873","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857870":["hashtag1","hashtag2"]},{"1326857873":["hashtag1","hashtag2"]},{"1326857876":["hashtag1","hashtag2"]},{"1326857878":["hashtag1","hashtag2"]},{"1326857866":["hashtag1","hashtag2"]},{"1326857868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857870, 1326857873, 1326857876, 1326857878, 1326857866, 1326857868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.2112603187561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:32:02.291859
SELECT 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/07/29/image_05012025_07_29_02_260280_0003.jpg', '/home/pi/Desktop/images/05012025/07/30/image_05012025_07_30_02_802599_0000.jpg', '/home/pi/Desktop/images/05012025/07/30/image_05012025_07_30_02_802599_0002.jpg', '/home/pi/Desktop/images/05012025/07/30/image_05012025_07_30_02_802599_0003.jpg', '/home/pi/Desktop/images/05012025/07/31/image_05012025_07_31_02_261504_0000.jpg', '/home/pi/Desktop/images/05012025/07/31/image_05012025_07_31_02_261504_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/07/29/image_05012025_07_29_02_260280_0003.jpg
/home/pi/Desktop/images/05012025/07/30/image_05012025_07_30_02_802599_0000.jpg
/home/pi/Desktop/images/05012025/07/30/image_05012025_07_30_02_802599_0002.jpg
/home/pi/Desktop/images/05012025/07/30/image_05012025_07_30_02_802599_0003.jpg
/home/pi/Desktop/images/05012025/07/31/image_05012025_07_31_02_261504_0000.jpg
/home/pi/Desktop/images/05012025/07/31/image_05012025_07_31_02_261504_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857894","1326857882","1326857884","1326857892","1326857886","1326857889"],"photo_ids_order":["1326857882","1326857884","1326857886","1326857889","1326857892","1326857894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/590465a54d1fc8a4a06ab399d7769db4.jpg","text":"TemporaryFile(/tmp/multipartBody4747369961547041724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058796787,"filename":"image_05012025_07_31_02_261504_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d51cca77289e39a4d8f1e460e831915f.jpg","text":"TemporaryFile(/tmp/multipartBody6027002521823548392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058796787,"filename":"image_05012025_07_29_02_260280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/12ba8308bcbaa123ca1409db68b86d25.jpg","text":"TemporaryFile(/tmp/multipartBody6211525302195493330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058796787,"filename":"image_05012025_07_30_02_802599_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cd5902506812ce7981a4b84dae687138.jpg","text":"TemporaryFile(/tmp/multipartBody8116837207669166601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058796787,"filename":"image_05012025_07_31_02_261504_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6a1f82c5f81267c347e2f884a49d8cb7.jpg","text":"TemporaryFile(/tmp/multipartBody7048518378658906476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058796787,"filename":"image_05012025_07_30_02_802599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc8917fd209dbe6934cee0b1794a63e4.jpg","text":"TemporaryFile(/tmp/multipartBody3453814621374519746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058796787,"filename":"image_05012025_07_30_02_802599_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857886","file1":"1326857884","file0":"1326857882","file4":"1326857892","file5":"1326857894","file3":"1326857889"},"map_files_photo_id_array":[{"photo_id":"1326857894","filename":"file5"},{"photo_id":"1326857886","filename":"file2"},{"photo_id":"1326857892","filename":"file4"},{"photo_id":"1326857884","filename":"file1"},{"photo_id":"1326857882","filename":"file0"},{"photo_id":"1326857889","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857894":["hashtag1","hashtag2"]},{"1326857882":["hashtag1","hashtag2"]},{"1326857884":["hashtag1","hashtag2"]},{"1326857892":["hashtag1","hashtag2"]},{"1326857886":["hashtag1","hashtag2"]},{"1326857889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857894, 1326857882, 1326857884, 1326857892, 1326857886, 1326857889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.94346356391907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:33:02.958772
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/31/image_05012025_07_31_02_261504_0003.jpg', '/home/pi/Desktop/images/05012025/07/32/image_05012025_07_32_02_801952_0000.jpg', '/home/pi/Desktop/images/05012025/07/32/image_05012025_07_32_02_801952_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/07/31/image_05012025_07_31_02_261504_0003.jpg
/home/pi/Desktop/images/05012025/07/32/image_05012025_07_32_02_801952_0000.jpg
/home/pi/Desktop/images/05012025/07/32/image_05012025_07_32_02_801952_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857907","1326857905","1326857904"],"photo_ids_order":["1326857904","1326857905","1326857907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c2ce044f88d14c98748218be4b800744.jpg","text":"TemporaryFile(/tmp/multipartBody7607072283398859160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058850552,"filename":"image_05012025_07_32_02_801952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/54255e8138c463857ab3015d8dfbbb17.jpg","text":"TemporaryFile(/tmp/multipartBody1534493696747986904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058850552,"filename":"image_05012025_07_32_02_801952_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c121a5d18ffffccd24687b8e8c25c2f6.jpg","text":"TemporaryFile(/tmp/multipartBody5200382699630959176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058850552,"filename":"image_05012025_07_31_02_261504_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857907","file1":"1326857905","file0":"1326857904"},"map_files_photo_id_array":[{"photo_id":"1326857907","filename":"file2"},{"photo_id":"1326857905","filename":"file1"},{"photo_id":"1326857904","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857907":["hashtag1","hashtag2"]},{"1326857905":["hashtag1","hashtag2"]},{"1326857904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857907, 1326857905, 1326857904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.285828828811646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:34:02.569752
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/32/image_05012025_07_32_02_801952_0003.jpg', '/home/pi/Desktop/images/05012025/07/33/image_05012025_07_33_02_325717_0000.jpg', '/home/pi/Desktop/images/05012025/07/33/image_05012025_07_33_02_325717_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/07/32/image_05012025_07_32_02_801952_0003.jpg
/home/pi/Desktop/images/05012025/07/33/image_05012025_07_33_02_325717_0000.jpg
/home/pi/Desktop/images/05012025/07/33/image_05012025_07_33_02_325717_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.1242146492004395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:34:22.029166
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/32/image_05012025_07_32_02_801952_0003.jpg', '/home/pi/Desktop/images/05012025/07/33/image_05012025_07_33_02_325717_0000.jpg', '/home/pi/Desktop/images/05012025/07/33/image_05012025_07_33_02_325717_0001.jpg', '/home/pi/Desktop/images/05012025/07/33/image_05012025_07_33_02_325717_0002.jpg', '/home/pi/Desktop/images/05012025/07/34/image_05012025_07_34_02_801838_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/07/32/image_05012025_07_32_02_801952_0003.jpg
/home/pi/Desktop/images/05012025/07/33/image_05012025_07_33_02_325717_0000.jpg
/home/pi/Desktop/images/05012025/07/33/image_05012025_07_33_02_325717_0001.jpg
/home/pi/Desktop/images/05012025/07/33/image_05012025_07_33_02_325717_0002.jpg
/home/pi/Desktop/images/05012025/07/34/image_05012025_07_34_02_801838_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857948","1326857950","1326857938","1326857940","1326857946"],"photo_ids_order":["1326857938","1326857940","1326857946","1326857948","1326857950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5d43b51b7a4bad57ea9da8ee558e08de.jpg","text":"TemporaryFile(/tmp/multipartBody8500546760295243742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058934155,"filename":"image_05012025_07_33_02_325717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/383c1e9c47c428af2ff333aa05262752.jpg","text":"TemporaryFile(/tmp/multipartBody720486851867054461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058934155,"filename":"image_05012025_07_34_02_801838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5ce76909127984d3a96ff8908793a041.jpg","text":"TemporaryFile(/tmp/multipartBody6516753686673206330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058934155,"filename":"image_05012025_07_32_02_801952_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f5f7253ae28b5346464af8c29847e8db.jpg","text":"TemporaryFile(/tmp/multipartBody216427295381227781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058934155,"filename":"image_05012025_07_33_02_325717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cb48c4c4f7daca887782681c20750717.jpg","text":"TemporaryFile(/tmp/multipartBody17888615502405548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058934155,"filename":"image_05012025_07_33_02_325717_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857946","file1":"1326857940","file0":"1326857938","file4":"1326857950","file3":"1326857948"},"map_files_photo_id_array":[{"photo_id":"1326857946","filename":"file2"},{"photo_id":"1326857950","filename":"file4"},{"photo_id":"1326857940","filename":"file1"},{"photo_id":"1326857938","filename":"file0"},{"photo_id":"1326857948","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857948":["hashtag1","hashtag2"]},{"1326857950":["hashtag1","hashtag2"]},{"1326857938":["hashtag1","hashtag2"]},{"1326857940":["hashtag1","hashtag2"]},{"1326857946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857948, 1326857950, 1326857938, 1326857940, 1326857946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 51.035038471221924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:35:22.477667
SELECT 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/07/34/image_05012025_07_34_02_801838_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/07/34/image_05012025_07_34_02_801838_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857953"],"photo_id":"1326857953","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fb44a5fa8d1fbc3c93e4bea05b6fe32d.jpg","text":"TemporaryFile(/tmp/multipartBody6787393690455413152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736058985470,"filename":"image_05012025_07_34_02_801838_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326857953"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326857953"}],"hashtags":[],"portfolio_id":"19417920","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.173367977142334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:36:02.555460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:36:22.113574
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/35/image_05012025_07_35_02_422537_0000.jpg', '/home/pi/Desktop/images/05012025/07/36/image_05012025_07_36_03_012157_0000.jpg', '/home/pi/Desktop/images/05012025/07/36/image_05012025_07_36_03_012157_0001.jpg', '/home/pi/Desktop/images/05012025/07/36/image_05012025_07_36_03_012157_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/07/35/image_05012025_07_35_02_422537_0000.jpg
/home/pi/Desktop/images/05012025/07/36/image_05012025_07_36_03_012157_0000.jpg
/home/pi/Desktop/images/05012025/07/36/image_05012025_07_36_03_012157_0001.jpg
/home/pi/Desktop/images/05012025/07/36/image_05012025_07_36_03_012157_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326857978","1326857966","1326857963","1326857982"],"photo_ids_order":["1326857963","1326857966","1326857978","1326857982"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f1bcdec10a6acb1680462f4ee42a08d.jpg","text":"TemporaryFile(/tmp/multipartBody6506793120682456843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059051966,"filename":"image_05012025_07_36_03_012157_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/94c4bec7643dee60d04496aaea36b37b.jpg","text":"TemporaryFile(/tmp/multipartBody511415497775547676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059051966,"filename":"image_05012025_07_36_03_012157_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5d5e3315b4069c5a5280f79a27ddb506.jpg","text":"TemporaryFile(/tmp/multipartBody8997194621725055699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059051966,"filename":"image_05012025_07_35_02_422537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/61d202f392cecf0449f3415e7d9479e1.jpg","text":"TemporaryFile(/tmp/multipartBody720787716352360002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059051966,"filename":"image_05012025_07_36_03_012157_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326857978","file1":"1326857966","file0":"1326857963","file3":"1326857982"},"map_files_photo_id_array":[{"photo_id":"1326857978","filename":"file2"},{"photo_id":"1326857966","filename":"file1"},{"photo_id":"1326857963","filename":"file0"},{"photo_id":"1326857982","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326857978":["hashtag1","hashtag2"]},{"1326857966":["hashtag1","hashtag2"]},{"1326857963":["hashtag1","hashtag2"]},{"1326857982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326857978, 1326857966, 1326857963, 1326857982)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 40.11357545852661 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:37:22.643047
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/36/image_05012025_07_36_03_012157_0003.jpg', '/home/pi/Desktop/images/05012025/07/37/image_05012025_07_37_02_521854_0001.jpg', '/home/pi/Desktop/images/05012025/07/37/image_05012025_07_37_02_521854_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/07/36/image_05012025_07_36_03_012157_0003.jpg
/home/pi/Desktop/images/05012025/07/37/image_05012025_07_37_02_521854_0001.jpg
/home/pi/Desktop/images/05012025/07/37/image_05012025_07_37_02_521854_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858013","1326858010","1326858015"],"photo_ids_order":["1326858010","1326858013","1326858015"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7e3bb2d7c3f7a13b7eb8e9a204759e59.jpg","text":"TemporaryFile(/tmp/multipartBody112243701705028378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059110172,"filename":"image_05012025_07_37_02_521854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7e9c1a00932ed51f09fdb087bd974760.jpg","text":"TemporaryFile(/tmp/multipartBody2222762508773114781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059110172,"filename":"image_05012025_07_36_03_012157_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/90666ae5bc1dc6355f5fdb7d6a0ee489.jpg","text":"TemporaryFile(/tmp/multipartBody2269781269556301866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059110172,"filename":"image_05012025_07_37_02_521854_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326858015","file1":"1326858013","file0":"1326858010"},"map_files_photo_id_array":[{"photo_id":"1326858015","filename":"file2"},{"photo_id":"1326858013","filename":"file1"},{"photo_id":"1326858010","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858013":["hashtag1","hashtag2"]},{"1326858010":["hashtag1","hashtag2"]},{"1326858015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858013, 1326858010, 1326858015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.867132425308228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:38:02.713427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:38:22.175917
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/37/image_05012025_07_37_02_521854_0003.jpg', '/home/pi/Desktop/images/05012025/07/38/image_05012025_07_38_03_113859_0000.jpg', '/home/pi/Desktop/images/05012025/07/38/image_05012025_07_38_03_113859_0001.jpg', '/home/pi/Desktop/images/05012025/07/38/image_05012025_07_38_03_113859_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/07/37/image_05012025_07_37_02_521854_0003.jpg
/home/pi/Desktop/images/05012025/07/38/image_05012025_07_38_03_113859_0000.jpg
/home/pi/Desktop/images/05012025/07/38/image_05012025_07_38_03_113859_0001.jpg
/home/pi/Desktop/images/05012025/07/38/image_05012025_07_38_03_113859_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.480718612670898 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:39:02.237213
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/37/image_05012025_07_37_02_521854_0003.jpg', '/home/pi/Desktop/images/05012025/07/38/image_05012025_07_38_03_113859_0000.jpg', '/home/pi/Desktop/images/05012025/07/38/image_05012025_07_38_03_113859_0001.jpg', '/home/pi/Desktop/images/05012025/07/38/image_05012025_07_38_03_113859_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/07/37/image_05012025_07_37_02_521854_0003.jpg
/home/pi/Desktop/images/05012025/07/38/image_05012025_07_38_03_113859_0000.jpg
/home/pi/Desktop/images/05012025/07/38/image_05012025_07_38_03_113859_0001.jpg
/home/pi/Desktop/images/05012025/07/38/image_05012025_07_38_03_113859_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858056","1326858052","1326858054","1326858051"],"photo_ids_order":["1326858051","1326858052","1326858054","1326858056"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/43c397bff05306564c23df0e6ef61c67.jpg","text":"TemporaryFile(/tmp/multipartBody791119713161183973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059212183,"filename":"image_05012025_07_38_03_113859_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ebc4a20a20aecbdf9d0a7fddcffbd8c9.jpg","text":"TemporaryFile(/tmp/multipartBody9129618296851851266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059212183,"filename":"image_05012025_07_38_03_113859_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/209a910ff57d5a3a6b4e2b14af339c2a.jpg","text":"TemporaryFile(/tmp/multipartBody6555657941696245721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059212183,"filename":"image_05012025_07_38_03_113859_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b49db998ae4cb1914b895355844da347.jpg","text":"TemporaryFile(/tmp/multipartBody2788022621324492896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059212183,"filename":"image_05012025_07_37_02_521854_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326858054","file1":"1326858052","file0":"1326858051","file3":"1326858056"},"map_files_photo_id_array":[{"photo_id":"1326858054","filename":"file2"},{"photo_id":"1326858052","filename":"file1"},{"photo_id":"1326858051","filename":"file0"},{"photo_id":"1326858056","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858056":["hashtag1","hashtag2"]},{"1326858052":["hashtag1","hashtag2"]},{"1326858054":["hashtag1","hashtag2"]},{"1326858051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858056, 1326858052, 1326858054, 1326858051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.41640901565552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:40:02.878738
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/38/image_05012025_07_38_03_113859_0003.jpg', '/home/pi/Desktop/images/05012025/07/39/image_05012025_07_39_02_681918_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/07/38/image_05012025_07_38_03_113859_0003.jpg
/home/pi/Desktop/images/05012025/07/39/image_05012025_07_39_02_681918_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.9078369140625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:40:22.505043
SELECT 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/07/38/image_05012025_07_38_03_113859_0003.jpg', '/home/pi/Desktop/images/05012025/07/39/image_05012025_07_39_02_681918_0001.jpg', '/home/pi/Desktop/images/05012025/07/39/image_05012025_07_39_02_681918_0003.jpg', '/home/pi/Desktop/images/05012025/07/40/image_05012025_07_40_02_224177_0000.jpg', '/home/pi/Desktop/images/05012025/07/40/image_05012025_07_40_02_224177_0001.jpg', '/home/pi/Desktop/images/05012025/07/40/image_05012025_07_40_02_224177_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/07/38/image_05012025_07_38_03_113859_0003.jpg
/home/pi/Desktop/images/05012025/07/39/image_05012025_07_39_02_681918_0001.jpg
/home/pi/Desktop/images/05012025/07/39/image_05012025_07_39_02_681918_0003.jpg
/home/pi/Desktop/images/05012025/07/40/image_05012025_07_40_02_224177_0000.jpg
/home/pi/Desktop/images/05012025/07/40/image_05012025_07_40_02_224177_0001.jpg
/home/pi/Desktop/images/05012025/07/40/image_05012025_07_40_02_224177_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858251","1326858245","1326858254","1326858247","1326858252","1326858249"],"photo_ids_order":["1326858245","1326858247","1326858249","1326858251","1326858252","1326858254"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8c25a31c79b55779d00577f72fbdedae.jpg","text":"TemporaryFile(/tmp/multipartBody6268057064429391846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059296938,"filename":"image_05012025_07_40_02_224177_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/343532856746fa74c6a9b5b346cfbde8.jpg","text":"TemporaryFile(/tmp/multipartBody716322535663139019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059296938,"filename":"image_05012025_07_38_03_113859_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/af38b4174c8d51edf9742693082a5015.jpg","text":"TemporaryFile(/tmp/multipartBody3318458328727819451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059296938,"filename":"image_05012025_07_40_02_224177_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9c55f7fae2d39d86271fed5225d7512c.jpg","text":"TemporaryFile(/tmp/multipartBody1738317040771598466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059296938,"filename":"image_05012025_07_39_02_681918_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a20810e6cfb87da8fab2e4494bc66df0.jpg","text":"TemporaryFile(/tmp/multipartBody2103739125287123791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059296938,"filename":"image_05012025_07_40_02_224177_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/24bb46972e413cf6e9da8138ff3c5f71.jpg","text":"TemporaryFile(/tmp/multipartBody7361284188030293365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059296938,"filename":"image_05012025_07_39_02_681918_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326858249","file1":"1326858247","file0":"1326858245","file4":"1326858252","file5":"1326858254","file3":"1326858251"},"map_files_photo_id_array":[{"photo_id":"1326858254","filename":"file5"},{"photo_id":"1326858249","filename":"file2"},{"photo_id":"1326858252","filename":"file4"},{"photo_id":"1326858247","filename":"file1"},{"photo_id":"1326858245","filename":"file0"},{"photo_id":"1326858251","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858251":["hashtag1","hashtag2"]},{"1326858245":["hashtag1","hashtag2"]},{"1326858254":["hashtag1","hashtag2"]},{"1326858247":["hashtag1","hashtag2"]},{"1326858252":["hashtag1","hashtag2"]},{"1326858249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858251, 1326858245, 1326858254, 1326858247, 1326858252, 1326858249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.69769215583801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:41:22.043118
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/40/image_05012025_07_40_02_224177_0003.jpg', '/home/pi/Desktop/images/05012025/07/41/image_05012025_07_41_02_888519_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/07/40/image_05012025_07_40_02_224177_0003.jpg
/home/pi/Desktop/images/05012025/07/41/image_05012025_07_41_02_888519_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858257","1326858256"],"photo_ids_order":["1326858256","1326858257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cd448126e58707127d121fc03681f53e.jpg","text":"TemporaryFile(/tmp/multipartBody1411459311135720852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059347323,"filename":"image_05012025_07_41_02_888519_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/141f8052224bac26f61480bd7e6e245c.jpg","text":"TemporaryFile(/tmp/multipartBody4614933952007576376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059347323,"filename":"image_05012025_07_40_02_224177_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326858257","file0":"1326858256"},"map_files_photo_id_array":[{"photo_id":"1326858257","filename":"file1"},{"photo_id":"1326858256","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858257":["hashtag1","hashtag2"]},{"1326858256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858257, 1326858256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.9630069732666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:42:03.024545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:42:22.473875
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/41/image_05012025_07_41_02_888519_0001.jpg', '/home/pi/Desktop/images/05012025/07/42/image_05012025_07_42_02_387685_0001.jpg', '/home/pi/Desktop/images/05012025/07/42/image_05012025_07_42_02_387685_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/07/41/image_05012025_07_41_02_888519_0001.jpg
/home/pi/Desktop/images/05012025/07/42/image_05012025_07_42_02_387685_0001.jpg
/home/pi/Desktop/images/05012025/07/42/image_05012025_07_42_02_387685_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858266","1326858268","1326858264"],"photo_ids_order":["1326858264","1326858266","1326858268"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e1ccfcdede1e64f734bf09b36de41601.jpg","text":"TemporaryFile(/tmp/multipartBody5941906289109374774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059410019,"filename":"image_05012025_07_42_02_387685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/481332feadf308ac7337b69848b619d7.jpg","text":"TemporaryFile(/tmp/multipartBody2934341902054378832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059410019,"filename":"image_05012025_07_42_02_387685_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1cbd93fac0e2a019d8b5c97fca6a7277.jpg","text":"TemporaryFile(/tmp/multipartBody7968161842220418211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059410019,"filename":"image_05012025_07_41_02_888519_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326858268","file1":"1326858266","file0":"1326858264"},"map_files_photo_id_array":[{"photo_id":"1326858268","filename":"file2"},{"photo_id":"1326858266","filename":"file1"},{"photo_id":"1326858264","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858266":["hashtag1","hashtag2"]},{"1326858268":["hashtag1","hashtag2"]},{"1326858264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858266, 1326858268, 1326858264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.189098834991455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:43:02.590848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:43:21.944503
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/42/image_05012025_07_42_02_387685_0003.jpg', '/home/pi/Desktop/images/05012025/07/43/image_05012025_07_43_02_872013_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/07/42/image_05012025_07_42_02_387685_0003.jpg
/home/pi/Desktop/images/05012025/07/43/image_05012025_07_43_02_872013_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858323","1326858325"],"photo_ids_order":["1326858323","1326858325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/41280068dd408fc15e1a92a6c364ea9f.jpg","text":"TemporaryFile(/tmp/multipartBody5093985892906048033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059467227,"filename":"image_05012025_07_42_02_387685_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4fe32819d5837378fa80b38214d7a628.jpg","text":"TemporaryFile(/tmp/multipartBody1111426273681021261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059467227,"filename":"image_05012025_07_43_02_872013_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326858325","file0":"1326858323"},"map_files_photo_id_array":[{"photo_id":"1326858325","filename":"file1"},{"photo_id":"1326858323","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858323":["hashtag1","hashtag2"]},{"1326858325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858323, 1326858325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.69058060646057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:44:03.018591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:44:22.627601
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/43/image_05012025_07_43_02_872013_0003.jpg', '/home/pi/Desktop/images/05012025/07/44/image_05012025_07_44_02_334027_0000.jpg', '/home/pi/Desktop/images/05012025/07/44/image_05012025_07_44_02_334027_0001.jpg', '/home/pi/Desktop/images/05012025/07/44/image_05012025_07_44_02_334027_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/07/43/image_05012025_07_43_02_872013_0003.jpg
/home/pi/Desktop/images/05012025/07/44/image_05012025_07_44_02_334027_0000.jpg
/home/pi/Desktop/images/05012025/07/44/image_05012025_07_44_02_334027_0001.jpg
/home/pi/Desktop/images/05012025/07/44/image_05012025_07_44_02_334027_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858362","1326858356","1326858359","1326858354"],"photo_ids_order":["1326858354","1326858356","1326858359","1326858362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3bcf47356ec2e9cad01c03f0d8da0d77.jpg","text":"TemporaryFile(/tmp/multipartBody3488093319392674289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059532446,"filename":"image_05012025_07_44_02_334027_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c044c04a7816f1024e11ab8cd185af0.jpg","text":"TemporaryFile(/tmp/multipartBody2935601248867577341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059532446,"filename":"image_05012025_07_44_02_334027_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8cde43bb1c448996f5ad41ff81e9630a.jpg","text":"TemporaryFile(/tmp/multipartBody7174255896006447509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059532446,"filename":"image_05012025_07_44_02_334027_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d36b67abad12991d9116e34e5cbd6ac3.jpg","text":"TemporaryFile(/tmp/multipartBody2690007248925524893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059532446,"filename":"image_05012025_07_43_02_872013_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326858359","file1":"1326858356","file0":"1326858354","file3":"1326858362"},"map_files_photo_id_array":[{"photo_id":"1326858359","filename":"file2"},{"photo_id":"1326858356","filename":"file1"},{"photo_id":"1326858354","filename":"file0"},{"photo_id":"1326858362","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858362":["hashtag1","hashtag2"]},{"1326858356":["hashtag1","hashtag2"]},{"1326858359":["hashtag1","hashtag2"]},{"1326858354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858362, 1326858356, 1326858359, 1326858354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.28228545188904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:45:22.125596
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/44/image_05012025_07_44_02_334027_0003.jpg', '/home/pi/Desktop/images/05012025/07/45/image_05012025_07_45_02_969537_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/07/44/image_05012025_07_44_02_334027_0003.jpg
/home/pi/Desktop/images/05012025/07/45/image_05012025_07_45_02_969537_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858376","1326858374"],"photo_ids_order":["1326858374","1326858376"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a6704a71d4b367f20684109f6b7548a2.jpg","text":"TemporaryFile(/tmp/multipartBody6821560224139192996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059587396,"filename":"image_05012025_07_45_02_969537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/37a81c9f471cacec063c6e0c6f1cfcc3.jpg","text":"TemporaryFile(/tmp/multipartBody830892798553464469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059587396,"filename":"image_05012025_07_44_02_334027_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326858376","file0":"1326858374"},"map_files_photo_id_array":[{"photo_id":"1326858376","filename":"file1"},{"photo_id":"1326858374","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858376":["hashtag1","hashtag2"]},{"1326858374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858376, 1326858374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.512479782104492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:46:02.997343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:46:22.580236
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/45/image_05012025_07_45_02_969537_0001.jpg', '/home/pi/Desktop/images/05012025/07/46/image_05012025_07_46_02_497542_0000.jpg', '/home/pi/Desktop/images/05012025/07/46/image_05012025_07_46_02_497542_0001.jpg', '/home/pi/Desktop/images/05012025/07/46/image_05012025_07_46_02_497542_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/07/45/image_05012025_07_45_02_969537_0001.jpg
/home/pi/Desktop/images/05012025/07/46/image_05012025_07_46_02_497542_0000.jpg
/home/pi/Desktop/images/05012025/07/46/image_05012025_07_46_02_497542_0001.jpg
/home/pi/Desktop/images/05012025/07/46/image_05012025_07_46_02_497542_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858419","1326858421","1326858424","1326858427"],"photo_ids_order":["1326858419","1326858421","1326858424","1326858427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/afb1e9f2b1749ef981e719eeb77947d7.jpg","text":"TemporaryFile(/tmp/multipartBody4823774962547149786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059652414,"filename":"image_05012025_07_45_02_969537_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6e1b3d23e5f2bafd851481fb5fb3c549.jpg","text":"TemporaryFile(/tmp/multipartBody3972729248218735789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059652414,"filename":"image_05012025_07_46_02_497542_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0df635445cf23164db4f3fdec3517aff.jpg","text":"TemporaryFile(/tmp/multipartBody7555731633782693325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059652414,"filename":"image_05012025_07_46_02_497542_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f01141ab65c96502c97ca13068e4f8a2.jpg","text":"TemporaryFile(/tmp/multipartBody996821076949981007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059652414,"filename":"image_05012025_07_46_02_497542_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326858424","file1":"1326858421","file0":"1326858419","file3":"1326858427"},"map_files_photo_id_array":[{"photo_id":"1326858424","filename":"file2"},{"photo_id":"1326858421","filename":"file1"},{"photo_id":"1326858419","filename":"file0"},{"photo_id":"1326858427","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858419":["hashtag1","hashtag2"]},{"1326858421":["hashtag1","hashtag2"]},{"1326858424":["hashtag1","hashtag2"]},{"1326858427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858419, 1326858421, 1326858424, 1326858427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.04150366783142 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:47:22.169237
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/46/image_05012025_07_46_02_497542_0003.jpg', '/home/pi/Desktop/images/05012025/07/47/image_05012025_07_47_03_036520_0000.jpg', '/home/pi/Desktop/images/05012025/07/47/image_05012025_07_47_03_036520_0001.jpg', '/home/pi/Desktop/images/05012025/07/47/image_05012025_07_47_03_036520_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/07/46/image_05012025_07_46_02_497542_0003.jpg
/home/pi/Desktop/images/05012025/07/47/image_05012025_07_47_03_036520_0000.jpg
/home/pi/Desktop/images/05012025/07/47/image_05012025_07_47_03_036520_0001.jpg
/home/pi/Desktop/images/05012025/07/47/image_05012025_07_47_03_036520_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858440","1326858442","1326858436","1326858438"],"photo_ids_order":["1326858436","1326858438","1326858440","1326858442"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c1bd2888730f039fb2d4be1eaf3fe363.jpg","text":"TemporaryFile(/tmp/multipartBody2146107688889039758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059712018,"filename":"image_05012025_07_47_03_036520_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a3c9bab07f0b51f45abbb645cec5931.jpg","text":"TemporaryFile(/tmp/multipartBody1049915955046077297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059712018,"filename":"image_05012025_07_47_03_036520_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0ba437daea6de317f1b1c1be7c63110c.jpg","text":"TemporaryFile(/tmp/multipartBody3361567566158171144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059712018,"filename":"image_05012025_07_46_02_497542_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fee42b061cb309649b218c16bd557422.jpg","text":"TemporaryFile(/tmp/multipartBody5153952078007524792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059712018,"filename":"image_05012025_07_47_03_036520_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326858440","file1":"1326858438","file0":"1326858436","file3":"1326858442"},"map_files_photo_id_array":[{"photo_id":"1326858440","filename":"file2"},{"photo_id":"1326858438","filename":"file1"},{"photo_id":"1326858436","filename":"file0"},{"photo_id":"1326858442","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858440":["hashtag1","hashtag2"]},{"1326858442":["hashtag1","hashtag2"]},{"1326858436":["hashtag1","hashtag2"]},{"1326858438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858440, 1326858442, 1326858436, 1326858438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.945720195770264 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-05 07:48:22.778845
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/47/image_05012025_07_47_03_036520_0003.jpg', '/home/pi/Desktop/images/05012025/07/48/image_05012025_07_48_02_617039_0000.jpg', '/home/pi/Desktop/images/05012025/07/48/image_05012025_07_48_02_617039_0001.jpg', '/home/pi/Desktop/images/05012025/07/48/image_05012025_07_48_02_617039_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/07/47/image_05012025_07_47_03_036520_0003.jpg
/home/pi/Desktop/images/05012025/07/48/image_05012025_07_48_02_617039_0000.jpg
/home/pi/Desktop/images/05012025/07/48/image_05012025_07_48_02_617039_0001.jpg
/home/pi/Desktop/images/05012025/07/48/image_05012025_07_48_02_617039_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858512","1326858509","1326858525","1326858528"],"photo_ids_order":["1326858509","1326858512","1326858525","1326858528"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1a4af08e9b397c69eda51a7ce5cf6980.jpg","text":"TemporaryFile(/tmp/multipartBody8339304935698186356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059772610,"filename":"image_05012025_07_48_02_617039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f401d26866aadaa95fc3a38a48ab90f3.jpg","text":"TemporaryFile(/tmp/multipartBody768084428628580256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059772610,"filename":"image_05012025_07_47_03_036520_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0569b770b9238d66e6fd650f593abe37.jpg","text":"TemporaryFile(/tmp/multipartBody6434056652123329115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059772610,"filename":"image_05012025_07_48_02_617039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b46367f9c538601a24d04e793806853.jpg","text":"TemporaryFile(/tmp/multipartBody4715411419695398471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059772610,"filename":"image_05012025_07_48_02_617039_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326858525","file1":"1326858512","file0":"1326858509","file3":"1326858528"},"map_files_photo_id_array":[{"photo_id":"1326858525","filename":"file2"},{"photo_id":"1326858512","filename":"file1"},{"photo_id":"1326858509","filename":"file0"},{"photo_id":"1326858528","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858512":["hashtag1","hashtag2"]},{"1326858509":["hashtag1","hashtag2"]},{"1326858525":["hashtag1","hashtag2"]},{"1326858528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858512, 1326858509, 1326858525, 1326858528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.60799813270569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:49:03.123177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:49:22.274772
SELECT 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/07/48/image_05012025_07_48_02_617039_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/07/48/image_05012025_07_48_02_617039_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858557"],"photo_id":"1326858557","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8bd704c956c18eedb229da2175189033.jpg","text":"TemporaryFile(/tmp/multipartBody4220144811437440445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059825242,"filename":"image_05012025_07_48_02_617039_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326858557"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326858557"}],"hashtags":[],"portfolio_id":"19417920","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.038280010223389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:50:02.217454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:50:21.909014
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/49/image_05012025_07_49_03_184711_0000.jpg', '/home/pi/Desktop/images/05012025/07/50/image_05012025_07_50_02_690171_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/07/49/image_05012025_07_49_03_184711_0000.jpg
/home/pi/Desktop/images/05012025/07/50/image_05012025_07_50_02_690171_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858581","1326858583"],"photo_ids_order":["1326858581","1326858583"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f5cbc1100d5faed473d1921552086e2.jpg","text":"TemporaryFile(/tmp/multipartBody6780365122974219924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059887182,"filename":"image_05012025_07_49_03_184711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8a813fc3c17d1c5d61e861704f3b5fae.jpg","text":"TemporaryFile(/tmp/multipartBody4892845404928935494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059887182,"filename":"image_05012025_07_50_02_690171_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326858583","file0":"1326858581"},"map_files_photo_id_array":[{"photo_id":"1326858583","filename":"file1"},{"photo_id":"1326858581","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858581":["hashtag1","hashtag2"]},{"1326858583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858581, 1326858583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.75378918647766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:51:02.959615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:51:22.431683
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/50/image_05012025_07_50_02_690171_0002.jpg', '/home/pi/Desktop/images/05012025/07/51/image_05012025_07_51_02_298874_0000.jpg', '/home/pi/Desktop/images/05012025/07/51/image_05012025_07_51_02_298874_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/07/50/image_05012025_07_50_02_690171_0002.jpg
/home/pi/Desktop/images/05012025/07/51/image_05012025_07_51_02_298874_0000.jpg
/home/pi/Desktop/images/05012025/07/51/image_05012025_07_51_02_298874_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858680","1326858681","1326858683"],"photo_ids_order":["1326858680","1326858681","1326858683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/22990fb5d6a5ff85ae2289c67b5747ad.jpg","text":"TemporaryFile(/tmp/multipartBody6783983775166025245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059950029,"filename":"image_05012025_07_50_02_690171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2acb5175579edfe4c0bde1b022c923ec.jpg","text":"TemporaryFile(/tmp/multipartBody2639843439948421499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059950029,"filename":"image_05012025_07_51_02_298874_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7a4e2e23e9c0cda8a30a0074e93e3f5a.jpg","text":"TemporaryFile(/tmp/multipartBody8769675530533116809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736059950029,"filename":"image_05012025_07_51_02_298874_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326858683","file1":"1326858681","file0":"1326858680"},"map_files_photo_id_array":[{"photo_id":"1326858683","filename":"file2"},{"photo_id":"1326858681","filename":"file1"},{"photo_id":"1326858680","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858680":["hashtag1","hashtag2"]},{"1326858681":["hashtag1","hashtag2"]},{"1326858683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858680, 1326858681, 1326858683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.892512321472168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:52:02.500558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:52:22.025256
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/51/image_05012025_07_51_02_298874_0003.jpg', '/home/pi/Desktop/images/05012025/07/52/image_05012025_07_52_02_783406_0000.jpg', '/home/pi/Desktop/images/05012025/07/52/image_05012025_07_52_02_783406_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/07/51/image_05012025_07_51_02_298874_0003.jpg
/home/pi/Desktop/images/05012025/07/52/image_05012025_07_52_02_783406_0000.jpg
/home/pi/Desktop/images/05012025/07/52/image_05012025_07_52_02_783406_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858734","1326858730","1326858732"],"photo_ids_order":["1326858730","1326858732","1326858734"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7ff2b59ecf3f3a527a7ab3c02a4dfe63.jpg","text":"TemporaryFile(/tmp/multipartBody138723356680577808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060009573,"filename":"image_05012025_07_52_02_783406_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3f593d351e07697e443cf61adf3bab3b.jpg","text":"TemporaryFile(/tmp/multipartBody2292107024713171699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060009573,"filename":"image_05012025_07_51_02_298874_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6d242786fb867d638c5c7caa69f3ee0e.jpg","text":"TemporaryFile(/tmp/multipartBody5167613876091612056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060009573,"filename":"image_05012025_07_52_02_783406_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326858734","file1":"1326858732","file0":"1326858730"},"map_files_photo_id_array":[{"photo_id":"1326858734","filename":"file2"},{"photo_id":"1326858732","filename":"file1"},{"photo_id":"1326858730","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858734":["hashtag1","hashtag2"]},{"1326858730":["hashtag1","hashtag2"]},{"1326858732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858734, 1326858730, 1326858732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.97410607337952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:53:03.073273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:53:22.461960
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/52/image_05012025_07_52_02_783406_0003.jpg', '/home/pi/Desktop/images/05012025/07/53/image_05012025_07_53_02_426882_0000.jpg', '/home/pi/Desktop/images/05012025/07/53/image_05012025_07_53_02_426882_0001.jpg', '/home/pi/Desktop/images/05012025/07/53/image_05012025_07_53_02_426882_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/07/52/image_05012025_07_52_02_783406_0003.jpg
/home/pi/Desktop/images/05012025/07/53/image_05012025_07_53_02_426882_0000.jpg
/home/pi/Desktop/images/05012025/07/53/image_05012025_07_53_02_426882_0001.jpg
/home/pi/Desktop/images/05012025/07/53/image_05012025_07_53_02_426882_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858746","1326858742","1326858748","1326858744"],"photo_ids_order":["1326858742","1326858744","1326858746","1326858748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/95f02c077b8890aa67f1782c5a191397.jpg","text":"TemporaryFile(/tmp/multipartBody8640164528261901857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060072325,"filename":"image_05012025_07_53_02_426882_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/798f5f3e1861d92f18b96261b902d634.jpg","text":"TemporaryFile(/tmp/multipartBody4412931435241719909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060072325,"filename":"image_05012025_07_52_02_783406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c15bdd5f6401c5f2cd947a35f317fa11.jpg","text":"TemporaryFile(/tmp/multipartBody1396992872939642007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060072325,"filename":"image_05012025_07_53_02_426882_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/17e40d73cbe0c7ebefab22b2731979ab.jpg","text":"TemporaryFile(/tmp/multipartBody2540731026407941224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060072325,"filename":"image_05012025_07_53_02_426882_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326858746","file1":"1326858744","file0":"1326858742","file3":"1326858748"},"map_files_photo_id_array":[{"photo_id":"1326858746","filename":"file2"},{"photo_id":"1326858744","filename":"file1"},{"photo_id":"1326858742","filename":"file0"},{"photo_id":"1326858748","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858746":["hashtag1","hashtag2"]},{"1326858742":["hashtag1","hashtag2"]},{"1326858748":["hashtag1","hashtag2"]},{"1326858744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858746, 1326858742, 1326858748, 1326858744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.92264771461487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:54:22.231136
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/53/image_05012025_07_53_02_426882_0003.jpg', '/home/pi/Desktop/images/05012025/07/54/image_05012025_07_54_02_919812_0000.jpg', '/home/pi/Desktop/images/05012025/07/54/image_05012025_07_54_02_919812_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/07/53/image_05012025_07_53_02_426882_0003.jpg
/home/pi/Desktop/images/05012025/07/54/image_05012025_07_54_02_919812_0000.jpg
/home/pi/Desktop/images/05012025/07/54/image_05012025_07_54_02_919812_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858756","1326858764","1326858758"],"photo_ids_order":["1326858756","1326858758","1326858764"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/819c78195d58b7c62f4681b88f37056c.jpg","text":"TemporaryFile(/tmp/multipartBody3844465228839714020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060129790,"filename":"image_05012025_07_53_02_426882_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ef9ed867d6e7039c82cc465c47b0b27b.jpg","text":"TemporaryFile(/tmp/multipartBody5699461283229003759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060129790,"filename":"image_05012025_07_54_02_919812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7464325c6890e0d21dc0eebf627a8a44.jpg","text":"TemporaryFile(/tmp/multipartBody8205306514486263484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060129790,"filename":"image_05012025_07_54_02_919812_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326858764","file1":"1326858758","file0":"1326858756"},"map_files_photo_id_array":[{"photo_id":"1326858764","filename":"file2"},{"photo_id":"1326858758","filename":"file1"},{"photo_id":"1326858756","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858756":["hashtag1","hashtag2"]},{"1326858764":["hashtag1","hashtag2"]},{"1326858758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858756, 1326858764, 1326858758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.684019327163696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:55:02.396255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:55:21.782642
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/54/image_05012025_07_54_02_919812_0002.jpg', '/home/pi/Desktop/images/05012025/07/55/image_05012025_07_55_02_649064_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/07/54/image_05012025_07_54_02_919812_0002.jpg
/home/pi/Desktop/images/05012025/07/55/image_05012025_07_55_02_649064_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326858821","1326858823"],"photo_ids_order":["1326858821","1326858823"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5020be4873c1fe9ffe5dc45c654cc936.jpg","text":"TemporaryFile(/tmp/multipartBody1155253779669673872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060187143,"filename":"image_05012025_07_54_02_919812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0672801ede2cd8ba381dffac01c99e3e.jpg","text":"TemporaryFile(/tmp/multipartBody7205046972104715795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060187143,"filename":"image_05012025_07_55_02_649064_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326858823","file0":"1326858821"},"map_files_photo_id_array":[{"photo_id":"1326858823","filename":"file1"},{"photo_id":"1326858821","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326858821":["hashtag1","hashtag2"]},{"1326858823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326858821, 1326858823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.1993088722229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:56:02.869473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:56:22.529908
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/55/image_05012025_07_55_02_649064_0003.jpg', '/home/pi/Desktop/images/05012025/07/56/image_05012025_07_56_02_260042_0000.jpg', '/home/pi/Desktop/images/05012025/07/56/image_05012025_07_56_02_260042_0001.jpg', '/home/pi/Desktop/images/05012025/07/56/image_05012025_07_56_02_260042_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/07/55/image_05012025_07_55_02_649064_0003.jpg
/home/pi/Desktop/images/05012025/07/56/image_05012025_07_56_02_260042_0000.jpg
/home/pi/Desktop/images/05012025/07/56/image_05012025_07_56_02_260042_0001.jpg
/home/pi/Desktop/images/05012025/07/56/image_05012025_07_56_02_260042_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326859148","1326859197","1326859200","1326859203"],"photo_ids_order":["1326859148","1326859197","1326859200","1326859203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eebbc12f2b4d70c35e5bd17418abf269.jpg","text":"TemporaryFile(/tmp/multipartBody6893897954983596991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060252527,"filename":"image_05012025_07_55_02_649064_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dfe175dc945e9d4318a5ac7baae686b8.jpg","text":"TemporaryFile(/tmp/multipartBody1186137563714753436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060252527,"filename":"image_05012025_07_56_02_260042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2d52371712a2571f79edf638e54c1fd4.jpg","text":"TemporaryFile(/tmp/multipartBody9001225092607888862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060252527,"filename":"image_05012025_07_56_02_260042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f3946a15e49df467da4fcf114b7bd4aa.jpg","text":"TemporaryFile(/tmp/multipartBody6812850252858145193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060252527,"filename":"image_05012025_07_56_02_260042_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326859200","file1":"1326859197","file0":"1326859148","file3":"1326859203"},"map_files_photo_id_array":[{"photo_id":"1326859200","filename":"file2"},{"photo_id":"1326859197","filename":"file1"},{"photo_id":"1326859148","filename":"file0"},{"photo_id":"1326859203","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326859148":["hashtag1","hashtag2"]},{"1326859197":["hashtag1","hashtag2"]},{"1326859200":["hashtag1","hashtag2"]},{"1326859203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326859148, 1326859197, 1326859200, 1326859203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.12761354446411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:57:02.643496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 07:57:21.937729
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/56/image_05012025_07_56_02_260042_0003.jpg', '/home/pi/Desktop/images/05012025/07/57/image_05012025_07_57_02_886471_0000.jpg', '/home/pi/Desktop/images/05012025/07/57/image_05012025_07_57_02_886471_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/07/56/image_05012025_07_56_02_260042_0003.jpg
/home/pi/Desktop/images/05012025/07/57/image_05012025_07_57_02_886471_0000.jpg
/home/pi/Desktop/images/05012025/07/57/image_05012025_07_57_02_886471_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326859214","1326859354","1326859218"],"photo_ids_order":["1326859214","1326859218","1326859354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a8272f8c0531db067a7527b5859be315.jpg","text":"TemporaryFile(/tmp/multipartBody5543742307707682571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060309520,"filename":"image_05012025_07_56_02_260042_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bffc601c3415020efb4b02a1afef2b32.jpg","text":"TemporaryFile(/tmp/multipartBody3934341156225028432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060309520,"filename":"image_05012025_07_57_02_886471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/739f2fff221f48ce48cca98f6791b510.jpg","text":"TemporaryFile(/tmp/multipartBody7935397970165260726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060309520,"filename":"image_05012025_07_57_02_886471_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326859354","file1":"1326859218","file0":"1326859214"},"map_files_photo_id_array":[{"photo_id":"1326859354","filename":"file2"},{"photo_id":"1326859218","filename":"file1"},{"photo_id":"1326859214","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326859214":["hashtag1","hashtag2"]},{"1326859354":["hashtag1","hashtag2"]},{"1326859218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326859214, 1326859354, 1326859218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.03234052658081 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 07:59:02.455273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 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-05 07:59:21.773564
SELECT 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/07/57/image_05012025_07_57_02_886471_0003.jpg', '/home/pi/Desktop/images/05012025/07/58/image_05012025_07_58_02_319239_0000.jpg', '/home/pi/Desktop/images/05012025/07/58/image_05012025_07_58_02_319239_0001.jpg', '/home/pi/Desktop/images/05012025/07/58/image_05012025_07_58_02_319239_0002.jpg', '/home/pi/Desktop/images/05012025/07/58/image_05012025_07_58_02_319239_0003.jpg', '/home/pi/Desktop/images/05012025/07/59/image_05012025_07_59_03_026208_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/07/57/image_05012025_07_57_02_886471_0003.jpg
/home/pi/Desktop/images/05012025/07/58/image_05012025_07_58_02_319239_0000.jpg
/home/pi/Desktop/images/05012025/07/58/image_05012025_07_58_02_319239_0001.jpg
/home/pi/Desktop/images/05012025/07/58/image_05012025_07_58_02_319239_0002.jpg
/home/pi/Desktop/images/05012025/07/58/image_05012025_07_58_02_319239_0003.jpg
/home/pi/Desktop/images/05012025/07/59/image_05012025_07_59_03_026208_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326859981","1326859978","1326859985","1326859988","1326859973","1326859976"],"photo_ids_order":["1326859973","1326859976","1326859978","1326859981","1326859985","1326859988"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/486f1dab3db565ab2069cdfe8de8e63b.jpg","text":"TemporaryFile(/tmp/multipartBody6564388595278707109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060436607,"filename":"image_05012025_07_58_02_319239_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce78544d58c1343c29e41c51931e4d74.jpg","text":"TemporaryFile(/tmp/multipartBody6958824296846507126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060436607,"filename":"image_05012025_07_58_02_319239_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c875c7c12ad10d3bfec61733ad2af2c3.jpg","text":"TemporaryFile(/tmp/multipartBody34718966487437200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060436607,"filename":"image_05012025_07_58_02_319239_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/10833907acb0035f3169b6ea8db48bac.jpg","text":"TemporaryFile(/tmp/multipartBody1153347015614480532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060436607,"filename":"image_05012025_07_59_03_026208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a058cc2e298fb0a20e2af76406c33be5.jpg","text":"TemporaryFile(/tmp/multipartBody4752194593984892643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060436607,"filename":"image_05012025_07_57_02_886471_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3184966ecda79fd5881e12927689c2c3.jpg","text":"TemporaryFile(/tmp/multipartBody8702865074482568602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060436607,"filename":"image_05012025_07_58_02_319239_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326859978","file1":"1326859976","file0":"1326859973","file4":"1326859985","file5":"1326859988","file3":"1326859981"},"map_files_photo_id_array":[{"photo_id":"1326859988","filename":"file5"},{"photo_id":"1326859978","filename":"file2"},{"photo_id":"1326859985","filename":"file4"},{"photo_id":"1326859976","filename":"file1"},{"photo_id":"1326859973","filename":"file0"},{"photo_id":"1326859981","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326859981":["hashtag1","hashtag2"]},{"1326859978":["hashtag1","hashtag2"]},{"1326859985":["hashtag1","hashtag2"]},{"1326859988":["hashtag1","hashtag2"]},{"1326859973":["hashtag1","hashtag2"]},{"1326859976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326859981, 1326859978, 1326859985, 1326859988, 1326859973, 1326859976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.740864753723145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:00:22.333389
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/07/59/image_05012025_07_59_03_026208_0001.jpg', '/home/pi/Desktop/images/05012025/07/59/image_05012025_07_59_03_026208_0003.jpg', '/home/pi/Desktop/images/05012025/08/00/image_05012025_08_00_02_124142_0001.jpg', '/home/pi/Desktop/images/05012025/08/00/image_05012025_08_00_02_124142_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/07/59/image_05012025_07_59_03_026208_0001.jpg
/home/pi/Desktop/images/05012025/07/59/image_05012025_07_59_03_026208_0003.jpg
/home/pi/Desktop/images/05012025/08/00/image_05012025_08_00_02_124142_0001.jpg
/home/pi/Desktop/images/05012025/08/00/image_05012025_08_00_02_124142_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326859996","1326860028","1326860022","1326860004"],"photo_ids_order":["1326859996","1326860004","1326860022","1326860028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b2012f673083f2fd042aea3ea64f3234.jpg","text":"TemporaryFile(/tmp/multipartBody5609735366979368279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060492406,"filename":"image_05012025_07_59_03_026208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/10661fc0b2c86ed28d0c0578035959c9.jpg","text":"TemporaryFile(/tmp/multipartBody8083938217319333885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060492406,"filename":"image_05012025_08_00_02_124142_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/81280175fbb180b0d787498edee33b93.jpg","text":"TemporaryFile(/tmp/multipartBody2717160533913970280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060492406,"filename":"image_05012025_08_00_02_124142_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ed4a821d31d945d9c59c6a4e6a27e2b7.jpg","text":"TemporaryFile(/tmp/multipartBody300471757509935984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060492406,"filename":"image_05012025_07_59_03_026208_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860022","file1":"1326860004","file0":"1326859996","file3":"1326860028"},"map_files_photo_id_array":[{"photo_id":"1326860022","filename":"file2"},{"photo_id":"1326860004","filename":"file1"},{"photo_id":"1326859996","filename":"file0"},{"photo_id":"1326860028","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326859996":["hashtag1","hashtag2"]},{"1326860028":["hashtag1","hashtag2"]},{"1326860022":["hashtag1","hashtag2"]},{"1326860004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326859996, 1326860028, 1326860022, 1326860004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73625183105469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:01:02.420389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:01:21.901067
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/00/image_05012025_08_00_02_124142_0003.jpg', '/home/pi/Desktop/images/05012025/08/01/image_05012025_08_01_02_757680_0000.jpg', '/home/pi/Desktop/images/05012025/08/01/image_05012025_08_01_02_757680_0001.jpg', '/home/pi/Desktop/images/05012025/08/01/image_05012025_08_01_02_757680_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/08/00/image_05012025_08_00_02_124142_0003.jpg
/home/pi/Desktop/images/05012025/08/01/image_05012025_08_01_02_757680_0000.jpg
/home/pi/Desktop/images/05012025/08/01/image_05012025_08_01_02_757680_0001.jpg
/home/pi/Desktop/images/05012025/08/01/image_05012025_08_01_02_757680_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860044","1326860038","1326860043","1326860040"],"photo_ids_order":["1326860038","1326860040","1326860043","1326860044"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3f6e6aef7649ab4bc06987e36885223.jpg","text":"TemporaryFile(/tmp/multipartBody8265101925811587422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060551963,"filename":"image_05012025_08_01_02_757680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/69a2b091794d0f94be000ec5cf3a04c8.jpg","text":"TemporaryFile(/tmp/multipartBody7375231454203685909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060551963,"filename":"image_05012025_08_00_02_124142_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9fdc2c9f0334513eafde4a1f0d1efeca.jpg","text":"TemporaryFile(/tmp/multipartBody5149657947759022884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060551963,"filename":"image_05012025_08_01_02_757680_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/078882d75ef120d87f339e57d6ca1b36.jpg","text":"TemporaryFile(/tmp/multipartBody7090377372431949098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060551963,"filename":"image_05012025_08_01_02_757680_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860043","file1":"1326860040","file0":"1326860038","file3":"1326860044"},"map_files_photo_id_array":[{"photo_id":"1326860043","filename":"file2"},{"photo_id":"1326860040","filename":"file1"},{"photo_id":"1326860038","filename":"file0"},{"photo_id":"1326860044","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860044":["hashtag1","hashtag2"]},{"1326860038":["hashtag1","hashtag2"]},{"1326860043":["hashtag1","hashtag2"]},{"1326860040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860044, 1326860038, 1326860043, 1326860040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.93780446052551 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:02:22.559026
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/01/image_05012025_08_01_02_757680_0003.jpg', '/home/pi/Desktop/images/05012025/08/02/image_05012025_08_02_02_222896_0000.jpg', '/home/pi/Desktop/images/05012025/08/02/image_05012025_08_02_02_222896_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/08/01/image_05012025_08_01_02_757680_0003.jpg
/home/pi/Desktop/images/05012025/08/02/image_05012025_08_02_02_222896_0000.jpg
/home/pi/Desktop/images/05012025/08/02/image_05012025_08_02_02_222896_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860050","1326860053","1326860056"],"photo_ids_order":["1326860050","1326860053","1326860056"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/138a074ef015355f415382c1b0d84cdf.jpg","text":"TemporaryFile(/tmp/multipartBody6096532257935240793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060610182,"filename":"image_05012025_08_01_02_757680_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/04b00efcee194505fcd4d438019cdb8c.jpg","text":"TemporaryFile(/tmp/multipartBody673683984159798062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060610182,"filename":"image_05012025_08_02_02_222896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/13975657f441cd8f2215de5b43b9f00f.jpg","text":"TemporaryFile(/tmp/multipartBody2915851244793703274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060610182,"filename":"image_05012025_08_02_02_222896_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860056","file1":"1326860053","file0":"1326860050"},"map_files_photo_id_array":[{"photo_id":"1326860056","filename":"file2"},{"photo_id":"1326860053","filename":"file1"},{"photo_id":"1326860050","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860050":["hashtag1","hashtag2"]},{"1326860053":["hashtag1","hashtag2"]},{"1326860056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860050, 1326860053, 1326860056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.063347816467285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:03:02.654861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:03:22.121495
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/02/image_05012025_08_02_02_222896_0003.jpg', '/home/pi/Desktop/images/05012025/08/03/image_05012025_08_03_02_923516_0000.jpg', '/home/pi/Desktop/images/05012025/08/03/image_05012025_08_03_02_923516_0001.jpg', '/home/pi/Desktop/images/05012025/08/03/image_05012025_08_03_02_923516_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/08/02/image_05012025_08_02_02_222896_0003.jpg
/home/pi/Desktop/images/05012025/08/03/image_05012025_08_03_02_923516_0000.jpg
/home/pi/Desktop/images/05012025/08/03/image_05012025_08_03_02_923516_0001.jpg
/home/pi/Desktop/images/05012025/08/03/image_05012025_08_03_02_923516_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860096","1326860069","1326860077","1326860093"],"photo_ids_order":["1326860069","1326860077","1326860093","1326860096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a237acc052222d63aa5d2b2ce63a946a.jpg","text":"TemporaryFile(/tmp/multipartBody1099839222450163599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060672308,"filename":"image_05012025_08_03_02_923516_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1b5aa8060d45ad66fa23e5093734122e.jpg","text":"TemporaryFile(/tmp/multipartBody3673494087169991258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060672308,"filename":"image_05012025_08_02_02_222896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e7c8c73b60b34a423d6e3e17b3836ff.jpg","text":"TemporaryFile(/tmp/multipartBody548029793399754422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060672308,"filename":"image_05012025_08_03_02_923516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7700409deb20ea36585ffaf98cdd2834.jpg","text":"TemporaryFile(/tmp/multipartBody8744114272930346866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060672308,"filename":"image_05012025_08_03_02_923516_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860093","file1":"1326860077","file0":"1326860069","file3":"1326860096"},"map_files_photo_id_array":[{"photo_id":"1326860093","filename":"file2"},{"photo_id":"1326860077","filename":"file1"},{"photo_id":"1326860069","filename":"file0"},{"photo_id":"1326860096","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860096":["hashtag1","hashtag2"]},{"1326860069":["hashtag1","hashtag2"]},{"1326860077":["hashtag1","hashtag2"]},{"1326860093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860096, 1326860069, 1326860077, 1326860093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.72666096687317 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:04:02.245723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:04:21.825105
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/03/image_05012025_08_03_02_923516_0003.jpg', '/home/pi/Desktop/images/05012025/08/04/image_05012025_08_04_02_469410_0000.jpg', '/home/pi/Desktop/images/05012025/08/04/image_05012025_08_04_02_469410_0001.jpg', '/home/pi/Desktop/images/05012025/08/04/image_05012025_08_04_02_469410_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/08/03/image_05012025_08_03_02_923516_0003.jpg
/home/pi/Desktop/images/05012025/08/04/image_05012025_08_04_02_469410_0000.jpg
/home/pi/Desktop/images/05012025/08/04/image_05012025_08_04_02_469410_0001.jpg
/home/pi/Desktop/images/05012025/08/04/image_05012025_08_04_02_469410_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860102","1326860110","1326860104","1326860107"],"photo_ids_order":["1326860102","1326860104","1326860107","1326860110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fbb68c574d13595cd369b6aa2660b9da.jpg","text":"TemporaryFile(/tmp/multipartBody5076809234023494313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060731908,"filename":"image_05012025_08_03_02_923516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/789cdfc4f7c49c7edf4136770c9c7998.jpg","text":"TemporaryFile(/tmp/multipartBody3453950536046751405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060731908,"filename":"image_05012025_08_04_02_469410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/03a9213c44bd2a3dd81a0a9777c08ff7.jpg","text":"TemporaryFile(/tmp/multipartBody6528023623320467006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060731908,"filename":"image_05012025_08_04_02_469410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8f0df0c45f4191acb5c26eedb2ea0c6c.jpg","text":"TemporaryFile(/tmp/multipartBody8570293095718116729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060731908,"filename":"image_05012025_08_04_02_469410_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860107","file1":"1326860104","file0":"1326860102","file3":"1326860110"},"map_files_photo_id_array":[{"photo_id":"1326860107","filename":"file2"},{"photo_id":"1326860104","filename":"file1"},{"photo_id":"1326860102","filename":"file0"},{"photo_id":"1326860110","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860102":["hashtag1","hashtag2"]},{"1326860110":["hashtag1","hashtag2"]},{"1326860104":["hashtag1","hashtag2"]},{"1326860107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860102, 1326860110, 1326860104, 1326860107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.33356857299805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:05:02.938858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:05:22.319688
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/04/image_05012025_08_04_02_469410_0003.jpg', '/home/pi/Desktop/images/05012025/08/05/image_05012025_08_05_02_178634_0000.jpg', '/home/pi/Desktop/images/05012025/08/05/image_05012025_08_05_02_178634_0001.jpg', '/home/pi/Desktop/images/05012025/08/05/image_05012025_08_05_02_178634_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/08/04/image_05012025_08_04_02_469410_0003.jpg
/home/pi/Desktop/images/05012025/08/05/image_05012025_08_05_02_178634_0000.jpg
/home/pi/Desktop/images/05012025/08/05/image_05012025_08_05_02_178634_0001.jpg
/home/pi/Desktop/images/05012025/08/05/image_05012025_08_05_02_178634_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860117","1326860119","1326860124","1326860121"],"photo_ids_order":["1326860117","1326860119","1326860121","1326860124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b37d5f9e1554163ab602e4eba86ae6d6.jpg","text":"TemporaryFile(/tmp/multipartBody5102269865135872284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060792424,"filename":"image_05012025_08_04_02_469410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aa74be5f55f0125e516c15f1b7275783.jpg","text":"TemporaryFile(/tmp/multipartBody1217971598042363369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060792424,"filename":"image_05012025_08_05_02_178634_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5d16fbb3dad45047e153be443e9099dd.jpg","text":"TemporaryFile(/tmp/multipartBody2721323017182842691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060792424,"filename":"image_05012025_08_05_02_178634_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b0ec32c6949bc6d6586ea71e23556100.jpg","text":"TemporaryFile(/tmp/multipartBody1245959716146140008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060792424,"filename":"image_05012025_08_05_02_178634_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860121","file1":"1326860119","file0":"1326860117","file3":"1326860124"},"map_files_photo_id_array":[{"photo_id":"1326860121","filename":"file2"},{"photo_id":"1326860119","filename":"file1"},{"photo_id":"1326860117","filename":"file0"},{"photo_id":"1326860124","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860117":["hashtag1","hashtag2"]},{"1326860119":["hashtag1","hashtag2"]},{"1326860124":["hashtag1","hashtag2"]},{"1326860121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860117, 1326860119, 1326860124, 1326860121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.77332139015198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:06:22.064814
SELECT 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/08/05/image_05012025_08_05_02_178634_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/08/05/image_05012025_08_05_02_178634_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860166"],"photo_id":"1326860166","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dd0bc6a63d69a27c886dcdf377414ebe.jpg","text":"TemporaryFile(/tmp/multipartBody7769613275179522439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060845069,"filename":"image_05012025_08_05_02_178634_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326860166"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326860166"}],"hashtags":[],"portfolio_id":"19417920","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.216732025146484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:07:03.227432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:07:22.539096
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/06/image_05012025_08_06_02_702033_0000.jpg', '/home/pi/Desktop/images/05012025/08/07/image_05012025_08_07_02_398185_0000.jpg', '/home/pi/Desktop/images/05012025/08/07/image_05012025_08_07_02_398185_0001.jpg', '/home/pi/Desktop/images/05012025/08/07/image_05012025_08_07_02_398185_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/08/06/image_05012025_08_06_02_702033_0000.jpg
/home/pi/Desktop/images/05012025/08/07/image_05012025_08_07_02_398185_0000.jpg
/home/pi/Desktop/images/05012025/08/07/image_05012025_08_07_02_398185_0001.jpg
/home/pi/Desktop/images/05012025/08/07/image_05012025_08_07_02_398185_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860300","1326860303","1326860306","1326860308"],"photo_ids_order":["1326860300","1326860303","1326860306","1326860308"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce6693eb29a7b2365d53a989292bd580.jpg","text":"TemporaryFile(/tmp/multipartBody320508813120797385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060912464,"filename":"image_05012025_08_06_02_702033_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/16fc44009b623339cb43147758550ec6.jpg","text":"TemporaryFile(/tmp/multipartBody1895336718557767096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060912464,"filename":"image_05012025_08_07_02_398185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f97b109966ccd6532752e0ba16e7b345.jpg","text":"TemporaryFile(/tmp/multipartBody7354177116682868997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060912464,"filename":"image_05012025_08_07_02_398185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d34c98b58b05762febda3d71b95e0d52.jpg","text":"TemporaryFile(/tmp/multipartBody6664516409163148329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060912464,"filename":"image_05012025_08_07_02_398185_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860306","file1":"1326860303","file0":"1326860300","file3":"1326860308"},"map_files_photo_id_array":[{"photo_id":"1326860306","filename":"file2"},{"photo_id":"1326860303","filename":"file1"},{"photo_id":"1326860300","filename":"file0"},{"photo_id":"1326860308","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860300":["hashtag1","hashtag2"]},{"1326860303":["hashtag1","hashtag2"]},{"1326860306":["hashtag1","hashtag2"]},{"1326860308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860300, 1326860303, 1326860306, 1326860308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93031978607178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:08:02.593692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:08:22.135326
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/07/image_05012025_08_07_02_398185_0003.jpg', '/home/pi/Desktop/images/05012025/08/08/image_05012025_08_08_02_897730_0001.jpg', '/home/pi/Desktop/images/05012025/08/08/image_05012025_08_08_02_897730_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/08/07/image_05012025_08_07_02_398185_0003.jpg
/home/pi/Desktop/images/05012025/08/08/image_05012025_08_08_02_897730_0001.jpg
/home/pi/Desktop/images/05012025/08/08/image_05012025_08_08_02_897730_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860318","1326860314","1326860316"],"photo_ids_order":["1326860314","1326860316","1326860318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/825ec13c014340489b06be07a9b6648f.jpg","text":"TemporaryFile(/tmp/multipartBody9032831521301431418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060969745,"filename":"image_05012025_08_08_02_897730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f6c5c4bc7e33f93cfa0f554bf748ff3c.jpg","text":"TemporaryFile(/tmp/multipartBody5075471296987565465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060969745,"filename":"image_05012025_08_07_02_398185_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/68640a10d95a1019fe34f86af7a705e9.jpg","text":"TemporaryFile(/tmp/multipartBody8105147909546525145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736060969745,"filename":"image_05012025_08_08_02_897730_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860318","file1":"1326860316","file0":"1326860314"},"map_files_photo_id_array":[{"photo_id":"1326860318","filename":"file2"},{"photo_id":"1326860316","filename":"file1"},{"photo_id":"1326860314","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860318":["hashtag1","hashtag2"]},{"1326860314":["hashtag1","hashtag2"]},{"1326860316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860318, 1326860314, 1326860316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.00069260597229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:09:03.246233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:09:22.671165
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/08/image_05012025_08_08_02_897730_0003.jpg', '/home/pi/Desktop/images/05012025/08/09/image_05012025_08_09_02_496517_0000.jpg', '/home/pi/Desktop/images/05012025/08/09/image_05012025_08_09_02_496517_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/08/08/image_05012025_08_08_02_897730_0003.jpg
/home/pi/Desktop/images/05012025/08/09/image_05012025_08_09_02_496517_0000.jpg
/home/pi/Desktop/images/05012025/08/09/image_05012025_08_09_02_496517_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860332","1326860326","1326860329"],"photo_ids_order":["1326860326","1326860329","1326860332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/70f6ef679a55a9614799f1f06ff3b661.jpg","text":"TemporaryFile(/tmp/multipartBody9186532714917088630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061030240,"filename":"image_05012025_08_09_02_496517_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cf44a63b63e91eab4098446fe86d6011.jpg","text":"TemporaryFile(/tmp/multipartBody5597287772329827217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061030240,"filename":"image_05012025_08_08_02_897730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4ecd9b14635a4ff2d157be89d2e68359.jpg","text":"TemporaryFile(/tmp/multipartBody8570858443064848196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061030240,"filename":"image_05012025_08_09_02_496517_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860332","file1":"1326860329","file0":"1326860326"},"map_files_photo_id_array":[{"photo_id":"1326860332","filename":"file2"},{"photo_id":"1326860329","filename":"file1"},{"photo_id":"1326860326","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860332":["hashtag1","hashtag2"]},{"1326860326":["hashtag1","hashtag2"]},{"1326860329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860332, 1326860326, 1326860329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.289188861846924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:10:02.692599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:10:22.348912
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/09/image_05012025_08_09_02_496517_0003.jpg', '/home/pi/Desktop/images/05012025/08/10/image_05012025_08_10_03_008563_0000.jpg', '/home/pi/Desktop/images/05012025/08/10/image_05012025_08_10_03_008563_0001.jpg', '/home/pi/Desktop/images/05012025/08/10/image_05012025_08_10_03_008563_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/08/09/image_05012025_08_09_02_496517_0003.jpg
/home/pi/Desktop/images/05012025/08/10/image_05012025_08_10_03_008563_0000.jpg
/home/pi/Desktop/images/05012025/08/10/image_05012025_08_10_03_008563_0001.jpg
/home/pi/Desktop/images/05012025/08/10/image_05012025_08_10_03_008563_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860382","1326860376","1326860384","1326860378"],"photo_ids_order":["1326860376","1326860378","1326860382","1326860384"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8d9b32fa97e12b5a1a08cb5bc085e934.jpg","text":"TemporaryFile(/tmp/multipartBody6754833062451461605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061092333,"filename":"image_05012025_08_10_03_008563_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eecff4c7878fdf07f2aa60e5defb4e40.jpg","text":"TemporaryFile(/tmp/multipartBody2871197250899424182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061092333,"filename":"image_05012025_08_09_02_496517_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/47ce857c1cdaf0e88ad111688d5dfd3b.jpg","text":"TemporaryFile(/tmp/multipartBody3800856224536675470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061092333,"filename":"image_05012025_08_10_03_008563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/16817f21203446f4e585351ed06d39b6.jpg","text":"TemporaryFile(/tmp/multipartBody2006940570533167357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061092333,"filename":"image_05012025_08_10_03_008563_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860382","file1":"1326860378","file0":"1326860376","file3":"1326860384"},"map_files_photo_id_array":[{"photo_id":"1326860382","filename":"file2"},{"photo_id":"1326860378","filename":"file1"},{"photo_id":"1326860376","filename":"file0"},{"photo_id":"1326860384","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860382":["hashtag1","hashtag2"]},{"1326860376":["hashtag1","hashtag2"]},{"1326860384":["hashtag1","hashtag2"]},{"1326860378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860382, 1326860376, 1326860384, 1326860378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.3776912689209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:11:02.415604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:11:21.849768
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/10/image_05012025_08_10_03_008563_0003.jpg', '/home/pi/Desktop/images/05012025/08/11/image_05012025_08_11_02_703985_0000.jpg', '/home/pi/Desktop/images/05012025/08/11/image_05012025_08_11_02_703985_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/08/10/image_05012025_08_10_03_008563_0003.jpg
/home/pi/Desktop/images/05012025/08/11/image_05012025_08_11_02_703985_0000.jpg
/home/pi/Desktop/images/05012025/08/11/image_05012025_08_11_02_703985_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860397","1326860394","1326860399"],"photo_ids_order":["1326860394","1326860397","1326860399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/00f84f21d31f3be86dd3013b30012fba.jpg","text":"TemporaryFile(/tmp/multipartBody631675683508159645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061149667,"filename":"image_05012025_08_11_02_703985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0b1121ec8a5623478432541c1fcf701d.jpg","text":"TemporaryFile(/tmp/multipartBody5902982747324714707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061149667,"filename":"image_05012025_08_10_03_008563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a29fa2b859fbbef4be729128efaa5077.jpg","text":"TemporaryFile(/tmp/multipartBody8055933801038122574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061149667,"filename":"image_05012025_08_11_02_703985_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860399","file1":"1326860397","file0":"1326860394"},"map_files_photo_id_array":[{"photo_id":"1326860399","filename":"file2"},{"photo_id":"1326860397","filename":"file1"},{"photo_id":"1326860394","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860397":["hashtag1","hashtag2"]},{"1326860394":["hashtag1","hashtag2"]},{"1326860399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860397, 1326860394, 1326860399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.37724256515503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:12:02.919325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:12:22.556031
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/11/image_05012025_08_11_02_703985_0003.jpg', '/home/pi/Desktop/images/05012025/08/12/image_05012025_08_12_02_266989_0000.jpg', '/home/pi/Desktop/images/05012025/08/12/image_05012025_08_12_02_266989_0001.jpg', '/home/pi/Desktop/images/05012025/08/12/image_05012025_08_12_02_266989_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/08/11/image_05012025_08_11_02_703985_0003.jpg
/home/pi/Desktop/images/05012025/08/12/image_05012025_08_12_02_266989_0000.jpg
/home/pi/Desktop/images/05012025/08/12/image_05012025_08_12_02_266989_0001.jpg
/home/pi/Desktop/images/05012025/08/12/image_05012025_08_12_02_266989_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.56912112236023 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:13:02.737370
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/11/image_05012025_08_11_02_703985_0003.jpg', '/home/pi/Desktop/images/05012025/08/12/image_05012025_08_12_02_266989_0000.jpg', '/home/pi/Desktop/images/05012025/08/12/image_05012025_08_12_02_266989_0001.jpg', '/home/pi/Desktop/images/05012025/08/12/image_05012025_08_12_02_266989_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/08/11/image_05012025_08_11_02_703985_0003.jpg
/home/pi/Desktop/images/05012025/08/12/image_05012025_08_12_02_266989_0000.jpg
/home/pi/Desktop/images/05012025/08/12/image_05012025_08_12_02_266989_0001.jpg
/home/pi/Desktop/images/05012025/08/12/image_05012025_08_12_02_266989_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860429","1326860431","1326860428","1326860430"],"photo_ids_order":["1326860428","1326860429","1326860430","1326860431"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fc3e5c055b0bdcb6b051a78a3c9a588d.jpg","text":"TemporaryFile(/tmp/multipartBody396685051101530932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061252725,"filename":"image_05012025_08_12_02_266989_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7e58b86b2356ef67bdebb70e3956a0dc.jpg","text":"TemporaryFile(/tmp/multipartBody7158749665773653509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061252725,"filename":"image_05012025_08_12_02_266989_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aa8c7024791ca903dbb06e00422d83ed.jpg","text":"TemporaryFile(/tmp/multipartBody3147252134980772709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061252725,"filename":"image_05012025_08_11_02_703985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4c16e5e62db7b636e2f4416add9fb27c.jpg","text":"TemporaryFile(/tmp/multipartBody1951644115691573241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061252725,"filename":"image_05012025_08_12_02_266989_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860430","file1":"1326860429","file0":"1326860428","file3":"1326860431"},"map_files_photo_id_array":[{"photo_id":"1326860430","filename":"file2"},{"photo_id":"1326860429","filename":"file1"},{"photo_id":"1326860428","filename":"file0"},{"photo_id":"1326860431","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860429":["hashtag1","hashtag2"]},{"1326860431":["hashtag1","hashtag2"]},{"1326860428":["hashtag1","hashtag2"]},{"1326860430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860429, 1326860431, 1326860428, 1326860430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.06690955162048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:14:03.101183
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/12/image_05012025_08_12_02_266989_0003.jpg', '/home/pi/Desktop/images/05012025/08/13/image_05012025_08_13_02_887178_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/08/12/image_05012025_08_12_02_266989_0003.jpg
/home/pi/Desktop/images/05012025/08/13/image_05012025_08_13_02_887178_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860443","1326860439"],"photo_ids_order":["1326860439","1326860443"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb0d01d2c4de6dbd0953a51bfd34d268.jpg","text":"TemporaryFile(/tmp/multipartBody2488377280204400835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061308533,"filename":"image_05012025_08_13_02_887178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66ae2fa1dd80007a555cf9af89a2165e.jpg","text":"TemporaryFile(/tmp/multipartBody3123558470894840647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061308533,"filename":"image_05012025_08_12_02_266989_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326860443","file0":"1326860439"},"map_files_photo_id_array":[{"photo_id":"1326860443","filename":"file1"},{"photo_id":"1326860439","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860443":["hashtag1","hashtag2"]},{"1326860439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860443, 1326860439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.897209882736206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:15:02.850552
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/13/image_05012025_08_13_02_887178_0003.jpg', '/home/pi/Desktop/images/05012025/08/14/image_05012025_08_14_02_406761_0000.jpg', '/home/pi/Desktop/images/05012025/08/14/image_05012025_08_14_02_406761_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/08/13/image_05012025_08_13_02_887178_0003.jpg
/home/pi/Desktop/images/05012025/08/14/image_05012025_08_14_02_406761_0000.jpg
/home/pi/Desktop/images/05012025/08/14/image_05012025_08_14_02_406761_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860485","1326860484","1326860462"],"photo_ids_order":["1326860462","1326860484","1326860485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/09c49d1f5b5f9625f1ce6949968cb0a0.jpg","text":"TemporaryFile(/tmp/multipartBody5456810355873411548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061370658,"filename":"image_05012025_08_14_02_406761_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/356f5c54979082bfd160e76f02f188f9.jpg","text":"TemporaryFile(/tmp/multipartBody160532116765265412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061370658,"filename":"image_05012025_08_14_02_406761_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/880f27c6316be9a113b80d1a82778ca9.jpg","text":"TemporaryFile(/tmp/multipartBody5013049072990978897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061370658,"filename":"image_05012025_08_13_02_887178_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860485","file1":"1326860484","file0":"1326860462"},"map_files_photo_id_array":[{"photo_id":"1326860485","filename":"file2"},{"photo_id":"1326860484","filename":"file1"},{"photo_id":"1326860462","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860485":["hashtag1","hashtag2"]},{"1326860484":["hashtag1","hashtag2"]},{"1326860462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860485, 1326860484, 1326860462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.423614025115967 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:16:02.176842
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/14/image_05012025_08_14_02_406761_0003.jpg', '/home/pi/Desktop/images/05012025/08/15/image_05012025_08_15_03_053910_0000.jpg', '/home/pi/Desktop/images/05012025/08/15/image_05012025_08_15_03_053910_0001.jpg', '/home/pi/Desktop/images/05012025/08/15/image_05012025_08_15_03_053910_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/08/14/image_05012025_08_14_02_406761_0003.jpg
/home/pi/Desktop/images/05012025/08/15/image_05012025_08_15_03_053910_0000.jpg
/home/pi/Desktop/images/05012025/08/15/image_05012025_08_15_03_053910_0001.jpg
/home/pi/Desktop/images/05012025/08/15/image_05012025_08_15_03_053910_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860606","1326860611","1326860614","1326860608"],"photo_ids_order":["1326860606","1326860608","1326860611","1326860614"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/499ea39ffd734cb3b599684dbfc29fee.jpg","text":"TemporaryFile(/tmp/multipartBody2095298985762013109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061432173,"filename":"image_05012025_08_14_02_406761_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/68021928328460cfea709390f1ccc36c.jpg","text":"TemporaryFile(/tmp/multipartBody1060804017882109933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061432173,"filename":"image_05012025_08_15_03_053910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a18985cc642ac654e4f9e50fe62a8364.jpg","text":"TemporaryFile(/tmp/multipartBody5573132017827686621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061432173,"filename":"image_05012025_08_15_03_053910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/045d80d5c35f970bbbd91f9235eac208.jpg","text":"TemporaryFile(/tmp/multipartBody6457274499856192328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061432173,"filename":"image_05012025_08_15_03_053910_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860611","file1":"1326860608","file0":"1326860606","file3":"1326860614"},"map_files_photo_id_array":[{"photo_id":"1326860611","filename":"file2"},{"photo_id":"1326860608","filename":"file1"},{"photo_id":"1326860606","filename":"file0"},{"photo_id":"1326860614","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860606":["hashtag1","hashtag2"]},{"1326860611":["hashtag1","hashtag2"]},{"1326860614":["hashtag1","hashtag2"]},{"1326860608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860606, 1326860611, 1326860614, 1326860608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.05270767211914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:17:03.016657
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/15/image_05012025_08_15_03_053910_0003.jpg', '/home/pi/Desktop/images/05012025/08/16/image_05012025_08_16_02_581580_0000.jpg', '/home/pi/Desktop/images/05012025/08/16/image_05012025_08_16_02_581580_0001.jpg', '/home/pi/Desktop/images/05012025/08/16/image_05012025_08_16_02_581580_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/08/15/image_05012025_08_15_03_053910_0003.jpg
/home/pi/Desktop/images/05012025/08/16/image_05012025_08_16_02_581580_0000.jpg
/home/pi/Desktop/images/05012025/08/16/image_05012025_08_16_02_581580_0001.jpg
/home/pi/Desktop/images/05012025/08/16/image_05012025_08_16_02_581580_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860642","1326860651","1326860646","1326860654"],"photo_ids_order":["1326860642","1326860646","1326860651","1326860654"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/745e9f2197f22488fdaa253feb6d78f3.jpg","text":"TemporaryFile(/tmp/multipartBody3402428890668578742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061493400,"filename":"image_05012025_08_15_03_053910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/19271364b375fb3e4a1e4b32728d81f5.jpg","text":"TemporaryFile(/tmp/multipartBody8253947762604818145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061493400,"filename":"image_05012025_08_16_02_581580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7103fa894e07d6e095aa5070b43fb754.jpg","text":"TemporaryFile(/tmp/multipartBody6962767088641555012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061493400,"filename":"image_05012025_08_16_02_581580_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/905db07057e19edc7a91d80c519f74a3.jpg","text":"TemporaryFile(/tmp/multipartBody6550886900512116783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061493400,"filename":"image_05012025_08_16_02_581580_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860651","file1":"1326860646","file0":"1326860642","file3":"1326860654"},"map_files_photo_id_array":[{"photo_id":"1326860651","filename":"file2"},{"photo_id":"1326860646","filename":"file1"},{"photo_id":"1326860642","filename":"file0"},{"photo_id":"1326860654","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860642":["hashtag1","hashtag2"]},{"1326860651":["hashtag1","hashtag2"]},{"1326860646":["hashtag1","hashtag2"]},{"1326860654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860642, 1326860651, 1326860646, 1326860654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.28683376312256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:18:02.510662
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/16/image_05012025_08_16_02_581580_0003.jpg', '/home/pi/Desktop/images/05012025/08/17/image_05012025_08_17_02_289232_0000.jpg', '/home/pi/Desktop/images/05012025/08/17/image_05012025_08_17_02_289232_0001.jpg', '/home/pi/Desktop/images/05012025/08/17/image_05012025_08_17_02_289232_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/08/16/image_05012025_08_16_02_581580_0003.jpg
/home/pi/Desktop/images/05012025/08/17/image_05012025_08_17_02_289232_0000.jpg
/home/pi/Desktop/images/05012025/08/17/image_05012025_08_17_02_289232_0001.jpg
/home/pi/Desktop/images/05012025/08/17/image_05012025_08_17_02_289232_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860663","1326860665","1326860662","1326860667"],"photo_ids_order":["1326860662","1326860663","1326860665","1326860667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/936d5c1eb71dbf414aaf73555f3b17b9.jpg","text":"TemporaryFile(/tmp/multipartBody4788206131257719499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061552835,"filename":"image_05012025_08_17_02_289232_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e50016cd0fed03009f6aa50a1c1e775a.jpg","text":"TemporaryFile(/tmp/multipartBody4522401776304506414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061552835,"filename":"image_05012025_08_17_02_289232_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/37a10e8e23e1f4a988baa3851ae05a56.jpg","text":"TemporaryFile(/tmp/multipartBody5318500428597586537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061552835,"filename":"image_05012025_08_16_02_581580_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/531d8283b4238287f1638942377bc6c5.jpg","text":"TemporaryFile(/tmp/multipartBody3521228304400210673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061552835,"filename":"image_05012025_08_17_02_289232_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860665","file1":"1326860663","file0":"1326860662","file3":"1326860667"},"map_files_photo_id_array":[{"photo_id":"1326860665","filename":"file2"},{"photo_id":"1326860663","filename":"file1"},{"photo_id":"1326860662","filename":"file0"},{"photo_id":"1326860667","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860663":["hashtag1","hashtag2"]},{"1326860665":["hashtag1","hashtag2"]},{"1326860662":["hashtag1","hashtag2"]},{"1326860667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860663, 1326860665, 1326860662, 1326860667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.09363126754761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:19:02.990810
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/17/image_05012025_08_17_02_289232_0003.jpg', '/home/pi/Desktop/images/05012025/08/18/image_05012025_08_18_02_789158_0000.jpg', '/home/pi/Desktop/images/05012025/08/18/image_05012025_08_18_02_789158_0001.jpg', '/home/pi/Desktop/images/05012025/08/18/image_05012025_08_18_02_789158_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/08/17/image_05012025_08_17_02_289232_0003.jpg
/home/pi/Desktop/images/05012025/08/18/image_05012025_08_18_02_789158_0000.jpg
/home/pi/Desktop/images/05012025/08/18/image_05012025_08_18_02_789158_0001.jpg
/home/pi/Desktop/images/05012025/08/18/image_05012025_08_18_02_789158_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860720","1326860719","1326860721","1326860718"],"photo_ids_order":["1326860718","1326860719","1326860720","1326860721"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/802b10fc25ba675406ae11f3ec476f36.jpg","text":"TemporaryFile(/tmp/multipartBody8236239947746281320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061613383,"filename":"image_05012025_08_18_02_789158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b0f3573165945eb5ca32d8304bb47b8a.jpg","text":"TemporaryFile(/tmp/multipartBody3324362457610000004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061613383,"filename":"image_05012025_08_18_02_789158_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ca4a143d35b04dcbfed392bf2e9fac4f.jpg","text":"TemporaryFile(/tmp/multipartBody3924039718900689761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061613383,"filename":"image_05012025_08_18_02_789158_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6ad7f40d584caca184f94d3ae32daec7.jpg","text":"TemporaryFile(/tmp/multipartBody7185743730318443707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061613383,"filename":"image_05012025_08_17_02_289232_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860720","file1":"1326860719","file0":"1326860718","file3":"1326860721"},"map_files_photo_id_array":[{"photo_id":"1326860720","filename":"file2"},{"photo_id":"1326860719","filename":"file1"},{"photo_id":"1326860718","filename":"file0"},{"photo_id":"1326860721","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860720":["hashtag1","hashtag2"]},{"1326860719":["hashtag1","hashtag2"]},{"1326860721":["hashtag1","hashtag2"]},{"1326860718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860720, 1326860719, 1326860721, 1326860718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.35725736618042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:20:02.636225
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/18/image_05012025_08_18_02_789158_0003.jpg', '/home/pi/Desktop/images/05012025/08/19/image_05012025_08_19_02_338527_0000.jpg', '/home/pi/Desktop/images/05012025/08/19/image_05012025_08_19_02_338527_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/08/18/image_05012025_08_18_02_789158_0003.jpg
/home/pi/Desktop/images/05012025/08/19/image_05012025_08_19_02_338527_0000.jpg
/home/pi/Desktop/images/05012025/08/19/image_05012025_08_19_02_338527_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860750","1326860752","1326860754"],"photo_ids_order":["1326860750","1326860752","1326860754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7c689bf40b06530246e55ceed0ef852d.jpg","text":"TemporaryFile(/tmp/multipartBody2496598254878293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061670539,"filename":"image_05012025_08_18_02_789158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/738f9910d951f52928937e03681c7ee0.jpg","text":"TemporaryFile(/tmp/multipartBody7365366776723903802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061670539,"filename":"image_05012025_08_19_02_338527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f1adb653e742a1a349673fe46b8c9298.jpg","text":"TemporaryFile(/tmp/multipartBody6710996681351302966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061670539,"filename":"image_05012025_08_19_02_338527_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860754","file1":"1326860752","file0":"1326860750"},"map_files_photo_id_array":[{"photo_id":"1326860754","filename":"file2"},{"photo_id":"1326860752","filename":"file1"},{"photo_id":"1326860750","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860750":["hashtag1","hashtag2"]},{"1326860752":["hashtag1","hashtag2"]},{"1326860754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860750, 1326860752, 1326860754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.44812250137329 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:21:03.273752
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/19/image_05012025_08_19_02_338527_0002.jpg', '/home/pi/Desktop/images/05012025/08/20/image_05012025_08_20_02_838004_0000.jpg', '/home/pi/Desktop/images/05012025/08/20/image_05012025_08_20_02_838004_0001.jpg', '/home/pi/Desktop/images/05012025/08/20/image_05012025_08_20_02_838004_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/08/19/image_05012025_08_19_02_338527_0002.jpg
/home/pi/Desktop/images/05012025/08/20/image_05012025_08_20_02_838004_0000.jpg
/home/pi/Desktop/images/05012025/08/20/image_05012025_08_20_02_838004_0001.jpg
/home/pi/Desktop/images/05012025/08/20/image_05012025_08_20_02_838004_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860882","1326860863","1326860869","1326860862"],"photo_ids_order":["1326860862","1326860863","1326860869","1326860882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/069156397b64385605df23814aa52c42.jpg","text":"TemporaryFile(/tmp/multipartBody388162223201828563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061733967,"filename":"image_05012025_08_20_02_838004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4d34cf8896292bd9cf058cae936d77db.jpg","text":"TemporaryFile(/tmp/multipartBody5034744451356580867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061733967,"filename":"image_05012025_08_20_02_838004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6a315f2908f7159d3183fbc62ccd9b39.jpg","text":"TemporaryFile(/tmp/multipartBody3417696367461567328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061733967,"filename":"image_05012025_08_20_02_838004_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9afec37764231fe39737feb3b5389df1.jpg","text":"TemporaryFile(/tmp/multipartBody1598527414549734875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061733967,"filename":"image_05012025_08_19_02_338527_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860869","file1":"1326860863","file0":"1326860862","file3":"1326860882"},"map_files_photo_id_array":[{"photo_id":"1326860869","filename":"file2"},{"photo_id":"1326860863","filename":"file1"},{"photo_id":"1326860862","filename":"file0"},{"photo_id":"1326860882","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860882":["hashtag1","hashtag2"]},{"1326860863":["hashtag1","hashtag2"]},{"1326860869":["hashtag1","hashtag2"]},{"1326860862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860882, 1326860863, 1326860869, 1326860862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18164920806885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:22:02.758094
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/20/image_05012025_08_20_02_838004_0003.jpg', '/home/pi/Desktop/images/05012025/08/21/image_05012025_08_21_02_566029_0000.jpg', '/home/pi/Desktop/images/05012025/08/21/image_05012025_08_21_02_566029_0001.jpg', '/home/pi/Desktop/images/05012025/08/21/image_05012025_08_21_02_566029_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/08/20/image_05012025_08_20_02_838004_0003.jpg
/home/pi/Desktop/images/05012025/08/21/image_05012025_08_21_02_566029_0000.jpg
/home/pi/Desktop/images/05012025/08/21/image_05012025_08_21_02_566029_0001.jpg
/home/pi/Desktop/images/05012025/08/21/image_05012025_08_21_02_566029_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860890","1326860893","1326860891","1326860894"],"photo_ids_order":["1326860890","1326860891","1326860893","1326860894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fce5fdbb3029316a7231e7e7b34070fd.jpg","text":"TemporaryFile(/tmp/multipartBody128394907201043132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061792956,"filename":"image_05012025_08_20_02_838004_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3dfc3c0471538fbbecb68c587fe9ae5b.jpg","text":"TemporaryFile(/tmp/multipartBody1002057757873235036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061792956,"filename":"image_05012025_08_21_02_566029_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f24d32f110ed159e1f65c58a9bdc5939.jpg","text":"TemporaryFile(/tmp/multipartBody4993787251078300218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061792956,"filename":"image_05012025_08_21_02_566029_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1e4c657de3a0696dd962f225026d89be.jpg","text":"TemporaryFile(/tmp/multipartBody8778088324319020998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061792956,"filename":"image_05012025_08_21_02_566029_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860893","file1":"1326860891","file0":"1326860890","file3":"1326860894"},"map_files_photo_id_array":[{"photo_id":"1326860893","filename":"file2"},{"photo_id":"1326860891","filename":"file1"},{"photo_id":"1326860890","filename":"file0"},{"photo_id":"1326860894","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860890":["hashtag1","hashtag2"]},{"1326860893":["hashtag1","hashtag2"]},{"1326860891":["hashtag1","hashtag2"]},{"1326860894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860890, 1326860893, 1326860891, 1326860894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.392014265060425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:23:02.411031
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/21/image_05012025_08_21_02_566029_0003.jpg', '/home/pi/Desktop/images/05012025/08/22/image_05012025_08_22_03_066840_0000.jpg', '/home/pi/Desktop/images/05012025/08/22/image_05012025_08_22_03_066840_0001.jpg', '/home/pi/Desktop/images/05012025/08/22/image_05012025_08_22_03_066840_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/08/21/image_05012025_08_21_02_566029_0003.jpg
/home/pi/Desktop/images/05012025/08/22/image_05012025_08_22_03_066840_0000.jpg
/home/pi/Desktop/images/05012025/08/22/image_05012025_08_22_03_066840_0001.jpg
/home/pi/Desktop/images/05012025/08/22/image_05012025_08_22_03_066840_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860903","1326860902","1326860904","1326860901"],"photo_ids_order":["1326860901","1326860902","1326860903","1326860904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c07b4ab587f4b920d791013c8dd19736.jpg","text":"TemporaryFile(/tmp/multipartBody5669585177182919474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061852878,"filename":"image_05012025_08_22_03_066840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9d1acbcdeb830e2aa599dd112a0391e8.jpg","text":"TemporaryFile(/tmp/multipartBody879298759696528676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061852878,"filename":"image_05012025_08_22_03_066840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7b15d798ca7602b08b7bb9e167222c71.jpg","text":"TemporaryFile(/tmp/multipartBody7441238303020003383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061852878,"filename":"image_05012025_08_22_03_066840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/501de4f5a2415fbf802734433eb37bb1.jpg","text":"TemporaryFile(/tmp/multipartBody5894030383269208269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061852878,"filename":"image_05012025_08_21_02_566029_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860903","file1":"1326860902","file0":"1326860901","file3":"1326860904"},"map_files_photo_id_array":[{"photo_id":"1326860903","filename":"file2"},{"photo_id":"1326860902","filename":"file1"},{"photo_id":"1326860901","filename":"file0"},{"photo_id":"1326860904","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860903":["hashtag1","hashtag2"]},{"1326860902":["hashtag1","hashtag2"]},{"1326860904":["hashtag1","hashtag2"]},{"1326860901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860903, 1326860902, 1326860904, 1326860901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.9330050945282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:24:02.743322
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/22/image_05012025_08_22_03_066840_0003.jpg', '/home/pi/Desktop/images/05012025/08/23/image_05012025_08_23_02_719195_0000.jpg', '/home/pi/Desktop/images/05012025/08/23/image_05012025_08_23_02_719195_0001.jpg', '/home/pi/Desktop/images/05012025/08/23/image_05012025_08_23_02_719195_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/08/22/image_05012025_08_22_03_066840_0003.jpg
/home/pi/Desktop/images/05012025/08/23/image_05012025_08_23_02_719195_0000.jpg
/home/pi/Desktop/images/05012025/08/23/image_05012025_08_23_02_719195_0001.jpg
/home/pi/Desktop/images/05012025/08/23/image_05012025_08_23_02_719195_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.944751024246216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:24:22.422182
SELECT 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/08/22/image_05012025_08_22_03_066840_0003.jpg', '/home/pi/Desktop/images/05012025/08/23/image_05012025_08_23_02_719195_0000.jpg', '/home/pi/Desktop/images/05012025/08/23/image_05012025_08_23_02_719195_0001.jpg', '/home/pi/Desktop/images/05012025/08/23/image_05012025_08_23_02_719195_0002.jpg', '/home/pi/Desktop/images/05012025/08/23/image_05012025_08_23_02_719195_0003.jpg', '/home/pi/Desktop/images/05012025/08/24/image_05012025_08_24_02_219227_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/08/22/image_05012025_08_22_03_066840_0003.jpg
/home/pi/Desktop/images/05012025/08/23/image_05012025_08_23_02_719195_0000.jpg
/home/pi/Desktop/images/05012025/08/23/image_05012025_08_23_02_719195_0001.jpg
/home/pi/Desktop/images/05012025/08/23/image_05012025_08_23_02_719195_0002.jpg
/home/pi/Desktop/images/05012025/08/23/image_05012025_08_23_02_719195_0003.jpg
/home/pi/Desktop/images/05012025/08/24/image_05012025_08_24_02_219227_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326860939","1326860924","1326860991","1326860955","1326860922","1326860919"],"photo_ids_order":["1326860919","1326860922","1326860924","1326860939","1326860955","1326860991"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3c39ef13a183620a58abc337608c502c.jpg","text":"TemporaryFile(/tmp/multipartBody5875153893588492221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061937602,"filename":"image_05012025_08_23_02_719195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/47799ef6c8e715c614e05afee59b2620.jpg","text":"TemporaryFile(/tmp/multipartBody3341073848746139419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061937602,"filename":"image_05012025_08_23_02_719195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eb66ac83022c6f40da6feaed865c0ccd.jpg","text":"TemporaryFile(/tmp/multipartBody2260012742524064092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061937602,"filename":"image_05012025_08_24_02_219227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/91944aa3687ab7908ab1a9c43ac4f2b4.jpg","text":"TemporaryFile(/tmp/multipartBody2114473113655952507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061937602,"filename":"image_05012025_08_23_02_719195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66e0277dae854a68966fe131800f1f2e.jpg","text":"TemporaryFile(/tmp/multipartBody7308035305898407216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061937602,"filename":"image_05012025_08_23_02_719195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1841255774adf0d30f8d63d13d0ed48d.jpg","text":"TemporaryFile(/tmp/multipartBody1829769449023917996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061937602,"filename":"image_05012025_08_22_03_066840_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326860924","file1":"1326860922","file0":"1326860919","file4":"1326860955","file5":"1326860991","file3":"1326860939"},"map_files_photo_id_array":[{"photo_id":"1326860991","filename":"file5"},{"photo_id":"1326860924","filename":"file2"},{"photo_id":"1326860955","filename":"file4"},{"photo_id":"1326860922","filename":"file1"},{"photo_id":"1326860919","filename":"file0"},{"photo_id":"1326860939","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326860939":["hashtag1","hashtag2"]},{"1326860924":["hashtag1","hashtag2"]},{"1326860991":["hashtag1","hashtag2"]},{"1326860955":["hashtag1","hashtag2"]},{"1326860922":["hashtag1","hashtag2"]},{"1326860919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326860939, 1326860924, 1326860991, 1326860955, 1326860922, 1326860919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.29142737388611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:25:21.859075
SELECT 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/08/24/image_05012025_08_24_02_219227_0001.jpg', '/home/pi/Desktop/images/05012025/08/24/image_05012025_08_24_02_219227_0002.jpg', '/home/pi/Desktop/images/05012025/08/24/image_05012025_08_24_02_219227_0003.jpg', '/home/pi/Desktop/images/05012025/08/25/image_05012025_08_25_02_744639_0000.jpg', '/home/pi/Desktop/images/05012025/08/25/image_05012025_08_25_02_744639_0001.jpg', '/home/pi/Desktop/images/05012025/08/25/image_05012025_08_25_02_744639_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/08/24/image_05012025_08_24_02_219227_0001.jpg
/home/pi/Desktop/images/05012025/08/24/image_05012025_08_24_02_219227_0002.jpg
/home/pi/Desktop/images/05012025/08/24/image_05012025_08_24_02_219227_0003.jpg
/home/pi/Desktop/images/05012025/08/25/image_05012025_08_25_02_744639_0000.jpg
/home/pi/Desktop/images/05012025/08/25/image_05012025_08_25_02_744639_0001.jpg
/home/pi/Desktop/images/05012025/08/25/image_05012025_08_25_02_744639_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326861091","1326861085","1326860995","1326861087","1326861036","1326861089"],"photo_ids_order":["1326860995","1326861036","1326861085","1326861087","1326861089","1326861091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ecadb192035afa948e535d470b7afea0.jpg","text":"TemporaryFile(/tmp/multipartBody1754744539958531843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061997362,"filename":"image_05012025_08_25_02_744639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b52aff13fcd6c6fcbe22c8d4894b98f2.jpg","text":"TemporaryFile(/tmp/multipartBody6953751320238546718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061997362,"filename":"image_05012025_08_24_02_219227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8494bf1f15cb62b7518878a5ce2ee787.jpg","text":"TemporaryFile(/tmp/multipartBody2418349039672059342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061997362,"filename":"image_05012025_08_24_02_219227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8fea99484229746c6b07c838fadc803a.jpg","text":"TemporaryFile(/tmp/multipartBody7734487965757374878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061997362,"filename":"image_05012025_08_25_02_744639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c8d03f21b987a6efc23dea983305918a.jpg","text":"TemporaryFile(/tmp/multipartBody7881500981475170862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061997362,"filename":"image_05012025_08_24_02_219227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/73b485d8eab3f88da5c6825c5f4b73ad.jpg","text":"TemporaryFile(/tmp/multipartBody2829190594052210676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736061997362,"filename":"image_05012025_08_25_02_744639_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326861085","file1":"1326861036","file0":"1326860995","file4":"1326861089","file5":"1326861091","file3":"1326861087"},"map_files_photo_id_array":[{"photo_id":"1326861091","filename":"file5"},{"photo_id":"1326861085","filename":"file2"},{"photo_id":"1326861089","filename":"file4"},{"photo_id":"1326861036","filename":"file1"},{"photo_id":"1326860995","filename":"file0"},{"photo_id":"1326861087","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326861091":["hashtag1","hashtag2"]},{"1326861085":["hashtag1","hashtag2"]},{"1326860995":["hashtag1","hashtag2"]},{"1326861087":["hashtag1","hashtag2"]},{"1326861036":["hashtag1","hashtag2"]},{"1326861089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326861091, 1326861085, 1326860995, 1326861087, 1326861036, 1326861089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.29652285575867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:26:22.403429
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/25/image_05012025_08_25_02_744639_0003.jpg', '/home/pi/Desktop/images/05012025/08/26/image_05012025_08_26_02_250922_0000.jpg', '/home/pi/Desktop/images/05012025/08/26/image_05012025_08_26_02_250922_0001.jpg', '/home/pi/Desktop/images/05012025/08/26/image_05012025_08_26_02_250922_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/08/25/image_05012025_08_25_02_744639_0003.jpg
/home/pi/Desktop/images/05012025/08/26/image_05012025_08_26_02_250922_0000.jpg
/home/pi/Desktop/images/05012025/08/26/image_05012025_08_26_02_250922_0001.jpg
/home/pi/Desktop/images/05012025/08/26/image_05012025_08_26_02_250922_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326861097","1326861100","1326861103","1326861095"],"photo_ids_order":["1326861095","1326861097","1326861100","1326861103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f6ac2bc74bc3195fa5570246662f5d30.jpg","text":"TemporaryFile(/tmp/multipartBody1479368453042245965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062052724,"filename":"image_05012025_08_26_02_250922_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab8c018886d85638f5b8e9746346b4e2.jpg","text":"TemporaryFile(/tmp/multipartBody5966868467479599084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062052724,"filename":"image_05012025_08_26_02_250922_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d992f5da00d879fbc6c22bf76d376de5.jpg","text":"TemporaryFile(/tmp/multipartBody6283866774847620069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062052724,"filename":"image_05012025_08_26_02_250922_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/69452c57e0e4d927f324ff5fb4d61f0f.jpg","text":"TemporaryFile(/tmp/multipartBody1375886339900718203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062052724,"filename":"image_05012025_08_25_02_744639_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326861100","file1":"1326861097","file0":"1326861095","file3":"1326861103"},"map_files_photo_id_array":[{"photo_id":"1326861100","filename":"file2"},{"photo_id":"1326861097","filename":"file1"},{"photo_id":"1326861095","filename":"file0"},{"photo_id":"1326861103","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326861097":["hashtag1","hashtag2"]},{"1326861100":["hashtag1","hashtag2"]},{"1326861103":["hashtag1","hashtag2"]},{"1326861095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326861097, 1326861100, 1326861103, 1326861095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.68131995201111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:27:02.543183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:27:21.886116
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/26/image_05012025_08_26_02_250922_0003.jpg', '/home/pi/Desktop/images/05012025/08/27/image_05012025_08_27_02_749584_0000.jpg', '/home/pi/Desktop/images/05012025/08/27/image_05012025_08_27_02_749584_0001.jpg', '/home/pi/Desktop/images/05012025/08/27/image_05012025_08_27_02_749584_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/08/26/image_05012025_08_26_02_250922_0003.jpg
/home/pi/Desktop/images/05012025/08/27/image_05012025_08_27_02_749584_0000.jpg
/home/pi/Desktop/images/05012025/08/27/image_05012025_08_27_02_749584_0001.jpg
/home/pi/Desktop/images/05012025/08/27/image_05012025_08_27_02_749584_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326861119","1326861115","1326861117","1326861111"],"photo_ids_order":["1326861111","1326861115","1326861117","1326861119"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c64e755235c04c12a0b02d6b97dd8d5c.jpg","text":"TemporaryFile(/tmp/multipartBody1820323448248808117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062112453,"filename":"image_05012025_08_27_02_749584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9bc04bbd1bff5cd979765d50f2df375f.jpg","text":"TemporaryFile(/tmp/multipartBody1459961306118922159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062112453,"filename":"image_05012025_08_27_02_749584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3c0e90c116d87e7ede7456bf11e988f0.jpg","text":"TemporaryFile(/tmp/multipartBody2469816603774959829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062112453,"filename":"image_05012025_08_27_02_749584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f7ccc8cd4c24c48258901ce0b9decfa4.jpg","text":"TemporaryFile(/tmp/multipartBody3635141821340674210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062112453,"filename":"image_05012025_08_26_02_250922_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326861117","file1":"1326861115","file0":"1326861111","file3":"1326861119"},"map_files_photo_id_array":[{"photo_id":"1326861117","filename":"file2"},{"photo_id":"1326861115","filename":"file1"},{"photo_id":"1326861111","filename":"file0"},{"photo_id":"1326861119","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326861119":["hashtag1","hashtag2"]},{"1326861115":["hashtag1","hashtag2"]},{"1326861117":["hashtag1","hashtag2"]},{"1326861111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326861119, 1326861115, 1326861117, 1326861111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.79063367843628 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:28:22.484404
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/27/image_05012025_08_27_02_749584_0003.jpg', '/home/pi/Desktop/images/05012025/08/28/image_05012025_08_28_02_228405_0000.jpg', '/home/pi/Desktop/images/05012025/08/28/image_05012025_08_28_02_228405_0001.jpg', '/home/pi/Desktop/images/05012025/08/28/image_05012025_08_28_02_228405_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/08/27/image_05012025_08_27_02_749584_0003.jpg
/home/pi/Desktop/images/05012025/08/28/image_05012025_08_28_02_228405_0000.jpg
/home/pi/Desktop/images/05012025/08/28/image_05012025_08_28_02_228405_0001.jpg
/home/pi/Desktop/images/05012025/08/28/image_05012025_08_28_02_228405_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326861169","1326861178","1326861176","1326861173"],"photo_ids_order":["1326861169","1326861173","1326861176","1326861178"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f52380a330977ddbecc5c775dc7c9e6.jpg","text":"TemporaryFile(/tmp/multipartBody2576717256569859404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062172895,"filename":"image_05012025_08_27_02_749584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/73824c1780dbbc5fadabdc585eca12ff.jpg","text":"TemporaryFile(/tmp/multipartBody6143690392201018526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062172895,"filename":"image_05012025_08_28_02_228405_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7482a89b4745aeb8c5dba69fe2769948.jpg","text":"TemporaryFile(/tmp/multipartBody3163404377286349094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062172895,"filename":"image_05012025_08_28_02_228405_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/808d2e66d3e73e7101c10a14bad2f641.jpg","text":"TemporaryFile(/tmp/multipartBody5323974659657166607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062172895,"filename":"image_05012025_08_28_02_228405_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326861176","file1":"1326861173","file0":"1326861169","file3":"1326861178"},"map_files_photo_id_array":[{"photo_id":"1326861176","filename":"file2"},{"photo_id":"1326861173","filename":"file1"},{"photo_id":"1326861169","filename":"file0"},{"photo_id":"1326861178","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326861169":["hashtag1","hashtag2"]},{"1326861178":["hashtag1","hashtag2"]},{"1326861176":["hashtag1","hashtag2"]},{"1326861173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326861169, 1326861178, 1326861176, 1326861173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.030163526535034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:29:22.034930
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/28/image_05012025_08_28_02_228405_0003.jpg', '/home/pi/Desktop/images/05012025/08/29/image_05012025_08_29_02_861773_0000.jpg', '/home/pi/Desktop/images/05012025/08/29/image_05012025_08_29_02_861773_0001.jpg', '/home/pi/Desktop/images/05012025/08/29/image_05012025_08_29_02_861773_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/08/28/image_05012025_08_28_02_228405_0003.jpg
/home/pi/Desktop/images/05012025/08/29/image_05012025_08_29_02_861773_0000.jpg
/home/pi/Desktop/images/05012025/08/29/image_05012025_08_29_02_861773_0001.jpg
/home/pi/Desktop/images/05012025/08/29/image_05012025_08_29_02_861773_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326861199","1326861196","1326861194","1326861191"],"photo_ids_order":["1326861191","1326861194","1326861196","1326861199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ea2db4e3fcf7234303b97dcb7b72545c.jpg","text":"TemporaryFile(/tmp/multipartBody2856727324367449277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062232455,"filename":"image_05012025_08_29_02_861773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cadfcf450fe03a782a4c21317ffb50ae.jpg","text":"TemporaryFile(/tmp/multipartBody1860315377935417295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062232455,"filename":"image_05012025_08_29_02_861773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a5c322b93d647d2ef079111031e801d.jpg","text":"TemporaryFile(/tmp/multipartBody7693285600333624846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062232455,"filename":"image_05012025_08_29_02_861773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/60fb0b998c096d8b90f36e1f0883ced1.jpg","text":"TemporaryFile(/tmp/multipartBody3559346992032271559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062232455,"filename":"image_05012025_08_28_02_228405_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326861196","file1":"1326861194","file0":"1326861191","file3":"1326861199"},"map_files_photo_id_array":[{"photo_id":"1326861196","filename":"file2"},{"photo_id":"1326861194","filename":"file1"},{"photo_id":"1326861191","filename":"file0"},{"photo_id":"1326861199","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326861199":["hashtag1","hashtag2"]},{"1326861196":["hashtag1","hashtag2"]},{"1326861194":["hashtag1","hashtag2"]},{"1326861191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326861199, 1326861196, 1326861194, 1326861191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.00621461868286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:30:22.550755
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/29/image_05012025_08_29_02_861773_0003.jpg', '/home/pi/Desktop/images/05012025/08/30/image_05012025_08_30_02_410908_0000.jpg', '/home/pi/Desktop/images/05012025/08/30/image_05012025_08_30_02_410908_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/08/29/image_05012025_08_29_02_861773_0003.jpg
/home/pi/Desktop/images/05012025/08/30/image_05012025_08_30_02_410908_0000.jpg
/home/pi/Desktop/images/05012025/08/30/image_05012025_08_30_02_410908_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326861215","1326861210","1326861213"],"photo_ids_order":["1326861210","1326861213","1326861215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/79b74018fb24e2891c694e6ba78b17bb.jpg","text":"TemporaryFile(/tmp/multipartBody7974977797866922187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062290465,"filename":"image_05012025_08_30_02_410908_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c3cb051cd982eb6fc51bea64a9037bcb.jpg","text":"TemporaryFile(/tmp/multipartBody5333072750332402718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062290465,"filename":"image_05012025_08_29_02_861773_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/37c2c40690a0011a9542118a144dacba.jpg","text":"TemporaryFile(/tmp/multipartBody1161448571190589544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062290465,"filename":"image_05012025_08_30_02_410908_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326861215","file1":"1326861213","file0":"1326861210"},"map_files_photo_id_array":[{"photo_id":"1326861215","filename":"file2"},{"photo_id":"1326861213","filename":"file1"},{"photo_id":"1326861210","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326861215":["hashtag1","hashtag2"]},{"1326861210":["hashtag1","hashtag2"]},{"1326861213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326861215, 1326861210, 1326861213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.51052236557007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:31:02.740087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:31:22.101012
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/30/image_05012025_08_30_02_410908_0002.jpg', '/home/pi/Desktop/images/05012025/08/31/image_05012025_08_31_02_939135_0000.jpg', '/home/pi/Desktop/images/05012025/08/31/image_05012025_08_31_02_939135_0001.jpg', '/home/pi/Desktop/images/05012025/08/31/image_05012025_08_31_02_939135_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/08/30/image_05012025_08_30_02_410908_0002.jpg
/home/pi/Desktop/images/05012025/08/31/image_05012025_08_31_02_939135_0000.jpg
/home/pi/Desktop/images/05012025/08/31/image_05012025_08_31_02_939135_0001.jpg
/home/pi/Desktop/images/05012025/08/31/image_05012025_08_31_02_939135_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.064841270446777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:32:03.147406
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/30/image_05012025_08_30_02_410908_0002.jpg', '/home/pi/Desktop/images/05012025/08/31/image_05012025_08_31_02_939135_0000.jpg', '/home/pi/Desktop/images/05012025/08/31/image_05012025_08_31_02_939135_0001.jpg', '/home/pi/Desktop/images/05012025/08/31/image_05012025_08_31_02_939135_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/08/30/image_05012025_08_30_02_410908_0002.jpg
/home/pi/Desktop/images/05012025/08/31/image_05012025_08_31_02_939135_0000.jpg
/home/pi/Desktop/images/05012025/08/31/image_05012025_08_31_02_939135_0001.jpg
/home/pi/Desktop/images/05012025/08/31/image_05012025_08_31_02_939135_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326861298","1326861352","1326861351","1326861353"],"photo_ids_order":["1326861298","1326861351","1326861352","1326861353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/490be5b525981708b348f96348f7fa6e.jpg","text":"TemporaryFile(/tmp/multipartBody8866514433490592176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062393668,"filename":"image_05012025_08_30_02_410908_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/382fa2c24436baff097fcb02a917592a.jpg","text":"TemporaryFile(/tmp/multipartBody3020940446505331779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062393668,"filename":"image_05012025_08_31_02_939135_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/901c3561206e97f86949803c88537549.jpg","text":"TemporaryFile(/tmp/multipartBody773568776486940717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062393668,"filename":"image_05012025_08_31_02_939135_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0170d2dc50da01c2cf0466d08195a8a6.jpg","text":"TemporaryFile(/tmp/multipartBody6907476341837776739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062393668,"filename":"image_05012025_08_31_02_939135_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326861352","file1":"1326861351","file0":"1326861298","file3":"1326861353"},"map_files_photo_id_array":[{"photo_id":"1326861352","filename":"file2"},{"photo_id":"1326861351","filename":"file1"},{"photo_id":"1326861298","filename":"file0"},{"photo_id":"1326861353","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326861298":["hashtag1","hashtag2"]},{"1326861352":["hashtag1","hashtag2"]},{"1326861351":["hashtag1","hashtag2"]},{"1326861353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326861298, 1326861352, 1326861351, 1326861353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7940878868103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:33:02.851315
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/31/image_05012025_08_31_02_939135_0003.jpg', '/home/pi/Desktop/images/05012025/08/32/image_05012025_08_32_02_465959_0000.jpg', '/home/pi/Desktop/images/05012025/08/32/image_05012025_08_32_02_465959_0001.jpg', '/home/pi/Desktop/images/05012025/08/32/image_05012025_08_32_02_465959_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/08/31/image_05012025_08_31_02_939135_0003.jpg
/home/pi/Desktop/images/05012025/08/32/image_05012025_08_32_02_465959_0000.jpg
/home/pi/Desktop/images/05012025/08/32/image_05012025_08_32_02_465959_0001.jpg
/home/pi/Desktop/images/05012025/08/32/image_05012025_08_32_02_465959_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.133340120315552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:33:22.200265
SELECT 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/08/31/image_05012025_08_31_02_939135_0003.jpg', '/home/pi/Desktop/images/05012025/08/32/image_05012025_08_32_02_465959_0000.jpg', '/home/pi/Desktop/images/05012025/08/32/image_05012025_08_32_02_465959_0001.jpg', '/home/pi/Desktop/images/05012025/08/32/image_05012025_08_32_02_465959_0002.jpg', '/home/pi/Desktop/images/05012025/08/32/image_05012025_08_32_02_465959_0003.jpg', '/home/pi/Desktop/images/05012025/08/33/image_05012025_08_33_03_062832_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/08/31/image_05012025_08_31_02_939135_0003.jpg
/home/pi/Desktop/images/05012025/08/32/image_05012025_08_32_02_465959_0000.jpg
/home/pi/Desktop/images/05012025/08/32/image_05012025_08_32_02_465959_0001.jpg
/home/pi/Desktop/images/05012025/08/32/image_05012025_08_32_02_465959_0002.jpg
/home/pi/Desktop/images/05012025/08/32/image_05012025_08_32_02_465959_0003.jpg
/home/pi/Desktop/images/05012025/08/33/image_05012025_08_33_03_062832_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326861407","1326861370","1326861409","1326861387","1326861411","1326861405"],"photo_ids_order":["1326861370","1326861387","1326861405","1326861407","1326861409","1326861411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2531557ee5ca002670a44b1c8aa11f8b.jpg","text":"TemporaryFile(/tmp/multipartBody1321198814896850475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062477530,"filename":"image_05012025_08_32_02_465959_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/019b0c6e9fea77bfd8a764debb21761e.jpg","text":"TemporaryFile(/tmp/multipartBody6073892285881532335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062477530,"filename":"image_05012025_08_31_02_939135_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6cb779bcaa462d7cbdf9d251181aac0e.jpg","text":"TemporaryFile(/tmp/multipartBody4323251797161592041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062477530,"filename":"image_05012025_08_32_02_465959_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ee79d096cbbf8d69c47b6b916591ab06.jpg","text":"TemporaryFile(/tmp/multipartBody8449054574707780005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062477530,"filename":"image_05012025_08_32_02_465959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/56f471477023e59f4b3e77f9cb0940dd.jpg","text":"TemporaryFile(/tmp/multipartBody1986665560606051463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062477530,"filename":"image_05012025_08_33_03_062832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/36995494491278665e57f7c5f484c33a.jpg","text":"TemporaryFile(/tmp/multipartBody4263746704481097188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062477530,"filename":"image_05012025_08_32_02_465959_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326861405","file1":"1326861387","file0":"1326861370","file4":"1326861409","file5":"1326861411","file3":"1326861407"},"map_files_photo_id_array":[{"photo_id":"1326861411","filename":"file5"},{"photo_id":"1326861405","filename":"file2"},{"photo_id":"1326861409","filename":"file4"},{"photo_id":"1326861387","filename":"file1"},{"photo_id":"1326861370","filename":"file0"},{"photo_id":"1326861407","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326861407":["hashtag1","hashtag2"]},{"1326861370":["hashtag1","hashtag2"]},{"1326861409":["hashtag1","hashtag2"]},{"1326861387":["hashtag1","hashtag2"]},{"1326861411":["hashtag1","hashtag2"]},{"1326861405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326861407, 1326861370, 1326861409, 1326861387, 1326861411, 1326861405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.17068147659302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:34:21.815882
SELECT 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/08/33/image_05012025_08_33_03_062832_0001.jpg', '/home/pi/Desktop/images/05012025/08/33/image_05012025_08_33_03_062832_0002.jpg', '/home/pi/Desktop/images/05012025/08/33/image_05012025_08_33_03_062832_0003.jpg', '/home/pi/Desktop/images/05012025/08/34/image_05012025_08_34_02_597935_0000.jpg', '/home/pi/Desktop/images/05012025/08/34/image_05012025_08_34_02_597935_0001.jpg', '/home/pi/Desktop/images/05012025/08/34/image_05012025_08_34_02_597935_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/08/33/image_05012025_08_33_03_062832_0001.jpg
/home/pi/Desktop/images/05012025/08/33/image_05012025_08_33_03_062832_0002.jpg
/home/pi/Desktop/images/05012025/08/33/image_05012025_08_33_03_062832_0003.jpg
/home/pi/Desktop/images/05012025/08/34/image_05012025_08_34_02_597935_0000.jpg
/home/pi/Desktop/images/05012025/08/34/image_05012025_08_34_02_597935_0001.jpg
/home/pi/Desktop/images/05012025/08/34/image_05012025_08_34_02_597935_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326861428","1326861667","1326861412","1326861546","1326861414","1326861785"],"photo_ids_order":["1326861412","1326861414","1326861428","1326861546","1326861667","1326861785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88b68c39dd625ca9412f52622bb1de21.jpg","text":"TemporaryFile(/tmp/multipartBody6501448316996450545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062537263,"filename":"image_05012025_08_33_03_062832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e347e6777bd8c6e7b02a175e3ccbf7f5.jpg","text":"TemporaryFile(/tmp/multipartBody3157836151334379984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062537263,"filename":"image_05012025_08_34_02_597935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/73a468ff7ab7cd694ea0680507bba7f6.jpg","text":"TemporaryFile(/tmp/multipartBody6226975788476610924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062537263,"filename":"image_05012025_08_33_03_062832_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc40ab250a19dd3dddf762af6ac92076.jpg","text":"TemporaryFile(/tmp/multipartBody7401834646895037339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062537263,"filename":"image_05012025_08_34_02_597935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/97a9ac7efbcb92a47c9a97c7b2f6916e.jpg","text":"TemporaryFile(/tmp/multipartBody780879910050958317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062537263,"filename":"image_05012025_08_33_03_062832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/feb7bea04e4ddc59b56605b15bf4f408.jpg","text":"TemporaryFile(/tmp/multipartBody3793507435805567370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062537263,"filename":"image_05012025_08_34_02_597935_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326861428","file1":"1326861414","file0":"1326861412","file4":"1326861667","file5":"1326861785","file3":"1326861546"},"map_files_photo_id_array":[{"photo_id":"1326861785","filename":"file5"},{"photo_id":"1326861428","filename":"file2"},{"photo_id":"1326861667","filename":"file4"},{"photo_id":"1326861414","filename":"file1"},{"photo_id":"1326861412","filename":"file0"},{"photo_id":"1326861546","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326861428":["hashtag1","hashtag2"]},{"1326861667":["hashtag1","hashtag2"]},{"1326861412":["hashtag1","hashtag2"]},{"1326861546":["hashtag1","hashtag2"]},{"1326861414":["hashtag1","hashtag2"]},{"1326861785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326861428, 1326861667, 1326861412, 1326861546, 1326861414, 1326861785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.736572265625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:35:22.357459
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/34/image_05012025_08_34_02_597935_0003.jpg', '/home/pi/Desktop/images/05012025/08/35/image_05012025_08_35_02_207551_0000.jpg', '/home/pi/Desktop/images/05012025/08/35/image_05012025_08_35_02_207551_0001.jpg', '/home/pi/Desktop/images/05012025/08/35/image_05012025_08_35_02_207551_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/08/34/image_05012025_08_34_02_597935_0003.jpg
/home/pi/Desktop/images/05012025/08/35/image_05012025_08_35_02_207551_0000.jpg
/home/pi/Desktop/images/05012025/08/35/image_05012025_08_35_02_207551_0001.jpg
/home/pi/Desktop/images/05012025/08/35/image_05012025_08_35_02_207551_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862195","1326862197","1326862190","1326862193"],"photo_ids_order":["1326862190","1326862193","1326862195","1326862197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e40eb5dd086dfd4892dd2d15d8ec2432.jpg","text":"TemporaryFile(/tmp/multipartBody228027124213570709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062592738,"filename":"image_05012025_08_35_02_207551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9421d56caf2cf64bbfe1787e5954b86.jpg","text":"TemporaryFile(/tmp/multipartBody3149193058961172505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062592738,"filename":"image_05012025_08_35_02_207551_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7abe43fd98ec53f1efd939f87c4f78eb.jpg","text":"TemporaryFile(/tmp/multipartBody459725336993352898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062592738,"filename":"image_05012025_08_34_02_597935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/76f6d81e5a3ae0b54014a1cc6a685eb9.jpg","text":"TemporaryFile(/tmp/multipartBody6354274693923732322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062592738,"filename":"image_05012025_08_35_02_207551_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862195","file1":"1326862193","file0":"1326862190","file3":"1326862197"},"map_files_photo_id_array":[{"photo_id":"1326862195","filename":"file2"},{"photo_id":"1326862193","filename":"file1"},{"photo_id":"1326862190","filename":"file0"},{"photo_id":"1326862197","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862195":["hashtag1","hashtag2"]},{"1326862197":["hashtag1","hashtag2"]},{"1326862190":["hashtag1","hashtag2"]},{"1326862193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862195, 1326862197, 1326862190, 1326862193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.977885007858276 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-05 08:36:21.854709
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/35/image_05012025_08_35_02_207551_0003.jpg', '/home/pi/Desktop/images/05012025/08/36/image_05012025_08_36_02_754353_0000.jpg', '/home/pi/Desktop/images/05012025/08/36/image_05012025_08_36_02_754353_0001.jpg', '/home/pi/Desktop/images/05012025/08/36/image_05012025_08_36_02_754353_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/08/35/image_05012025_08_35_02_207551_0003.jpg
/home/pi/Desktop/images/05012025/08/36/image_05012025_08_36_02_754353_0000.jpg
/home/pi/Desktop/images/05012025/08/36/image_05012025_08_36_02_754353_0001.jpg
/home/pi/Desktop/images/05012025/08/36/image_05012025_08_36_02_754353_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862210","1326862206","1326862203","1326862208"],"photo_ids_order":["1326862203","1326862206","1326862208","1326862210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b7f981e73583a6d3977c00ce9d55d635.jpg","text":"TemporaryFile(/tmp/multipartBody4978826499432519870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062652355,"filename":"image_05012025_08_36_02_754353_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/47ecd54254e1dc9e3528da1e39c7ae64.jpg","text":"TemporaryFile(/tmp/multipartBody1456973209196519589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062652355,"filename":"image_05012025_08_36_02_754353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c7eb124b96e53fa0a5a02093ca03d8da.jpg","text":"TemporaryFile(/tmp/multipartBody310920059775551575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062652355,"filename":"image_05012025_08_35_02_207551_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b6c4d8626c3e9787cf9716ea49dd430.jpg","text":"TemporaryFile(/tmp/multipartBody8194606054768300816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062652355,"filename":"image_05012025_08_36_02_754353_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862208","file1":"1326862206","file0":"1326862203","file3":"1326862210"},"map_files_photo_id_array":[{"photo_id":"1326862208","filename":"file2"},{"photo_id":"1326862206","filename":"file1"},{"photo_id":"1326862203","filename":"file0"},{"photo_id":"1326862210","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862210":["hashtag1","hashtag2"]},{"1326862206":["hashtag1","hashtag2"]},{"1326862203":["hashtag1","hashtag2"]},{"1326862208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862210, 1326862206, 1326862203, 1326862208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28357696533203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:37:03.058867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:37:22.393355
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/36/image_05012025_08_36_02_754353_0003.jpg', '/home/pi/Desktop/images/05012025/08/37/image_05012025_08_37_02_246749_0000.jpg', '/home/pi/Desktop/images/05012025/08/37/image_05012025_08_37_02_246749_0001.jpg', '/home/pi/Desktop/images/05012025/08/37/image_05012025_08_37_02_246749_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/08/36/image_05012025_08_36_02_754353_0003.jpg
/home/pi/Desktop/images/05012025/08/37/image_05012025_08_37_02_246749_0000.jpg
/home/pi/Desktop/images/05012025/08/37/image_05012025_08_37_02_246749_0001.jpg
/home/pi/Desktop/images/05012025/08/37/image_05012025_08_37_02_246749_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862255","1326862251","1326862253","1326862247"],"photo_ids_order":["1326862247","1326862251","1326862253","1326862255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c33c8f8539e2a5f40917facc6de55d24.jpg","text":"TemporaryFile(/tmp/multipartBody3787619733451502073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062712955,"filename":"image_05012025_08_37_02_246749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dbf5a100879b36d9ab02eaef2ac745d1.jpg","text":"TemporaryFile(/tmp/multipartBody3350949715581661016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062712955,"filename":"image_05012025_08_37_02_246749_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a82622a6d5b35a5d061deef66f86d997.jpg","text":"TemporaryFile(/tmp/multipartBody2940040016978633849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062712955,"filename":"image_05012025_08_37_02_246749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/39714bba49fac5303b9c5b4abbf3d4ba.jpg","text":"TemporaryFile(/tmp/multipartBody3663954505209221065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062712955,"filename":"image_05012025_08_36_02_754353_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862253","file1":"1326862251","file0":"1326862247","file3":"1326862255"},"map_files_photo_id_array":[{"photo_id":"1326862253","filename":"file2"},{"photo_id":"1326862251","filename":"file1"},{"photo_id":"1326862247","filename":"file0"},{"photo_id":"1326862255","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862255":["hashtag1","hashtag2"]},{"1326862251":["hashtag1","hashtag2"]},{"1326862253":["hashtag1","hashtag2"]},{"1326862247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862255, 1326862251, 1326862253, 1326862247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55535101890564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:38:22.042320
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/37/image_05012025_08_37_02_246749_0003.jpg', '/home/pi/Desktop/images/05012025/08/38/image_05012025_08_38_02_817202_0000.jpg', '/home/pi/Desktop/images/05012025/08/38/image_05012025_08_38_02_817202_0001.jpg', '/home/pi/Desktop/images/05012025/08/38/image_05012025_08_38_02_817202_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/08/37/image_05012025_08_37_02_246749_0003.jpg
/home/pi/Desktop/images/05012025/08/38/image_05012025_08_38_02_817202_0000.jpg
/home/pi/Desktop/images/05012025/08/38/image_05012025_08_38_02_817202_0001.jpg
/home/pi/Desktop/images/05012025/08/38/image_05012025_08_38_02_817202_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862278","1326862286","1326862280","1326862283"],"photo_ids_order":["1326862278","1326862280","1326862283","1326862286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2bfd94918128a791454b41ceea4d7c60.jpg","text":"TemporaryFile(/tmp/multipartBody2368333337285235877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062772557,"filename":"image_05012025_08_37_02_246749_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b52cf3120f286ededeeac53e69a1b742.jpg","text":"TemporaryFile(/tmp/multipartBody8354123397546476367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062772557,"filename":"image_05012025_08_38_02_817202_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/802461899de3ff29496b46a59dac1c6e.jpg","text":"TemporaryFile(/tmp/multipartBody6164188792525755164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062772557,"filename":"image_05012025_08_38_02_817202_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f9965b4420334ff95afe54c7e478d8b.jpg","text":"TemporaryFile(/tmp/multipartBody2520307787518428246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062772557,"filename":"image_05012025_08_38_02_817202_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862283","file1":"1326862280","file0":"1326862278","file3":"1326862286"},"map_files_photo_id_array":[{"photo_id":"1326862283","filename":"file2"},{"photo_id":"1326862280","filename":"file1"},{"photo_id":"1326862278","filename":"file0"},{"photo_id":"1326862286","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862278":["hashtag1","hashtag2"]},{"1326862286":["hashtag1","hashtag2"]},{"1326862280":["hashtag1","hashtag2"]},{"1326862283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862278, 1326862286, 1326862280, 1326862283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.999072551727295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:39:22.560572
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/38/image_05012025_08_38_02_817202_0003.jpg', '/home/pi/Desktop/images/05012025/08/39/image_05012025_08_39_02_402839_0000.jpg', '/home/pi/Desktop/images/05012025/08/39/image_05012025_08_39_02_402839_0001.jpg', '/home/pi/Desktop/images/05012025/08/39/image_05012025_08_39_02_402839_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/08/38/image_05012025_08_38_02_817202_0003.jpg
/home/pi/Desktop/images/05012025/08/39/image_05012025_08_39_02_402839_0000.jpg
/home/pi/Desktop/images/05012025/08/39/image_05012025_08_39_02_402839_0001.jpg
/home/pi/Desktop/images/05012025/08/39/image_05012025_08_39_02_402839_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862296","1326862305","1326862304","1326862294"],"photo_ids_order":["1326862294","1326862296","1326862304","1326862305"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/255b64efdcb17ba0257bc1978d9b811e.jpg","text":"TemporaryFile(/tmp/multipartBody2638468653166547001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062833030,"filename":"image_05012025_08_39_02_402839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4c409b819d7678536d71bd6d9a198640.jpg","text":"TemporaryFile(/tmp/multipartBody679566453017270329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062833030,"filename":"image_05012025_08_39_02_402839_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0bd12dc28786da9c21a972c4a8a5ad3c.jpg","text":"TemporaryFile(/tmp/multipartBody3292382323428958685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062833030,"filename":"image_05012025_08_39_02_402839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/116dbcd109417094460819a4ea806aeb.jpg","text":"TemporaryFile(/tmp/multipartBody2949356614930364815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062833030,"filename":"image_05012025_08_38_02_817202_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862304","file1":"1326862296","file0":"1326862294","file3":"1326862305"},"map_files_photo_id_array":[{"photo_id":"1326862304","filename":"file2"},{"photo_id":"1326862296","filename":"file1"},{"photo_id":"1326862294","filename":"file0"},{"photo_id":"1326862305","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862296":["hashtag1","hashtag2"]},{"1326862305":["hashtag1","hashtag2"]},{"1326862304":["hashtag1","hashtag2"]},{"1326862294":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862296, 1326862305, 1326862304, 1326862294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.71532845497131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:40:22.118257
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/39/image_05012025_08_39_02_402839_0003.jpg', '/home/pi/Desktop/images/05012025/08/40/image_05012025_08_40_02_954374_0000.jpg', '/home/pi/Desktop/images/05012025/08/40/image_05012025_08_40_02_954374_0001.jpg', '/home/pi/Desktop/images/05012025/08/40/image_05012025_08_40_02_954374_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/08/39/image_05012025_08_39_02_402839_0003.jpg
/home/pi/Desktop/images/05012025/08/40/image_05012025_08_40_02_954374_0000.jpg
/home/pi/Desktop/images/05012025/08/40/image_05012025_08_40_02_954374_0001.jpg
/home/pi/Desktop/images/05012025/08/40/image_05012025_08_40_02_954374_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862351","1326862354","1326862348","1326862346"],"photo_ids_order":["1326862346","1326862348","1326862351","1326862354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd8deba9fafa77342caa62176ee4ea60.jpg","text":"TemporaryFile(/tmp/multipartBody3366371197042226136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062892596,"filename":"image_05012025_08_40_02_954374_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0f498268b78234211360ce82bc67f3b8.jpg","text":"TemporaryFile(/tmp/multipartBody5864052429408424523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062892596,"filename":"image_05012025_08_40_02_954374_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/edf15fd5f79d2463c79879aaa616c982.jpg","text":"TemporaryFile(/tmp/multipartBody687909332616814006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062892596,"filename":"image_05012025_08_40_02_954374_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3c4f91b130bdcb96ec77e808974b9142.jpg","text":"TemporaryFile(/tmp/multipartBody2183534935590989249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062892596,"filename":"image_05012025_08_39_02_402839_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862351","file1":"1326862348","file0":"1326862346","file3":"1326862354"},"map_files_photo_id_array":[{"photo_id":"1326862351","filename":"file2"},{"photo_id":"1326862348","filename":"file1"},{"photo_id":"1326862346","filename":"file0"},{"photo_id":"1326862354","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862351":["hashtag1","hashtag2"]},{"1326862354":["hashtag1","hashtag2"]},{"1326862348":["hashtag1","hashtag2"]},{"1326862346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862351, 1326862354, 1326862348, 1326862346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.82853960990906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:41:22.648522
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/40/image_05012025_08_40_02_954374_0003.jpg', '/home/pi/Desktop/images/05012025/08/41/image_05012025_08_41_02_477929_0000.jpg', '/home/pi/Desktop/images/05012025/08/41/image_05012025_08_41_02_477929_0001.jpg', '/home/pi/Desktop/images/05012025/08/41/image_05012025_08_41_02_477929_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/08/40/image_05012025_08_40_02_954374_0003.jpg
/home/pi/Desktop/images/05012025/08/41/image_05012025_08_41_02_477929_0000.jpg
/home/pi/Desktop/images/05012025/08/41/image_05012025_08_41_02_477929_0001.jpg
/home/pi/Desktop/images/05012025/08/41/image_05012025_08_41_02_477929_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862366","1326862368","1326862370","1326862364"],"photo_ids_order":["1326862364","1326862366","1326862368","1326862370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e228f6593d8c69481bda8d19d87d0757.jpg","text":"TemporaryFile(/tmp/multipartBody38630762571920620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062953140,"filename":"image_05012025_08_41_02_477929_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bebac92155ae0000d44e22a3b14e533a.jpg","text":"TemporaryFile(/tmp/multipartBody1494451892551791816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062953140,"filename":"image_05012025_08_41_02_477929_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/176843e5ba85b6e6643adc4ae09ca773.jpg","text":"TemporaryFile(/tmp/multipartBody711859776795036396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062953140,"filename":"image_05012025_08_41_02_477929_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/73c10992fe42d48548f8738d65dcb119.jpg","text":"TemporaryFile(/tmp/multipartBody2251894029654251227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736062953140,"filename":"image_05012025_08_40_02_954374_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862368","file1":"1326862366","file0":"1326862364","file3":"1326862370"},"map_files_photo_id_array":[{"photo_id":"1326862368","filename":"file2"},{"photo_id":"1326862366","filename":"file1"},{"photo_id":"1326862364","filename":"file0"},{"photo_id":"1326862370","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862366":["hashtag1","hashtag2"]},{"1326862368":["hashtag1","hashtag2"]},{"1326862370":["hashtag1","hashtag2"]},{"1326862364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862366, 1326862368, 1326862370, 1326862364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.8830246925354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:42:02.549880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:42:22.141061
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/41/image_05012025_08_41_02_477929_0003.jpg', '/home/pi/Desktop/images/05012025/08/42/image_05012025_08_42_03_020823_0000.jpg', '/home/pi/Desktop/images/05012025/08/42/image_05012025_08_42_03_020823_0001.jpg', '/home/pi/Desktop/images/05012025/08/42/image_05012025_08_42_03_020823_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/08/41/image_05012025_08_41_02_477929_0003.jpg
/home/pi/Desktop/images/05012025/08/42/image_05012025_08_42_03_020823_0000.jpg
/home/pi/Desktop/images/05012025/08/42/image_05012025_08_42_03_020823_0001.jpg
/home/pi/Desktop/images/05012025/08/42/image_05012025_08_42_03_020823_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862380","1326862382","1326862376","1326862378"],"photo_ids_order":["1326862376","1326862378","1326862380","1326862382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b08f1694af46912170f05055a08b8370.jpg","text":"TemporaryFile(/tmp/multipartBody2512488514262197345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063012545,"filename":"image_05012025_08_42_03_020823_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6f15d53ec485a71ab8960d0601f6c480.jpg","text":"TemporaryFile(/tmp/multipartBody2119415871630559523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063012545,"filename":"image_05012025_08_42_03_020823_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd92072919a7bae49320f6b87ff45d1f.jpg","text":"TemporaryFile(/tmp/multipartBody6091465189687447460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063012545,"filename":"image_05012025_08_41_02_477929_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/105635aacc056dd2eafa50f6c3da4e03.jpg","text":"TemporaryFile(/tmp/multipartBody1169971657119081084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063012545,"filename":"image_05012025_08_42_03_020823_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862380","file1":"1326862378","file0":"1326862376","file3":"1326862382"},"map_files_photo_id_array":[{"photo_id":"1326862380","filename":"file2"},{"photo_id":"1326862378","filename":"file1"},{"photo_id":"1326862376","filename":"file0"},{"photo_id":"1326862382","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862380":["hashtag1","hashtag2"]},{"1326862382":["hashtag1","hashtag2"]},{"1326862376":["hashtag1","hashtag2"]},{"1326862378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862380, 1326862382, 1326862376, 1326862378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.119171380996704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:43:03.463032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:43:22.757986
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/42/image_05012025_08_42_03_020823_0003.jpg', '/home/pi/Desktop/images/05012025/08/43/image_05012025_08_43_02_546238_0000.jpg', '/home/pi/Desktop/images/05012025/08/43/image_05012025_08_43_02_546238_0001.jpg', '/home/pi/Desktop/images/05012025/08/43/image_05012025_08_43_02_546238_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/08/42/image_05012025_08_42_03_020823_0003.jpg
/home/pi/Desktop/images/05012025/08/43/image_05012025_08_43_02_546238_0000.jpg
/home/pi/Desktop/images/05012025/08/43/image_05012025_08_43_02_546238_0001.jpg
/home/pi/Desktop/images/05012025/08/43/image_05012025_08_43_02_546238_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862438","1326862435","1326862440","1326862433"],"photo_ids_order":["1326862433","1326862435","1326862438","1326862440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dfdf39c37750c8af406353d103b8e8bb.jpg","text":"TemporaryFile(/tmp/multipartBody2188591223246499713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063073221,"filename":"image_05012025_08_43_02_546238_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/61031c4ccbcd709ad25c87737ceec246.jpg","text":"TemporaryFile(/tmp/multipartBody6303777349236454512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063073221,"filename":"image_05012025_08_43_02_546238_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2ff93bc84111b70b0e2ddc455b1b977e.jpg","text":"TemporaryFile(/tmp/multipartBody2674385642729052466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063073221,"filename":"image_05012025_08_43_02_546238_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1339ddccbc56bf49f2ba31ae66ea9821.jpg","text":"TemporaryFile(/tmp/multipartBody5946249189369521227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063073221,"filename":"image_05012025_08_42_03_020823_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862438","file1":"1326862435","file0":"1326862433","file3":"1326862440"},"map_files_photo_id_array":[{"photo_id":"1326862438","filename":"file2"},{"photo_id":"1326862435","filename":"file1"},{"photo_id":"1326862433","filename":"file0"},{"photo_id":"1326862440","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862438":["hashtag1","hashtag2"]},{"1326862435":["hashtag1","hashtag2"]},{"1326862440":["hashtag1","hashtag2"]},{"1326862433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862438, 1326862435, 1326862440, 1326862433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.266757011413574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:44:22.407485
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/43/image_05012025_08_43_02_546238_0003.jpg', '/home/pi/Desktop/images/05012025/08/44/image_05012025_08_44_03_120027_0000.jpg', '/home/pi/Desktop/images/05012025/08/44/image_05012025_08_44_03_120027_0001.jpg', '/home/pi/Desktop/images/05012025/08/44/image_05012025_08_44_03_120027_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/08/43/image_05012025_08_43_02_546238_0003.jpg
/home/pi/Desktop/images/05012025/08/44/image_05012025_08_44_03_120027_0000.jpg
/home/pi/Desktop/images/05012025/08/44/image_05012025_08_44_03_120027_0001.jpg
/home/pi/Desktop/images/05012025/08/44/image_05012025_08_44_03_120027_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862453","1326862458","1326862460","1326862462"],"photo_ids_order":["1326862453","1326862458","1326862460","1326862462"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2f12f1e463911deadec4b26677a508bf.jpg","text":"TemporaryFile(/tmp/multipartBody1267844724581943944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063132797,"filename":"image_05012025_08_43_02_546238_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d1ac6857f8370f1b30354bfc041bf654.jpg","text":"TemporaryFile(/tmp/multipartBody2094333465390903222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063132797,"filename":"image_05012025_08_44_03_120027_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5de2699ed11cea951ec953eb59d0b205.jpg","text":"TemporaryFile(/tmp/multipartBody8446718294210151383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063132797,"filename":"image_05012025_08_44_03_120027_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/969fdea9e6d07524e9f08c912cce7dc2.jpg","text":"TemporaryFile(/tmp/multipartBody8499355046453107676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063132797,"filename":"image_05012025_08_44_03_120027_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862460","file1":"1326862458","file0":"1326862453","file3":"1326862462"},"map_files_photo_id_array":[{"photo_id":"1326862460","filename":"file2"},{"photo_id":"1326862458","filename":"file1"},{"photo_id":"1326862453","filename":"file0"},{"photo_id":"1326862462","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862453":["hashtag1","hashtag2"]},{"1326862458":["hashtag1","hashtag2"]},{"1326862460":["hashtag1","hashtag2"]},{"1326862462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862453, 1326862458, 1326862460, 1326862462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.37403917312622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:45:21.981457
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/44/image_05012025_08_44_03_120027_0003.jpg', '/home/pi/Desktop/images/05012025/08/45/image_05012025_08_45_02_830038_0000.jpg', '/home/pi/Desktop/images/05012025/08/45/image_05012025_08_45_02_830038_0001.jpg', '/home/pi/Desktop/images/05012025/08/45/image_05012025_08_45_02_830038_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/08/44/image_05012025_08_44_03_120027_0003.jpg
/home/pi/Desktop/images/05012025/08/45/image_05012025_08_45_02_830038_0000.jpg
/home/pi/Desktop/images/05012025/08/45/image_05012025_08_45_02_830038_0001.jpg
/home/pi/Desktop/images/05012025/08/45/image_05012025_08_45_02_830038_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862482","1326862484","1326862487","1326862498"],"photo_ids_order":["1326862482","1326862484","1326862487","1326862498"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b9b0fb812c61339c7e334edc1e1a7a8.jpg","text":"TemporaryFile(/tmp/multipartBody448540466206626040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063192307,"filename":"image_05012025_08_44_03_120027_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d7b54ab92e64550b41ece8b462f9e71b.jpg","text":"TemporaryFile(/tmp/multipartBody930675277344975075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063192307,"filename":"image_05012025_08_45_02_830038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/21613962467b4f54796efdcf9e886c51.jpg","text":"TemporaryFile(/tmp/multipartBody869360231920509052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063192307,"filename":"image_05012025_08_45_02_830038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/72b399c6408f4600ec92444980fb77e1.jpg","text":"TemporaryFile(/tmp/multipartBody6001083971920495002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063192307,"filename":"image_05012025_08_45_02_830038_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862487","file1":"1326862484","file0":"1326862482","file3":"1326862498"},"map_files_photo_id_array":[{"photo_id":"1326862487","filename":"file2"},{"photo_id":"1326862484","filename":"file1"},{"photo_id":"1326862482","filename":"file0"},{"photo_id":"1326862498","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862482":["hashtag1","hashtag2"]},{"1326862484":["hashtag1","hashtag2"]},{"1326862487":["hashtag1","hashtag2"]},{"1326862498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862482, 1326862484, 1326862487, 1326862498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.218297243118286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:46:22.468926
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/45/image_05012025_08_45_02_830038_0003.jpg', '/home/pi/Desktop/images/05012025/08/46/image_05012025_08_46_02_362359_0000.jpg', '/home/pi/Desktop/images/05012025/08/46/image_05012025_08_46_02_362359_0001.jpg', '/home/pi/Desktop/images/05012025/08/46/image_05012025_08_46_02_362359_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/08/45/image_05012025_08_45_02_830038_0003.jpg
/home/pi/Desktop/images/05012025/08/46/image_05012025_08_46_02_362359_0000.jpg
/home/pi/Desktop/images/05012025/08/46/image_05012025_08_46_02_362359_0001.jpg
/home/pi/Desktop/images/05012025/08/46/image_05012025_08_46_02_362359_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862540","1326862539","1326862541","1326862538"],"photo_ids_order":["1326862538","1326862539","1326862540","1326862541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e9ada83b81aca7a1e3e058d3288810a9.jpg","text":"TemporaryFile(/tmp/multipartBody1237590970460715458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063252807,"filename":"image_05012025_08_46_02_362359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/41756171c68544dae5fa9fa615b9db6d.jpg","text":"TemporaryFile(/tmp/multipartBody7309784376006421563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063252807,"filename":"image_05012025_08_46_02_362359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a7d340d310586f894e68fbf2b638ddae.jpg","text":"TemporaryFile(/tmp/multipartBody4205674866671852516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063252807,"filename":"image_05012025_08_46_02_362359_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a15bef89aefdc5da076bfa6f05fffbe9.jpg","text":"TemporaryFile(/tmp/multipartBody3765422617435301714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063252807,"filename":"image_05012025_08_45_02_830038_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862540","file1":"1326862539","file0":"1326862538","file3":"1326862541"},"map_files_photo_id_array":[{"photo_id":"1326862540","filename":"file2"},{"photo_id":"1326862539","filename":"file1"},{"photo_id":"1326862538","filename":"file0"},{"photo_id":"1326862541","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862540":["hashtag1","hashtag2"]},{"1326862539":["hashtag1","hashtag2"]},{"1326862541":["hashtag1","hashtag2"]},{"1326862538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862540, 1326862539, 1326862541, 1326862538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.74380564689636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:47:21.990990
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/46/image_05012025_08_46_02_362359_0003.jpg', '/home/pi/Desktop/images/05012025/08/47/image_05012025_08_47_02_837889_0001.jpg', '/home/pi/Desktop/images/05012025/08/47/image_05012025_08_47_02_837889_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/08/46/image_05012025_08_46_02_362359_0003.jpg
/home/pi/Desktop/images/05012025/08/47/image_05012025_08_47_02_837889_0001.jpg
/home/pi/Desktop/images/05012025/08/47/image_05012025_08_47_02_837889_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862566","1326862560","1326862563"],"photo_ids_order":["1326862560","1326862563","1326862566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d8e2e9b48ca4780cfb7619b7549a5423.jpg","text":"TemporaryFile(/tmp/multipartBody42036742488369024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063309914,"filename":"image_05012025_08_47_02_837889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/559ec22f6c9b3e1f441199ea19bb3470.jpg","text":"TemporaryFile(/tmp/multipartBody5361593397654040958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063309914,"filename":"image_05012025_08_46_02_362359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f9a11fcda68087f6d287ff5c4ded2b1.jpg","text":"TemporaryFile(/tmp/multipartBody662721033191818552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063309914,"filename":"image_05012025_08_47_02_837889_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862566","file1":"1326862563","file0":"1326862560"},"map_files_photo_id_array":[{"photo_id":"1326862566","filename":"file2"},{"photo_id":"1326862563","filename":"file1"},{"photo_id":"1326862560","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862566":["hashtag1","hashtag2"]},{"1326862560":["hashtag1","hashtag2"]},{"1326862563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862566, 1326862560, 1326862563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.522928714752197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:48:02.733020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:48:22.469831
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/47/image_05012025_08_47_02_837889_0003.jpg', '/home/pi/Desktop/images/05012025/08/48/image_05012025_08_48_02_336009_0000.jpg', '/home/pi/Desktop/images/05012025/08/48/image_05012025_08_48_02_336009_0001.jpg', '/home/pi/Desktop/images/05012025/08/48/image_05012025_08_48_02_336009_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/08/47/image_05012025_08_47_02_837889_0003.jpg
/home/pi/Desktop/images/05012025/08/48/image_05012025_08_48_02_336009_0000.jpg
/home/pi/Desktop/images/05012025/08/48/image_05012025_08_48_02_336009_0001.jpg
/home/pi/Desktop/images/05012025/08/48/image_05012025_08_48_02_336009_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.04439902305603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:49:02.784155
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/47/image_05012025_08_47_02_837889_0003.jpg', '/home/pi/Desktop/images/05012025/08/48/image_05012025_08_48_02_336009_0000.jpg', '/home/pi/Desktop/images/05012025/08/48/image_05012025_08_48_02_336009_0001.jpg', '/home/pi/Desktop/images/05012025/08/48/image_05012025_08_48_02_336009_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/08/47/image_05012025_08_47_02_837889_0003.jpg
/home/pi/Desktop/images/05012025/08/48/image_05012025_08_48_02_336009_0000.jpg
/home/pi/Desktop/images/05012025/08/48/image_05012025_08_48_02_336009_0001.jpg
/home/pi/Desktop/images/05012025/08/48/image_05012025_08_48_02_336009_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862770","1326862800","1326862798","1326862802"],"photo_ids_order":["1326862770","1326862798","1326862800","1326862802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fc818bbbecf02568842e4c86cd47d5c2.jpg","text":"TemporaryFile(/tmp/multipartBody2007953470842472037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063413268,"filename":"image_05012025_08_47_02_837889_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7c8448ea72b3085ab9e8efa2b6edf7d3.jpg","text":"TemporaryFile(/tmp/multipartBody5973869421552389609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063413268,"filename":"image_05012025_08_48_02_336009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/38b94c843f2f20c275e20ec430e428d9.jpg","text":"TemporaryFile(/tmp/multipartBody3887950497697446419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063413268,"filename":"image_05012025_08_48_02_336009_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3069f46c4e25d6a4c4e9b4298f763084.jpg","text":"TemporaryFile(/tmp/multipartBody2051317458161019252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063413268,"filename":"image_05012025_08_48_02_336009_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862800","file1":"1326862798","file0":"1326862770","file3":"1326862802"},"map_files_photo_id_array":[{"photo_id":"1326862800","filename":"file2"},{"photo_id":"1326862798","filename":"file1"},{"photo_id":"1326862770","filename":"file0"},{"photo_id":"1326862802","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862770":["hashtag1","hashtag2"]},{"1326862800":["hashtag1","hashtag2"]},{"1326862798":["hashtag1","hashtag2"]},{"1326862802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862770, 1326862800, 1326862798, 1326862802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.344443798065186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:50:03.056273
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/48/image_05012025_08_48_02_336009_0003.jpg', '/home/pi/Desktop/images/05012025/08/49/image_05012025_08_49_02_888064_0000.jpg', '/home/pi/Desktop/images/05012025/08/49/image_05012025_08_49_02_888064_0001.jpg', '/home/pi/Desktop/images/05012025/08/49/image_05012025_08_49_02_888064_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/08/48/image_05012025_08_48_02_336009_0003.jpg
/home/pi/Desktop/images/05012025/08/49/image_05012025_08_49_02_888064_0000.jpg
/home/pi/Desktop/images/05012025/08/49/image_05012025_08_49_02_888064_0001.jpg
/home/pi/Desktop/images/05012025/08/49/image_05012025_08_49_02_888064_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.061375379562378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:50:22.711638
SELECT 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/08/48/image_05012025_08_48_02_336009_0003.jpg', '/home/pi/Desktop/images/05012025/08/49/image_05012025_08_49_02_888064_0000.jpg', '/home/pi/Desktop/images/05012025/08/49/image_05012025_08_49_02_888064_0001.jpg', '/home/pi/Desktop/images/05012025/08/49/image_05012025_08_49_02_888064_0002.jpg', '/home/pi/Desktop/images/05012025/08/49/image_05012025_08_49_02_888064_0003.jpg', '/home/pi/Desktop/images/05012025/08/50/image_05012025_08_50_02_455411_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/08/48/image_05012025_08_48_02_336009_0003.jpg
/home/pi/Desktop/images/05012025/08/49/image_05012025_08_49_02_888064_0000.jpg
/home/pi/Desktop/images/05012025/08/49/image_05012025_08_49_02_888064_0001.jpg
/home/pi/Desktop/images/05012025/08/49/image_05012025_08_49_02_888064_0002.jpg
/home/pi/Desktop/images/05012025/08/49/image_05012025_08_49_02_888064_0003.jpg
/home/pi/Desktop/images/05012025/08/50/image_05012025_08_50_02_455411_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862825","1326862819","1326862827","1326862821","1326862823","1326862817"],"photo_ids_order":["1326862817","1326862819","1326862821","1326862823","1326862825","1326862827"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/da2125d280b1f94dadb0f884cde8bbb5.jpg","text":"TemporaryFile(/tmp/multipartBody8417895610445003100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063498039,"filename":"image_05012025_08_49_02_888064_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d40d457b2d192d5fb61b32d719be9fff.jpg","text":"TemporaryFile(/tmp/multipartBody509618943816541404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063498039,"filename":"image_05012025_08_49_02_888064_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11dfe2676bbd34dc6b29af01778e3ebd.jpg","text":"TemporaryFile(/tmp/multipartBody2677704789029659896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063498039,"filename":"image_05012025_08_50_02_455411_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f89d21385f3c0ba32224fcd22ea3fe0.jpg","text":"TemporaryFile(/tmp/multipartBody4091574833291426360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063498039,"filename":"image_05012025_08_49_02_888064_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7667f64e5c0d36d95f69f051fc261cf8.jpg","text":"TemporaryFile(/tmp/multipartBody690792590699118730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063498039,"filename":"image_05012025_08_49_02_888064_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5b609352c65cb95f501e28f0d88ccee0.jpg","text":"TemporaryFile(/tmp/multipartBody6989703602801525591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063498039,"filename":"image_05012025_08_48_02_336009_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862821","file1":"1326862819","file0":"1326862817","file4":"1326862825","file5":"1326862827","file3":"1326862823"},"map_files_photo_id_array":[{"photo_id":"1326862827","filename":"file5"},{"photo_id":"1326862821","filename":"file2"},{"photo_id":"1326862825","filename":"file4"},{"photo_id":"1326862819","filename":"file1"},{"photo_id":"1326862817","filename":"file0"},{"photo_id":"1326862823","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862825":["hashtag1","hashtag2"]},{"1326862819":["hashtag1","hashtag2"]},{"1326862827":["hashtag1","hashtag2"]},{"1326862821":["hashtag1","hashtag2"]},{"1326862823":["hashtag1","hashtag2"]},{"1326862817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862825, 1326862819, 1326862827, 1326862821, 1326862823, 1326862817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.67406225204468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:51:22.222755
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/50/image_05012025_08_50_02_455411_0002.jpg', '/home/pi/Desktop/images/05012025/08/50/image_05012025_08_50_02_455411_0003.jpg', '/home/pi/Desktop/images/05012025/08/51/image_05012025_08_51_03_052101_0001.jpg', '/home/pi/Desktop/images/05012025/08/51/image_05012025_08_51_03_052101_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/08/50/image_05012025_08_50_02_455411_0002.jpg
/home/pi/Desktop/images/05012025/08/50/image_05012025_08_50_02_455411_0003.jpg
/home/pi/Desktop/images/05012025/08/51/image_05012025_08_51_03_052101_0001.jpg
/home/pi/Desktop/images/05012025/08/51/image_05012025_08_51_03_052101_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862834","1326862830","1326862836","1326862832"],"photo_ids_order":["1326862830","1326862832","1326862834","1326862836"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a97c0ccb82b02fe1b3b5733ee7d0deb.jpg","text":"TemporaryFile(/tmp/multipartBody8043008807040863141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063552644,"filename":"image_05012025_08_51_03_052101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/46ebc866f7a5c3e44175a5dc7615b12e.jpg","text":"TemporaryFile(/tmp/multipartBody4290300476890021510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063552644,"filename":"image_05012025_08_50_02_455411_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/adad8abfcafb1463bf5f09c55ab4d491.jpg","text":"TemporaryFile(/tmp/multipartBody9119672918402807028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063552644,"filename":"image_05012025_08_51_03_052101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/56417f3782ce34d881a54d1525eccf1d.jpg","text":"TemporaryFile(/tmp/multipartBody4571379903633409703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063552644,"filename":"image_05012025_08_50_02_455411_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862834","file1":"1326862832","file0":"1326862830","file3":"1326862836"},"map_files_photo_id_array":[{"photo_id":"1326862834","filename":"file2"},{"photo_id":"1326862832","filename":"file1"},{"photo_id":"1326862830","filename":"file0"},{"photo_id":"1326862836","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862834":["hashtag1","hashtag2"]},{"1326862830":["hashtag1","hashtag2"]},{"1326862836":["hashtag1","hashtag2"]},{"1326862832":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862834, 1326862830, 1326862836, 1326862832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.51920008659363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:52:22.753572
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/51/image_05012025_08_51_03_052101_0003.jpg', '/home/pi/Desktop/images/05012025/08/52/image_05012025_08_52_02_617150_0000.jpg', '/home/pi/Desktop/images/05012025/08/52/image_05012025_08_52_02_617150_0001.jpg', '/home/pi/Desktop/images/05012025/08/52/image_05012025_08_52_02_617150_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/08/51/image_05012025_08_51_03_052101_0003.jpg
/home/pi/Desktop/images/05012025/08/52/image_05012025_08_52_02_617150_0000.jpg
/home/pi/Desktop/images/05012025/08/52/image_05012025_08_52_02_617150_0001.jpg
/home/pi/Desktop/images/05012025/08/52/image_05012025_08_52_02_617150_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326862896","1326862877","1326862904","1326862901"],"photo_ids_order":["1326862877","1326862896","1326862901","1326862904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/270a4097833ac529b003483209456376.jpg","text":"TemporaryFile(/tmp/multipartBody6385029269360946003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063613130,"filename":"image_05012025_08_52_02_617150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/219aea8c8a133756967558cd5fef30fb.jpg","text":"TemporaryFile(/tmp/multipartBody891722842990776407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063613130,"filename":"image_05012025_08_51_03_052101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/36db0d67890d0b62a997502307cb1253.jpg","text":"TemporaryFile(/tmp/multipartBody6526883475229522174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063613130,"filename":"image_05012025_08_52_02_617150_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ef3057af599a719d4251e9c5ae8e9d49.jpg","text":"TemporaryFile(/tmp/multipartBody5132406187532793689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063613130,"filename":"image_05012025_08_52_02_617150_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326862901","file1":"1326862896","file0":"1326862877","file3":"1326862904"},"map_files_photo_id_array":[{"photo_id":"1326862901","filename":"file2"},{"photo_id":"1326862896","filename":"file1"},{"photo_id":"1326862877","filename":"file0"},{"photo_id":"1326862904","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326862896":["hashtag1","hashtag2"]},{"1326862877":["hashtag1","hashtag2"]},{"1326862904":["hashtag1","hashtag2"]},{"1326862901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326862896, 1326862877, 1326862904, 1326862901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.17959904670715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:53:22.669184
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/52/image_05012025_08_52_02_617150_0003.jpg', '/home/pi/Desktop/images/05012025/08/53/image_05012025_08_53_03_086276_0000.jpg', '/home/pi/Desktop/images/05012025/08/53/image_05012025_08_53_03_086276_0001.jpg', '/home/pi/Desktop/images/05012025/08/53/image_05012025_08_53_03_086276_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/08/52/image_05012025_08_52_02_617150_0003.jpg
/home/pi/Desktop/images/05012025/08/53/image_05012025_08_53_03_086276_0000.jpg
/home/pi/Desktop/images/05012025/08/53/image_05012025_08_53_03_086276_0001.jpg
/home/pi/Desktop/images/05012025/08/53/image_05012025_08_53_03_086276_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326863011","1326863013","1326863007","1326863009"],"photo_ids_order":["1326863007","1326863009","1326863011","1326863013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0603caa5d3bbb5912e4405ca803eb258.jpg","text":"TemporaryFile(/tmp/multipartBody7363663283727932343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063673078,"filename":"image_05012025_08_53_03_086276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c87deb940cd119537e5de3807e1b315f.jpg","text":"TemporaryFile(/tmp/multipartBody2460247114144530817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063673078,"filename":"image_05012025_08_53_03_086276_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9226ceb7cc10ec480349104db48828d5.jpg","text":"TemporaryFile(/tmp/multipartBody8369801221289180186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063673078,"filename":"image_05012025_08_52_02_617150_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e6701236b34d58f75d3bbb6d331a975f.jpg","text":"TemporaryFile(/tmp/multipartBody8632735161734164419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063673078,"filename":"image_05012025_08_53_03_086276_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326863011","file1":"1326863009","file0":"1326863007","file3":"1326863013"},"map_files_photo_id_array":[{"photo_id":"1326863011","filename":"file2"},{"photo_id":"1326863009","filename":"file1"},{"photo_id":"1326863007","filename":"file0"},{"photo_id":"1326863013","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326863011":["hashtag1","hashtag2"]},{"1326863013":["hashtag1","hashtag2"]},{"1326863007":["hashtag1","hashtag2"]},{"1326863009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326863011, 1326863013, 1326863007, 1326863009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.88410258293152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:54:02.537713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:54:22.097534
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/53/image_05012025_08_53_03_086276_0003.jpg', '/home/pi/Desktop/images/05012025/08/54/image_05012025_08_54_02_969272_0000.jpg', '/home/pi/Desktop/images/05012025/08/54/image_05012025_08_54_02_969272_0001.jpg', '/home/pi/Desktop/images/05012025/08/54/image_05012025_08_54_02_969272_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/08/53/image_05012025_08_53_03_086276_0003.jpg
/home/pi/Desktop/images/05012025/08/54/image_05012025_08_54_02_969272_0000.jpg
/home/pi/Desktop/images/05012025/08/54/image_05012025_08_54_02_969272_0001.jpg
/home/pi/Desktop/images/05012025/08/54/image_05012025_08_54_02_969272_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326863023","1326863028","1326863030","1326863026"],"photo_ids_order":["1326863023","1326863026","1326863028","1326863030"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a9db7fbb0a1b66d270b8547ec0294ab1.jpg","text":"TemporaryFile(/tmp/multipartBody463581616691216886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063732412,"filename":"image_05012025_08_53_03_086276_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1350d7f8da074ee937c69f664c6632f0.jpg","text":"TemporaryFile(/tmp/multipartBody8615870037396471512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063732412,"filename":"image_05012025_08_54_02_969272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/67ca9c410d94115ed63692d969991e7d.jpg","text":"TemporaryFile(/tmp/multipartBody2238440322670757400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063732412,"filename":"image_05012025_08_54_02_969272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d8dd860a8ebc5b47a04e20afbf7dbbf4.jpg","text":"TemporaryFile(/tmp/multipartBody9029414051257154136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063732412,"filename":"image_05012025_08_54_02_969272_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326863028","file1":"1326863026","file0":"1326863023","file3":"1326863030"},"map_files_photo_id_array":[{"photo_id":"1326863028","filename":"file2"},{"photo_id":"1326863026","filename":"file1"},{"photo_id":"1326863023","filename":"file0"},{"photo_id":"1326863030","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326863023":["hashtag1","hashtag2"]},{"1326863028":["hashtag1","hashtag2"]},{"1326863030":["hashtag1","hashtag2"]},{"1326863026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326863023, 1326863028, 1326863030, 1326863026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.056357622146606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:55:22.629130
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/54/image_05012025_08_54_02_969272_0003.jpg', '/home/pi/Desktop/images/05012025/08/55/image_05012025_08_55_02_458024_0000.jpg', '/home/pi/Desktop/images/05012025/08/55/image_05012025_08_55_02_458024_0001.jpg', '/home/pi/Desktop/images/05012025/08/55/image_05012025_08_55_02_458024_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/08/54/image_05012025_08_54_02_969272_0003.jpg
/home/pi/Desktop/images/05012025/08/55/image_05012025_08_55_02_458024_0000.jpg
/home/pi/Desktop/images/05012025/08/55/image_05012025_08_55_02_458024_0001.jpg
/home/pi/Desktop/images/05012025/08/55/image_05012025_08_55_02_458024_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.972535133361816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:56:02.724014
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/54/image_05012025_08_54_02_969272_0003.jpg', '/home/pi/Desktop/images/05012025/08/55/image_05012025_08_55_02_458024_0000.jpg', '/home/pi/Desktop/images/05012025/08/55/image_05012025_08_55_02_458024_0001.jpg', '/home/pi/Desktop/images/05012025/08/55/image_05012025_08_55_02_458024_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/08/54/image_05012025_08_54_02_969272_0003.jpg
/home/pi/Desktop/images/05012025/08/55/image_05012025_08_55_02_458024_0000.jpg
/home/pi/Desktop/images/05012025/08/55/image_05012025_08_55_02_458024_0001.jpg
/home/pi/Desktop/images/05012025/08/55/image_05012025_08_55_02_458024_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326863137","1326863088","1326863139","1326863141"],"photo_ids_order":["1326863088","1326863137","1326863139","1326863141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb27017aff07352953280e788688e9fb.jpg","text":"TemporaryFile(/tmp/multipartBody2481577384021583855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063833103,"filename":"image_05012025_08_55_02_458024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fc18bdf725bea0de4adb8308f6e386ed.jpg","text":"TemporaryFile(/tmp/multipartBody9057592134249906125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063833103,"filename":"image_05012025_08_54_02_969272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3c016b6977990efa687af8bbcc186315.jpg","text":"TemporaryFile(/tmp/multipartBody67448045426347721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063833103,"filename":"image_05012025_08_55_02_458024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0fc69b6c2f586ca0e6db8fb3a40acb18.jpg","text":"TemporaryFile(/tmp/multipartBody5561124031143279799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736063833103,"filename":"image_05012025_08_55_02_458024_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326863139","file1":"1326863137","file0":"1326863088","file3":"1326863141"},"map_files_photo_id_array":[{"photo_id":"1326863139","filename":"file2"},{"photo_id":"1326863137","filename":"file1"},{"photo_id":"1326863088","filename":"file0"},{"photo_id":"1326863141","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326863137":["hashtag1","hashtag2"]},{"1326863088":["hashtag1","hashtag2"]},{"1326863139":["hashtag1","hashtag2"]},{"1326863141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326863137, 1326863088, 1326863139, 1326863141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.90328931808472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 08:57:03.399892
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/08/55/image_05012025_08_55_02_458024_0003.jpg', '/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0000.jpg', '/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0001.jpg', '/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_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/08/55/image_05012025_08_55_02_458024_0003.jpg
/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0000.jpg
/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0001.jpg
/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_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.982837677001953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 08:57:22.725076
SELECT 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/08/55/image_05012025_08_55_02_458024_0003.jpg', '/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0000.jpg', '/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0001.jpg', '/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0002.jpg', '/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0003.jpg', '/home/pi/Desktop/images/05012025/08/57/image_05012025_08_57_02_595418_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/08/55/image_05012025_08_55_02_458024_0003.jpg
/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0000.jpg
/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0001.jpg
/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0002.jpg
/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0003.jpg
/home/pi/Desktop/images/05012025/08/57/image_05012025_08_57_02_595418_0000.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-05 08:59:03.149281
SELECT 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/08/55/image_05012025_08_55_02_458024_0003.jpg', '/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0000.jpg', '/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0001.jpg', '/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0002.jpg', '/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0003.jpg', '/home/pi/Desktop/images/05012025/08/57/image_05012025_08_57_02_595418_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/08/55/image_05012025_08_55_02_458024_0003.jpg
/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0000.jpg
/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0001.jpg
/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0002.jpg
/home/pi/Desktop/images/05012025/08/56/image_05012025_08_56_03_016850_0003.jpg
/home/pi/Desktop/images/05012025/08/57/image_05012025_08_57_02_595418_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326864321","1326864324","1326864326","1326864328","1326864316","1326864331"],"photo_ids_order":["1326864316","1326864321","1326864324","1326864326","1326864328","1326864331"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7849cbfcdaa8bbc2b2a656f283d06e0f.jpg","text":"TemporaryFile(/tmp/multipartBody3950937187616814142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064018304,"filename":"image_05012025_08_56_03_016850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b75199ce120488d79cf4e4ffb011a39f.jpg","text":"TemporaryFile(/tmp/multipartBody5859465281159880730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064018304,"filename":"image_05012025_08_56_03_016850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4d0ed809153788be61924795dae22d79.jpg","text":"TemporaryFile(/tmp/multipartBody4067152920359253576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064018304,"filename":"image_05012025_08_56_03_016850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/372d735211eb974cd86613cdd7de2f9e.jpg","text":"TemporaryFile(/tmp/multipartBody1935651021315677504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064018304,"filename":"image_05012025_08_56_03_016850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/903913c7ca0cc75350337a9783784480.jpg","text":"TemporaryFile(/tmp/multipartBody8008300303245977781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064018304,"filename":"image_05012025_08_55_02_458024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7e12ded5690d2a8d49268a073f91f072.jpg","text":"TemporaryFile(/tmp/multipartBody1116583772202872069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064018304,"filename":"image_05012025_08_57_02_595418_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326864324","file1":"1326864321","file0":"1326864316","file4":"1326864328","file5":"1326864331","file3":"1326864326"},"map_files_photo_id_array":[{"photo_id":"1326864331","filename":"file5"},{"photo_id":"1326864324","filename":"file2"},{"photo_id":"1326864328","filename":"file4"},{"photo_id":"1326864321","filename":"file1"},{"photo_id":"1326864316","filename":"file0"},{"photo_id":"1326864326","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326864321":["hashtag1","hashtag2"]},{"1326864324":["hashtag1","hashtag2"]},{"1326864326":["hashtag1","hashtag2"]},{"1326864328":["hashtag1","hashtag2"]},{"1326864316":["hashtag1","hashtag2"]},{"1326864331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326864321, 1326864324, 1326864326, 1326864328, 1326864316, 1326864331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.28460764884949 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:00:02.566765
SELECT 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/08/57/image_05012025_08_57_02_595418_0001.jpg', '/home/pi/Desktop/images/05012025/08/57/image_05012025_08_57_02_595418_0002.jpg', '/home/pi/Desktop/images/05012025/08/57/image_05012025_08_57_02_595418_0003.jpg', '/home/pi/Desktop/images/05012025/08/58/image_05012025_08_58_03_146564_0000.jpg', '/home/pi/Desktop/images/05012025/08/58/image_05012025_08_58_03_146564_0001.jpg', '/home/pi/Desktop/images/05012025/08/58/image_05012025_08_58_03_146564_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/08/57/image_05012025_08_57_02_595418_0001.jpg
/home/pi/Desktop/images/05012025/08/57/image_05012025_08_57_02_595418_0002.jpg
/home/pi/Desktop/images/05012025/08/57/image_05012025_08_57_02_595418_0003.jpg
/home/pi/Desktop/images/05012025/08/58/image_05012025_08_58_03_146564_0000.jpg
/home/pi/Desktop/images/05012025/08/58/image_05012025_08_58_03_146564_0001.jpg
/home/pi/Desktop/images/05012025/08/58/image_05012025_08_58_03_146564_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326864387","1326864371","1326864344","1326864373","1326864361","1326864381"],"photo_ids_order":["1326864344","1326864361","1326864371","1326864373","1326864381","1326864387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/17a43f6cd8b771273e3e1820aef98b2f.jpg","text":"TemporaryFile(/tmp/multipartBody4681581026164486168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064077612,"filename":"image_05012025_08_58_03_146564_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b99b210e230fcc3ebad83bae711fc47.jpg","text":"TemporaryFile(/tmp/multipartBody2290071880336100192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064077612,"filename":"image_05012025_08_57_02_595418_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4c3d2a4948a5993ab9af2837e1049c87.jpg","text":"TemporaryFile(/tmp/multipartBody2741965825323818132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064077612,"filename":"image_05012025_08_57_02_595418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/804abd8247f95212b5b838377e410bd1.jpg","text":"TemporaryFile(/tmp/multipartBody2437720574670014118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064077612,"filename":"image_05012025_08_58_03_146564_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f1dfab8fa9c8a81380c86e2f68fbaa7.jpg","text":"TemporaryFile(/tmp/multipartBody6492899275651142694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064077612,"filename":"image_05012025_08_57_02_595418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e14e3f5527c78b83d8fbdc17bb28e8c2.jpg","text":"TemporaryFile(/tmp/multipartBody6493478349052736444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064077612,"filename":"image_05012025_08_58_03_146564_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326864371","file1":"1326864361","file0":"1326864344","file4":"1326864381","file5":"1326864387","file3":"1326864373"},"map_files_photo_id_array":[{"photo_id":"1326864387","filename":"file5"},{"photo_id":"1326864371","filename":"file2"},{"photo_id":"1326864381","filename":"file4"},{"photo_id":"1326864361","filename":"file1"},{"photo_id":"1326864344","filename":"file0"},{"photo_id":"1326864373","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326864387":["hashtag1","hashtag2"]},{"1326864371":["hashtag1","hashtag2"]},{"1326864344":["hashtag1","hashtag2"]},{"1326864373":["hashtag1","hashtag2"]},{"1326864361":["hashtag1","hashtag2"]},{"1326864381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326864387, 1326864371, 1326864344, 1326864373, 1326864361, 1326864381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.145692110061646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:01:03.234620
SELECT 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/08/58/image_05012025_08_58_03_146564_0003.jpg', '/home/pi/Desktop/images/05012025/08/59/image_05012025_08_59_02_752747_0000.jpg', '/home/pi/Desktop/images/05012025/08/59/image_05012025_08_59_02_752747_0001.jpg', '/home/pi/Desktop/images/05012025/08/59/image_05012025_08_59_02_752747_0002.jpg', '/home/pi/Desktop/images/05012025/09/00/image_05012025_09_00_02_896437_0000.jpg', '/home/pi/Desktop/images/05012025/09/00/image_05012025_09_00_02_896437_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/08/58/image_05012025_08_58_03_146564_0003.jpg
/home/pi/Desktop/images/05012025/08/59/image_05012025_08_59_02_752747_0000.jpg
/home/pi/Desktop/images/05012025/08/59/image_05012025_08_59_02_752747_0001.jpg
/home/pi/Desktop/images/05012025/08/59/image_05012025_08_59_02_752747_0002.jpg
/home/pi/Desktop/images/05012025/09/00/image_05012025_09_00_02_896437_0000.jpg
/home/pi/Desktop/images/05012025/09/00/image_05012025_09_00_02_896437_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326864695","1326864683","1326864692","1326864686","1326864644","1326864688"],"photo_ids_order":["1326864644","1326864683","1326864686","1326864688","1326864692","1326864695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/77d271360210eb5f5cdde6266b6e2a4e.jpg","text":"TemporaryFile(/tmp/multipartBody6009315385619890611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064138393,"filename":"image_05012025_09_00_02_896437_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8671f49fb39b4b835611e821c45045ad.jpg","text":"TemporaryFile(/tmp/multipartBody4598848261540833002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064138393,"filename":"image_05012025_08_59_02_752747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/21f8b4815396947559e0ae0fa2d1273d.jpg","text":"TemporaryFile(/tmp/multipartBody5569468550057848122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064138393,"filename":"image_05012025_09_00_02_896437_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b11acdbe4f19ff12c0c83e799e5e2ddf.jpg","text":"TemporaryFile(/tmp/multipartBody5162997516874959990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064138393,"filename":"image_05012025_08_59_02_752747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a5ccae274392bae4315e5004409fd9bc.jpg","text":"TemporaryFile(/tmp/multipartBody7317560677760067251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064138393,"filename":"image_05012025_08_58_03_146564_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66b99507b4b8d0025628176dc0c0e223.jpg","text":"TemporaryFile(/tmp/multipartBody1674161898394349991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064138393,"filename":"image_05012025_08_59_02_752747_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326864686","file1":"1326864683","file0":"1326864644","file4":"1326864692","file5":"1326864695","file3":"1326864688"},"map_files_photo_id_array":[{"photo_id":"1326864695","filename":"file5"},{"photo_id":"1326864686","filename":"file2"},{"photo_id":"1326864692","filename":"file4"},{"photo_id":"1326864683","filename":"file1"},{"photo_id":"1326864644","filename":"file0"},{"photo_id":"1326864688","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326864695":["hashtag1","hashtag2"]},{"1326864683":["hashtag1","hashtag2"]},{"1326864692":["hashtag1","hashtag2"]},{"1326864686":["hashtag1","hashtag2"]},{"1326864644":["hashtag1","hashtag2"]},{"1326864688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326864695, 1326864683, 1326864692, 1326864686, 1326864644, 1326864688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.389070987701416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:02:02.705650
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/00/image_05012025_09_00_02_896437_0002.jpg', '/home/pi/Desktop/images/05012025/09/00/image_05012025_09_00_02_896437_0003.jpg', '/home/pi/Desktop/images/05012025/09/01/image_05012025_09_01_02_520707_0000.jpg', '/home/pi/Desktop/images/05012025/09/01/image_05012025_09_01_02_520707_0001.jpg', '/home/pi/Desktop/images/05012025/09/01/image_05012025_09_01_02_520707_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/09/00/image_05012025_09_00_02_896437_0002.jpg
/home/pi/Desktop/images/05012025/09/00/image_05012025_09_00_02_896437_0003.jpg
/home/pi/Desktop/images/05012025/09/01/image_05012025_09_01_02_520707_0000.jpg
/home/pi/Desktop/images/05012025/09/01/image_05012025_09_01_02_520707_0001.jpg
/home/pi/Desktop/images/05012025/09/01/image_05012025_09_01_02_520707_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326864702","1326864707","1326864706","1326864709","1326864703"],"photo_ids_order":["1326864702","1326864703","1326864706","1326864707","1326864709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6abb355a3ddedecf6df0d0b5c3b3abb4.jpg","text":"TemporaryFile(/tmp/multipartBody8989036919026322858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064195440,"filename":"image_05012025_09_00_02_896437_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e78971415838712472adaadc7ab86067.jpg","text":"TemporaryFile(/tmp/multipartBody8042605018286657350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064195440,"filename":"image_05012025_09_01_02_520707_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5318f0bb26f3fbba6d5d1f28c4d0245b.jpg","text":"TemporaryFile(/tmp/multipartBody4638304972938674130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064195440,"filename":"image_05012025_09_01_02_520707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc17a2454de1aa9c15981fb6db0865d9.jpg","text":"TemporaryFile(/tmp/multipartBody4145957173762670675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064195440,"filename":"image_05012025_09_01_02_520707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7b7d5839e8824dc84822d5eb83b7cf6a.jpg","text":"TemporaryFile(/tmp/multipartBody5455757210219942123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064195440,"filename":"image_05012025_09_00_02_896437_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326864706","file1":"1326864703","file0":"1326864702","file4":"1326864709","file3":"1326864707"},"map_files_photo_id_array":[{"photo_id":"1326864706","filename":"file2"},{"photo_id":"1326864709","filename":"file4"},{"photo_id":"1326864703","filename":"file1"},{"photo_id":"1326864702","filename":"file0"},{"photo_id":"1326864707","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326864702":["hashtag1","hashtag2"]},{"1326864707":["hashtag1","hashtag2"]},{"1326864706":["hashtag1","hashtag2"]},{"1326864709":["hashtag1","hashtag2"]},{"1326864703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326864702, 1326864707, 1326864706, 1326864709, 1326864703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.238619565963745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:03:02.346565
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/01/image_05012025_09_01_02_520707_0003.jpg', '/home/pi/Desktop/images/05012025/09/02/image_05012025_09_02_03_102013_0000.jpg', '/home/pi/Desktop/images/05012025/09/02/image_05012025_09_02_03_102013_0001.jpg', '/home/pi/Desktop/images/05012025/09/02/image_05012025_09_02_03_102013_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/09/01/image_05012025_09_01_02_520707_0003.jpg
/home/pi/Desktop/images/05012025/09/02/image_05012025_09_02_03_102013_0000.jpg
/home/pi/Desktop/images/05012025/09/02/image_05012025_09_02_03_102013_0001.jpg
/home/pi/Desktop/images/05012025/09/02/image_05012025_09_02_03_102013_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.937503337860107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:03:21.792808
SELECT 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/09/01/image_05012025_09_01_02_520707_0003.jpg', '/home/pi/Desktop/images/05012025/09/02/image_05012025_09_02_03_102013_0000.jpg', '/home/pi/Desktop/images/05012025/09/02/image_05012025_09_02_03_102013_0001.jpg', '/home/pi/Desktop/images/05012025/09/02/image_05012025_09_02_03_102013_0002.jpg', '/home/pi/Desktop/images/05012025/09/02/image_05012025_09_02_03_102013_0003.jpg', '/home/pi/Desktop/images/05012025/09/03/image_05012025_09_03_02_661310_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/09/01/image_05012025_09_01_02_520707_0003.jpg
/home/pi/Desktop/images/05012025/09/02/image_05012025_09_02_03_102013_0000.jpg
/home/pi/Desktop/images/05012025/09/02/image_05012025_09_02_03_102013_0001.jpg
/home/pi/Desktop/images/05012025/09/02/image_05012025_09_02_03_102013_0002.jpg
/home/pi/Desktop/images/05012025/09/02/image_05012025_09_02_03_102013_0003.jpg
/home/pi/Desktop/images/05012025/09/03/image_05012025_09_03_02_661310_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326864729","1326864720","1326864738","1326864726","1326864722","1326864724"],"photo_ids_order":["1326864720","1326864722","1326864724","1326864726","1326864729","1326864738"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1138c88efab98555d584248adf24a810.jpg","text":"TemporaryFile(/tmp/multipartBody2763399280220448072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064276903,"filename":"image_05012025_09_02_03_102013_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1fa02bada6813064a2f49272023d64cf.jpg","text":"TemporaryFile(/tmp/multipartBody123173229166188306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064276903,"filename":"image_05012025_09_01_02_520707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b643802bf205178708025abbf0d13f17.jpg","text":"TemporaryFile(/tmp/multipartBody3899820711384340679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064276903,"filename":"image_05012025_09_03_02_661310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/da535bcad9b1c6ea223697792904af4c.jpg","text":"TemporaryFile(/tmp/multipartBody6931570170019421468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064276903,"filename":"image_05012025_09_02_03_102013_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/12f2b39fa974a6db2e5c66842f43f291.jpg","text":"TemporaryFile(/tmp/multipartBody3496928152506566952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064276903,"filename":"image_05012025_09_02_03_102013_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dbb6659d22ede105b3b6d27296f32bdc.jpg","text":"TemporaryFile(/tmp/multipartBody6644015520761209354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064276903,"filename":"image_05012025_09_02_03_102013_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326864724","file1":"1326864722","file0":"1326864720","file4":"1326864729","file5":"1326864738","file3":"1326864726"},"map_files_photo_id_array":[{"photo_id":"1326864738","filename":"file5"},{"photo_id":"1326864724","filename":"file2"},{"photo_id":"1326864729","filename":"file4"},{"photo_id":"1326864722","filename":"file1"},{"photo_id":"1326864720","filename":"file0"},{"photo_id":"1326864726","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326864729":["hashtag1","hashtag2"]},{"1326864720":["hashtag1","hashtag2"]},{"1326864738":["hashtag1","hashtag2"]},{"1326864726":["hashtag1","hashtag2"]},{"1326864722":["hashtag1","hashtag2"]},{"1326864724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326864729, 1326864720, 1326864738, 1326864726, 1326864722, 1326864724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.94783973693848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:04:22.452262
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/03/image_05012025_09_03_02_661310_0001.jpg', '/home/pi/Desktop/images/05012025/09/03/image_05012025_09_03_02_661310_0002.jpg', '/home/pi/Desktop/images/05012025/09/03/image_05012025_09_03_02_661310_0003.jpg', '/home/pi/Desktop/images/05012025/09/04/image_05012025_09_04_02_171215_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/09/03/image_05012025_09_03_02_661310_0001.jpg
/home/pi/Desktop/images/05012025/09/03/image_05012025_09_03_02_661310_0002.jpg
/home/pi/Desktop/images/05012025/09/03/image_05012025_09_03_02_661310_0003.jpg
/home/pi/Desktop/images/05012025/09/04/image_05012025_09_04_02_171215_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326864801","1326864793","1326864796","1326864805"],"photo_ids_order":["1326864793","1326864796","1326864801","1326864805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab61f4676292c262638c2a64a010042e.jpg","text":"TemporaryFile(/tmp/multipartBody4475762268412037968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064332740,"filename":"image_05012025_09_03_02_661310_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/524aff82e9a2ec486255b984239e2a63.jpg","text":"TemporaryFile(/tmp/multipartBody9140670326379884495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064332740,"filename":"image_05012025_09_03_02_661310_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe38e4c876af0773ab8d3eade168e963.jpg","text":"TemporaryFile(/tmp/multipartBody5260204383695690024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064332740,"filename":"image_05012025_09_03_02_661310_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/21880925a921f1cae9ebd727216fb2e1.jpg","text":"TemporaryFile(/tmp/multipartBody5805941282565476826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064332740,"filename":"image_05012025_09_04_02_171215_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326864801","file1":"1326864796","file0":"1326864793","file3":"1326864805"},"map_files_photo_id_array":[{"photo_id":"1326864801","filename":"file2"},{"photo_id":"1326864796","filename":"file1"},{"photo_id":"1326864793","filename":"file0"},{"photo_id":"1326864805","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326864801":["hashtag1","hashtag2"]},{"1326864793":["hashtag1","hashtag2"]},{"1326864796":["hashtag1","hashtag2"]},{"1326864805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326864801, 1326864793, 1326864796, 1326864805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.575793981552124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:05:02.615508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:05:21.949272
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/04/image_05012025_09_04_02_171215_0002.jpg', '/home/pi/Desktop/images/05012025/09/05/image_05012025_09_05_02_844932_0000.jpg', '/home/pi/Desktop/images/05012025/09/05/image_05012025_09_05_02_844932_0001.jpg', '/home/pi/Desktop/images/05012025/09/05/image_05012025_09_05_02_844932_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/09/04/image_05012025_09_04_02_171215_0002.jpg
/home/pi/Desktop/images/05012025/09/05/image_05012025_09_05_02_844932_0000.jpg
/home/pi/Desktop/images/05012025/09/05/image_05012025_09_05_02_844932_0001.jpg
/home/pi/Desktop/images/05012025/09/05/image_05012025_09_05_02_844932_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326864863","1326864857","1326864860","1326864865"],"photo_ids_order":["1326864857","1326864860","1326864863","1326864865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/70ead4af327e4cb1198edc3eed3c400c.jpg","text":"TemporaryFile(/tmp/multipartBody8539621700495206711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064392247,"filename":"image_05012025_09_05_02_844932_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6170cc9dd16c9a552b2d9ffc8a25e30b.jpg","text":"TemporaryFile(/tmp/multipartBody7401544939836109645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064392247,"filename":"image_05012025_09_04_02_171215_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4ad9035b99cd6f009198f91dc8c9ebf4.jpg","text":"TemporaryFile(/tmp/multipartBody7848686455467845196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064392247,"filename":"image_05012025_09_05_02_844932_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/da1d3ade80480e925381467b81e6ff99.jpg","text":"TemporaryFile(/tmp/multipartBody7004573949635492840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064392247,"filename":"image_05012025_09_05_02_844932_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326864863","file1":"1326864860","file0":"1326864857","file3":"1326864865"},"map_files_photo_id_array":[{"photo_id":"1326864863","filename":"file2"},{"photo_id":"1326864860","filename":"file1"},{"photo_id":"1326864857","filename":"file0"},{"photo_id":"1326864865","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326864863":["hashtag1","hashtag2"]},{"1326864857":["hashtag1","hashtag2"]},{"1326864860":["hashtag1","hashtag2"]},{"1326864865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326864863, 1326864857, 1326864860, 1326864865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.3656702041626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:06:22.417749
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/05/image_05012025_09_05_02_844932_0003.jpg', '/home/pi/Desktop/images/05012025/09/06/image_05012025_09_06_02_269622_0000.jpg', '/home/pi/Desktop/images/05012025/09/06/image_05012025_09_06_02_269622_0001.jpg', '/home/pi/Desktop/images/05012025/09/06/image_05012025_09_06_02_269622_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/09/05/image_05012025_09_05_02_844932_0003.jpg
/home/pi/Desktop/images/05012025/09/06/image_05012025_09_06_02_269622_0000.jpg
/home/pi/Desktop/images/05012025/09/06/image_05012025_09_06_02_269622_0001.jpg
/home/pi/Desktop/images/05012025/09/06/image_05012025_09_06_02_269622_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326865139","1326865159","1326864973","1326865146"],"photo_ids_order":["1326864973","1326865139","1326865146","1326865159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cc68183bff907841206fc1ec0b6ac8ce.jpg","text":"TemporaryFile(/tmp/multipartBody5245929784323425869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064452707,"filename":"image_05012025_09_06_02_269622_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f0f6ff833a3ba9e8dd9af2ce9ce086f8.jpg","text":"TemporaryFile(/tmp/multipartBody6435463793397162208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064452707,"filename":"image_05012025_09_06_02_269622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c673951d7f320b10bac9d9d531116cde.jpg","text":"TemporaryFile(/tmp/multipartBody1736787152979710816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064452707,"filename":"image_05012025_09_05_02_844932_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cf1da530e5255c72aea5652184274b8d.jpg","text":"TemporaryFile(/tmp/multipartBody430145578504713334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064452707,"filename":"image_05012025_09_06_02_269622_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326865146","file1":"1326865139","file0":"1326864973","file3":"1326865159"},"map_files_photo_id_array":[{"photo_id":"1326865146","filename":"file2"},{"photo_id":"1326865139","filename":"file1"},{"photo_id":"1326864973","filename":"file0"},{"photo_id":"1326865159","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326865139":["hashtag1","hashtag2"]},{"1326865159":["hashtag1","hashtag2"]},{"1326864973":["hashtag1","hashtag2"]},{"1326865146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326865139, 1326865159, 1326864973, 1326865146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.56912040710449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:07:22.008120
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/06/image_05012025_09_06_02_269622_0003.jpg', '/home/pi/Desktop/images/05012025/09/07/image_05012025_09_07_02_828806_0000.jpg', '/home/pi/Desktop/images/05012025/09/07/image_05012025_09_07_02_828806_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/09/06/image_05012025_09_06_02_269622_0003.jpg
/home/pi/Desktop/images/05012025/09/07/image_05012025_09_07_02_828806_0000.jpg
/home/pi/Desktop/images/05012025/09/07/image_05012025_09_07_02_828806_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326865169","1326865171","1326865165"],"photo_ids_order":["1326865165","1326865169","1326865171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ae3d4b36dc256592b712d4844077daeb.jpg","text":"TemporaryFile(/tmp/multipartBody5634983358984157617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064509881,"filename":"image_05012025_09_07_02_828806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/59ebce001572f00bafcdd00f6f48eff7.jpg","text":"TemporaryFile(/tmp/multipartBody2510732123305977199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064509881,"filename":"image_05012025_09_07_02_828806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3857c6cfa36833658368a5d0372cc952.jpg","text":"TemporaryFile(/tmp/multipartBody8962476846209678434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064509881,"filename":"image_05012025_09_06_02_269622_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326865171","file1":"1326865169","file0":"1326865165"},"map_files_photo_id_array":[{"photo_id":"1326865171","filename":"file2"},{"photo_id":"1326865169","filename":"file1"},{"photo_id":"1326865165","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326865169":["hashtag1","hashtag2"]},{"1326865171":["hashtag1","hashtag2"]},{"1326865165":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326865169, 1326865171, 1326865165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.46837306022644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:08:02.881169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:08:22.510289
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/07/image_05012025_09_07_02_828806_0003.jpg', '/home/pi/Desktop/images/05012025/09/08/image_05012025_09_08_02_369863_0000.jpg', '/home/pi/Desktop/images/05012025/09/08/image_05012025_09_08_02_369863_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/09/07/image_05012025_09_07_02_828806_0003.jpg
/home/pi/Desktop/images/05012025/09/08/image_05012025_09_08_02_369863_0000.jpg
/home/pi/Desktop/images/05012025/09/08/image_05012025_09_08_02_369863_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326865184","1326865187","1326865180"],"photo_ids_order":["1326865180","1326865184","1326865187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b32dad26dfc1e40d65c941e5783f9ec9.jpg","text":"TemporaryFile(/tmp/multipartBody1931443408998276044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064570412,"filename":"image_05012025_09_08_02_369863_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a2bac5400c03a7c439ae01671ecda8b.jpg","text":"TemporaryFile(/tmp/multipartBody2474467000962910055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064570412,"filename":"image_05012025_09_08_02_369863_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c5b977a52db2975bfce7e7fb6279536c.jpg","text":"TemporaryFile(/tmp/multipartBody3384306411776016666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064570412,"filename":"image_05012025_09_07_02_828806_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326865187","file1":"1326865184","file0":"1326865180"},"map_files_photo_id_array":[{"photo_id":"1326865187","filename":"file2"},{"photo_id":"1326865184","filename":"file1"},{"photo_id":"1326865180","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326865184":["hashtag1","hashtag2"]},{"1326865187":["hashtag1","hashtag2"]},{"1326865180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326865184, 1326865187, 1326865180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.398417949676514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:09:02.636663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:09:22.016309
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/08/image_05012025_09_08_02_369863_0003.jpg', '/home/pi/Desktop/images/05012025/09/09/image_05012025_09_09_02_854368_0000.jpg', '/home/pi/Desktop/images/05012025/09/09/image_05012025_09_09_02_854368_0001.jpg', '/home/pi/Desktop/images/05012025/09/09/image_05012025_09_09_02_854368_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/09/08/image_05012025_09_08_02_369863_0003.jpg
/home/pi/Desktop/images/05012025/09/09/image_05012025_09_09_02_854368_0000.jpg
/home/pi/Desktop/images/05012025/09/09/image_05012025_09_09_02_854368_0001.jpg
/home/pi/Desktop/images/05012025/09/09/image_05012025_09_09_02_854368_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326865232","1326865208","1326865210","1326865206"],"photo_ids_order":["1326865206","1326865208","1326865210","1326865232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/12215b49e6ad95e11d5efd569af76edf.jpg","text":"TemporaryFile(/tmp/multipartBody4944631493752236834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064632390,"filename":"image_05012025_09_09_02_854368_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b85fe92c4351aeca5e9a3945d6f111a.jpg","text":"TemporaryFile(/tmp/multipartBody7144144271073298608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064632390,"filename":"image_05012025_09_09_02_854368_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0b8e850cf11fb46667f0b0e912bd7074.jpg","text":"TemporaryFile(/tmp/multipartBody3168095840537830683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064632390,"filename":"image_05012025_09_09_02_854368_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1d216faf495d5da77ffdd8b889a949d6.jpg","text":"TemporaryFile(/tmp/multipartBody5948139253937124023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064632390,"filename":"image_05012025_09_08_02_369863_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326865210","file1":"1326865208","file0":"1326865206","file3":"1326865232"},"map_files_photo_id_array":[{"photo_id":"1326865210","filename":"file2"},{"photo_id":"1326865208","filename":"file1"},{"photo_id":"1326865206","filename":"file0"},{"photo_id":"1326865232","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326865232":["hashtag1","hashtag2"]},{"1326865208":["hashtag1","hashtag2"]},{"1326865210":["hashtag1","hashtag2"]},{"1326865206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326865232, 1326865208, 1326865210, 1326865206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.99462890625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:10:03.094214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:10:22.690692
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/09/image_05012025_09_09_02_854368_0003.jpg', '/home/pi/Desktop/images/05012025/09/10/image_05012025_09_10_02_417031_0000.jpg', '/home/pi/Desktop/images/05012025/09/10/image_05012025_09_10_02_417031_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/09/09/image_05012025_09_09_02_854368_0003.jpg
/home/pi/Desktop/images/05012025/09/10/image_05012025_09_10_02_417031_0000.jpg
/home/pi/Desktop/images/05012025/09/10/image_05012025_09_10_02_417031_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326865401","1326865352","1326865299"],"photo_ids_order":["1326865299","1326865352","1326865401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ac5673ed619ed00050715b372c9f7e24.jpg","text":"TemporaryFile(/tmp/multipartBody3871998585813597608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064690591,"filename":"image_05012025_09_10_02_417031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d2c0b05d7056e6657811995ee14b687e.jpg","text":"TemporaryFile(/tmp/multipartBody8605361853031933863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064690591,"filename":"image_05012025_09_10_02_417031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f7e45d813802f7b1daa6c660f9ce11b1.jpg","text":"TemporaryFile(/tmp/multipartBody4571018488100978985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064690591,"filename":"image_05012025_09_09_02_854368_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326865401","file1":"1326865352","file0":"1326865299"},"map_files_photo_id_array":[{"photo_id":"1326865401","filename":"file2"},{"photo_id":"1326865352","filename":"file1"},{"photo_id":"1326865299","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326865401":["hashtag1","hashtag2"]},{"1326865352":["hashtag1","hashtag2"]},{"1326865299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326865401, 1326865352, 1326865299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.53761339187622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:11:02.878025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:11:22.279919
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/10/image_05012025_09_10_02_417031_0003.jpg', '/home/pi/Desktop/images/05012025/09/11/image_05012025_09_11_03_143860_0000.jpg', '/home/pi/Desktop/images/05012025/09/11/image_05012025_09_11_03_143860_0001.jpg', '/home/pi/Desktop/images/05012025/09/11/image_05012025_09_11_03_143860_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/09/10/image_05012025_09_10_02_417031_0003.jpg
/home/pi/Desktop/images/05012025/09/11/image_05012025_09_11_03_143860_0000.jpg
/home/pi/Desktop/images/05012025/09/11/image_05012025_09_11_03_143860_0001.jpg
/home/pi/Desktop/images/05012025/09/11/image_05012025_09_11_03_143860_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326865509","1326865511","1326865513","1326865515"],"photo_ids_order":["1326865509","1326865511","1326865513","1326865515"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a65e90a99b6ab7cad92658934166d2ed.jpg","text":"TemporaryFile(/tmp/multipartBody4456170264291600398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064752566,"filename":"image_05012025_09_10_02_417031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cc64e3a5961572a0b3e861b713524ee8.jpg","text":"TemporaryFile(/tmp/multipartBody6478502817622224411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064752566,"filename":"image_05012025_09_11_03_143860_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cd01ea560821c8277b1800d637524087.jpg","text":"TemporaryFile(/tmp/multipartBody992874077004625933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064752566,"filename":"image_05012025_09_11_03_143860_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f9ec5761a157889b6898f51a9767ec0.jpg","text":"TemporaryFile(/tmp/multipartBody3782648771125562677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064752566,"filename":"image_05012025_09_11_03_143860_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326865513","file1":"1326865511","file0":"1326865509","file3":"1326865515"},"map_files_photo_id_array":[{"photo_id":"1326865513","filename":"file2"},{"photo_id":"1326865511","filename":"file1"},{"photo_id":"1326865509","filename":"file0"},{"photo_id":"1326865515","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326865509":["hashtag1","hashtag2"]},{"1326865511":["hashtag1","hashtag2"]},{"1326865513":["hashtag1","hashtag2"]},{"1326865515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326865509, 1326865511, 1326865513, 1326865515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.77973556518555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:12:21.930691
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/11/image_05012025_09_11_03_143860_0003.jpg', '/home/pi/Desktop/images/05012025/09/12/image_05012025_09_12_02_698319_0000.jpg', '/home/pi/Desktop/images/05012025/09/12/image_05012025_09_12_02_698319_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/09/11/image_05012025_09_11_03_143860_0003.jpg
/home/pi/Desktop/images/05012025/09/12/image_05012025_09_12_02_698319_0000.jpg
/home/pi/Desktop/images/05012025/09/12/image_05012025_09_12_02_698319_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.488973379135132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:13:03.089973
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/11/image_05012025_09_11_03_143860_0003.jpg', '/home/pi/Desktop/images/05012025/09/12/image_05012025_09_12_02_698319_0000.jpg', '/home/pi/Desktop/images/05012025/09/12/image_05012025_09_12_02_698319_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/09/11/image_05012025_09_11_03_143860_0003.jpg
/home/pi/Desktop/images/05012025/09/12/image_05012025_09_12_02_698319_0000.jpg
/home/pi/Desktop/images/05012025/09/12/image_05012025_09_12_02_698319_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326865565","1326865568","1326865566"],"photo_ids_order":["1326865565","1326865566","1326865568"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e63d76a813d3685463bb98a8243900c.jpg","text":"TemporaryFile(/tmp/multipartBody7587239569901290255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064851056,"filename":"image_05012025_09_11_03_143860_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c9fdf87e82eb15e4d245db47d3f06bcf.jpg","text":"TemporaryFile(/tmp/multipartBody7109508328075318414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064851056,"filename":"image_05012025_09_12_02_698319_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/43f464a144dc9cd5d78148f6d23f8f9e.jpg","text":"TemporaryFile(/tmp/multipartBody1439860588875927981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064851056,"filename":"image_05012025_09_12_02_698319_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326865568","file1":"1326865566","file0":"1326865565"},"map_files_photo_id_array":[{"photo_id":"1326865568","filename":"file2"},{"photo_id":"1326865566","filename":"file1"},{"photo_id":"1326865565","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326865565":["hashtag1","hashtag2"]},{"1326865568":["hashtag1","hashtag2"]},{"1326865566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326865565, 1326865568, 1326865566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.24084997177124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:14:02.511928
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/12/image_05012025_09_12_02_698319_0002.jpg', '/home/pi/Desktop/images/05012025/09/13/image_05012025_09_13_02_307430_0000.jpg', '/home/pi/Desktop/images/05012025/09/13/image_05012025_09_13_02_307430_0001.jpg', '/home/pi/Desktop/images/05012025/09/13/image_05012025_09_13_02_307430_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/09/12/image_05012025_09_12_02_698319_0002.jpg
/home/pi/Desktop/images/05012025/09/13/image_05012025_09_13_02_307430_0000.jpg
/home/pi/Desktop/images/05012025/09/13/image_05012025_09_13_02_307430_0001.jpg
/home/pi/Desktop/images/05012025/09/13/image_05012025_09_13_02_307430_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326865595","1326865598","1326865590","1326865587"],"photo_ids_order":["1326865587","1326865590","1326865595","1326865598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e7e6dfd7ee9b3a066e61828b966af3d8.jpg","text":"TemporaryFile(/tmp/multipartBody2277716643719270277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064912844,"filename":"image_05012025_09_13_02_307430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ada8d7f85717cc8c7072d8b117bdc19f.jpg","text":"TemporaryFile(/tmp/multipartBody8672682971956954841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064912844,"filename":"image_05012025_09_13_02_307430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cf0177d1052881eb486f12f46113a0a5.jpg","text":"TemporaryFile(/tmp/multipartBody518564855012352311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064912844,"filename":"image_05012025_09_13_02_307430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/feebee8933e94a1fb7776bf8f2895f7c.jpg","text":"TemporaryFile(/tmp/multipartBody4925498306122117505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064912844,"filename":"image_05012025_09_12_02_698319_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326865595","file1":"1326865590","file0":"1326865587","file3":"1326865598"},"map_files_photo_id_array":[{"photo_id":"1326865595","filename":"file2"},{"photo_id":"1326865590","filename":"file1"},{"photo_id":"1326865587","filename":"file0"},{"photo_id":"1326865598","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326865595":["hashtag1","hashtag2"]},{"1326865598":["hashtag1","hashtag2"]},{"1326865590":["hashtag1","hashtag2"]},{"1326865587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326865595, 1326865598, 1326865590, 1326865587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.82972574234009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:15:03.422403
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/13/image_05012025_09_13_02_307430_0003.jpg', '/home/pi/Desktop/images/05012025/09/14/image_05012025_09_14_02_897782_0001.jpg', '/home/pi/Desktop/images/05012025/09/14/image_05012025_09_14_02_897782_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/09/13/image_05012025_09_13_02_307430_0003.jpg
/home/pi/Desktop/images/05012025/09/14/image_05012025_09_14_02_897782_0001.jpg
/home/pi/Desktop/images/05012025/09/14/image_05012025_09_14_02_897782_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.49968147277832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:15:22.671329
SELECT 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/09/13/image_05012025_09_13_02_307430_0003.jpg', '/home/pi/Desktop/images/05012025/09/14/image_05012025_09_14_02_897782_0001.jpg', '/home/pi/Desktop/images/05012025/09/14/image_05012025_09_14_02_897782_0002.jpg', '/home/pi/Desktop/images/05012025/09/14/image_05012025_09_14_02_897782_0003.jpg', '/home/pi/Desktop/images/05012025/09/15/image_05012025_09_15_02_552471_0000.jpg', '/home/pi/Desktop/images/05012025/09/15/image_05012025_09_15_02_552471_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/09/13/image_05012025_09_13_02_307430_0003.jpg
/home/pi/Desktop/images/05012025/09/14/image_05012025_09_14_02_897782_0001.jpg
/home/pi/Desktop/images/05012025/09/14/image_05012025_09_14_02_897782_0002.jpg
/home/pi/Desktop/images/05012025/09/14/image_05012025_09_14_02_897782_0003.jpg
/home/pi/Desktop/images/05012025/09/15/image_05012025_09_15_02_552471_0000.jpg
/home/pi/Desktop/images/05012025/09/15/image_05012025_09_15_02_552471_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326865697","1326865669","1326865665","1326865650","1326865641","1326865644"],"photo_ids_order":["1326865641","1326865644","1326865650","1326865665","1326865669","1326865697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/53505dc9a8f2956096ef258b24e934b2.jpg","text":"TemporaryFile(/tmp/multipartBody7384811882242719540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064997781,"filename":"image_05012025_09_15_02_552471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/117357db6d4ff2c293460720e25737eb.jpg","text":"TemporaryFile(/tmp/multipartBody3751579442266746479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064997781,"filename":"image_05012025_09_15_02_552471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c6b72cc5c06479c8e8410c1e8a36364.jpg","text":"TemporaryFile(/tmp/multipartBody4820057666549786570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064997781,"filename":"image_05012025_09_14_02_897782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e9a7c1482358b36be63262d4cb297880.jpg","text":"TemporaryFile(/tmp/multipartBody3942624315853446264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064997781,"filename":"image_05012025_09_14_02_897782_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2d1f4368cb1a603d7c59ee578a093728.jpg","text":"TemporaryFile(/tmp/multipartBody2805142339832599320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064997781,"filename":"image_05012025_09_13_02_307430_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/009ce6b4e02d5de4134f63282b5c7e9d.jpg","text":"TemporaryFile(/tmp/multipartBody2422925422045238879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736064997781,"filename":"image_05012025_09_14_02_897782_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326865650","file1":"1326865644","file0":"1326865641","file4":"1326865669","file5":"1326865697","file3":"1326865665"},"map_files_photo_id_array":[{"photo_id":"1326865697","filename":"file5"},{"photo_id":"1326865650","filename":"file2"},{"photo_id":"1326865669","filename":"file4"},{"photo_id":"1326865644","filename":"file1"},{"photo_id":"1326865641","filename":"file0"},{"photo_id":"1326865665","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326865697":["hashtag1","hashtag2"]},{"1326865669":["hashtag1","hashtag2"]},{"1326865665":["hashtag1","hashtag2"]},{"1326865650":["hashtag1","hashtag2"]},{"1326865641":["hashtag1","hashtag2"]},{"1326865644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326865697, 1326865669, 1326865665, 1326865650, 1326865641, 1326865644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.11544489860535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:16:22.398709
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/15/image_05012025_09_15_02_552471_0002.jpg', '/home/pi/Desktop/images/05012025/09/16/image_05012025_09_16_03_088319_0000.jpg', '/home/pi/Desktop/images/05012025/09/16/image_05012025_09_16_03_088319_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/09/15/image_05012025_09_15_02_552471_0002.jpg
/home/pi/Desktop/images/05012025/09/16/image_05012025_09_16_03_088319_0000.jpg
/home/pi/Desktop/images/05012025/09/16/image_05012025_09_16_03_088319_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326865700","1326865703","1326865701"],"photo_ids_order":["1326865700","1326865701","1326865703"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/55fd5b3b4703bb38ca9dfd62497e0f13.jpg","text":"TemporaryFile(/tmp/multipartBody1963192825781426379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065050287,"filename":"image_05012025_09_15_02_552471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/811c701c10612bd2eb37f2a258a90db7.jpg","text":"TemporaryFile(/tmp/multipartBody8648648140247992539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065050287,"filename":"image_05012025_09_16_03_088319_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/722786c85eae3a189382473c59e426e8.jpg","text":"TemporaryFile(/tmp/multipartBody5026188510457739800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065050287,"filename":"image_05012025_09_16_03_088319_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326865703","file1":"1326865701","file0":"1326865700"},"map_files_photo_id_array":[{"photo_id":"1326865703","filename":"file2"},{"photo_id":"1326865701","filename":"file1"},{"photo_id":"1326865700","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326865700":["hashtag1","hashtag2"]},{"1326865703":["hashtag1","hashtag2"]},{"1326865701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326865700, 1326865703, 1326865701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.49074697494507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:17:02.620943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:17:21.968597
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/16/image_05012025_09_16_03_088319_0003.jpg', '/home/pi/Desktop/images/05012025/09/17/image_05012025_09_17_02_887957_0000.jpg', '/home/pi/Desktop/images/05012025/09/17/image_05012025_09_17_02_887957_0001.jpg', '/home/pi/Desktop/images/05012025/09/17/image_05012025_09_17_02_887957_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/09/16/image_05012025_09_16_03_088319_0003.jpg
/home/pi/Desktop/images/05012025/09/17/image_05012025_09_17_02_887957_0000.jpg
/home/pi/Desktop/images/05012025/09/17/image_05012025_09_17_02_887957_0001.jpg
/home/pi/Desktop/images/05012025/09/17/image_05012025_09_17_02_887957_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326865720","1326865723","1326865728","1326865716"],"photo_ids_order":["1326865716","1326865720","1326865723","1326865728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3f4a06c8d5b57fbb666e6abda843d8c0.jpg","text":"TemporaryFile(/tmp/multipartBody5148978055829176409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065112340,"filename":"image_05012025_09_17_02_887957_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fb85e10cd303fc7ef733ed66946f90d3.jpg","text":"TemporaryFile(/tmp/multipartBody3684678635812854224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065112340,"filename":"image_05012025_09_17_02_887957_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/576ba265f3aa7a6977b4e8ba1d64d869.jpg","text":"TemporaryFile(/tmp/multipartBody2474806764106454758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065112340,"filename":"image_05012025_09_17_02_887957_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/30491156bbf5a46117c420b027a0067e.jpg","text":"TemporaryFile(/tmp/multipartBody1319539947807142076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065112340,"filename":"image_05012025_09_16_03_088319_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326865723","file1":"1326865720","file0":"1326865716","file3":"1326865728"},"map_files_photo_id_array":[{"photo_id":"1326865723","filename":"file2"},{"photo_id":"1326865720","filename":"file1"},{"photo_id":"1326865716","filename":"file0"},{"photo_id":"1326865728","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326865720":["hashtag1","hashtag2"]},{"1326865723":["hashtag1","hashtag2"]},{"1326865728":["hashtag1","hashtag2"]},{"1326865716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326865720, 1326865723, 1326865728, 1326865716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.81929326057434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:18:22.667014
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/17/image_05012025_09_17_02_887957_0003.jpg', '/home/pi/Desktop/images/05012025/09/18/image_05012025_09_18_02_394886_0000.jpg', '/home/pi/Desktop/images/05012025/09/18/image_05012025_09_18_02_394886_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/09/17/image_05012025_09_17_02_887957_0003.jpg
/home/pi/Desktop/images/05012025/09/18/image_05012025_09_18_02_394886_0000.jpg
/home/pi/Desktop/images/05012025/09/18/image_05012025_09_18_02_394886_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.471212148666382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:19:02.773112
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/17/image_05012025_09_17_02_887957_0003.jpg', '/home/pi/Desktop/images/05012025/09/18/image_05012025_09_18_02_394886_0000.jpg', '/home/pi/Desktop/images/05012025/09/18/image_05012025_09_18_02_394886_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/09/17/image_05012025_09_17_02_887957_0003.jpg
/home/pi/Desktop/images/05012025/09/18/image_05012025_09_18_02_394886_0000.jpg
/home/pi/Desktop/images/05012025/09/18/image_05012025_09_18_02_394886_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326865787","1326865784","1326865786"],"photo_ids_order":["1326865784","1326865786","1326865787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e308802908c53d9a0b855291ec2a58ff.jpg","text":"TemporaryFile(/tmp/multipartBody5463044642815840154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065210701,"filename":"image_05012025_09_18_02_394886_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/79e5001dd89a7ad4077973e6ea90f58b.jpg","text":"TemporaryFile(/tmp/multipartBody6733943574375789400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065210701,"filename":"image_05012025_09_17_02_887957_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/64c8facfafbb46e2eb78812cd7ac77f7.jpg","text":"TemporaryFile(/tmp/multipartBody835269646185692510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065210701,"filename":"image_05012025_09_18_02_394886_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326865787","file1":"1326865786","file0":"1326865784"},"map_files_photo_id_array":[{"photo_id":"1326865787","filename":"file2"},{"photo_id":"1326865786","filename":"file1"},{"photo_id":"1326865784","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326865787":["hashtag1","hashtag2"]},{"1326865784":["hashtag1","hashtag2"]},{"1326865786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326865787, 1326865784, 1326865786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.9268057346344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:20:02.218919
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/18/image_05012025_09_18_02_394886_0003.jpg', '/home/pi/Desktop/images/05012025/09/19/image_05012025_09_19_03_027635_0000.jpg', '/home/pi/Desktop/images/05012025/09/19/image_05012025_09_19_03_027635_0001.jpg', '/home/pi/Desktop/images/05012025/09/19/image_05012025_09_19_03_027635_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/09/18/image_05012025_09_18_02_394886_0003.jpg
/home/pi/Desktop/images/05012025/09/19/image_05012025_09_19_03_027635_0000.jpg
/home/pi/Desktop/images/05012025/09/19/image_05012025_09_19_03_027635_0001.jpg
/home/pi/Desktop/images/05012025/09/19/image_05012025_09_19_03_027635_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.916525840759277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:20:21.767018
SELECT 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/09/18/image_05012025_09_18_02_394886_0003.jpg', '/home/pi/Desktop/images/05012025/09/19/image_05012025_09_19_03_027635_0000.jpg', '/home/pi/Desktop/images/05012025/09/19/image_05012025_09_19_03_027635_0001.jpg', '/home/pi/Desktop/images/05012025/09/19/image_05012025_09_19_03_027635_0002.jpg', '/home/pi/Desktop/images/05012025/09/19/image_05012025_09_19_03_027635_0003.jpg', '/home/pi/Desktop/images/05012025/09/20/image_05012025_09_20_02_627289_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/09/18/image_05012025_09_18_02_394886_0003.jpg
/home/pi/Desktop/images/05012025/09/19/image_05012025_09_19_03_027635_0000.jpg
/home/pi/Desktop/images/05012025/09/19/image_05012025_09_19_03_027635_0001.jpg
/home/pi/Desktop/images/05012025/09/19/image_05012025_09_19_03_027635_0002.jpg
/home/pi/Desktop/images/05012025/09/19/image_05012025_09_19_03_027635_0003.jpg
/home/pi/Desktop/images/05012025/09/20/image_05012025_09_20_02_627289_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326865806","1326865808","1326865802","1326865810","1326865804","1326865812"],"photo_ids_order":["1326865802","1326865804","1326865806","1326865808","1326865810","1326865812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c470d7f0d01d35dbd4cbf4f3792187c9.jpg","text":"TemporaryFile(/tmp/multipartBody1658702756544475213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065296852,"filename":"image_05012025_09_19_03_027635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c42f18e6e1e2b1e970600e9fb76d52b0.jpg","text":"TemporaryFile(/tmp/multipartBody9033316194803200001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065296852,"filename":"image_05012025_09_19_03_027635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0f55fc608e9b0fc7447f81693d32b6fe.jpg","text":"TemporaryFile(/tmp/multipartBody5116162124626021338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065296852,"filename":"image_05012025_09_18_02_394886_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e074dc46a492cf4c46a42c754b872ff4.jpg","text":"TemporaryFile(/tmp/multipartBody3637736199552333170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065296852,"filename":"image_05012025_09_19_03_027635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66ea478d55e8b9aeda62de26b257081d.jpg","text":"TemporaryFile(/tmp/multipartBody4587043761820301027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065296852,"filename":"image_05012025_09_19_03_027635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/19ad16156356e64514d54bee7a667797.jpg","text":"TemporaryFile(/tmp/multipartBody5078069496425491096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065296852,"filename":"image_05012025_09_20_02_627289_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326865806","file1":"1326865804","file0":"1326865802","file4":"1326865810","file5":"1326865812","file3":"1326865808"},"map_files_photo_id_array":[{"photo_id":"1326865812","filename":"file5"},{"photo_id":"1326865806","filename":"file2"},{"photo_id":"1326865810","filename":"file4"},{"photo_id":"1326865804","filename":"file1"},{"photo_id":"1326865802","filename":"file0"},{"photo_id":"1326865808","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326865806":["hashtag1","hashtag2"]},{"1326865808":["hashtag1","hashtag2"]},{"1326865802":["hashtag1","hashtag2"]},{"1326865810":["hashtag1","hashtag2"]},{"1326865804":["hashtag1","hashtag2"]},{"1326865812":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326865806, 1326865808, 1326865802, 1326865810, 1326865804, 1326865812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.69324016571045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:21:22.333279
SELECT 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/09/20/image_05012025_09_20_02_627289_0001.jpg', '/home/pi/Desktop/images/05012025/09/20/image_05012025_09_20_02_627289_0002.jpg', '/home/pi/Desktop/images/05012025/09/20/image_05012025_09_20_02_627289_0003.jpg', '/home/pi/Desktop/images/05012025/09/21/image_05012025_09_21_02_175586_0000.jpg', '/home/pi/Desktop/images/05012025/09/21/image_05012025_09_21_02_175586_0001.jpg', '/home/pi/Desktop/images/05012025/09/21/image_05012025_09_21_02_175586_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/09/20/image_05012025_09_20_02_627289_0001.jpg
/home/pi/Desktop/images/05012025/09/20/image_05012025_09_20_02_627289_0002.jpg
/home/pi/Desktop/images/05012025/09/20/image_05012025_09_20_02_627289_0003.jpg
/home/pi/Desktop/images/05012025/09/21/image_05012025_09_21_02_175586_0000.jpg
/home/pi/Desktop/images/05012025/09/21/image_05012025_09_21_02_175586_0001.jpg
/home/pi/Desktop/images/05012025/09/21/image_05012025_09_21_02_175586_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326865832","1326865849","1326865834","1326865858","1326865878","1326865836"],"photo_ids_order":["1326865832","1326865834","1326865836","1326865849","1326865858","1326865878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f496cdc205db93f4402fffe0c5f69085.jpg","text":"TemporaryFile(/tmp/multipartBody430786662361966131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065357441,"filename":"image_05012025_09_20_02_627289_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7c913928ddf08869a01e5abc2a668919.jpg","text":"TemporaryFile(/tmp/multipartBody5127247572336976945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065357441,"filename":"image_05012025_09_21_02_175586_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8b1ea87e1d913ba7c39e6407fe960819.jpg","text":"TemporaryFile(/tmp/multipartBody3635529381732929608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065357441,"filename":"image_05012025_09_20_02_627289_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/667447c43f99fe201fc800ef1ff0448c.jpg","text":"TemporaryFile(/tmp/multipartBody3454648798607244549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065357441,"filename":"image_05012025_09_21_02_175586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bf2df5825aa808409d30a04587c2703a.jpg","text":"TemporaryFile(/tmp/multipartBody3373861078307326101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065357441,"filename":"image_05012025_09_21_02_175586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0785d91bfaf98365320a3588861e46dd.jpg","text":"TemporaryFile(/tmp/multipartBody4269321520813892940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065357441,"filename":"image_05012025_09_20_02_627289_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326865836","file1":"1326865834","file0":"1326865832","file4":"1326865858","file5":"1326865878","file3":"1326865849"},"map_files_photo_id_array":[{"photo_id":"1326865878","filename":"file5"},{"photo_id":"1326865836","filename":"file2"},{"photo_id":"1326865858","filename":"file4"},{"photo_id":"1326865834","filename":"file1"},{"photo_id":"1326865832","filename":"file0"},{"photo_id":"1326865849","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326865832":["hashtag1","hashtag2"]},{"1326865849":["hashtag1","hashtag2"]},{"1326865834":["hashtag1","hashtag2"]},{"1326865858":["hashtag1","hashtag2"]},{"1326865878":["hashtag1","hashtag2"]},{"1326865836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326865832, 1326865849, 1326865834, 1326865858, 1326865878, 1326865836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.91389346122742 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:22:21.791826
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/21/image_05012025_09_21_02_175586_0003.jpg', '/home/pi/Desktop/images/05012025/09/22/image_05012025_09_22_02_707887_0000.jpg', '/home/pi/Desktop/images/05012025/09/22/image_05012025_09_22_02_707887_0001.jpg', '/home/pi/Desktop/images/05012025/09/22/image_05012025_09_22_02_707887_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/09/21/image_05012025_09_21_02_175586_0003.jpg
/home/pi/Desktop/images/05012025/09/22/image_05012025_09_22_02_707887_0000.jpg
/home/pi/Desktop/images/05012025/09/22/image_05012025_09_22_02_707887_0001.jpg
/home/pi/Desktop/images/05012025/09/22/image_05012025_09_22_02_707887_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326865895","1326865889","1326865891","1326865887"],"photo_ids_order":["1326865887","1326865889","1326865891","1326865895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/74dc0509521fafba81d4211275c8416f.jpg","text":"TemporaryFile(/tmp/multipartBody2868620545147406789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065412090,"filename":"image_05012025_09_22_02_707887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7ee06bdec1f310e2e7d534e0876977dc.jpg","text":"TemporaryFile(/tmp/multipartBody3420148382804184794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065412090,"filename":"image_05012025_09_22_02_707887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e73789f870dc6f87d95f06d48e4bc56c.jpg","text":"TemporaryFile(/tmp/multipartBody6550573079269852042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065412090,"filename":"image_05012025_09_22_02_707887_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7bc4a91adbe7be0187e0555c218bf4f3.jpg","text":"TemporaryFile(/tmp/multipartBody4561995676003182835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065412090,"filename":"image_05012025_09_21_02_175586_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326865891","file1":"1326865889","file0":"1326865887","file3":"1326865895"},"map_files_photo_id_array":[{"photo_id":"1326865891","filename":"file2"},{"photo_id":"1326865889","filename":"file1"},{"photo_id":"1326865887","filename":"file0"},{"photo_id":"1326865895","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326865895":["hashtag1","hashtag2"]},{"1326865889":["hashtag1","hashtag2"]},{"1326865891":["hashtag1","hashtag2"]},{"1326865887":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326865895, 1326865889, 1326865891, 1326865887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.229859828948975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:23:02.962871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:23:22.296912
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/22/image_05012025_09_22_02_707887_0003.jpg', '/home/pi/Desktop/images/05012025/09/23/image_05012025_09_23_02_217483_0000.jpg', '/home/pi/Desktop/images/05012025/09/23/image_05012025_09_23_02_217483_0001.jpg', '/home/pi/Desktop/images/05012025/09/23/image_05012025_09_23_02_217483_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/09/22/image_05012025_09_22_02_707887_0003.jpg
/home/pi/Desktop/images/05012025/09/23/image_05012025_09_23_02_217483_0000.jpg
/home/pi/Desktop/images/05012025/09/23/image_05012025_09_23_02_217483_0001.jpg
/home/pi/Desktop/images/05012025/09/23/image_05012025_09_23_02_217483_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866068","1326866070","1326866064","1326866072"],"photo_ids_order":["1326866064","1326866068","1326866070","1326866072"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/07da1452516e0024cc69dd28d3abbf48.jpg","text":"TemporaryFile(/tmp/multipartBody4273260220088527564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065472555,"filename":"image_05012025_09_23_02_217483_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f85764fff819019606ec6d2a0234b921.jpg","text":"TemporaryFile(/tmp/multipartBody6454970318772010473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065472555,"filename":"image_05012025_09_23_02_217483_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1a18c3a64d248644e0e04385fdb52fa4.jpg","text":"TemporaryFile(/tmp/multipartBody702840340995710124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065472555,"filename":"image_05012025_09_22_02_707887_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7431f5ccb09ce3280fc8e580e7685227.jpg","text":"TemporaryFile(/tmp/multipartBody1322032127727561557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065472555,"filename":"image_05012025_09_23_02_217483_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866070","file1":"1326866068","file0":"1326866064","file3":"1326866072"},"map_files_photo_id_array":[{"photo_id":"1326866070","filename":"file2"},{"photo_id":"1326866068","filename":"file1"},{"photo_id":"1326866064","filename":"file0"},{"photo_id":"1326866072","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866068":["hashtag1","hashtag2"]},{"1326866070":["hashtag1","hashtag2"]},{"1326866064":["hashtag1","hashtag2"]},{"1326866072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866068, 1326866070, 1326866064, 1326866072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56328010559082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:24:21.905773
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/23/image_05012025_09_23_02_217483_0003.jpg', '/home/pi/Desktop/images/05012025/09/24/image_05012025_09_24_02_648671_0000.jpg', '/home/pi/Desktop/images/05012025/09/24/image_05012025_09_24_02_648671_0001.jpg', '/home/pi/Desktop/images/05012025/09/24/image_05012025_09_24_02_648671_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/09/23/image_05012025_09_23_02_217483_0003.jpg
/home/pi/Desktop/images/05012025/09/24/image_05012025_09_24_02_648671_0000.jpg
/home/pi/Desktop/images/05012025/09/24/image_05012025_09_24_02_648671_0001.jpg
/home/pi/Desktop/images/05012025/09/24/image_05012025_09_24_02_648671_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866080","1326866083","1326866092","1326866078"],"photo_ids_order":["1326866078","1326866080","1326866083","1326866092"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e03f7a53cefb6870714894759ff784df.jpg","text":"TemporaryFile(/tmp/multipartBody6772592609054173504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065532231,"filename":"image_05012025_09_24_02_648671_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0244681a9572a8eeebb43e723be7bbe0.jpg","text":"TemporaryFile(/tmp/multipartBody7349246865993301369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065532231,"filename":"image_05012025_09_24_02_648671_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4530c1b2a8587a93c5225939262a9a89.jpg","text":"TemporaryFile(/tmp/multipartBody6463591009804934426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065532231,"filename":"image_05012025_09_24_02_648671_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4d06dee9320b8afc4139150f0b0dae52.jpg","text":"TemporaryFile(/tmp/multipartBody8982308299926239651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065532231,"filename":"image_05012025_09_23_02_217483_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866083","file1":"1326866080","file0":"1326866078","file3":"1326866092"},"map_files_photo_id_array":[{"photo_id":"1326866083","filename":"file2"},{"photo_id":"1326866080","filename":"file1"},{"photo_id":"1326866078","filename":"file0"},{"photo_id":"1326866092","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866080":["hashtag1","hashtag2"]},{"1326866083":["hashtag1","hashtag2"]},{"1326866092":["hashtag1","hashtag2"]},{"1326866078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866080, 1326866083, 1326866092, 1326866078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0784432888031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:25:02.947419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:25:22.387292
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/24/image_05012025_09_24_02_648671_0003.jpg', '/home/pi/Desktop/images/05012025/09/25/image_05012025_09_25_02_309709_0000.jpg', '/home/pi/Desktop/images/05012025/09/25/image_05012025_09_25_02_309709_0001.jpg', '/home/pi/Desktop/images/05012025/09/25/image_05012025_09_25_02_309709_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/09/24/image_05012025_09_24_02_648671_0003.jpg
/home/pi/Desktop/images/05012025/09/25/image_05012025_09_25_02_309709_0000.jpg
/home/pi/Desktop/images/05012025/09/25/image_05012025_09_25_02_309709_0001.jpg
/home/pi/Desktop/images/05012025/09/25/image_05012025_09_25_02_309709_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866135","1326866138","1326866140","1326866133"],"photo_ids_order":["1326866133","1326866135","1326866138","1326866140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3842b5393f0fff877f32d98fb7894623.jpg","text":"TemporaryFile(/tmp/multipartBody3898968653345430598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065592679,"filename":"image_05012025_09_25_02_309709_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/68e8fe46b84637f3589bc3be5c884316.jpg","text":"TemporaryFile(/tmp/multipartBody7580271238526614578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065592679,"filename":"image_05012025_09_25_02_309709_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/826c060c7b1e6532424fd9237af1d60e.jpg","text":"TemporaryFile(/tmp/multipartBody8986847991775230996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065592679,"filename":"image_05012025_09_25_02_309709_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9e3e48ede01e9ee993066e0d64f66560.jpg","text":"TemporaryFile(/tmp/multipartBody3909878493920778990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065592679,"filename":"image_05012025_09_24_02_648671_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866138","file1":"1326866135","file0":"1326866133","file3":"1326866140"},"map_files_photo_id_array":[{"photo_id":"1326866138","filename":"file2"},{"photo_id":"1326866135","filename":"file1"},{"photo_id":"1326866133","filename":"file0"},{"photo_id":"1326866140","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866135":["hashtag1","hashtag2"]},{"1326866138":["hashtag1","hashtag2"]},{"1326866140":["hashtag1","hashtag2"]},{"1326866133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866135, 1326866138, 1326866140, 1326866133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.883864879608154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:26:21.890630
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/25/image_05012025_09_25_02_309709_0003.jpg', '/home/pi/Desktop/images/05012025/09/26/image_05012025_09_26_02_727269_0000.jpg', '/home/pi/Desktop/images/05012025/09/26/image_05012025_09_26_02_727269_0001.jpg', '/home/pi/Desktop/images/05012025/09/26/image_05012025_09_26_02_727269_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/09/25/image_05012025_09_25_02_309709_0003.jpg
/home/pi/Desktop/images/05012025/09/26/image_05012025_09_26_02_727269_0000.jpg
/home/pi/Desktop/images/05012025/09/26/image_05012025_09_26_02_727269_0001.jpg
/home/pi/Desktop/images/05012025/09/26/image_05012025_09_26_02_727269_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866153","1326866169","1326866151","1326866150"],"photo_ids_order":["1326866150","1326866151","1326866153","1326866169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/47a31f49d081a28561ab67aab91664e7.jpg","text":"TemporaryFile(/tmp/multipartBody7239491133767979967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065652164,"filename":"image_05012025_09_26_02_727269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eb3d6cd93d1eefb53c779c1b84b22567.jpg","text":"TemporaryFile(/tmp/multipartBody3709080107863021347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065652164,"filename":"image_05012025_09_26_02_727269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5a271b15f4d613e64276f86dffeb6725.jpg","text":"TemporaryFile(/tmp/multipartBody8971299507244414871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065652164,"filename":"image_05012025_09_26_02_727269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/52188e5e96a179be6f80294f2bd1a0b8.jpg","text":"TemporaryFile(/tmp/multipartBody2685000795185567424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065652164,"filename":"image_05012025_09_25_02_309709_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866153","file1":"1326866151","file0":"1326866150","file3":"1326866169"},"map_files_photo_id_array":[{"photo_id":"1326866153","filename":"file2"},{"photo_id":"1326866151","filename":"file1"},{"photo_id":"1326866150","filename":"file0"},{"photo_id":"1326866169","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866153":["hashtag1","hashtag2"]},{"1326866169":["hashtag1","hashtag2"]},{"1326866151":["hashtag1","hashtag2"]},{"1326866150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866153, 1326866169, 1326866151, 1326866150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62182664871216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:27:02.972846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:27:22.361425
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/26/image_05012025_09_26_02_727269_0003.jpg', '/home/pi/Desktop/images/05012025/09/27/image_05012025_09_27_02_240774_0000.jpg', '/home/pi/Desktop/images/05012025/09/27/image_05012025_09_27_02_240774_0001.jpg', '/home/pi/Desktop/images/05012025/09/27/image_05012025_09_27_02_240774_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/09/26/image_05012025_09_26_02_727269_0003.jpg
/home/pi/Desktop/images/05012025/09/27/image_05012025_09_27_02_240774_0000.jpg
/home/pi/Desktop/images/05012025/09/27/image_05012025_09_27_02_240774_0001.jpg
/home/pi/Desktop/images/05012025/09/27/image_05012025_09_27_02_240774_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866213","1326866201","1326866197","1326866199"],"photo_ids_order":["1326866197","1326866199","1326866201","1326866213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4b3b8ab9fed7a91e8b712b133123fa0d.jpg","text":"TemporaryFile(/tmp/multipartBody5594073858935462622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065712373,"filename":"image_05012025_09_27_02_240774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc93da6568448ec7564edc6c9e43e0ae.jpg","text":"TemporaryFile(/tmp/multipartBody1011878351579902245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065712373,"filename":"image_05012025_09_27_02_240774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e9a9270595f06ff22bc96eb3a25032b7.jpg","text":"TemporaryFile(/tmp/multipartBody2943525719854290342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065712373,"filename":"image_05012025_09_26_02_727269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/71d68e6b769d636dc9272fa797ab3f85.jpg","text":"TemporaryFile(/tmp/multipartBody5121098505723086302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065712373,"filename":"image_05012025_09_27_02_240774_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866201","file1":"1326866199","file0":"1326866197","file3":"1326866213"},"map_files_photo_id_array":[{"photo_id":"1326866201","filename":"file2"},{"photo_id":"1326866199","filename":"file1"},{"photo_id":"1326866197","filename":"file0"},{"photo_id":"1326866213","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866213":["hashtag1","hashtag2"]},{"1326866201":["hashtag1","hashtag2"]},{"1326866197":["hashtag1","hashtag2"]},{"1326866199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866213, 1326866201, 1326866197, 1326866199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.80266189575195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:28:02.495747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:28:21.993610
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/27/image_05012025_09_27_02_240774_0003.jpg', '/home/pi/Desktop/images/05012025/09/28/image_05012025_09_28_02_701379_0000.jpg', '/home/pi/Desktop/images/05012025/09/28/image_05012025_09_28_02_701379_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/09/27/image_05012025_09_27_02_240774_0003.jpg
/home/pi/Desktop/images/05012025/09/28/image_05012025_09_28_02_701379_0000.jpg
/home/pi/Desktop/images/05012025/09/28/image_05012025_09_28_02_701379_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866284","1326866325","1326866285"],"photo_ids_order":["1326866284","1326866285","1326866325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/920c44db46596cf0152d146abd59263a.jpg","text":"TemporaryFile(/tmp/multipartBody6525353926899343581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065769549,"filename":"image_05012025_09_27_02_240774_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/761477772cc803a58bcb22097779399a.jpg","text":"TemporaryFile(/tmp/multipartBody8637355573521399261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065769549,"filename":"image_05012025_09_28_02_701379_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62c28631695d8c73db5bcfb62f0f1de5.jpg","text":"TemporaryFile(/tmp/multipartBody848313055252988319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065769549,"filename":"image_05012025_09_28_02_701379_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866325","file1":"1326866285","file0":"1326866284"},"map_files_photo_id_array":[{"photo_id":"1326866325","filename":"file2"},{"photo_id":"1326866285","filename":"file1"},{"photo_id":"1326866284","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866284":["hashtag1","hashtag2"]},{"1326866325":["hashtag1","hashtag2"]},{"1326866285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866284, 1326866325, 1326866285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.901133060455322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:29:03.325237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:29:22.559008
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/28/image_05012025_09_28_02_701379_0003.jpg', '/home/pi/Desktop/images/05012025/09/29/image_05012025_09_29_02_401481_0000.jpg', '/home/pi/Desktop/images/05012025/09/29/image_05012025_09_29_02_401481_0001.jpg', '/home/pi/Desktop/images/05012025/09/29/image_05012025_09_29_02_401481_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/09/28/image_05012025_09_28_02_701379_0003.jpg
/home/pi/Desktop/images/05012025/09/29/image_05012025_09_29_02_401481_0000.jpg
/home/pi/Desktop/images/05012025/09/29/image_05012025_09_29_02_401481_0001.jpg
/home/pi/Desktop/images/05012025/09/29/image_05012025_09_29_02_401481_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866372","1326866379","1326866367","1326866376"],"photo_ids_order":["1326866367","1326866372","1326866376","1326866379"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4dc38799f0c79b2468b03d9bb54421a9.jpg","text":"TemporaryFile(/tmp/multipartBody8378982531373263189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065832858,"filename":"image_05012025_09_29_02_401481_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5a9705229f54c7326b777ad0be5dd5c1.jpg","text":"TemporaryFile(/tmp/multipartBody1574792754600763296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065832858,"filename":"image_05012025_09_29_02_401481_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/101036a2b7aa8c76336ce7ca5898ad28.jpg","text":"TemporaryFile(/tmp/multipartBody5998665345458163994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065832858,"filename":"image_05012025_09_28_02_701379_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1ee57fbabdece7af2f25d3ecc527d093.jpg","text":"TemporaryFile(/tmp/multipartBody8676842052000526853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065832858,"filename":"image_05012025_09_29_02_401481_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866376","file1":"1326866372","file0":"1326866367","file3":"1326866379"},"map_files_photo_id_array":[{"photo_id":"1326866376","filename":"file2"},{"photo_id":"1326866372","filename":"file1"},{"photo_id":"1326866367","filename":"file0"},{"photo_id":"1326866379","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866372":["hashtag1","hashtag2"]},{"1326866379":["hashtag1","hashtag2"]},{"1326866367":["hashtag1","hashtag2"]},{"1326866376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866372, 1326866379, 1326866367, 1326866376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.284764766693115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:30:02.755136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:30:22.234838
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/29/image_05012025_09_29_02_401481_0003.jpg', '/home/pi/Desktop/images/05012025/09/30/image_05012025_09_30_03_006313_0000.jpg', '/home/pi/Desktop/images/05012025/09/30/image_05012025_09_30_03_006313_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/09/29/image_05012025_09_29_02_401481_0003.jpg
/home/pi/Desktop/images/05012025/09/30/image_05012025_09_30_03_006313_0000.jpg
/home/pi/Desktop/images/05012025/09/30/image_05012025_09_30_03_006313_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.615940093994141 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:31:02.319853
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/29/image_05012025_09_29_02_401481_0003.jpg', '/home/pi/Desktop/images/05012025/09/30/image_05012025_09_30_03_006313_0000.jpg', '/home/pi/Desktop/images/05012025/09/30/image_05012025_09_30_03_006313_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/09/29/image_05012025_09_29_02_401481_0003.jpg
/home/pi/Desktop/images/05012025/09/30/image_05012025_09_30_03_006313_0000.jpg
/home/pi/Desktop/images/05012025/09/30/image_05012025_09_30_03_006313_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866569","1326866568","1326866567"],"photo_ids_order":["1326866567","1326866568","1326866569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9f724763828a2564c5dfb5c3f552ca7a.jpg","text":"TemporaryFile(/tmp/multipartBody5802160808799956195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065930428,"filename":"image_05012025_09_30_03_006313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c288cff497625ee7ee259f00c5a599b3.jpg","text":"TemporaryFile(/tmp/multipartBody8556494284379194068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065930428,"filename":"image_05012025_09_30_03_006313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/30a84d1d88ccdca8bd9e95f4503669b7.jpg","text":"TemporaryFile(/tmp/multipartBody3431443389701302039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065930428,"filename":"image_05012025_09_29_02_401481_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866569","file1":"1326866568","file0":"1326866567"},"map_files_photo_id_array":[{"photo_id":"1326866569","filename":"file2"},{"photo_id":"1326866568","filename":"file1"},{"photo_id":"1326866567","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866569":["hashtag1","hashtag2"]},{"1326866568":["hashtag1","hashtag2"]},{"1326866567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866569, 1326866568, 1326866567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.235942125320435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:32:02.812475
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/30/image_05012025_09_30_03_006313_0002.jpg', '/home/pi/Desktop/images/05012025/09/31/image_05012025_09_31_02_624214_0000.jpg', '/home/pi/Desktop/images/05012025/09/31/image_05012025_09_31_02_624214_0001.jpg', '/home/pi/Desktop/images/05012025/09/31/image_05012025_09_31_02_624214_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/09/30/image_05012025_09_30_03_006313_0002.jpg
/home/pi/Desktop/images/05012025/09/31/image_05012025_09_31_02_624214_0000.jpg
/home/pi/Desktop/images/05012025/09/31/image_05012025_09_31_02_624214_0001.jpg
/home/pi/Desktop/images/05012025/09/31/image_05012025_09_31_02_624214_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866584","1326866589","1326866586","1326866591"],"photo_ids_order":["1326866584","1326866586","1326866589","1326866591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/504100b6c77d7d7adc99131c2d91ac17.jpg","text":"TemporaryFile(/tmp/multipartBody6926865229628796978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065993245,"filename":"image_05012025_09_30_03_006313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d4cf0858253789820b1a14f6ee08302f.jpg","text":"TemporaryFile(/tmp/multipartBody5346699120635908742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065993245,"filename":"image_05012025_09_31_02_624214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d3bb1a411b5f21d353913b90e5732999.jpg","text":"TemporaryFile(/tmp/multipartBody2538924374271188499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065993245,"filename":"image_05012025_09_31_02_624214_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1e0b6636cb0d0b091d2a9c8c3c59f324.jpg","text":"TemporaryFile(/tmp/multipartBody3022294366166376306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736065993245,"filename":"image_05012025_09_31_02_624214_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866589","file1":"1326866586","file0":"1326866584","file3":"1326866591"},"map_files_photo_id_array":[{"photo_id":"1326866589","filename":"file2"},{"photo_id":"1326866586","filename":"file1"},{"photo_id":"1326866584","filename":"file0"},{"photo_id":"1326866591","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866584":["hashtag1","hashtag2"]},{"1326866589":["hashtag1","hashtag2"]},{"1326866586":["hashtag1","hashtag2"]},{"1326866591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866584, 1326866589, 1326866586, 1326866591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.44417905807495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:33:02.465094
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/31/image_05012025_09_31_02_624214_0003.jpg', '/home/pi/Desktop/images/05012025/09/32/image_05012025_09_32_02_161131_0000.jpg', '/home/pi/Desktop/images/05012025/09/32/image_05012025_09_32_02_161131_0001.jpg', '/home/pi/Desktop/images/05012025/09/32/image_05012025_09_32_02_161131_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/09/31/image_05012025_09_31_02_624214_0003.jpg
/home/pi/Desktop/images/05012025/09/32/image_05012025_09_32_02_161131_0000.jpg
/home/pi/Desktop/images/05012025/09/32/image_05012025_09_32_02_161131_0001.jpg
/home/pi/Desktop/images/05012025/09/32/image_05012025_09_32_02_161131_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.952556133270264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:33:21.916835
SELECT 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/09/31/image_05012025_09_31_02_624214_0003.jpg', '/home/pi/Desktop/images/05012025/09/32/image_05012025_09_32_02_161131_0000.jpg', '/home/pi/Desktop/images/05012025/09/32/image_05012025_09_32_02_161131_0001.jpg', '/home/pi/Desktop/images/05012025/09/32/image_05012025_09_32_02_161131_0002.jpg', '/home/pi/Desktop/images/05012025/09/32/image_05012025_09_32_02_161131_0003.jpg', '/home/pi/Desktop/images/05012025/09/33/image_05012025_09_33_02_757912_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/09/31/image_05012025_09_31_02_624214_0003.jpg
/home/pi/Desktop/images/05012025/09/32/image_05012025_09_32_02_161131_0000.jpg
/home/pi/Desktop/images/05012025/09/32/image_05012025_09_32_02_161131_0001.jpg
/home/pi/Desktop/images/05012025/09/32/image_05012025_09_32_02_161131_0002.jpg
/home/pi/Desktop/images/05012025/09/32/image_05012025_09_32_02_161131_0003.jpg
/home/pi/Desktop/images/05012025/09/33/image_05012025_09_33_02_757912_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866621","1326866609","1326866647","1326866611","1326866619","1326866607"],"photo_ids_order":["1326866607","1326866609","1326866611","1326866619","1326866621","1326866647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/05105c2432eb2c57110bd70588577e66.jpg","text":"TemporaryFile(/tmp/multipartBody572870128259885999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066077050,"filename":"image_05012025_09_32_02_161131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/622a0a68136da42388193593b11b0448.jpg","text":"TemporaryFile(/tmp/multipartBody1513126506973181880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066077050,"filename":"image_05012025_09_32_02_161131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2355aec41735687a53bb591c49e11b9b.jpg","text":"TemporaryFile(/tmp/multipartBody4935591655973650935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066077050,"filename":"image_05012025_09_33_02_757912_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6ce94645e390c9838acaeb0fd4ddad64.jpg","text":"TemporaryFile(/tmp/multipartBody2651653701428340544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066077050,"filename":"image_05012025_09_32_02_161131_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5733b721dfb09b3b87ec8e8ff99ba548.jpg","text":"TemporaryFile(/tmp/multipartBody1563971632830737633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066077050,"filename":"image_05012025_09_32_02_161131_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f7b956e8c90db539d156dc1cd2697f3.jpg","text":"TemporaryFile(/tmp/multipartBody9216871544192558553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066077050,"filename":"image_05012025_09_31_02_624214_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866611","file1":"1326866609","file0":"1326866607","file4":"1326866621","file5":"1326866647","file3":"1326866619"},"map_files_photo_id_array":[{"photo_id":"1326866647","filename":"file5"},{"photo_id":"1326866611","filename":"file2"},{"photo_id":"1326866621","filename":"file4"},{"photo_id":"1326866609","filename":"file1"},{"photo_id":"1326866607","filename":"file0"},{"photo_id":"1326866619","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866621":["hashtag1","hashtag2"]},{"1326866609":["hashtag1","hashtag2"]},{"1326866647":["hashtag1","hashtag2"]},{"1326866611":["hashtag1","hashtag2"]},{"1326866619":["hashtag1","hashtag2"]},{"1326866607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866621, 1326866609, 1326866647, 1326866611, 1326866619, 1326866607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.85730481147766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:34:22.526880
SELECT 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/09/33/image_05012025_09_33_02_757912_0001.jpg', '/home/pi/Desktop/images/05012025/09/33/image_05012025_09_33_02_757912_0002.jpg', '/home/pi/Desktop/images/05012025/09/33/image_05012025_09_33_02_757912_0003.jpg', '/home/pi/Desktop/images/05012025/09/34/image_05012025_09_34_02_228879_0000.jpg', '/home/pi/Desktop/images/05012025/09/34/image_05012025_09_34_02_228879_0001.jpg', '/home/pi/Desktop/images/05012025/09/34/image_05012025_09_34_02_228879_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/09/33/image_05012025_09_33_02_757912_0001.jpg
/home/pi/Desktop/images/05012025/09/33/image_05012025_09_33_02_757912_0002.jpg
/home/pi/Desktop/images/05012025/09/33/image_05012025_09_33_02_757912_0003.jpg
/home/pi/Desktop/images/05012025/09/34/image_05012025_09_34_02_228879_0000.jpg
/home/pi/Desktop/images/05012025/09/34/image_05012025_09_34_02_228879_0001.jpg
/home/pi/Desktop/images/05012025/09/34/image_05012025_09_34_02_228879_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866663","1326866657","1326866665","1326866652","1326866660","1326866654"],"photo_ids_order":["1326866652","1326866654","1326866657","1326866660","1326866663","1326866665"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3628c24beaecabefdfb10d926603f5ab.jpg","text":"TemporaryFile(/tmp/multipartBody1357949017255644359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066137764,"filename":"image_05012025_09_34_02_228879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/903d00655d74cd8444b576718d84d3f3.jpg","text":"TemporaryFile(/tmp/multipartBody5898671485035184283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066137764,"filename":"image_05012025_09_33_02_757912_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a97fb519c6a3299e688e3b1d8762d622.jpg","text":"TemporaryFile(/tmp/multipartBody3868237619237010393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066137764,"filename":"image_05012025_09_34_02_228879_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b4ce9cb73f02c140b79063451f35e6d7.jpg","text":"TemporaryFile(/tmp/multipartBody3986086265698012681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066137764,"filename":"image_05012025_09_33_02_757912_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/29e5f48f0ff4c34d0419a69c4822c335.jpg","text":"TemporaryFile(/tmp/multipartBody7860378114166291792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066137764,"filename":"image_05012025_09_34_02_228879_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/52e7096fc279b005333acbceacad655c.jpg","text":"TemporaryFile(/tmp/multipartBody4958224975094526991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066137764,"filename":"image_05012025_09_33_02_757912_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866657","file1":"1326866654","file0":"1326866652","file4":"1326866663","file5":"1326866665","file3":"1326866660"},"map_files_photo_id_array":[{"photo_id":"1326866665","filename":"file5"},{"photo_id":"1326866657","filename":"file2"},{"photo_id":"1326866663","filename":"file4"},{"photo_id":"1326866654","filename":"file1"},{"photo_id":"1326866652","filename":"file0"},{"photo_id":"1326866660","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866663":["hashtag1","hashtag2"]},{"1326866657":["hashtag1","hashtag2"]},{"1326866665":["hashtag1","hashtag2"]},{"1326866652":["hashtag1","hashtag2"]},{"1326866660":["hashtag1","hashtag2"]},{"1326866654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866663, 1326866657, 1326866665, 1326866652, 1326866660, 1326866654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.24846625328064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:35:22.094562
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/34/image_05012025_09_34_02_228879_0003.jpg', '/home/pi/Desktop/images/05012025/09/35/image_05012025_09_35_02_931643_0000.jpg', '/home/pi/Desktop/images/05012025/09/35/image_05012025_09_35_02_931643_0001.jpg', '/home/pi/Desktop/images/05012025/09/35/image_05012025_09_35_02_931643_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/09/34/image_05012025_09_34_02_228879_0003.jpg
/home/pi/Desktop/images/05012025/09/35/image_05012025_09_35_02_931643_0000.jpg
/home/pi/Desktop/images/05012025/09/35/image_05012025_09_35_02_931643_0001.jpg
/home/pi/Desktop/images/05012025/09/35/image_05012025_09_35_02_931643_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866668","1326866673","1326866670","1326866675"],"photo_ids_order":["1326866668","1326866670","1326866673","1326866675"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/908ecf4e3a15d88efe1412ce77497e1d.jpg","text":"TemporaryFile(/tmp/multipartBody2926553712382690039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066192645,"filename":"image_05012025_09_34_02_228879_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/51cba842a0720da90dbc9e24c093eedf.jpg","text":"TemporaryFile(/tmp/multipartBody5827661362327017452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066192645,"filename":"image_05012025_09_35_02_931643_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6a8d62007313cb4156fdfe8a80f13246.jpg","text":"TemporaryFile(/tmp/multipartBody1063686442786111537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066192645,"filename":"image_05012025_09_35_02_931643_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6ad796647900b9bd50648e925a5f4266.jpg","text":"TemporaryFile(/tmp/multipartBody6032942004419748138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066192645,"filename":"image_05012025_09_35_02_931643_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866673","file1":"1326866670","file0":"1326866668","file3":"1326866675"},"map_files_photo_id_array":[{"photo_id":"1326866673","filename":"file2"},{"photo_id":"1326866670","filename":"file1"},{"photo_id":"1326866668","filename":"file0"},{"photo_id":"1326866675","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866668":["hashtag1","hashtag2"]},{"1326866673":["hashtag1","hashtag2"]},{"1326866670":["hashtag1","hashtag2"]},{"1326866675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866668, 1326866673, 1326866670, 1326866675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.694761514663696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:36:22.652722
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/35/image_05012025_09_35_02_931643_0003.jpg', '/home/pi/Desktop/images/05012025/09/36/image_05012025_09_36_02_513818_0000.jpg', '/home/pi/Desktop/images/05012025/09/36/image_05012025_09_36_02_513818_0001.jpg', '/home/pi/Desktop/images/05012025/09/36/image_05012025_09_36_02_513818_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/09/35/image_05012025_09_35_02_931643_0003.jpg
/home/pi/Desktop/images/05012025/09/36/image_05012025_09_36_02_513818_0000.jpg
/home/pi/Desktop/images/05012025/09/36/image_05012025_09_36_02_513818_0001.jpg
/home/pi/Desktop/images/05012025/09/36/image_05012025_09_36_02_513818_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866706","1326866709","1326866700","1326866703"],"photo_ids_order":["1326866700","1326866703","1326866706","1326866709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0b6db9ec7ada0be6de83b0fc57966677.jpg","text":"TemporaryFile(/tmp/multipartBody8323227931243682737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066253036,"filename":"image_05012025_09_36_02_513818_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b20aacd39f908beeb35f0d72e7bc1b2e.jpg","text":"TemporaryFile(/tmp/multipartBody7049234734840667856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066253036,"filename":"image_05012025_09_36_02_513818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3d97b0e041818b771e759b9257890291.jpg","text":"TemporaryFile(/tmp/multipartBody4381167562497969856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066253036,"filename":"image_05012025_09_35_02_931643_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/38500cc4c66785f04b7aa38e9f677262.jpg","text":"TemporaryFile(/tmp/multipartBody3736026443489609622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066253036,"filename":"image_05012025_09_36_02_513818_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866706","file1":"1326866703","file0":"1326866700","file3":"1326866709"},"map_files_photo_id_array":[{"photo_id":"1326866706","filename":"file2"},{"photo_id":"1326866703","filename":"file1"},{"photo_id":"1326866700","filename":"file0"},{"photo_id":"1326866709","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866706":["hashtag1","hashtag2"]},{"1326866709":["hashtag1","hashtag2"]},{"1326866700":["hashtag1","hashtag2"]},{"1326866703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866706, 1326866709, 1326866700, 1326866703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.16508507728577 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:37:22.197062
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/36/image_05012025_09_36_02_513818_0003.jpg', '/home/pi/Desktop/images/05012025/09/37/image_05012025_09_37_03_058625_0000.jpg', '/home/pi/Desktop/images/05012025/09/37/image_05012025_09_37_03_058625_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/09/36/image_05012025_09_36_02_513818_0003.jpg
/home/pi/Desktop/images/05012025/09/37/image_05012025_09_37_03_058625_0000.jpg
/home/pi/Desktop/images/05012025/09/37/image_05012025_09_37_03_058625_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866724","1326866718","1326866721"],"photo_ids_order":["1326866718","1326866721","1326866724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b0675c09757ea6dc127d7cc3c315019.jpg","text":"TemporaryFile(/tmp/multipartBody8256023480688362074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066310072,"filename":"image_05012025_09_37_03_058625_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/be07a9afa4eaff289cd5526052767872.jpg","text":"TemporaryFile(/tmp/multipartBody7918966515742857943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066310072,"filename":"image_05012025_09_36_02_513818_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7242fc6c84e01c105e6ca7aad39034c8.jpg","text":"TemporaryFile(/tmp/multipartBody8425596274235684069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066310072,"filename":"image_05012025_09_37_03_058625_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866724","file1":"1326866721","file0":"1326866718"},"map_files_photo_id_array":[{"photo_id":"1326866724","filename":"file2"},{"photo_id":"1326866721","filename":"file1"},{"photo_id":"1326866718","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866724":["hashtag1","hashtag2"]},{"1326866718":["hashtag1","hashtag2"]},{"1326866721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866724, 1326866718, 1326866721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.508678674697876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:38:03.067653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:38:22.593121
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/37/image_05012025_09_37_03_058625_0003.jpg', '/home/pi/Desktop/images/05012025/09/38/image_05012025_09_38_02_523378_0000.jpg', '/home/pi/Desktop/images/05012025/09/38/image_05012025_09_38_02_523378_0001.jpg', '/home/pi/Desktop/images/05012025/09/38/image_05012025_09_38_02_523378_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/09/37/image_05012025_09_37_03_058625_0003.jpg
/home/pi/Desktop/images/05012025/09/38/image_05012025_09_38_02_523378_0000.jpg
/home/pi/Desktop/images/05012025/09/38/image_05012025_09_38_02_523378_0001.jpg
/home/pi/Desktop/images/05012025/09/38/image_05012025_09_38_02_523378_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.98317551612854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:39:02.650467
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/37/image_05012025_09_37_03_058625_0003.jpg', '/home/pi/Desktop/images/05012025/09/38/image_05012025_09_38_02_523378_0000.jpg', '/home/pi/Desktop/images/05012025/09/38/image_05012025_09_38_02_523378_0001.jpg', '/home/pi/Desktop/images/05012025/09/38/image_05012025_09_38_02_523378_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/09/37/image_05012025_09_37_03_058625_0003.jpg
/home/pi/Desktop/images/05012025/09/38/image_05012025_09_38_02_523378_0000.jpg
/home/pi/Desktop/images/05012025/09/38/image_05012025_09_38_02_523378_0001.jpg
/home/pi/Desktop/images/05012025/09/38/image_05012025_09_38_02_523378_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866759","1326866761","1326866758","1326866763"],"photo_ids_order":["1326866758","1326866759","1326866761","1326866763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9a373e63de3ce6a19c8bfbb8601a4de.jpg","text":"TemporaryFile(/tmp/multipartBody1760506807278020197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066413107,"filename":"image_05012025_09_38_02_523378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2dc1be59c4d0fc7cff653781c073f100.jpg","text":"TemporaryFile(/tmp/multipartBody5057783450642297618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066413107,"filename":"image_05012025_09_38_02_523378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/03b3ac7c73c9bedcdca9d708d6e0fce6.jpg","text":"TemporaryFile(/tmp/multipartBody6328925675887823432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066413107,"filename":"image_05012025_09_37_03_058625_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f64045a93837bd8580c6c16155b0864a.jpg","text":"TemporaryFile(/tmp/multipartBody3916675978296757772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066413107,"filename":"image_05012025_09_38_02_523378_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866761","file1":"1326866759","file0":"1326866758","file3":"1326866763"},"map_files_photo_id_array":[{"photo_id":"1326866761","filename":"file2"},{"photo_id":"1326866759","filename":"file1"},{"photo_id":"1326866758","filename":"file0"},{"photo_id":"1326866763","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866759":["hashtag1","hashtag2"]},{"1326866761":["hashtag1","hashtag2"]},{"1326866758":["hashtag1","hashtag2"]},{"1326866763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866759, 1326866761, 1326866758, 1326866763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.36392140388489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:40:02.183781
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/38/image_05012025_09_38_02_523378_0003.jpg', '/home/pi/Desktop/images/05012025/09/39/image_05012025_09_39_03_017331_0000.jpg', '/home/pi/Desktop/images/05012025/09/39/image_05012025_09_39_03_017331_0001.jpg', '/home/pi/Desktop/images/05012025/09/39/image_05012025_09_39_03_017331_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/09/38/image_05012025_09_38_02_523378_0003.jpg
/home/pi/Desktop/images/05012025/09/39/image_05012025_09_39_03_017331_0000.jpg
/home/pi/Desktop/images/05012025/09/39/image_05012025_09_39_03_017331_0001.jpg
/home/pi/Desktop/images/05012025/09/39/image_05012025_09_39_03_017331_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.119085788726807 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:40:21.772006
SELECT 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/09/38/image_05012025_09_38_02_523378_0003.jpg', '/home/pi/Desktop/images/05012025/09/39/image_05012025_09_39_03_017331_0000.jpg', '/home/pi/Desktop/images/05012025/09/39/image_05012025_09_39_03_017331_0001.jpg', '/home/pi/Desktop/images/05012025/09/39/image_05012025_09_39_03_017331_0002.jpg', '/home/pi/Desktop/images/05012025/09/39/image_05012025_09_39_03_017331_0003.jpg', '/home/pi/Desktop/images/05012025/09/40/image_05012025_09_40_02_495892_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/09/38/image_05012025_09_38_02_523378_0003.jpg
/home/pi/Desktop/images/05012025/09/39/image_05012025_09_39_03_017331_0000.jpg
/home/pi/Desktop/images/05012025/09/39/image_05012025_09_39_03_017331_0001.jpg
/home/pi/Desktop/images/05012025/09/39/image_05012025_09_39_03_017331_0002.jpg
/home/pi/Desktop/images/05012025/09/39/image_05012025_09_39_03_017331_0003.jpg
/home/pi/Desktop/images/05012025/09/40/image_05012025_09_40_02_495892_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866813","1326866807","1326866815","1326866809","1326866817","1326866811"],"photo_ids_order":["1326866807","1326866809","1326866811","1326866813","1326866815","1326866817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/365529bec3f8504cf18da4e138628cb7.jpg","text":"TemporaryFile(/tmp/multipartBody4972582101500148997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066497087,"filename":"image_05012025_09_39_03_017331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/997cded7a381e28bc9761f231c2d99de.jpg","text":"TemporaryFile(/tmp/multipartBody9091319947546435683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066497087,"filename":"image_05012025_09_38_02_523378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1324c1584ee25459a52ddaeaa2a73143.jpg","text":"TemporaryFile(/tmp/multipartBody1456068112562603577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066497087,"filename":"image_05012025_09_39_03_017331_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5a13fd77ac5db1fd3d02377f0316bcd9.jpg","text":"TemporaryFile(/tmp/multipartBody8603529603917093744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066497087,"filename":"image_05012025_09_39_03_017331_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0abd9000e1e9e72116c530d96a7e13af.jpg","text":"TemporaryFile(/tmp/multipartBody5573016972048864927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066497087,"filename":"image_05012025_09_40_02_495892_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3921d28ada563b31942ba58209e406a.jpg","text":"TemporaryFile(/tmp/multipartBody4058992525929459033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066497087,"filename":"image_05012025_09_39_03_017331_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866811","file1":"1326866809","file0":"1326866807","file4":"1326866815","file5":"1326866817","file3":"1326866813"},"map_files_photo_id_array":[{"photo_id":"1326866817","filename":"file5"},{"photo_id":"1326866811","filename":"file2"},{"photo_id":"1326866815","filename":"file4"},{"photo_id":"1326866809","filename":"file1"},{"photo_id":"1326866807","filename":"file0"},{"photo_id":"1326866813","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866813":["hashtag1","hashtag2"]},{"1326866807":["hashtag1","hashtag2"]},{"1326866815":["hashtag1","hashtag2"]},{"1326866809":["hashtag1","hashtag2"]},{"1326866817":["hashtag1","hashtag2"]},{"1326866811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866813, 1326866807, 1326866815, 1326866809, 1326866817, 1326866811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.57244253158569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:41:22.277260
SELECT 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/09/40/image_05012025_09_40_02_495892_0001.jpg', '/home/pi/Desktop/images/05012025/09/40/image_05012025_09_40_02_495892_0002.jpg', '/home/pi/Desktop/images/05012025/09/40/image_05012025_09_40_02_495892_0003.jpg', '/home/pi/Desktop/images/05012025/09/41/image_05012025_09_41_02_124078_0000.jpg', '/home/pi/Desktop/images/05012025/09/41/image_05012025_09_41_02_124078_0001.jpg', '/home/pi/Desktop/images/05012025/09/41/image_05012025_09_41_02_124078_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/09/40/image_05012025_09_40_02_495892_0001.jpg
/home/pi/Desktop/images/05012025/09/40/image_05012025_09_40_02_495892_0002.jpg
/home/pi/Desktop/images/05012025/09/40/image_05012025_09_40_02_495892_0003.jpg
/home/pi/Desktop/images/05012025/09/41/image_05012025_09_41_02_124078_0000.jpg
/home/pi/Desktop/images/05012025/09/41/image_05012025_09_41_02_124078_0001.jpg
/home/pi/Desktop/images/05012025/09/41/image_05012025_09_41_02_124078_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866828","1326866822","1326866830","1326866824","1326866832","1326866826"],"photo_ids_order":["1326866822","1326866824","1326866826","1326866828","1326866830","1326866832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ea511222c5c336fb18e6533434ee285f.jpg","text":"TemporaryFile(/tmp/multipartBody8353212134577577321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066557329,"filename":"image_05012025_09_41_02_124078_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f13321816afd1a41388562dffc06a4da.jpg","text":"TemporaryFile(/tmp/multipartBody8976522775296537152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066557329,"filename":"image_05012025_09_40_02_495892_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c7c4c939ee5c235ae59175fc5a633437.jpg","text":"TemporaryFile(/tmp/multipartBody4640671429037804779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066557329,"filename":"image_05012025_09_41_02_124078_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1e5541d40a2c4694e263a407529dc7ee.jpg","text":"TemporaryFile(/tmp/multipartBody2689360288572540040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066557329,"filename":"image_05012025_09_40_02_495892_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c8932d0eaabc90fde9412b9050bc7e63.jpg","text":"TemporaryFile(/tmp/multipartBody1389186187390830383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066557329,"filename":"image_05012025_09_41_02_124078_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/82357c6636f285d1e6bf0a3b1f0175ca.jpg","text":"TemporaryFile(/tmp/multipartBody8315524855430313106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066557329,"filename":"image_05012025_09_40_02_495892_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866826","file1":"1326866824","file0":"1326866822","file4":"1326866830","file5":"1326866832","file3":"1326866828"},"map_files_photo_id_array":[{"photo_id":"1326866832","filename":"file5"},{"photo_id":"1326866826","filename":"file2"},{"photo_id":"1326866830","filename":"file4"},{"photo_id":"1326866824","filename":"file1"},{"photo_id":"1326866822","filename":"file0"},{"photo_id":"1326866828","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866828":["hashtag1","hashtag2"]},{"1326866822":["hashtag1","hashtag2"]},{"1326866830":["hashtag1","hashtag2"]},{"1326866824":["hashtag1","hashtag2"]},{"1326866832":["hashtag1","hashtag2"]},{"1326866826":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866828, 1326866822, 1326866830, 1326866824, 1326866832, 1326866826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.29221510887146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:42:22.760008
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/41/image_05012025_09_41_02_124078_0003.jpg', '/home/pi/Desktop/images/05012025/09/42/image_05012025_09_42_02_607588_0000.jpg', '/home/pi/Desktop/images/05012025/09/42/image_05012025_09_42_02_607588_0001.jpg', '/home/pi/Desktop/images/05012025/09/42/image_05012025_09_42_02_607588_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/09/41/image_05012025_09_41_02_124078_0003.jpg
/home/pi/Desktop/images/05012025/09/42/image_05012025_09_42_02_607588_0000.jpg
/home/pi/Desktop/images/05012025/09/42/image_05012025_09_42_02_607588_0001.jpg
/home/pi/Desktop/images/05012025/09/42/image_05012025_09_42_02_607588_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866834","1326866836","1326866874","1326866847"],"photo_ids_order":["1326866834","1326866836","1326866847","1326866874"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ef49fb64fc99ea69a759892247e256e8.jpg","text":"TemporaryFile(/tmp/multipartBody8167629348808321651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066613168,"filename":"image_05012025_09_41_02_124078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ccbb726f92eea0c5c85b76dfe89cbd03.jpg","text":"TemporaryFile(/tmp/multipartBody8986925795814142399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066613168,"filename":"image_05012025_09_42_02_607588_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe37781043d91999d07acec6149f532b.jpg","text":"TemporaryFile(/tmp/multipartBody176008285499806353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066613168,"filename":"image_05012025_09_42_02_607588_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4afa9b63311881018badede282d0d339.jpg","text":"TemporaryFile(/tmp/multipartBody4929926318713341373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066613168,"filename":"image_05012025_09_42_02_607588_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866847","file1":"1326866836","file0":"1326866834","file3":"1326866874"},"map_files_photo_id_array":[{"photo_id":"1326866847","filename":"file2"},{"photo_id":"1326866836","filename":"file1"},{"photo_id":"1326866834","filename":"file0"},{"photo_id":"1326866874","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866834":["hashtag1","hashtag2"]},{"1326866836":["hashtag1","hashtag2"]},{"1326866874":["hashtag1","hashtag2"]},{"1326866847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866834, 1326866836, 1326866874, 1326866847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.741788148880005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:43:22.349997
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/42/image_05012025_09_42_02_607588_0003.jpg', '/home/pi/Desktop/images/05012025/09/43/image_05012025_09_43_03_155408_0000.jpg', '/home/pi/Desktop/images/05012025/09/43/image_05012025_09_43_03_155408_0001.jpg', '/home/pi/Desktop/images/05012025/09/43/image_05012025_09_43_03_155408_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/09/42/image_05012025_09_42_02_607588_0003.jpg
/home/pi/Desktop/images/05012025/09/43/image_05012025_09_43_03_155408_0000.jpg
/home/pi/Desktop/images/05012025/09/43/image_05012025_09_43_03_155408_0001.jpg
/home/pi/Desktop/images/05012025/09/43/image_05012025_09_43_03_155408_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866887","1326866884","1326866889","1326866891"],"photo_ids_order":["1326866884","1326866887","1326866889","1326866891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0d9b1cf551914f9487c6a96355efdac1.jpg","text":"TemporaryFile(/tmp/multipartBody4423260798972932240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066672710,"filename":"image_05012025_09_43_03_155408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11a84a4fc8e28ebd76d045eb221b6faa.jpg","text":"TemporaryFile(/tmp/multipartBody2674590694634233119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066672710,"filename":"image_05012025_09_42_02_607588_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dd379591c730918c1a757e157e5648da.jpg","text":"TemporaryFile(/tmp/multipartBody841866692309147859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066672710,"filename":"image_05012025_09_43_03_155408_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/06bb2336972e53b47363b881f87e1b03.jpg","text":"TemporaryFile(/tmp/multipartBody3176172463860827945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066672710,"filename":"image_05012025_09_43_03_155408_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866889","file1":"1326866887","file0":"1326866884","file3":"1326866891"},"map_files_photo_id_array":[{"photo_id":"1326866889","filename":"file2"},{"photo_id":"1326866887","filename":"file1"},{"photo_id":"1326866884","filename":"file0"},{"photo_id":"1326866891","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866887":["hashtag1","hashtag2"]},{"1326866884":["hashtag1","hashtag2"]},{"1326866889":["hashtag1","hashtag2"]},{"1326866891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866887, 1326866884, 1326866889, 1326866891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.47279739379883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:44:21.831540
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/43/image_05012025_09_43_03_155408_0003.jpg', '/home/pi/Desktop/images/05012025/09/44/image_05012025_09_44_02_661830_0000.jpg', '/home/pi/Desktop/images/05012025/09/44/image_05012025_09_44_02_661830_0001.jpg', '/home/pi/Desktop/images/05012025/09/44/image_05012025_09_44_02_661830_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/09/43/image_05012025_09_43_03_155408_0003.jpg
/home/pi/Desktop/images/05012025/09/44/image_05012025_09_44_02_661830_0000.jpg
/home/pi/Desktop/images/05012025/09/44/image_05012025_09_44_02_661830_0001.jpg
/home/pi/Desktop/images/05012025/09/44/image_05012025_09_44_02_661830_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866910","1326866904","1326866913","1326866907"],"photo_ids_order":["1326866904","1326866907","1326866910","1326866913"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0b81c13a2e02132882623658fa27e3d4.jpg","text":"TemporaryFile(/tmp/multipartBody3528850913733957425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066732077,"filename":"image_05012025_09_44_02_661830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/75f212217a53c25c5766dacba700fa40.jpg","text":"TemporaryFile(/tmp/multipartBody4487329206192526148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066732077,"filename":"image_05012025_09_43_03_155408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cdbd6eb2accb98e0947901f17c7add15.jpg","text":"TemporaryFile(/tmp/multipartBody1291287402965012163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066732077,"filename":"image_05012025_09_44_02_661830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/67e812c5585c1e70b5870b69c7fcb0d9.jpg","text":"TemporaryFile(/tmp/multipartBody543349986234451211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066732077,"filename":"image_05012025_09_44_02_661830_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866910","file1":"1326866907","file0":"1326866904","file3":"1326866913"},"map_files_photo_id_array":[{"photo_id":"1326866910","filename":"file2"},{"photo_id":"1326866907","filename":"file1"},{"photo_id":"1326866904","filename":"file0"},{"photo_id":"1326866913","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866910":["hashtag1","hashtag2"]},{"1326866904":["hashtag1","hashtag2"]},{"1326866913":["hashtag1","hashtag2"]},{"1326866907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866910, 1326866904, 1326866913, 1326866907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02537965774536 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-05 09:45:22.294923
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/44/image_05012025_09_44_02_661830_0003.jpg', '/home/pi/Desktop/images/05012025/09/45/image_05012025_09_45_02_168960_0000.jpg', '/home/pi/Desktop/images/05012025/09/45/image_05012025_09_45_02_168960_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/09/44/image_05012025_09_44_02_661830_0003.jpg
/home/pi/Desktop/images/05012025/09/45/image_05012025_09_45_02_168960_0000.jpg
/home/pi/Desktop/images/05012025/09/45/image_05012025_09_45_02_168960_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866921","1326866923","1326866920"],"photo_ids_order":["1326866920","1326866921","1326866923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b763364b2ccc0c78736f43121f016182.jpg","text":"TemporaryFile(/tmp/multipartBody5948974757062125708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066790058,"filename":"image_05012025_09_45_02_168960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/414c579733b5efd4cefb1dc6177c7a36.jpg","text":"TemporaryFile(/tmp/multipartBody7368122790848635348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066790058,"filename":"image_05012025_09_45_02_168960_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dbed4b264b60816f2bb0ef07632e8fe8.jpg","text":"TemporaryFile(/tmp/multipartBody2797985473749587098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066790058,"filename":"image_05012025_09_44_02_661830_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866923","file1":"1326866921","file0":"1326866920"},"map_files_photo_id_array":[{"photo_id":"1326866923","filename":"file2"},{"photo_id":"1326866921","filename":"file1"},{"photo_id":"1326866920","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866921":["hashtag1","hashtag2"]},{"1326866923":["hashtag1","hashtag2"]},{"1326866920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866921, 1326866923, 1326866920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.72020411491394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:46:02.205162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:46:21.805586
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/45/image_05012025_09_45_02_168960_0002.jpg', '/home/pi/Desktop/images/05012025/09/46/image_05012025_09_46_02_685430_0000.jpg', '/home/pi/Desktop/images/05012025/09/46/image_05012025_09_46_02_685430_0001.jpg', '/home/pi/Desktop/images/05012025/09/46/image_05012025_09_46_02_685430_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/09/45/image_05012025_09_45_02_168960_0002.jpg
/home/pi/Desktop/images/05012025/09/46/image_05012025_09_46_02_685430_0000.jpg
/home/pi/Desktop/images/05012025/09/46/image_05012025_09_46_02_685430_0001.jpg
/home/pi/Desktop/images/05012025/09/46/image_05012025_09_46_02_685430_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326866971","1326866979","1326866973","1326866976"],"photo_ids_order":["1326866971","1326866973","1326866976","1326866979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/57f3179b4cff33061dbca3914b069175.jpg","text":"TemporaryFile(/tmp/multipartBody8812547004073685796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066851951,"filename":"image_05012025_09_45_02_168960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ace725e8c016c7ea680df404f8abd4f8.jpg","text":"TemporaryFile(/tmp/multipartBody4360468785941753584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066851951,"filename":"image_05012025_09_46_02_685430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d58a806459bdf49c63884a89df1f148b.jpg","text":"TemporaryFile(/tmp/multipartBody7688219628934457017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066851951,"filename":"image_05012025_09_46_02_685430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a47d59f9791d0bfd49deed041f0f2ffa.jpg","text":"TemporaryFile(/tmp/multipartBody8137839793634177938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066851951,"filename":"image_05012025_09_46_02_685430_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326866976","file1":"1326866973","file0":"1326866971","file3":"1326866979"},"map_files_photo_id_array":[{"photo_id":"1326866976","filename":"file2"},{"photo_id":"1326866973","filename":"file1"},{"photo_id":"1326866971","filename":"file0"},{"photo_id":"1326866979","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326866971":["hashtag1","hashtag2"]},{"1326866979":["hashtag1","hashtag2"]},{"1326866973":["hashtag1","hashtag2"]},{"1326866976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326866971, 1326866979, 1326866973, 1326866976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.5713312625885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:47:02.847482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:47:22.187372
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/46/image_05012025_09_46_02_685430_0003.jpg', '/home/pi/Desktop/images/05012025/09/47/image_05012025_09_47_02_132787_0000.jpg', '/home/pi/Desktop/images/05012025/09/47/image_05012025_09_47_02_132787_0001.jpg', '/home/pi/Desktop/images/05012025/09/47/image_05012025_09_47_02_132787_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/09/46/image_05012025_09_46_02_685430_0003.jpg
/home/pi/Desktop/images/05012025/09/47/image_05012025_09_47_02_132787_0000.jpg
/home/pi/Desktop/images/05012025/09/47/image_05012025_09_47_02_132787_0001.jpg
/home/pi/Desktop/images/05012025/09/47/image_05012025_09_47_02_132787_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326867010","1326867012","1326867006","1326867008"],"photo_ids_order":["1326867006","1326867008","1326867010","1326867012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad548985310842c1abc66087b84c790f.jpg","text":"TemporaryFile(/tmp/multipartBody2131734067835400990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066912392,"filename":"image_05012025_09_47_02_132787_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dd8d383ceb8a8134186cc873eccd8e31.jpg","text":"TemporaryFile(/tmp/multipartBody7429600146878629626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066912392,"filename":"image_05012025_09_47_02_132787_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1273a35dc8aa9644baed5ae4def4372f.jpg","text":"TemporaryFile(/tmp/multipartBody8101188486612135478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066912392,"filename":"image_05012025_09_46_02_685430_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4eeac9d6db86c8b9134d87cf888742ef.jpg","text":"TemporaryFile(/tmp/multipartBody1189273613959562087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066912392,"filename":"image_05012025_09_47_02_132787_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326867010","file1":"1326867008","file0":"1326867006","file3":"1326867012"},"map_files_photo_id_array":[{"photo_id":"1326867010","filename":"file2"},{"photo_id":"1326867008","filename":"file1"},{"photo_id":"1326867006","filename":"file0"},{"photo_id":"1326867012","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326867010":["hashtag1","hashtag2"]},{"1326867012":["hashtag1","hashtag2"]},{"1326867006":["hashtag1","hashtag2"]},{"1326867008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326867010, 1326867012, 1326867006, 1326867008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.300745487213135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:48:21.884445
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/47/image_05012025_09_47_02_132787_0003.jpg', '/home/pi/Desktop/images/05012025/09/48/image_05012025_09_48_02_662976_0000.jpg', '/home/pi/Desktop/images/05012025/09/48/image_05012025_09_48_02_662976_0001.jpg', '/home/pi/Desktop/images/05012025/09/48/image_05012025_09_48_02_662976_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/09/47/image_05012025_09_47_02_132787_0003.jpg
/home/pi/Desktop/images/05012025/09/48/image_05012025_09_48_02_662976_0000.jpg
/home/pi/Desktop/images/05012025/09/48/image_05012025_09_48_02_662976_0001.jpg
/home/pi/Desktop/images/05012025/09/48/image_05012025_09_48_02_662976_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326867034","1326867036","1326867039","1326867041"],"photo_ids_order":["1326867034","1326867036","1326867039","1326867041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0fce7c4ff561136c10387fc127b5cfaa.jpg","text":"TemporaryFile(/tmp/multipartBody7058430520986257084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066972243,"filename":"image_05012025_09_47_02_132787_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/60f0301885fd40968ce3eb00a70931ea.jpg","text":"TemporaryFile(/tmp/multipartBody5359922828648185507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066972243,"filename":"image_05012025_09_48_02_662976_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0bf478b6dac292ca5b2f689918774afc.jpg","text":"TemporaryFile(/tmp/multipartBody8473925537188606943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066972243,"filename":"image_05012025_09_48_02_662976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b050c4435f84b21ea117508c0d51c7b9.jpg","text":"TemporaryFile(/tmp/multipartBody657777098481211752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736066972243,"filename":"image_05012025_09_48_02_662976_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326867039","file1":"1326867036","file0":"1326867034","file3":"1326867041"},"map_files_photo_id_array":[{"photo_id":"1326867039","filename":"file2"},{"photo_id":"1326867036","filename":"file1"},{"photo_id":"1326867034","filename":"file0"},{"photo_id":"1326867041","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326867034":["hashtag1","hashtag2"]},{"1326867036":["hashtag1","hashtag2"]},{"1326867039":["hashtag1","hashtag2"]},{"1326867041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326867034, 1326867036, 1326867039, 1326867041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.482959032058716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:49:02.900178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:49:22.404822
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/48/image_05012025_09_48_02_662976_0003.jpg', '/home/pi/Desktop/images/05012025/09/49/image_05012025_09_49_02_275392_0000.jpg', '/home/pi/Desktop/images/05012025/09/49/image_05012025_09_49_02_275392_0001.jpg', '/home/pi/Desktop/images/05012025/09/49/image_05012025_09_49_02_275392_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/09/48/image_05012025_09_48_02_662976_0003.jpg
/home/pi/Desktop/images/05012025/09/49/image_05012025_09_49_02_275392_0000.jpg
/home/pi/Desktop/images/05012025/09/49/image_05012025_09_49_02_275392_0001.jpg
/home/pi/Desktop/images/05012025/09/49/image_05012025_09_49_02_275392_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326867049","1326867052","1326867054","1326867047"],"photo_ids_order":["1326867047","1326867049","1326867052","1326867054"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/89b7d346d7f36c2beb2afa12d3c2da40.jpg","text":"TemporaryFile(/tmp/multipartBody5319088366722869803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067032858,"filename":"image_05012025_09_49_02_275392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc26f32583356dbcf3d691faaa74c684.jpg","text":"TemporaryFile(/tmp/multipartBody2900445218867140812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067032858,"filename":"image_05012025_09_49_02_275392_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b497732d2614cb27f6ea977eef1e22fb.jpg","text":"TemporaryFile(/tmp/multipartBody657700441747056019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067032858,"filename":"image_05012025_09_49_02_275392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7a13cd63e32c565fd0cd1ee9027d1bd6.jpg","text":"TemporaryFile(/tmp/multipartBody720969552149921288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067032858,"filename":"image_05012025_09_48_02_662976_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326867052","file1":"1326867049","file0":"1326867047","file3":"1326867054"},"map_files_photo_id_array":[{"photo_id":"1326867052","filename":"file2"},{"photo_id":"1326867049","filename":"file1"},{"photo_id":"1326867047","filename":"file0"},{"photo_id":"1326867054","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326867049":["hashtag1","hashtag2"]},{"1326867052":["hashtag1","hashtag2"]},{"1326867054":["hashtag1","hashtag2"]},{"1326867047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326867049, 1326867052, 1326867054, 1326867047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44625520706177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:50:22.057750
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/49/image_05012025_09_49_02_275392_0003.jpg', '/home/pi/Desktop/images/05012025/09/50/image_05012025_09_50_02_749767_0000.jpg', '/home/pi/Desktop/images/05012025/09/50/image_05012025_09_50_02_749767_0001.jpg', '/home/pi/Desktop/images/05012025/09/50/image_05012025_09_50_02_749767_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/09/49/image_05012025_09_49_02_275392_0003.jpg
/home/pi/Desktop/images/05012025/09/50/image_05012025_09_50_02_749767_0000.jpg
/home/pi/Desktop/images/05012025/09/50/image_05012025_09_50_02_749767_0001.jpg
/home/pi/Desktop/images/05012025/09/50/image_05012025_09_50_02_749767_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326867067","1326867061","1326867063","1326867065"],"photo_ids_order":["1326867061","1326867063","1326867065","1326867067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7b08a75a650546ddc3a1b57edfa329bb.jpg","text":"TemporaryFile(/tmp/multipartBody3390844849040177729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067092509,"filename":"image_05012025_09_50_02_749767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d7b1f8ce138c8d71cec5f9d76a2a5b3d.jpg","text":"TemporaryFile(/tmp/multipartBody5241987793498767021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067092509,"filename":"image_05012025_09_49_02_275392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f401536c50f78b16469d54c9bfd8c911.jpg","text":"TemporaryFile(/tmp/multipartBody8644142771144146808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067092509,"filename":"image_05012025_09_50_02_749767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8cc9eed6e3ef08260b0316a83fd1b852.jpg","text":"TemporaryFile(/tmp/multipartBody1178637198196803145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067092509,"filename":"image_05012025_09_50_02_749767_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326867065","file1":"1326867063","file0":"1326867061","file3":"1326867067"},"map_files_photo_id_array":[{"photo_id":"1326867065","filename":"file2"},{"photo_id":"1326867063","filename":"file1"},{"photo_id":"1326867061","filename":"file0"},{"photo_id":"1326867067","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326867067":["hashtag1","hashtag2"]},{"1326867061":["hashtag1","hashtag2"]},{"1326867063":["hashtag1","hashtag2"]},{"1326867065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326867067, 1326867061, 1326867063, 1326867065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.323790073394775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:51:22.573074
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/50/image_05012025_09_50_02_749767_0003.jpg', '/home/pi/Desktop/images/05012025/09/51/image_05012025_09_51_02_426559_0000.jpg', '/home/pi/Desktop/images/05012025/09/51/image_05012025_09_51_02_426559_0001.jpg', '/home/pi/Desktop/images/05012025/09/51/image_05012025_09_51_02_426559_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/09/50/image_05012025_09_50_02_749767_0003.jpg
/home/pi/Desktop/images/05012025/09/51/image_05012025_09_51_02_426559_0000.jpg
/home/pi/Desktop/images/05012025/09/51/image_05012025_09_51_02_426559_0001.jpg
/home/pi/Desktop/images/05012025/09/51/image_05012025_09_51_02_426559_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326867091","1326867093","1326867138","1326867143"],"photo_ids_order":["1326867091","1326867093","1326867138","1326867143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e314960d397caf299a5a3137234793a6.jpg","text":"TemporaryFile(/tmp/multipartBody2738175425749576017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067153269,"filename":"image_05012025_09_50_02_749767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b89a3a4d857687580f0a6d854bc07892.jpg","text":"TemporaryFile(/tmp/multipartBody4953109221263171242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067153269,"filename":"image_05012025_09_51_02_426559_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/274c0e49e916cf93c48b6185c368ff29.jpg","text":"TemporaryFile(/tmp/multipartBody8997409032514952961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067153269,"filename":"image_05012025_09_51_02_426559_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6ad2945bbe4845533a98fffcad6014cc.jpg","text":"TemporaryFile(/tmp/multipartBody4967927869028087738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067153269,"filename":"image_05012025_09_51_02_426559_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326867138","file1":"1326867093","file0":"1326867091","file3":"1326867143"},"map_files_photo_id_array":[{"photo_id":"1326867138","filename":"file2"},{"photo_id":"1326867093","filename":"file1"},{"photo_id":"1326867091","filename":"file0"},{"photo_id":"1326867143","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326867091":["hashtag1","hashtag2"]},{"1326867093":["hashtag1","hashtag2"]},{"1326867138":["hashtag1","hashtag2"]},{"1326867143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326867091, 1326867093, 1326867138, 1326867143)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.05255341529846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 09:52:22.122560
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/51/image_05012025_09_51_02_426559_0003.jpg', '/home/pi/Desktop/images/05012025/09/52/image_05012025_09_52_02_952729_0000.jpg', '/home/pi/Desktop/images/05012025/09/52/image_05012025_09_52_02_952729_0001.jpg', '/home/pi/Desktop/images/05012025/09/52/image_05012025_09_52_02_952729_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/09/51/image_05012025_09_51_02_426559_0003.jpg
/home/pi/Desktop/images/05012025/09/52/image_05012025_09_52_02_952729_0000.jpg
/home/pi/Desktop/images/05012025/09/52/image_05012025_09_52_02_952729_0001.jpg
/home/pi/Desktop/images/05012025/09/52/image_05012025_09_52_02_952729_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.136023759841919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:53:03.148896
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/51/image_05012025_09_51_02_426559_0003.jpg', '/home/pi/Desktop/images/05012025/09/52/image_05012025_09_52_02_952729_0000.jpg', '/home/pi/Desktop/images/05012025/09/52/image_05012025_09_52_02_952729_0001.jpg', '/home/pi/Desktop/images/05012025/09/52/image_05012025_09_52_02_952729_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/09/51/image_05012025_09_51_02_426559_0003.jpg
/home/pi/Desktop/images/05012025/09/52/image_05012025_09_52_02_952729_0000.jpg
/home/pi/Desktop/images/05012025/09/52/image_05012025_09_52_02_952729_0001.jpg
/home/pi/Desktop/images/05012025/09/52/image_05012025_09_52_02_952729_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326867187","1326867185","1326867179","1326867218"],"photo_ids_order":["1326867179","1326867185","1326867187","1326867218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0ad538a9b183650b6fb25f90fc4dca4a.jpg","text":"TemporaryFile(/tmp/multipartBody6073565780906857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067253741,"filename":"image_05012025_09_52_02_952729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/623cf7c16319bf6d548b4194a9742e19.jpg","text":"TemporaryFile(/tmp/multipartBody6952934437010222619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067253741,"filename":"image_05012025_09_52_02_952729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d4cb2c99716d043b690a5f38098baac2.jpg","text":"TemporaryFile(/tmp/multipartBody9144770758226284649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067253741,"filename":"image_05012025_09_51_02_426559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/764dce873716c3c9ce0374598e50935d.jpg","text":"TemporaryFile(/tmp/multipartBody3767859805555623350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067253741,"filename":"image_05012025_09_52_02_952729_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326867187","file1":"1326867185","file0":"1326867179","file3":"1326867218"},"map_files_photo_id_array":[{"photo_id":"1326867187","filename":"file2"},{"photo_id":"1326867185","filename":"file1"},{"photo_id":"1326867179","filename":"file0"},{"photo_id":"1326867218","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326867187":["hashtag1","hashtag2"]},{"1326867185":["hashtag1","hashtag2"]},{"1326867179":["hashtag1","hashtag2"]},{"1326867218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326867187, 1326867185, 1326867179, 1326867218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.77164077758789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:54:02.718022
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/52/image_05012025_09_52_02_952729_0003.jpg', '/home/pi/Desktop/images/05012025/09/53/image_05012025_09_53_02_454181_0000.jpg', '/home/pi/Desktop/images/05012025/09/53/image_05012025_09_53_02_454181_0001.jpg', '/home/pi/Desktop/images/05012025/09/53/image_05012025_09_53_02_454181_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/09/52/image_05012025_09_52_02_952729_0003.jpg
/home/pi/Desktop/images/05012025/09/53/image_05012025_09_53_02_454181_0000.jpg
/home/pi/Desktop/images/05012025/09/53/image_05012025_09_53_02_454181_0001.jpg
/home/pi/Desktop/images/05012025/09/53/image_05012025_09_53_02_454181_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326867226","1326867225","1326867228","1326867230"],"photo_ids_order":["1326867225","1326867226","1326867228","1326867230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66da9df3de8c55b9e7bc426efdfb7585.jpg","text":"TemporaryFile(/tmp/multipartBody5454672697152231648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067313066,"filename":"image_05012025_09_53_02_454181_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/82634d047c6f977f0ec0ac0127641330.jpg","text":"TemporaryFile(/tmp/multipartBody1056741282077019316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067313066,"filename":"image_05012025_09_52_02_952729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/45be85880523247c83709a1e31e6e00e.jpg","text":"TemporaryFile(/tmp/multipartBody3714432408756861528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067313066,"filename":"image_05012025_09_53_02_454181_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2d3a68f9ef54c650d4685ef944c9963b.jpg","text":"TemporaryFile(/tmp/multipartBody1163254031442582403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067313066,"filename":"image_05012025_09_53_02_454181_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326867228","file1":"1326867226","file0":"1326867225","file3":"1326867230"},"map_files_photo_id_array":[{"photo_id":"1326867228","filename":"file2"},{"photo_id":"1326867226","filename":"file1"},{"photo_id":"1326867225","filename":"file0"},{"photo_id":"1326867230","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326867226":["hashtag1","hashtag2"]},{"1326867225":["hashtag1","hashtag2"]},{"1326867228":["hashtag1","hashtag2"]},{"1326867230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326867226, 1326867225, 1326867228, 1326867230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.215954303741455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:55:02.437847
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/53/image_05012025_09_53_02_454181_0003.jpg', '/home/pi/Desktop/images/05012025/09/54/image_05012025_09_54_02_989766_0000.jpg', '/home/pi/Desktop/images/05012025/09/54/image_05012025_09_54_02_989766_0001.jpg', '/home/pi/Desktop/images/05012025/09/54/image_05012025_09_54_02_989766_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/09/53/image_05012025_09_53_02_454181_0003.jpg
/home/pi/Desktop/images/05012025/09/54/image_05012025_09_54_02_989766_0000.jpg
/home/pi/Desktop/images/05012025/09/54/image_05012025_09_54_02_989766_0001.jpg
/home/pi/Desktop/images/05012025/09/54/image_05012025_09_54_02_989766_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326867310","1326867313","1326867312","1326867309"],"photo_ids_order":["1326867309","1326867310","1326867312","1326867313"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/86b51f6cc92619bfb03790313ddad58a.jpg","text":"TemporaryFile(/tmp/multipartBody1822278074021535276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067372952,"filename":"image_05012025_09_54_02_989766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc5a36c5f436b4d2de907e742220bf41.jpg","text":"TemporaryFile(/tmp/multipartBody1132638114677305363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067372952,"filename":"image_05012025_09_54_02_989766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b7ded3433f236c12ee7f2c7db2d9d71.jpg","text":"TemporaryFile(/tmp/multipartBody2579800219242413022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067372952,"filename":"image_05012025_09_54_02_989766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e67625627bbe6136d4b5099f34f48218.jpg","text":"TemporaryFile(/tmp/multipartBody5065040255449774884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067372952,"filename":"image_05012025_09_53_02_454181_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326867312","file1":"1326867310","file0":"1326867309","file3":"1326867313"},"map_files_photo_id_array":[{"photo_id":"1326867312","filename":"file2"},{"photo_id":"1326867310","filename":"file1"},{"photo_id":"1326867309","filename":"file0"},{"photo_id":"1326867313","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326867310":["hashtag1","hashtag2"]},{"1326867313":["hashtag1","hashtag2"]},{"1326867312":["hashtag1","hashtag2"]},{"1326867309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326867310, 1326867313, 1326867312, 1326867309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.61603355407715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:56:02.839355
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/54/image_05012025_09_54_02_989766_0003.jpg', '/home/pi/Desktop/images/05012025/09/55/image_05012025_09_55_02_655478_0000.jpg', '/home/pi/Desktop/images/05012025/09/55/image_05012025_09_55_02_655478_0001.jpg', '/home/pi/Desktop/images/05012025/09/55/image_05012025_09_55_02_655478_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/09/54/image_05012025_09_54_02_989766_0003.jpg
/home/pi/Desktop/images/05012025/09/55/image_05012025_09_55_02_655478_0000.jpg
/home/pi/Desktop/images/05012025/09/55/image_05012025_09_55_02_655478_0001.jpg
/home/pi/Desktop/images/05012025/09/55/image_05012025_09_55_02_655478_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326867970","1326867928","1326867859","1326867706"],"photo_ids_order":["1326867706","1326867859","1326867928","1326867970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5efdaf9987b9c3afe43ce69c405a9f57.jpg","text":"TemporaryFile(/tmp/multipartBody7707286456909530080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067432979,"filename":"image_05012025_09_55_02_655478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c3081eb0e0a439d9fee39f7f46627d85.jpg","text":"TemporaryFile(/tmp/multipartBody2374215160052169176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067432979,"filename":"image_05012025_09_55_02_655478_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e8758736220c311fc6a7a5cfc6b0685c.jpg","text":"TemporaryFile(/tmp/multipartBody1093199714664484598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067432979,"filename":"image_05012025_09_55_02_655478_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/87b0408665c9b8f3dc8664fd5be8ebca.jpg","text":"TemporaryFile(/tmp/multipartBody6108797364431608313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067432979,"filename":"image_05012025_09_54_02_989766_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326867928","file1":"1326867859","file0":"1326867706","file3":"1326867970"},"map_files_photo_id_array":[{"photo_id":"1326867928","filename":"file2"},{"photo_id":"1326867859","filename":"file1"},{"photo_id":"1326867706","filename":"file0"},{"photo_id":"1326867970","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326867970":["hashtag1","hashtag2"]},{"1326867928":["hashtag1","hashtag2"]},{"1326867859":["hashtag1","hashtag2"]},{"1326867706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326867970, 1326867928, 1326867859, 1326867706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.844860553741455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:57:02.344296
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/55/image_05012025_09_55_02_655478_0003.jpg', '/home/pi/Desktop/images/05012025/09/56/image_05012025_09_56_02_147989_0000.jpg', '/home/pi/Desktop/images/05012025/09/56/image_05012025_09_56_02_147989_0001.jpg', '/home/pi/Desktop/images/05012025/09/56/image_05012025_09_56_02_147989_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/09/55/image_05012025_09_55_02_655478_0003.jpg
/home/pi/Desktop/images/05012025/09/56/image_05012025_09_56_02_147989_0000.jpg
/home/pi/Desktop/images/05012025/09/56/image_05012025_09_56_02_147989_0001.jpg
/home/pi/Desktop/images/05012025/09/56/image_05012025_09_56_02_147989_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326868030","1326868105","1326868002","1326868001"],"photo_ids_order":["1326868001","1326868002","1326868030","1326868105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a3bcc9c4ae62de4feb7bf186f1d1e134.jpg","text":"TemporaryFile(/tmp/multipartBody1778513346902633758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067492899,"filename":"image_05012025_09_56_02_147989_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cf5df131163ea6786a1e6c60716bc2d1.jpg","text":"TemporaryFile(/tmp/multipartBody6712681143291051577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067492899,"filename":"image_05012025_09_56_02_147989_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3c5e63fcc16d1a25ddbc367695af23ea.jpg","text":"TemporaryFile(/tmp/multipartBody2731914838803165452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067492899,"filename":"image_05012025_09_56_02_147989_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f681a0a52de8293788c6f7b4346ac70.jpg","text":"TemporaryFile(/tmp/multipartBody411829694095521078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067492899,"filename":"image_05012025_09_55_02_655478_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326868030","file1":"1326868002","file0":"1326868001","file3":"1326868105"},"map_files_photo_id_array":[{"photo_id":"1326868030","filename":"file2"},{"photo_id":"1326868002","filename":"file1"},{"photo_id":"1326868001","filename":"file0"},{"photo_id":"1326868105","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326868030":["hashtag1","hashtag2"]},{"1326868105":["hashtag1","hashtag2"]},{"1326868002":["hashtag1","hashtag2"]},{"1326868001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326868030, 1326868105, 1326868002, 1326868001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2839732170105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 09:59:03.398488
SELECT 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/09/56/image_05012025_09_56_02_147989_0003.jpg', '/home/pi/Desktop/images/05012025/09/57/image_05012025_09_57_02_669145_0000.jpg', '/home/pi/Desktop/images/05012025/09/57/image_05012025_09_57_02_669145_0001.jpg', '/home/pi/Desktop/images/05012025/09/57/image_05012025_09_57_02_669145_0002.jpg', '/home/pi/Desktop/images/05012025/09/57/image_05012025_09_57_02_669145_0003.jpg', '/home/pi/Desktop/images/05012025/09/58/image_05012025_09_58_02_178157_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/09/56/image_05012025_09_56_02_147989_0003.jpg
/home/pi/Desktop/images/05012025/09/57/image_05012025_09_57_02_669145_0000.jpg
/home/pi/Desktop/images/05012025/09/57/image_05012025_09_57_02_669145_0001.jpg
/home/pi/Desktop/images/05012025/09/57/image_05012025_09_57_02_669145_0002.jpg
/home/pi/Desktop/images/05012025/09/57/image_05012025_09_57_02_669145_0003.jpg
/home/pi/Desktop/images/05012025/09/58/image_05012025_09_58_02_178157_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":["1326868411","1326868416","1326868419","1326868407","1326868418","1326868399"],"photo_ids_order":["1326868399","1326868407","1326868411","1326868416","1326868418","1326868419"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc2e1a45895a5fcf4eac5cd9a575d6ac.jpg","text":"TemporaryFile(/tmp/multipartBody617563205306849400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067618671,"filename":"image_05012025_09_57_02_669145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/99049c85f183c89cdd0912fc92e96517.jpg","text":"TemporaryFile(/tmp/multipartBody8144735132559454598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067618671,"filename":"image_05012025_09_57_02_669145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5478c40ed6f1ee237ec093a2cd6b5348.jpg","text":"TemporaryFile(/tmp/multipartBody4284977991786129709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067618671,"filename":"image_05012025_09_58_02_178157_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6d009262d1b3122c39d5fa28d3dbd40d.jpg","text":"TemporaryFile(/tmp/multipartBody8275140724677225160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067618671,"filename":"image_05012025_09_57_02_669145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/83807fe95902d6e1feb45bb267c36eb7.jpg","text":"TemporaryFile(/tmp/multipartBody1912257485363589577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067618671,"filename":"image_05012025_09_57_02_669145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7b317d4f3d25b875e0ee5f40b8cd6e68.jpg","text":"TemporaryFile(/tmp/multipartBody8734674558290278595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067618671,"filename":"image_05012025_09_56_02_147989_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326868411","file1":"1326868407","file0":"1326868399","file4":"1326868418","file5":"1326868419","file3":"1326868416"},"map_files_photo_id_array":[{"photo_id":"1326868419","filename":"file5"},{"photo_id":"1326868411","filename":"file2"},{"photo_id":"1326868418","filename":"file4"},{"photo_id":"1326868407","filename":"file1"},{"photo_id":"1326868399","filename":"file0"},{"photo_id":"1326868416","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326868411":["hashtag1","hashtag2"]},{"1326868416":["hashtag1","hashtag2"]},{"1326868419":["hashtag1","hashtag2"]},{"1326868407":["hashtag1","hashtag2"]},{"1326868418":["hashtag1","hashtag2"]},{"1326868399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326868411, 1326868416, 1326868419, 1326868407, 1326868418, 1326868399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.575552463531494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:00:02.329819
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/58/image_05012025_09_58_02_178157_0003.jpg', '/home/pi/Desktop/images/05012025/09/59/image_05012025_09_59_02_862482_0000.jpg', '/home/pi/Desktop/images/05012025/09/59/image_05012025_09_59_02_862482_0001.jpg', '/home/pi/Desktop/images/05012025/09/59/image_05012025_09_59_02_862482_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/09/58/image_05012025_09_58_02_178157_0003.jpg
/home/pi/Desktop/images/05012025/09/59/image_05012025_09_59_02_862482_0000.jpg
/home/pi/Desktop/images/05012025/09/59/image_05012025_09_59_02_862482_0001.jpg
/home/pi/Desktop/images/05012025/09/59/image_05012025_09_59_02_862482_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326868438","1326868432","1326868435","1326868430"],"photo_ids_order":["1326868430","1326868432","1326868435","1326868438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6fd2e27a66e569f7abd8203831324dc6.jpg","text":"TemporaryFile(/tmp/multipartBody6054625711284052899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067672760,"filename":"image_05012025_09_59_02_862482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f92aeb3e1ab3e3133e4ebb2a48ab5763.jpg","text":"TemporaryFile(/tmp/multipartBody699143375008748130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067672760,"filename":"image_05012025_09_59_02_862482_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b1eb24992ead69fb47139b5d5d411125.jpg","text":"TemporaryFile(/tmp/multipartBody6536030736063981313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067672760,"filename":"image_05012025_09_59_02_862482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/38cdce7887be7d2bae87495a3169a167.jpg","text":"TemporaryFile(/tmp/multipartBody8541050505556883030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067672760,"filename":"image_05012025_09_58_02_178157_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326868435","file1":"1326868432","file0":"1326868430","file3":"1326868438"},"map_files_photo_id_array":[{"photo_id":"1326868435","filename":"file2"},{"photo_id":"1326868432","filename":"file1"},{"photo_id":"1326868430","filename":"file0"},{"photo_id":"1326868438","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326868438":["hashtag1","hashtag2"]},{"1326868432":["hashtag1","hashtag2"]},{"1326868435":["hashtag1","hashtag2"]},{"1326868430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326868438, 1326868432, 1326868435, 1326868430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.39976620674133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 10:00:51.917657
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/09/59/image_05012025_09_59_02_862482_0003.jpg', '/home/pi/Desktop/images/05012025/10/00/image_05012025_10_00_03_101757_0000.jpg', '/home/pi/Desktop/images/05012025/10/00/image_05012025_10_00_03_101757_0001.jpg', '/home/pi/Desktop/images/05012025/10/00/image_05012025_10_00_03_101757_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/09/59/image_05012025_09_59_02_862482_0003.jpg
/home/pi/Desktop/images/05012025/10/00/image_05012025_10_00_03_101757_0000.jpg
/home/pi/Desktop/images/05012025/10/00/image_05012025_10_00_03_101757_0001.jpg
/home/pi/Desktop/images/05012025/10/00/image_05012025_10_00_03_101757_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":["1326868504","1326868491","1326868496","1326868500"],"photo_ids_order":["1326868491","1326868496","1326868500","1326868504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/47ba0dbe29acf1f66644362c6a4a8ec9.jpg","text":"TemporaryFile(/tmp/multipartBody2231697137997253245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067722258,"filename":"image_05012025_10_00_03_101757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e32ef25d67706d28a0b785827cd197d3.jpg","text":"TemporaryFile(/tmp/multipartBody3632698403180522747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067722258,"filename":"image_05012025_09_59_02_862482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9abfde5df32ef2f26b48944000612c8e.jpg","text":"TemporaryFile(/tmp/multipartBody4519109573030874823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067722258,"filename":"image_05012025_10_00_03_101757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d2b947117f3167d4988cc5189b36b1a9.jpg","text":"TemporaryFile(/tmp/multipartBody9134455572874977585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067722258,"filename":"image_05012025_10_00_03_101757_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326868500","file1":"1326868496","file0":"1326868491","file3":"1326868504"},"map_files_photo_id_array":[{"photo_id":"1326868500","filename":"file2"},{"photo_id":"1326868496","filename":"file1"},{"photo_id":"1326868491","filename":"file0"},{"photo_id":"1326868504","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326868504":["hashtag1","hashtag2"]},{"1326868491":["hashtag1","hashtag2"]},{"1326868496":["hashtag1","hashtag2"]},{"1326868500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326868504, 1326868491, 1326868496, 1326868500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.811978578567505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 10:01:32.050619
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/00/image_05012025_10_00_03_101757_0003.jpg', '/home/pi/Desktop/images/05012025/10/01/image_05012025_10_01_02_308965_0000.jpg', '/home/pi/Desktop/images/05012025/10/01/image_05012025_10_01_02_308965_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/10/00/image_05012025_10_00_03_101757_0003.jpg
/home/pi/Desktop/images/05012025/10/01/image_05012025_10_01_02_308965_0000.jpg
/home/pi/Desktop/images/05012025/10/01/image_05012025_10_01_02_308965_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":["1326868558","1326868545","1326868536"],"photo_ids_order":["1326868536","1326868545","1326868558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ffc04e23e68d905c05b777c11d9f4636.jpg","text":"TemporaryFile(/tmp/multipartBody4360963991256125962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067760115,"filename":"image_05012025_10_01_02_308965_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cd7b26e164ea036829e4de4ca8c7874e.jpg","text":"TemporaryFile(/tmp/multipartBody441898839420918237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067760115,"filename":"image_05012025_10_01_02_308965_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c10a8e200a2052c70e15544076eebe24.jpg","text":"TemporaryFile(/tmp/multipartBody2358651688532844252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067760115,"filename":"image_05012025_10_00_03_101757_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326868558","file1":"1326868545","file0":"1326868536"},"map_files_photo_id_array":[{"photo_id":"1326868558","filename":"file2"},{"photo_id":"1326868545","filename":"file1"},{"photo_id":"1326868536","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326868558":["hashtag1","hashtag2"]},{"1326868545":["hashtag1","hashtag2"]},{"1326868536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326868558, 1326868545, 1326868536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.144994020462036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:02:22.311591
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/01/image_05012025_10_01_02_308965_0003.jpg', '/home/pi/Desktop/images/05012025/10/02/image_05012025_10_02_02_418094_0000.jpg', '/home/pi/Desktop/images/05012025/10/02/image_05012025_10_02_02_418094_0001.jpg', '/home/pi/Desktop/images/05012025/10/02/image_05012025_10_02_02_418094_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/10/01/image_05012025_10_01_02_308965_0003.jpg
/home/pi/Desktop/images/05012025/10/02/image_05012025_10_02_02_418094_0000.jpg
/home/pi/Desktop/images/05012025/10/02/image_05012025_10_02_02_418094_0001.jpg
/home/pi/Desktop/images/05012025/10/02/image_05012025_10_02_02_418094_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326868615","1326868608","1326868611","1326868613"],"photo_ids_order":["1326868608","1326868611","1326868613","1326868615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/51d39ea52cbb8f866a505ea66707dbd4.jpg","text":"TemporaryFile(/tmp/multipartBody7109525941843235154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067812600,"filename":"image_05012025_10_02_02_418094_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bce148fdadd35c569b31cb06600b933a.jpg","text":"TemporaryFile(/tmp/multipartBody1935715218031503990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067812600,"filename":"image_05012025_10_01_02_308965_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/26017bdb28ffac78c338c89e424493da.jpg","text":"TemporaryFile(/tmp/multipartBody2248755443902535640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067812600,"filename":"image_05012025_10_02_02_418094_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/695f3b7d72842a0e83d2d60c69ea60d9.jpg","text":"TemporaryFile(/tmp/multipartBody5137670098412540486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067812600,"filename":"image_05012025_10_02_02_418094_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326868613","file1":"1326868611","file0":"1326868608","file3":"1326868615"},"map_files_photo_id_array":[{"photo_id":"1326868613","filename":"file2"},{"photo_id":"1326868611","filename":"file1"},{"photo_id":"1326868608","filename":"file0"},{"photo_id":"1326868615","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326868615":["hashtag1","hashtag2"]},{"1326868608":["hashtag1","hashtag2"]},{"1326868611":["hashtag1","hashtag2"]},{"1326868613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326868615, 1326868608, 1326868611, 1326868613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51638603210449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:03:03.039569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:03:22.474095
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/02/image_05012025_10_02_02_418094_0003.jpg', '/home/pi/Desktop/images/05012025/10/03/image_05012025_10_03_02_632766_0000.jpg', '/home/pi/Desktop/images/05012025/10/03/image_05012025_10_03_02_632766_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/10/02/image_05012025_10_02_02_418094_0003.jpg
/home/pi/Desktop/images/05012025/10/03/image_05012025_10_03_02_632766_0000.jpg
/home/pi/Desktop/images/05012025/10/03/image_05012025_10_03_02_632766_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326868630","1326868743","1326868626"],"photo_ids_order":["1326868626","1326868630","1326868743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9fd494e1f5e31d550d0b9dbf9cf0058d.jpg","text":"TemporaryFile(/tmp/multipartBody2124538794414872448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067870528,"filename":"image_05012025_10_03_02_632766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b957dcfc996ae54903672c5284d485c5.jpg","text":"TemporaryFile(/tmp/multipartBody9064183359032671864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067870528,"filename":"image_05012025_10_03_02_632766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eebe93f41f40aeb946b7f7b1afa3bbe1.jpg","text":"TemporaryFile(/tmp/multipartBody1618944053047458396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067870528,"filename":"image_05012025_10_02_02_418094_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326868743","file1":"1326868630","file0":"1326868626"},"map_files_photo_id_array":[{"photo_id":"1326868743","filename":"file2"},{"photo_id":"1326868630","filename":"file1"},{"photo_id":"1326868626","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326868630":["hashtag1","hashtag2"]},{"1326868743":["hashtag1","hashtag2"]},{"1326868626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326868630, 1326868743, 1326868626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.24901819229126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:04:03.098536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:04:22.696788
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/03/image_05012025_10_03_02_632766_0003.jpg', '/home/pi/Desktop/images/05012025/10/04/image_05012025_10_04_02_834710_0000.jpg', '/home/pi/Desktop/images/05012025/10/04/image_05012025_10_04_02_834710_0001.jpg', '/home/pi/Desktop/images/05012025/10/04/image_05012025_10_04_02_834710_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/10/03/image_05012025_10_03_02_632766_0003.jpg
/home/pi/Desktop/images/05012025/10/04/image_05012025_10_04_02_834710_0000.jpg
/home/pi/Desktop/images/05012025/10/04/image_05012025_10_04_02_834710_0001.jpg
/home/pi/Desktop/images/05012025/10/04/image_05012025_10_04_02_834710_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326868875","1326868871","1326868868","1326868873"],"photo_ids_order":["1326868868","1326868871","1326868873","1326868875"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8ecf6fdcac240c3e75e35f45038d1679.jpg","text":"TemporaryFile(/tmp/multipartBody6795082990860499130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067932913,"filename":"image_05012025_10_04_02_834710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bf344a3060b9b04ffadc2c76b0969b6a.jpg","text":"TemporaryFile(/tmp/multipartBody1353537436517808236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067932913,"filename":"image_05012025_10_04_02_834710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e1bbe2a4e43add8b207c1b8d625ba18.jpg","text":"TemporaryFile(/tmp/multipartBody8644966936055848832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067932913,"filename":"image_05012025_10_03_02_632766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/17648ca20673fb0a82a36cfaca561f68.jpg","text":"TemporaryFile(/tmp/multipartBody1924276659332454028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067932913,"filename":"image_05012025_10_04_02_834710_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326868873","file1":"1326868871","file0":"1326868868","file3":"1326868875"},"map_files_photo_id_array":[{"photo_id":"1326868873","filename":"file2"},{"photo_id":"1326868871","filename":"file1"},{"photo_id":"1326868868","filename":"file0"},{"photo_id":"1326868875","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326868875":["hashtag1","hashtag2"]},{"1326868871":["hashtag1","hashtag2"]},{"1326868868":["hashtag1","hashtag2"]},{"1326868873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326868875, 1326868871, 1326868868, 1326868873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.16343879699707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:05:02.420828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:05:21.840292
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/04/image_05012025_10_04_02_834710_0003.jpg', '/home/pi/Desktop/images/05012025/10/05/image_05012025_10_05_03_087265_0000.jpg', '/home/pi/Desktop/images/05012025/10/05/image_05012025_10_05_03_087265_0001.jpg', '/home/pi/Desktop/images/05012025/10/05/image_05012025_10_05_03_087265_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/10/04/image_05012025_10_04_02_834710_0003.jpg
/home/pi/Desktop/images/05012025/10/05/image_05012025_10_05_03_087265_0000.jpg
/home/pi/Desktop/images/05012025/10/05/image_05012025_10_05_03_087265_0001.jpg
/home/pi/Desktop/images/05012025/10/05/image_05012025_10_05_03_087265_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326868893","1326868886","1326868889","1326868891"],"photo_ids_order":["1326868886","1326868889","1326868891","1326868893"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e1e4d0dd5c1b5ae8e7fe66198214af2f.jpg","text":"TemporaryFile(/tmp/multipartBody959426689302403736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067992111,"filename":"image_05012025_10_05_03_087265_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6bbb7603feaf055fa9daf0861a5790f0.jpg","text":"TemporaryFile(/tmp/multipartBody27326827340166733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067992111,"filename":"image_05012025_10_04_02_834710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c072103ba02c5478348a4ffa6f52f376.jpg","text":"TemporaryFile(/tmp/multipartBody1935738086552018113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067992111,"filename":"image_05012025_10_05_03_087265_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb33a7850d535fe3059303ad7529af53.jpg","text":"TemporaryFile(/tmp/multipartBody223467396104938685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736067992111,"filename":"image_05012025_10_05_03_087265_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326868891","file1":"1326868889","file0":"1326868886","file3":"1326868893"},"map_files_photo_id_array":[{"photo_id":"1326868891","filename":"file2"},{"photo_id":"1326868889","filename":"file1"},{"photo_id":"1326868886","filename":"file0"},{"photo_id":"1326868893","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326868893":["hashtag1","hashtag2"]},{"1326868886":["hashtag1","hashtag2"]},{"1326868889":["hashtag1","hashtag2"]},{"1326868891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326868893, 1326868886, 1326868889, 1326868891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.23109459877014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:06:22.010235
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/05/image_05012025_10_05_03_087265_0003.jpg', '/home/pi/Desktop/images/05012025/10/06/image_05012025_10_06_02_188411_0000.jpg', '/home/pi/Desktop/images/05012025/10/06/image_05012025_10_06_02_188411_0001.jpg', '/home/pi/Desktop/images/05012025/10/06/image_05012025_10_06_02_188411_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/10/05/image_05012025_10_05_03_087265_0003.jpg
/home/pi/Desktop/images/05012025/10/06/image_05012025_10_06_02_188411_0000.jpg
/home/pi/Desktop/images/05012025/10/06/image_05012025_10_06_02_188411_0001.jpg
/home/pi/Desktop/images/05012025/10/06/image_05012025_10_06_02_188411_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326868927","1326868900","1326868911","1326868929"],"photo_ids_order":["1326868900","1326868911","1326868927","1326868929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/127a0a83d769810d265d9f539b428da9.jpg","text":"TemporaryFile(/tmp/multipartBody4465534555182160682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068052417,"filename":"image_05012025_10_06_02_188411_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ec15fa3c9eba4fffa76aa6cdf5080ce9.jpg","text":"TemporaryFile(/tmp/multipartBody7476294006644030381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068052417,"filename":"image_05012025_10_05_03_087265_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/48042d17f7a7ed81609de47108299681.jpg","text":"TemporaryFile(/tmp/multipartBody3721674399539913942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068052417,"filename":"image_05012025_10_06_02_188411_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3ca2f8d10107527925f28d03138fc741.jpg","text":"TemporaryFile(/tmp/multipartBody6601725435354814336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068052417,"filename":"image_05012025_10_06_02_188411_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326868927","file1":"1326868911","file0":"1326868900","file3":"1326868929"},"map_files_photo_id_array":[{"photo_id":"1326868927","filename":"file2"},{"photo_id":"1326868911","filename":"file1"},{"photo_id":"1326868900","filename":"file0"},{"photo_id":"1326868929","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326868927":["hashtag1","hashtag2"]},{"1326868900":["hashtag1","hashtag2"]},{"1326868911":["hashtag1","hashtag2"]},{"1326868929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326868927, 1326868900, 1326868911, 1326868929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.808332443237305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:07:22.214683
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/06/image_05012025_10_06_02_188411_0003.jpg', '/home/pi/Desktop/images/05012025/10/07/image_05012025_10_07_02_387410_0000.jpg', '/home/pi/Desktop/images/05012025/10/07/image_05012025_10_07_02_387410_0001.jpg', '/home/pi/Desktop/images/05012025/10/07/image_05012025_10_07_02_387410_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/10/06/image_05012025_10_06_02_188411_0003.jpg
/home/pi/Desktop/images/05012025/10/07/image_05012025_10_07_02_387410_0000.jpg
/home/pi/Desktop/images/05012025/10/07/image_05012025_10_07_02_387410_0001.jpg
/home/pi/Desktop/images/05012025/10/07/image_05012025_10_07_02_387410_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326868941","1326868935","1326868937","1326868939"],"photo_ids_order":["1326868935","1326868937","1326868939","1326868941"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/00eee434d6baa990a12dfde3a300eaa2.jpg","text":"TemporaryFile(/tmp/multipartBody2604010626623674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068112590,"filename":"image_05012025_10_07_02_387410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/33144be13a95e40435d0f829027abddc.jpg","text":"TemporaryFile(/tmp/multipartBody6102620373669003880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068112590,"filename":"image_05012025_10_06_02_188411_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c22616189e9034cdcd7d572cc935862f.jpg","text":"TemporaryFile(/tmp/multipartBody2326501936426907161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068112590,"filename":"image_05012025_10_07_02_387410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4833acd3ec258ae8b549ab4c1d3b1cf3.jpg","text":"TemporaryFile(/tmp/multipartBody7100827550536969062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068112590,"filename":"image_05012025_10_07_02_387410_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326868939","file1":"1326868937","file0":"1326868935","file3":"1326868941"},"map_files_photo_id_array":[{"photo_id":"1326868939","filename":"file2"},{"photo_id":"1326868937","filename":"file1"},{"photo_id":"1326868935","filename":"file0"},{"photo_id":"1326868941","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326868941":["hashtag1","hashtag2"]},{"1326868935":["hashtag1","hashtag2"]},{"1326868937":["hashtag1","hashtag2"]},{"1326868939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326868941, 1326868935, 1326868937, 1326868939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.67009520530701 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-05 10:08:22.368936
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/07/image_05012025_10_07_02_387410_0003.jpg', '/home/pi/Desktop/images/05012025/10/08/image_05012025_10_08_02_593164_0000.jpg', '/home/pi/Desktop/images/05012025/10/08/image_05012025_10_08_02_593164_0001.jpg', '/home/pi/Desktop/images/05012025/10/08/image_05012025_10_08_02_593164_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/10/07/image_05012025_10_07_02_387410_0003.jpg
/home/pi/Desktop/images/05012025/10/08/image_05012025_10_08_02_593164_0000.jpg
/home/pi/Desktop/images/05012025/10/08/image_05012025_10_08_02_593164_0001.jpg
/home/pi/Desktop/images/05012025/10/08/image_05012025_10_08_02_593164_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326868948","1326868950","1326868952","1326868955"],"photo_ids_order":["1326868948","1326868950","1326868952","1326868955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/686a259b394ad0f7119d8b81b3ff1b65.jpg","text":"TemporaryFile(/tmp/multipartBody5851389879571550991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068172832,"filename":"image_05012025_10_07_02_387410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4127492747a9dae616e70895c3e593c1.jpg","text":"TemporaryFile(/tmp/multipartBody3352186523347837960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068172832,"filename":"image_05012025_10_08_02_593164_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cdda02157de70b968bf96a53af2ab836.jpg","text":"TemporaryFile(/tmp/multipartBody5762149413650296381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068172832,"filename":"image_05012025_10_08_02_593164_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f6921dc57314f01fbc9b1002ea9b9eaa.jpg","text":"TemporaryFile(/tmp/multipartBody5741168041297063624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068172832,"filename":"image_05012025_10_08_02_593164_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326868952","file1":"1326868950","file0":"1326868948","file3":"1326868955"},"map_files_photo_id_array":[{"photo_id":"1326868952","filename":"file2"},{"photo_id":"1326868950","filename":"file1"},{"photo_id":"1326868948","filename":"file0"},{"photo_id":"1326868955","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326868948":["hashtag1","hashtag2"]},{"1326868950":["hashtag1","hashtag2"]},{"1326868952":["hashtag1","hashtag2"]},{"1326868955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326868948, 1326868950, 1326868952, 1326868955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.811866760253906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:09:22.619280
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/08/image_05012025_10_08_02_593164_0003.jpg', '/home/pi/Desktop/images/05012025/10/09/image_05012025_10_09_02_790434_0000.jpg', '/home/pi/Desktop/images/05012025/10/09/image_05012025_10_09_02_790434_0001.jpg', '/home/pi/Desktop/images/05012025/10/09/image_05012025_10_09_02_790434_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/10/08/image_05012025_10_08_02_593164_0003.jpg
/home/pi/Desktop/images/05012025/10/09/image_05012025_10_09_02_790434_0000.jpg
/home/pi/Desktop/images/05012025/10/09/image_05012025_10_09_02_790434_0001.jpg
/home/pi/Desktop/images/05012025/10/09/image_05012025_10_09_02_790434_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326868968","1326868970","1326868973","1326868966"],"photo_ids_order":["1326868966","1326868968","1326868970","1326868973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1b391749d533c04338f39807bf2bab91.jpg","text":"TemporaryFile(/tmp/multipartBody2624554043812778700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068233103,"filename":"image_05012025_10_09_02_790434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cacd7ee9641c8ceb2275965e04c377ca.jpg","text":"TemporaryFile(/tmp/multipartBody2205737735614923735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068233103,"filename":"image_05012025_10_09_02_790434_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f864811ca4d2ebf989143de02e9cc55.jpg","text":"TemporaryFile(/tmp/multipartBody2230569482510133416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068233103,"filename":"image_05012025_10_09_02_790434_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8f436c0f788bfff73fa581c2bdca5d58.jpg","text":"TemporaryFile(/tmp/multipartBody7025450494393203565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068233103,"filename":"image_05012025_10_08_02_593164_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326868970","file1":"1326868968","file0":"1326868966","file3":"1326868973"},"map_files_photo_id_array":[{"photo_id":"1326868970","filename":"file2"},{"photo_id":"1326868968","filename":"file1"},{"photo_id":"1326868966","filename":"file0"},{"photo_id":"1326868973","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326868968":["hashtag1","hashtag2"]},{"1326868970":["hashtag1","hashtag2"]},{"1326868973":["hashtag1","hashtag2"]},{"1326868966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326868968, 1326868970, 1326868973, 1326868966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73622131347656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:10:03.197350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:10:22.692652
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/09/image_05012025_10_09_02_790434_0003.jpg', '/home/pi/Desktop/images/05012025/10/10/image_05012025_10_10_02_906571_0000.jpg', '/home/pi/Desktop/images/05012025/10/10/image_05012025_10_10_02_906571_0001.jpg', '/home/pi/Desktop/images/05012025/10/10/image_05012025_10_10_02_906571_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/10/09/image_05012025_10_09_02_790434_0003.jpg
/home/pi/Desktop/images/05012025/10/10/image_05012025_10_10_02_906571_0000.jpg
/home/pi/Desktop/images/05012025/10/10/image_05012025_10_10_02_906571_0001.jpg
/home/pi/Desktop/images/05012025/10/10/image_05012025_10_10_02_906571_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.955393314361572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 10:10:42.689096
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/09/image_05012025_10_09_02_790434_0003.jpg', '/home/pi/Desktop/images/05012025/10/10/image_05012025_10_10_02_906571_0000.jpg', '/home/pi/Desktop/images/05012025/10/10/image_05012025_10_10_02_906571_0001.jpg', '/home/pi/Desktop/images/05012025/10/10/image_05012025_10_10_02_906571_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/10/09/image_05012025_10_09_02_790434_0003.jpg
/home/pi/Desktop/images/05012025/10/10/image_05012025_10_10_02_906571_0000.jpg
/home/pi/Desktop/images/05012025/10/10/image_05012025_10_10_02_906571_0001.jpg
/home/pi/Desktop/images/05012025/10/10/image_05012025_10_10_02_906571_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326869148","1326869150","1326869153","1326869152"],"photo_ids_order":["1326869148","1326869150","1326869152","1326869153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/abb0d45b1001753f9be1dff17408df8c.jpg","text":"TemporaryFile(/tmp/multipartBody2199142241230900719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068313034,"filename":"image_05012025_10_09_02_790434_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e910c5f1df007e5de3fba4b4bfc1e09b.jpg","text":"TemporaryFile(/tmp/multipartBody3945570812891045047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068313034,"filename":"image_05012025_10_10_02_906571_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a5d33429f35d6db5d6cdd4a8ae507e12.jpg","text":"TemporaryFile(/tmp/multipartBody5410096519171407521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068313034,"filename":"image_05012025_10_10_02_906571_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cf075769d96a4736ec9eb5e1376b0263.jpg","text":"TemporaryFile(/tmp/multipartBody7052318981447572519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068313034,"filename":"image_05012025_10_10_02_906571_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326869152","file1":"1326869150","file0":"1326869148","file3":"1326869153"},"map_files_photo_id_array":[{"photo_id":"1326869152","filename":"file2"},{"photo_id":"1326869150","filename":"file1"},{"photo_id":"1326869148","filename":"file0"},{"photo_id":"1326869153","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326869148":["hashtag1","hashtag2"]},{"1326869150":["hashtag1","hashtag2"]},{"1326869153":["hashtag1","hashtag2"]},{"1326869152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326869148, 1326869150, 1326869153, 1326869152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.88627600669861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 10:11:31.850459
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/10/image_05012025_10_10_02_906571_0003.jpg', '/home/pi/Desktop/images/05012025/10/11/image_05012025_10_11_03_052824_0000.jpg', '/home/pi/Desktop/images/05012025/10/11/image_05012025_10_11_03_052824_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/10/10/image_05012025_10_10_02_906571_0003.jpg
/home/pi/Desktop/images/05012025/10/11/image_05012025_10_11_03_052824_0000.jpg
/home/pi/Desktop/images/05012025/10/11/image_05012025_10_11_03_052824_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":["1326869162","1326869165","1326869159"],"photo_ids_order":["1326869159","1326869162","1326869165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d1a164595debae7ea046012fd2984af1.jpg","text":"TemporaryFile(/tmp/multipartBody5322271837683833486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068359685,"filename":"image_05012025_10_11_03_052824_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9b4c94efa88974990907e785274e1b2.jpg","text":"TemporaryFile(/tmp/multipartBody6210012500859014343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068359685,"filename":"image_05012025_10_11_03_052824_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/49d3cc16cb0cb719d6f0b607bc3d7f6c.jpg","text":"TemporaryFile(/tmp/multipartBody3297503002713096682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068359685,"filename":"image_05012025_10_10_02_906571_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326869165","file1":"1326869162","file0":"1326869159"},"map_files_photo_id_array":[{"photo_id":"1326869165","filename":"file2"},{"photo_id":"1326869162","filename":"file1"},{"photo_id":"1326869159","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326869162":["hashtag1","hashtag2"]},{"1326869165":["hashtag1","hashtag2"]},{"1326869159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326869162, 1326869165, 1326869159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.594858407974243 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-05 10:12:22.021961
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/11/image_05012025_10_11_03_052824_0003.jpg', '/home/pi/Desktop/images/05012025/10/12/image_05012025_10_12_02_224171_0000.jpg', '/home/pi/Desktop/images/05012025/10/12/image_05012025_10_12_02_224171_0001.jpg', '/home/pi/Desktop/images/05012025/10/12/image_05012025_10_12_02_224171_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/10/11/image_05012025_10_11_03_052824_0003.jpg
/home/pi/Desktop/images/05012025/10/12/image_05012025_10_12_02_224171_0000.jpg
/home/pi/Desktop/images/05012025/10/12/image_05012025_10_12_02_224171_0001.jpg
/home/pi/Desktop/images/05012025/10/12/image_05012025_10_12_02_224171_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326869283","1326869286","1326869288","1326869201"],"photo_ids_order":["1326869201","1326869283","1326869286","1326869288"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dfe1b0bb57f93fb3051cc6d9097eaf11.jpg","text":"TemporaryFile(/tmp/multipartBody1966131212240542847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068412309,"filename":"image_05012025_10_12_02_224171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fa0937332b868cf2159920d5e8be1e18.jpg","text":"TemporaryFile(/tmp/multipartBody488796713760642441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068412309,"filename":"image_05012025_10_12_02_224171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cd255f812c50b324112781247b99eb90.jpg","text":"TemporaryFile(/tmp/multipartBody2591850030924296679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068412309,"filename":"image_05012025_10_12_02_224171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e56341bf874061badf159f751a64cdd1.jpg","text":"TemporaryFile(/tmp/multipartBody2499817683808665552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068412309,"filename":"image_05012025_10_11_03_052824_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326869286","file1":"1326869283","file0":"1326869201","file3":"1326869288"},"map_files_photo_id_array":[{"photo_id":"1326869286","filename":"file2"},{"photo_id":"1326869283","filename":"file1"},{"photo_id":"1326869201","filename":"file0"},{"photo_id":"1326869288","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326869283":["hashtag1","hashtag2"]},{"1326869286":["hashtag1","hashtag2"]},{"1326869288":["hashtag1","hashtag2"]},{"1326869201":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326869283, 1326869286, 1326869288, 1326869201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.23170018196106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:13:22.298255
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/12/image_05012025_10_12_02_224171_0003.jpg', '/home/pi/Desktop/images/05012025/10/13/image_05012025_10_13_02_434934_0000.jpg', '/home/pi/Desktop/images/05012025/10/13/image_05012025_10_13_02_434934_0001.jpg', '/home/pi/Desktop/images/05012025/10/13/image_05012025_10_13_02_434934_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/10/12/image_05012025_10_12_02_224171_0003.jpg
/home/pi/Desktop/images/05012025/10/13/image_05012025_10_13_02_434934_0000.jpg
/home/pi/Desktop/images/05012025/10/13/image_05012025_10_13_02_434934_0001.jpg
/home/pi/Desktop/images/05012025/10/13/image_05012025_10_13_02_434934_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326869328","1326869330","1326869333","1326869335"],"photo_ids_order":["1326869328","1326869330","1326869333","1326869335"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/57714bbf223e786813fa70f2bca6c3e7.jpg","text":"TemporaryFile(/tmp/multipartBody3049566182964831233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068472675,"filename":"image_05012025_10_12_02_224171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a318af1a5639df3e8e28a73f56110a0.jpg","text":"TemporaryFile(/tmp/multipartBody1134749449955759503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068472675,"filename":"image_05012025_10_13_02_434934_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2cfcbee36f924a787ada6ecfe73c5101.jpg","text":"TemporaryFile(/tmp/multipartBody3133662455490130394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068472675,"filename":"image_05012025_10_13_02_434934_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b586590f9780f523efcbf63976e48b5.jpg","text":"TemporaryFile(/tmp/multipartBody7321316539717505993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068472675,"filename":"image_05012025_10_13_02_434934_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326869333","file1":"1326869330","file0":"1326869328","file3":"1326869335"},"map_files_photo_id_array":[{"photo_id":"1326869333","filename":"file2"},{"photo_id":"1326869330","filename":"file1"},{"photo_id":"1326869328","filename":"file0"},{"photo_id":"1326869335","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326869328":["hashtag1","hashtag2"]},{"1326869330":["hashtag1","hashtag2"]},{"1326869333":["hashtag1","hashtag2"]},{"1326869335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326869328, 1326869330, 1326869333, 1326869335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.24711346626282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:14:22.440705
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/13/image_05012025_10_13_02_434934_0003.jpg', '/home/pi/Desktop/images/05012025/10/14/image_05012025_10_14_02_567125_0000.jpg', '/home/pi/Desktop/images/05012025/10/14/image_05012025_10_14_02_567125_0001.jpg', '/home/pi/Desktop/images/05012025/10/14/image_05012025_10_14_02_567125_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/10/13/image_05012025_10_13_02_434934_0003.jpg
/home/pi/Desktop/images/05012025/10/14/image_05012025_10_14_02_567125_0000.jpg
/home/pi/Desktop/images/05012025/10/14/image_05012025_10_14_02_567125_0001.jpg
/home/pi/Desktop/images/05012025/10/14/image_05012025_10_14_02_567125_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326869352","1326869354","1326869348","1326869350"],"photo_ids_order":["1326869348","1326869350","1326869352","1326869354"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/093cba65f8d0c15e5839983dce5ef3e3.jpg","text":"TemporaryFile(/tmp/multipartBody7577963084575663184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068532866,"filename":"image_05012025_10_14_02_567125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/480bfddf6d0ba46f809aee739d30c624.jpg","text":"TemporaryFile(/tmp/multipartBody7177037889316147203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068532866,"filename":"image_05012025_10_14_02_567125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6dce9f3e6a2015007b4fb2d1716d5c8a.jpg","text":"TemporaryFile(/tmp/multipartBody5151629073696682527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068532866,"filename":"image_05012025_10_13_02_434934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4d1d4b1d002d4ed41e223e3e49e5ad40.jpg","text":"TemporaryFile(/tmp/multipartBody5250089361520644113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068532866,"filename":"image_05012025_10_14_02_567125_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326869352","file1":"1326869350","file0":"1326869348","file3":"1326869354"},"map_files_photo_id_array":[{"photo_id":"1326869352","filename":"file2"},{"photo_id":"1326869350","filename":"file1"},{"photo_id":"1326869348","filename":"file0"},{"photo_id":"1326869354","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326869352":["hashtag1","hashtag2"]},{"1326869354":["hashtag1","hashtag2"]},{"1326869348":["hashtag1","hashtag2"]},{"1326869350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326869352, 1326869354, 1326869348, 1326869350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.5426561832428 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-05 10:15:22.549692
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/14/image_05012025_10_14_02_567125_0003.jpg', '/home/pi/Desktop/images/05012025/10/15/image_05012025_10_15_02_804455_0000.jpg', '/home/pi/Desktop/images/05012025/10/15/image_05012025_10_15_02_804455_0001.jpg', '/home/pi/Desktop/images/05012025/10/15/image_05012025_10_15_02_804455_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/10/14/image_05012025_10_14_02_567125_0003.jpg
/home/pi/Desktop/images/05012025/10/15/image_05012025_10_15_02_804455_0000.jpg
/home/pi/Desktop/images/05012025/10/15/image_05012025_10_15_02_804455_0001.jpg
/home/pi/Desktop/images/05012025/10/15/image_05012025_10_15_02_804455_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326869375","1326869378","1326869372","1326869389"],"photo_ids_order":["1326869372","1326869375","1326869378","1326869389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/df3838cb9f66585bc34192afb2145d03.jpg","text":"TemporaryFile(/tmp/multipartBody1981355667088048127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068592998,"filename":"image_05012025_10_15_02_804455_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f3a15a4622acad908b7b4cd1798ecea2.jpg","text":"TemporaryFile(/tmp/multipartBody8702196085755813532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068592998,"filename":"image_05012025_10_15_02_804455_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/86c142a3684f7414c34d1a3436198b07.jpg","text":"TemporaryFile(/tmp/multipartBody8137732845397313105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068592998,"filename":"image_05012025_10_14_02_567125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bd036746cccb82c0fb0c97b14b1c2e0b.jpg","text":"TemporaryFile(/tmp/multipartBody3609942023911015264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068592998,"filename":"image_05012025_10_15_02_804455_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326869378","file1":"1326869375","file0":"1326869372","file3":"1326869389"},"map_files_photo_id_array":[{"photo_id":"1326869378","filename":"file2"},{"photo_id":"1326869375","filename":"file1"},{"photo_id":"1326869372","filename":"file0"},{"photo_id":"1326869389","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326869375":["hashtag1","hashtag2"]},{"1326869378":["hashtag1","hashtag2"]},{"1326869372":["hashtag1","hashtag2"]},{"1326869389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326869375, 1326869378, 1326869372, 1326869389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67980885505676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:16:03.189101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:16:22.810911
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/15/image_05012025_10_15_02_804455_0003.jpg', '/home/pi/Desktop/images/05012025/10/16/image_05012025_10_16_02_901724_0000.jpg', '/home/pi/Desktop/images/05012025/10/16/image_05012025_10_16_02_901724_0001.jpg', '/home/pi/Desktop/images/05012025/10/16/image_05012025_10_16_02_901724_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/10/15/image_05012025_10_15_02_804455_0003.jpg
/home/pi/Desktop/images/05012025/10/16/image_05012025_10_16_02_901724_0000.jpg
/home/pi/Desktop/images/05012025/10/16/image_05012025_10_16_02_901724_0001.jpg
/home/pi/Desktop/images/05012025/10/16/image_05012025_10_16_02_901724_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326869439","1326869442","1326869435","1326869431"],"photo_ids_order":["1326869431","1326869435","1326869439","1326869442"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dc3f39095495568380e32547810207a5.jpg","text":"TemporaryFile(/tmp/multipartBody5252046858687861499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068653207,"filename":"image_05012025_10_16_02_901724_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e780c816f47aeb5b389cf506f859efa3.jpg","text":"TemporaryFile(/tmp/multipartBody4965442331829762632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068653207,"filename":"image_05012025_10_16_02_901724_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d4c0c482084c8a4b4eef5919e4479249.jpg","text":"TemporaryFile(/tmp/multipartBody6435197195332044295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068653207,"filename":"image_05012025_10_16_02_901724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7462c576bd3e1443b8ce96d6a4d9b514.jpg","text":"TemporaryFile(/tmp/multipartBody7066322769098708585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068653207,"filename":"image_05012025_10_15_02_804455_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326869439","file1":"1326869435","file0":"1326869431","file3":"1326869442"},"map_files_photo_id_array":[{"photo_id":"1326869439","filename":"file2"},{"photo_id":"1326869435","filename":"file1"},{"photo_id":"1326869431","filename":"file0"},{"photo_id":"1326869442","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326869439":["hashtag1","hashtag2"]},{"1326869442":["hashtag1","hashtag2"]},{"1326869435":["hashtag1","hashtag2"]},{"1326869431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326869439, 1326869442, 1326869435, 1326869431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61759853363037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:17:21.965311
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/16/image_05012025_10_16_02_901724_0003.jpg', '/home/pi/Desktop/images/05012025/10/17/image_05012025_10_17_03_118438_0000.jpg', '/home/pi/Desktop/images/05012025/10/17/image_05012025_10_17_03_118438_0001.jpg', '/home/pi/Desktop/images/05012025/10/17/image_05012025_10_17_03_118438_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/10/16/image_05012025_10_16_02_901724_0003.jpg
/home/pi/Desktop/images/05012025/10/17/image_05012025_10_17_03_118438_0000.jpg
/home/pi/Desktop/images/05012025/10/17/image_05012025_10_17_03_118438_0001.jpg
/home/pi/Desktop/images/05012025/10/17/image_05012025_10_17_03_118438_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326869469","1326869471","1326869467","1326869455"],"photo_ids_order":["1326869455","1326869467","1326869469","1326869471"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/19f4f22ef6d5afcfa7bf1f1e0f1d95c7.jpg","text":"TemporaryFile(/tmp/multipartBody933064418679744508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068712495,"filename":"image_05012025_10_17_03_118438_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ef2c11b0b4ce440032cb64024e7520e1.jpg","text":"TemporaryFile(/tmp/multipartBody2929290477386623357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068712495,"filename":"image_05012025_10_17_03_118438_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/025415a325b7500d0c6b0366abbc07a1.jpg","text":"TemporaryFile(/tmp/multipartBody8091987081344403964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068712495,"filename":"image_05012025_10_17_03_118438_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8cbc448b039abee87af7bbad136983ac.jpg","text":"TemporaryFile(/tmp/multipartBody2429612266897418002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068712495,"filename":"image_05012025_10_16_02_901724_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326869469","file1":"1326869467","file0":"1326869455","file3":"1326869471"},"map_files_photo_id_array":[{"photo_id":"1326869469","filename":"file2"},{"photo_id":"1326869467","filename":"file1"},{"photo_id":"1326869455","filename":"file0"},{"photo_id":"1326869471","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326869469":["hashtag1","hashtag2"]},{"1326869471":["hashtag1","hashtag2"]},{"1326869467":["hashtag1","hashtag2"]},{"1326869455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326869469, 1326869471, 1326869467, 1326869455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.612322092056274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:18:22.010685
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/17/image_05012025_10_17_03_118438_0003.jpg', '/home/pi/Desktop/images/05012025/10/18/image_05012025_10_18_02_273202_0000.jpg', '/home/pi/Desktop/images/05012025/10/18/image_05012025_10_18_02_273202_0001.jpg', '/home/pi/Desktop/images/05012025/10/18/image_05012025_10_18_02_273202_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/10/17/image_05012025_10_17_03_118438_0003.jpg
/home/pi/Desktop/images/05012025/10/18/image_05012025_10_18_02_273202_0000.jpg
/home/pi/Desktop/images/05012025/10/18/image_05012025_10_18_02_273202_0001.jpg
/home/pi/Desktop/images/05012025/10/18/image_05012025_10_18_02_273202_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326869481","1326869478","1326869485","1326869503"],"photo_ids_order":["1326869478","1326869481","1326869485","1326869503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a94492fcc0e685a4f707d468f62e3010.jpg","text":"TemporaryFile(/tmp/multipartBody701392715561046666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068772440,"filename":"image_05012025_10_18_02_273202_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/89cd983d23996398e56f73154d32d384.jpg","text":"TemporaryFile(/tmp/multipartBody6296487698819913778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068772440,"filename":"image_05012025_10_17_03_118438_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab6b3a12c476c988aa68b055a1523f2b.jpg","text":"TemporaryFile(/tmp/multipartBody4413988034857887784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068772440,"filename":"image_05012025_10_18_02_273202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/03d7d2f9eb24a3a2893a1dbf38d5c2ed.jpg","text":"TemporaryFile(/tmp/multipartBody1971096973936208622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068772440,"filename":"image_05012025_10_18_02_273202_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326869485","file1":"1326869481","file0":"1326869478","file3":"1326869503"},"map_files_photo_id_array":[{"photo_id":"1326869485","filename":"file2"},{"photo_id":"1326869481","filename":"file1"},{"photo_id":"1326869478","filename":"file0"},{"photo_id":"1326869503","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326869481":["hashtag1","hashtag2"]},{"1326869478":["hashtag1","hashtag2"]},{"1326869485":["hashtag1","hashtag2"]},{"1326869503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326869481, 1326869478, 1326869485, 1326869503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.6523699760437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:19:22.310073
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/18/image_05012025_10_18_02_273202_0003.jpg', '/home/pi/Desktop/images/05012025/10/19/image_05012025_10_19_02_407799_0000.jpg', '/home/pi/Desktop/images/05012025/10/19/image_05012025_10_19_02_407799_0001.jpg', '/home/pi/Desktop/images/05012025/10/19/image_05012025_10_19_02_407799_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/10/18/image_05012025_10_18_02_273202_0003.jpg
/home/pi/Desktop/images/05012025/10/19/image_05012025_10_19_02_407799_0000.jpg
/home/pi/Desktop/images/05012025/10/19/image_05012025_10_19_02_407799_0001.jpg
/home/pi/Desktop/images/05012025/10/19/image_05012025_10_19_02_407799_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326869538","1326869540","1326869542","1326869536"],"photo_ids_order":["1326869536","1326869538","1326869540","1326869542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/da0c0ce237d2d0d8217bad44ccdb3843.jpg","text":"TemporaryFile(/tmp/multipartBody929249500239942427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068832636,"filename":"image_05012025_10_19_02_407799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d8b55151a24b35df73cec646184fb931.jpg","text":"TemporaryFile(/tmp/multipartBody2390770612474284753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068832636,"filename":"image_05012025_10_19_02_407799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8ecee91ac53b14273ce330a16ba801c2.jpg","text":"TemporaryFile(/tmp/multipartBody1496344018399931196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068832636,"filename":"image_05012025_10_19_02_407799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/789f0b3437aa3e9b832ea371c1388bdc.jpg","text":"TemporaryFile(/tmp/multipartBody7685814962325276106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068832636,"filename":"image_05012025_10_18_02_273202_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326869540","file1":"1326869538","file0":"1326869536","file3":"1326869542"},"map_files_photo_id_array":[{"photo_id":"1326869540","filename":"file2"},{"photo_id":"1326869538","filename":"file1"},{"photo_id":"1326869536","filename":"file0"},{"photo_id":"1326869542","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326869538":["hashtag1","hashtag2"]},{"1326869540":["hashtag1","hashtag2"]},{"1326869542":["hashtag1","hashtag2"]},{"1326869536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326869538, 1326869540, 1326869542, 1326869536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.1730694770813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:20:22.384586
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/19/image_05012025_10_19_02_407799_0003.jpg', '/home/pi/Desktop/images/05012025/10/20/image_05012025_10_20_02_564867_0000.jpg', '/home/pi/Desktop/images/05012025/10/20/image_05012025_10_20_02_564867_0001.jpg', '/home/pi/Desktop/images/05012025/10/20/image_05012025_10_20_02_564867_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/10/19/image_05012025_10_19_02_407799_0003.jpg
/home/pi/Desktop/images/05012025/10/20/image_05012025_10_20_02_564867_0000.jpg
/home/pi/Desktop/images/05012025/10/20/image_05012025_10_20_02_564867_0001.jpg
/home/pi/Desktop/images/05012025/10/20/image_05012025_10_20_02_564867_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.06814980506897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 10:20:42.403937
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/19/image_05012025_10_19_02_407799_0003.jpg', '/home/pi/Desktop/images/05012025/10/20/image_05012025_10_20_02_564867_0000.jpg', '/home/pi/Desktop/images/05012025/10/20/image_05012025_10_20_02_564867_0001.jpg', '/home/pi/Desktop/images/05012025/10/20/image_05012025_10_20_02_564867_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/10/19/image_05012025_10_19_02_407799_0003.jpg
/home/pi/Desktop/images/05012025/10/20/image_05012025_10_20_02_564867_0000.jpg
/home/pi/Desktop/images/05012025/10/20/image_05012025_10_20_02_564867_0001.jpg
/home/pi/Desktop/images/05012025/10/20/image_05012025_10_20_02_564867_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":["1326869766","1326869748","1326869594","1326869635"],"photo_ids_order":["1326869594","1326869635","1326869748","1326869766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f06d4ab2ec7e926efa4544fca0013618.jpg","text":"TemporaryFile(/tmp/multipartBody3914802227176176806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068912868,"filename":"image_05012025_10_20_02_564867_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9fdcbebb94fe7fb56509765ceae85135.jpg","text":"TemporaryFile(/tmp/multipartBody2962908643311324180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068912868,"filename":"image_05012025_10_20_02_564867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3ec2fa25fbd426dbbe0f3972d0fa1e40.jpg","text":"TemporaryFile(/tmp/multipartBody5925652146390201264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068912868,"filename":"image_05012025_10_19_02_407799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/77756783620815a9a0fdb1123dc73cef.jpg","text":"TemporaryFile(/tmp/multipartBody2638601330848376043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068912868,"filename":"image_05012025_10_20_02_564867_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326869748","file1":"1326869635","file0":"1326869594","file3":"1326869766"},"map_files_photo_id_array":[{"photo_id":"1326869748","filename":"file2"},{"photo_id":"1326869635","filename":"file1"},{"photo_id":"1326869594","filename":"file0"},{"photo_id":"1326869766","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326869766":["hashtag1","hashtag2"]},{"1326869748":["hashtag1","hashtag2"]},{"1326869594":["hashtag1","hashtag2"]},{"1326869635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326869766, 1326869748, 1326869594, 1326869635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.96418642997742 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:21:22.513068
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/20/image_05012025_10_20_02_564867_0003.jpg', '/home/pi/Desktop/images/05012025/10/21/image_05012025_10_21_02_703353_0000.jpg', '/home/pi/Desktop/images/05012025/10/21/image_05012025_10_21_02_703353_0001.jpg', '/home/pi/Desktop/images/05012025/10/21/image_05012025_10_21_02_703353_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/10/20/image_05012025_10_20_02_564867_0003.jpg
/home/pi/Desktop/images/05012025/10/21/image_05012025_10_21_02_703353_0000.jpg
/home/pi/Desktop/images/05012025/10/21/image_05012025_10_21_02_703353_0001.jpg
/home/pi/Desktop/images/05012025/10/21/image_05012025_10_21_02_703353_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326869769","1326869774","1326869779","1326869767"],"photo_ids_order":["1326869767","1326869769","1326869774","1326869779"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/19793523025ad1e505c3678db356b083.jpg","text":"TemporaryFile(/tmp/multipartBody4525494417762508614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068952900,"filename":"image_05012025_10_21_02_703353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5d9f9ed905050b33877d94c5f24d2faf.jpg","text":"TemporaryFile(/tmp/multipartBody4163440959999806922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068952900,"filename":"image_05012025_10_21_02_703353_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc2f8f727588c4815abdd971a48d1df2.jpg","text":"TemporaryFile(/tmp/multipartBody8444734001346283366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068952900,"filename":"image_05012025_10_21_02_703353_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3991f58af79aa73de0a4275281efb347.jpg","text":"TemporaryFile(/tmp/multipartBody3455275505353117095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736068952900,"filename":"image_05012025_10_20_02_564867_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326869774","file1":"1326869769","file0":"1326869767","file3":"1326869779"},"map_files_photo_id_array":[{"photo_id":"1326869774","filename":"file2"},{"photo_id":"1326869769","filename":"file1"},{"photo_id":"1326869767","filename":"file0"},{"photo_id":"1326869779","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326869769":["hashtag1","hashtag2"]},{"1326869774":["hashtag1","hashtag2"]},{"1326869779":["hashtag1","hashtag2"]},{"1326869767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326869769, 1326869774, 1326869779, 1326869767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.37415909767151 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:22:03.047888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:22:22.672194
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/21/image_05012025_10_21_02_703353_0003.jpg', '/home/pi/Desktop/images/05012025/10/22/image_05012025_10_22_02_909693_0000.jpg', '/home/pi/Desktop/images/05012025/10/22/image_05012025_10_22_02_909693_0001.jpg', '/home/pi/Desktop/images/05012025/10/22/image_05012025_10_22_02_909693_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/10/21/image_05012025_10_21_02_703353_0003.jpg
/home/pi/Desktop/images/05012025/10/22/image_05012025_10_22_02_909693_0000.jpg
/home/pi/Desktop/images/05012025/10/22/image_05012025_10_22_02_909693_0001.jpg
/home/pi/Desktop/images/05012025/10/22/image_05012025_10_22_02_909693_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326869803","1326869805","1326869807","1326869809"],"photo_ids_order":["1326869803","1326869805","1326869807","1326869809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f06253baf8e4e2b17e271800de7e97c2.jpg","text":"TemporaryFile(/tmp/multipartBody4758333010860989527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069012919,"filename":"image_05012025_10_21_02_703353_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f919b95468d4c55035a2f447b7818b90.jpg","text":"TemporaryFile(/tmp/multipartBody6628181855117510678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069012919,"filename":"image_05012025_10_22_02_909693_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/28ebda5ed11c062c208bc5c3c063b474.jpg","text":"TemporaryFile(/tmp/multipartBody6214170596624122397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069012919,"filename":"image_05012025_10_22_02_909693_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/07d078fbffef2400e27548a5d6f92a75.jpg","text":"TemporaryFile(/tmp/multipartBody152653966873161441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069012919,"filename":"image_05012025_10_22_02_909693_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326869807","file1":"1326869805","file0":"1326869803","file3":"1326869809"},"map_files_photo_id_array":[{"photo_id":"1326869807","filename":"file2"},{"photo_id":"1326869805","filename":"file1"},{"photo_id":"1326869803","filename":"file0"},{"photo_id":"1326869809","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326869803":["hashtag1","hashtag2"]},{"1326869805":["hashtag1","hashtag2"]},{"1326869807":["hashtag1","hashtag2"]},{"1326869809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326869803, 1326869805, 1326869807, 1326869809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.77080297470093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:23:21.878452
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/22/image_05012025_10_22_02_909693_0003.jpg', '/home/pi/Desktop/images/05012025/10/23/image_05012025_10_23_03_053555_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/10/22/image_05012025_10_22_02_909693_0003.jpg
/home/pi/Desktop/images/05012025/10/23/image_05012025_10_23_03_053555_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":["1326869814","1326869816"],"photo_ids_order":["1326869814","1326869816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/28f5dcbad95f5d2e2e625048474b211e.jpg","text":"TemporaryFile(/tmp/multipartBody5011962775550729927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069067405,"filename":"image_05012025_10_22_02_909693_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7bc4b4ee054c8c12a318fa991a1bf490.jpg","text":"TemporaryFile(/tmp/multipartBody6255838228619690713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069067405,"filename":"image_05012025_10_23_03_053555_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326869816","file0":"1326869814"},"map_files_photo_id_array":[{"photo_id":"1326869816","filename":"file1"},{"photo_id":"1326869814","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326869814":["hashtag1","hashtag2"]},{"1326869816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326869814, 1326869816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.150835037231445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 10:23:51.845142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:24:02.504610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:24:22.022794
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/23/image_05012025_10_23_03_053555_0003.jpg', '/home/pi/Desktop/images/05012025/10/24/image_05012025_10_24_02_188101_0000.jpg', '/home/pi/Desktop/images/05012025/10/24/image_05012025_10_24_02_188101_0001.jpg', '/home/pi/Desktop/images/05012025/10/24/image_05012025_10_24_02_188101_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/10/23/image_05012025_10_23_03_053555_0003.jpg
/home/pi/Desktop/images/05012025/10/24/image_05012025_10_24_02_188101_0000.jpg
/home/pi/Desktop/images/05012025/10/24/image_05012025_10_24_02_188101_0001.jpg
/home/pi/Desktop/images/05012025/10/24/image_05012025_10_24_02_188101_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326869862","1326869835","1326869872","1326869827"],"photo_ids_order":["1326869827","1326869835","1326869862","1326869872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f72778ebc18c009844084c78eacaa1d6.jpg","text":"TemporaryFile(/tmp/multipartBody3181634940627401377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069132037,"filename":"image_05012025_10_24_02_188101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/747ca76d400217b0bf258fa9a552f010.jpg","text":"TemporaryFile(/tmp/multipartBody5936506609156165162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069132037,"filename":"image_05012025_10_24_02_188101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3d8110ce4b37fd7166ed49be5ab88c4.jpg","text":"TemporaryFile(/tmp/multipartBody3139394484234173522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069132037,"filename":"image_05012025_10_24_02_188101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f21e48ab9b905019f4b53926ef6ee8dd.jpg","text":"TemporaryFile(/tmp/multipartBody6217323435247301911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069132037,"filename":"image_05012025_10_23_03_053555_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326869862","file1":"1326869835","file0":"1326869827","file3":"1326869872"},"map_files_photo_id_array":[{"photo_id":"1326869862","filename":"file2"},{"photo_id":"1326869835","filename":"file1"},{"photo_id":"1326869827","filename":"file0"},{"photo_id":"1326869872","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326869862":["hashtag1","hashtag2"]},{"1326869835":["hashtag1","hashtag2"]},{"1326869872":["hashtag1","hashtag2"]},{"1326869827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326869862, 1326869835, 1326869872, 1326869827)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.838154792785645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:25:22.355502
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/24/image_05012025_10_24_02_188101_0003.jpg', '/home/pi/Desktop/images/05012025/10/25/image_05012025_10_25_02_407651_0000.jpg', '/home/pi/Desktop/images/05012025/10/25/image_05012025_10_25_02_407651_0001.jpg', '/home/pi/Desktop/images/05012025/10/25/image_05012025_10_25_02_407651_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/10/24/image_05012025_10_24_02_188101_0003.jpg
/home/pi/Desktop/images/05012025/10/25/image_05012025_10_25_02_407651_0000.jpg
/home/pi/Desktop/images/05012025/10/25/image_05012025_10_25_02_407651_0001.jpg
/home/pi/Desktop/images/05012025/10/25/image_05012025_10_25_02_407651_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326869998","1326869992","1326869995","1326869941"],"photo_ids_order":["1326869941","1326869992","1326869995","1326869998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/301ae966d6ac46cb510ad97b1bf2c212.jpg","text":"TemporaryFile(/tmp/multipartBody7732911295577298139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069192576,"filename":"image_05012025_10_25_02_407651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02b53dc163cd27861ea2036b00de31f3.jpg","text":"TemporaryFile(/tmp/multipartBody7703245794110064582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069192576,"filename":"image_05012025_10_25_02_407651_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/748d04945f2c1d269d582b9a2863269d.jpg","text":"TemporaryFile(/tmp/multipartBody6900338253420530394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069192576,"filename":"image_05012025_10_25_02_407651_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a7dd4d5940a4a7a8272c0d4f9cc2ff8.jpg","text":"TemporaryFile(/tmp/multipartBody5219345043097281294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069192576,"filename":"image_05012025_10_24_02_188101_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326869995","file1":"1326869992","file0":"1326869941","file3":"1326869998"},"map_files_photo_id_array":[{"photo_id":"1326869995","filename":"file2"},{"photo_id":"1326869992","filename":"file1"},{"photo_id":"1326869941","filename":"file0"},{"photo_id":"1326869998","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326869998":["hashtag1","hashtag2"]},{"1326869992":["hashtag1","hashtag2"]},{"1326869995":["hashtag1","hashtag2"]},{"1326869941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326869998, 1326869992, 1326869995, 1326869941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.64316153526306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:26:22.568996
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/25/image_05012025_10_25_02_407651_0003.jpg', '/home/pi/Desktop/images/05012025/10/26/image_05012025_10_26_02_643779_0000.jpg', '/home/pi/Desktop/images/05012025/10/26/image_05012025_10_26_02_643779_0001.jpg', '/home/pi/Desktop/images/05012025/10/26/image_05012025_10_26_02_643779_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/10/25/image_05012025_10_25_02_407651_0003.jpg
/home/pi/Desktop/images/05012025/10/26/image_05012025_10_26_02_643779_0000.jpg
/home/pi/Desktop/images/05012025/10/26/image_05012025_10_26_02_643779_0001.jpg
/home/pi/Desktop/images/05012025/10/26/image_05012025_10_26_02_643779_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870010","1326870012","1326870014","1326870008"],"photo_ids_order":["1326870008","1326870010","1326870012","1326870014"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/696c45575e79aa83b0a163887067ef29.jpg","text":"TemporaryFile(/tmp/multipartBody8848223896652347618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069252983,"filename":"image_05012025_10_26_02_643779_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/497a3e8692382d77502b746419035ccd.jpg","text":"TemporaryFile(/tmp/multipartBody7090694350747298707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069252983,"filename":"image_05012025_10_26_02_643779_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c88236564d801bf9535155695b75a901.jpg","text":"TemporaryFile(/tmp/multipartBody5345788533471799037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069252983,"filename":"image_05012025_10_26_02_643779_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c290a2763ad1dd15bd680371b9a43d75.jpg","text":"TemporaryFile(/tmp/multipartBody3897648818164437693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069252983,"filename":"image_05012025_10_25_02_407651_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870012","file1":"1326870010","file0":"1326870008","file3":"1326870014"},"map_files_photo_id_array":[{"photo_id":"1326870012","filename":"file2"},{"photo_id":"1326870010","filename":"file1"},{"photo_id":"1326870008","filename":"file0"},{"photo_id":"1326870014","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870010":["hashtag1","hashtag2"]},{"1326870012":["hashtag1","hashtag2"]},{"1326870014":["hashtag1","hashtag2"]},{"1326870008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870010, 1326870012, 1326870014, 1326870008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.69980549812317 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:27:22.739047
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/26/image_05012025_10_26_02_643779_0003.jpg', '/home/pi/Desktop/images/05012025/10/27/image_05012025_10_27_02_819041_0000.jpg', '/home/pi/Desktop/images/05012025/10/27/image_05012025_10_27_02_819041_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/10/26/image_05012025_10_26_02_643779_0003.jpg
/home/pi/Desktop/images/05012025/10/27/image_05012025_10_27_02_819041_0000.jpg
/home/pi/Desktop/images/05012025/10/27/image_05012025_10_27_02_819041_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":["1326870019","1326870021","1326870032"],"photo_ids_order":["1326870019","1326870021","1326870032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/18fae07a78bb62371176f60499a7f85e.jpg","text":"TemporaryFile(/tmp/multipartBody5382798104469016361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069310590,"filename":"image_05012025_10_26_02_643779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f863f42a8e4996ee57148c1483af9725.jpg","text":"TemporaryFile(/tmp/multipartBody5609830461809820271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069310590,"filename":"image_05012025_10_27_02_819041_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/05fd75af64d98880826c3a58b7cb79da.jpg","text":"TemporaryFile(/tmp/multipartBody1148548161103968895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069310590,"filename":"image_05012025_10_27_02_819041_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870032","file1":"1326870021","file0":"1326870019"},"map_files_photo_id_array":[{"photo_id":"1326870032","filename":"file2"},{"photo_id":"1326870021","filename":"file1"},{"photo_id":"1326870019","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870019":["hashtag1","hashtag2"]},{"1326870021":["hashtag1","hashtag2"]},{"1326870032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870019, 1326870021, 1326870032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.75282692909241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:28:03.184685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:28:22.821117
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/27/image_05012025_10_27_02_819041_0002.jpg', '/home/pi/Desktop/images/05012025/10/28/image_05012025_10_28_02_914642_0000.jpg', '/home/pi/Desktop/images/05012025/10/28/image_05012025_10_28_02_914642_0001.jpg', '/home/pi/Desktop/images/05012025/10/28/image_05012025_10_28_02_914642_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/10/27/image_05012025_10_27_02_819041_0002.jpg
/home/pi/Desktop/images/05012025/10/28/image_05012025_10_28_02_914642_0000.jpg
/home/pi/Desktop/images/05012025/10/28/image_05012025_10_28_02_914642_0001.jpg
/home/pi/Desktop/images/05012025/10/28/image_05012025_10_28_02_914642_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870074","1326870071","1326870065","1326870067"],"photo_ids_order":["1326870065","1326870067","1326870071","1326870074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6f08dacf3b025987325ae3e2c9e1c5be.jpg","text":"TemporaryFile(/tmp/multipartBody8539498362348712599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069373193,"filename":"image_05012025_10_28_02_914642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f569827941605a29a0b6710c87fc1e17.jpg","text":"TemporaryFile(/tmp/multipartBody4228025048758099189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069373193,"filename":"image_05012025_10_28_02_914642_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/414f5abd3ac84ba7375c02cbd96c37e7.jpg","text":"TemporaryFile(/tmp/multipartBody5030378872687231547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069373193,"filename":"image_05012025_10_27_02_819041_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6e26b1ee587f4f74712a6ea57e485f25.jpg","text":"TemporaryFile(/tmp/multipartBody5079404138123718778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069373193,"filename":"image_05012025_10_28_02_914642_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870071","file1":"1326870067","file0":"1326870065","file3":"1326870074"},"map_files_photo_id_array":[{"photo_id":"1326870071","filename":"file2"},{"photo_id":"1326870067","filename":"file1"},{"photo_id":"1326870065","filename":"file0"},{"photo_id":"1326870074","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870074":["hashtag1","hashtag2"]},{"1326870071":["hashtag1","hashtag2"]},{"1326870065":["hashtag1","hashtag2"]},{"1326870067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870074, 1326870071, 1326870065, 1326870067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.54486870765686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:29:22.083651
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/28/image_05012025_10_28_02_914642_0003.jpg', '/home/pi/Desktop/images/05012025/10/29/image_05012025_10_29_03_118253_0000.jpg', '/home/pi/Desktop/images/05012025/10/29/image_05012025_10_29_03_118253_0001.jpg', '/home/pi/Desktop/images/05012025/10/29/image_05012025_10_29_03_118253_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/10/28/image_05012025_10_28_02_914642_0003.jpg
/home/pi/Desktop/images/05012025/10/29/image_05012025_10_29_03_118253_0000.jpg
/home/pi/Desktop/images/05012025/10/29/image_05012025_10_29_03_118253_0001.jpg
/home/pi/Desktop/images/05012025/10/29/image_05012025_10_29_03_118253_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870092","1326870089","1326870085","1326870094"],"photo_ids_order":["1326870085","1326870089","1326870092","1326870094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7ffba2a87e6208c87db48138adf809fb.jpg","text":"TemporaryFile(/tmp/multipartBody946411799633749100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069432261,"filename":"image_05012025_10_29_03_118253_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b80df99d07e913b8c9ae1ac7da0f814b.jpg","text":"TemporaryFile(/tmp/multipartBody4901658366932809959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069432261,"filename":"image_05012025_10_29_03_118253_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/48749978b6aaa2ce93251e741e04fc87.jpg","text":"TemporaryFile(/tmp/multipartBody7493681624409887251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069432261,"filename":"image_05012025_10_28_02_914642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/60d35144cce8d1b0634ad060021e3d6a.jpg","text":"TemporaryFile(/tmp/multipartBody3784022505357512739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069432261,"filename":"image_05012025_10_29_03_118253_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870092","file1":"1326870089","file0":"1326870085","file3":"1326870094"},"map_files_photo_id_array":[{"photo_id":"1326870092","filename":"file2"},{"photo_id":"1326870089","filename":"file1"},{"photo_id":"1326870085","filename":"file0"},{"photo_id":"1326870094","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870092":["hashtag1","hashtag2"]},{"1326870089":["hashtag1","hashtag2"]},{"1326870085":["hashtag1","hashtag2"]},{"1326870094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870092, 1326870089, 1326870085, 1326870094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5716769695282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:30:02.564691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:30:22.158344
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/29/image_05012025_10_29_03_118253_0003.jpg', '/home/pi/Desktop/images/05012025/10/30/image_05012025_10_30_02_416201_0000.jpg', '/home/pi/Desktop/images/05012025/10/30/image_05012025_10_30_02_416201_0001.jpg', '/home/pi/Desktop/images/05012025/10/30/image_05012025_10_30_02_416201_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/10/29/image_05012025_10_29_03_118253_0003.jpg
/home/pi/Desktop/images/05012025/10/30/image_05012025_10_30_02_416201_0000.jpg
/home/pi/Desktop/images/05012025/10/30/image_05012025_10_30_02_416201_0001.jpg
/home/pi/Desktop/images/05012025/10/30/image_05012025_10_30_02_416201_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870124","1326870133","1326870126","1326870122"],"photo_ids_order":["1326870122","1326870124","1326870126","1326870133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d8530bc4a44631ded4e10c076da7dc0f.jpg","text":"TemporaryFile(/tmp/multipartBody7157802788924996538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069492683,"filename":"image_05012025_10_30_02_416201_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9e6bf346a047b5bd7e1df65036fa95ef.jpg","text":"TemporaryFile(/tmp/multipartBody5378141192545759003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069492683,"filename":"image_05012025_10_30_02_416201_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/95cb49b244add7d6870cf3b522268b4a.jpg","text":"TemporaryFile(/tmp/multipartBody6865354198739113911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069492683,"filename":"image_05012025_10_30_02_416201_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6f7892f9110622e0bce3501b4cec26f9.jpg","text":"TemporaryFile(/tmp/multipartBody1169323048029102599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069492683,"filename":"image_05012025_10_29_03_118253_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870126","file1":"1326870124","file0":"1326870122","file3":"1326870133"},"map_files_photo_id_array":[{"photo_id":"1326870126","filename":"file2"},{"photo_id":"1326870124","filename":"file1"},{"photo_id":"1326870122","filename":"file0"},{"photo_id":"1326870133","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870124":["hashtag1","hashtag2"]},{"1326870133":["hashtag1","hashtag2"]},{"1326870126":["hashtag1","hashtag2"]},{"1326870122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870124, 1326870133, 1326870126, 1326870122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.588974952697754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:31:02.760927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:31:22.340036
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/30/image_05012025_10_30_02_416201_0003.jpg', '/home/pi/Desktop/images/05012025/10/31/image_05012025_10_31_02_586193_0000.jpg', '/home/pi/Desktop/images/05012025/10/31/image_05012025_10_31_02_586193_0001.jpg', '/home/pi/Desktop/images/05012025/10/31/image_05012025_10_31_02_586193_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/10/30/image_05012025_10_30_02_416201_0003.jpg
/home/pi/Desktop/images/05012025/10/31/image_05012025_10_31_02_586193_0000.jpg
/home/pi/Desktop/images/05012025/10/31/image_05012025_10_31_02_586193_0001.jpg
/home/pi/Desktop/images/05012025/10/31/image_05012025_10_31_02_586193_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870270","1326870272","1326870274","1326870268"],"photo_ids_order":["1326870268","1326870270","1326870272","1326870274"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d9af43f8231476e38ed69e99faa0b409.jpg","text":"TemporaryFile(/tmp/multipartBody1400382660374110853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069552742,"filename":"image_05012025_10_31_02_586193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1307a7c2634f8c0ce5d21442775d90df.jpg","text":"TemporaryFile(/tmp/multipartBody5434634784669036480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069552742,"filename":"image_05012025_10_31_02_586193_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9d70717438e4e9e786dcb6a3dabee112.jpg","text":"TemporaryFile(/tmp/multipartBody2033187738377545809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069552742,"filename":"image_05012025_10_31_02_586193_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/60b57b46c68b194d115cc419bb8efe7b.jpg","text":"TemporaryFile(/tmp/multipartBody5512734207121244713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069552742,"filename":"image_05012025_10_30_02_416201_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870272","file1":"1326870270","file0":"1326870268","file3":"1326870274"},"map_files_photo_id_array":[{"photo_id":"1326870272","filename":"file2"},{"photo_id":"1326870270","filename":"file1"},{"photo_id":"1326870268","filename":"file0"},{"photo_id":"1326870274","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870270":["hashtag1","hashtag2"]},{"1326870272":["hashtag1","hashtag2"]},{"1326870274":["hashtag1","hashtag2"]},{"1326870268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870270, 1326870272, 1326870274, 1326870268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.146722078323364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:32:22.550780
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/31/image_05012025_10_31_02_586193_0003.jpg', '/home/pi/Desktop/images/05012025/10/32/image_05012025_10_32_02_733287_0000.jpg', '/home/pi/Desktop/images/05012025/10/32/image_05012025_10_32_02_733287_0001.jpg', '/home/pi/Desktop/images/05012025/10/32/image_05012025_10_32_02_733287_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/10/31/image_05012025_10_31_02_586193_0003.jpg
/home/pi/Desktop/images/05012025/10/32/image_05012025_10_32_02_733287_0000.jpg
/home/pi/Desktop/images/05012025/10/32/image_05012025_10_32_02_733287_0001.jpg
/home/pi/Desktop/images/05012025/10/32/image_05012025_10_32_02_733287_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870282","1326870284","1326870286","1326870280"],"photo_ids_order":["1326870280","1326870282","1326870284","1326870286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7c4a2d9f5a7c2a3c4fa29572e45aea44.jpg","text":"TemporaryFile(/tmp/multipartBody4492235940842153056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069612944,"filename":"image_05012025_10_32_02_733287_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3d94c9ffee6fb92dc6c7c61fc2161b6b.jpg","text":"TemporaryFile(/tmp/multipartBody7737794334836402111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069612944,"filename":"image_05012025_10_32_02_733287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2d1b49f40c7a1c62c0d6dacd5558e10c.jpg","text":"TemporaryFile(/tmp/multipartBody6267622480565515478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069612944,"filename":"image_05012025_10_32_02_733287_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/74fc68f4600e62a703b7a32f682fc69f.jpg","text":"TemporaryFile(/tmp/multipartBody4802841452797284212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069612944,"filename":"image_05012025_10_31_02_586193_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870284","file1":"1326870282","file0":"1326870280","file3":"1326870286"},"map_files_photo_id_array":[{"photo_id":"1326870284","filename":"file2"},{"photo_id":"1326870282","filename":"file1"},{"photo_id":"1326870280","filename":"file0"},{"photo_id":"1326870286","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870282":["hashtag1","hashtag2"]},{"1326870284":["hashtag1","hashtag2"]},{"1326870286":["hashtag1","hashtag2"]},{"1326870280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870282, 1326870284, 1326870286, 1326870280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.99761128425598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:33:22.739781
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/32/image_05012025_10_32_02_733287_0003.jpg', '/home/pi/Desktop/images/05012025/10/33/image_05012025_10_33_02_993925_0000.jpg', '/home/pi/Desktop/images/05012025/10/33/image_05012025_10_33_02_993925_0001.jpg', '/home/pi/Desktop/images/05012025/10/33/image_05012025_10_33_02_993925_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/10/32/image_05012025_10_32_02_733287_0003.jpg
/home/pi/Desktop/images/05012025/10/33/image_05012025_10_33_02_993925_0000.jpg
/home/pi/Desktop/images/05012025/10/33/image_05012025_10_33_02_993925_0001.jpg
/home/pi/Desktop/images/05012025/10/33/image_05012025_10_33_02_993925_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870304","1326870309","1326870293","1326870296"],"photo_ids_order":["1326870293","1326870296","1326870304","1326870309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/20ddab992a44e21becc32487b45f42ac.jpg","text":"TemporaryFile(/tmp/multipartBody2562834184248642544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069673160,"filename":"image_05012025_10_33_02_993925_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0083b1abffe0564aa174869b546fa4fd.jpg","text":"TemporaryFile(/tmp/multipartBody8204575803218059705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069673160,"filename":"image_05012025_10_33_02_993925_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c5707dc8b738faa10d0e82308a216f82.jpg","text":"TemporaryFile(/tmp/multipartBody1439547249816977167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069673160,"filename":"image_05012025_10_32_02_733287_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2656b3b966ec09d7008a7eae043f3040.jpg","text":"TemporaryFile(/tmp/multipartBody3819818046920440376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069673160,"filename":"image_05012025_10_33_02_993925_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870304","file1":"1326870296","file0":"1326870293","file3":"1326870309"},"map_files_photo_id_array":[{"photo_id":"1326870304","filename":"file2"},{"photo_id":"1326870296","filename":"file1"},{"photo_id":"1326870293","filename":"file0"},{"photo_id":"1326870309","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870304":["hashtag1","hashtag2"]},{"1326870309":["hashtag1","hashtag2"]},{"1326870293":["hashtag1","hashtag2"]},{"1326870296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870304, 1326870309, 1326870293, 1326870296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.96288323402405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:34:21.875279
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/33/image_05012025_10_33_02_993925_0003.jpg', '/home/pi/Desktop/images/05012025/10/34/image_05012025_10_34_03_068873_0001.jpg', '/home/pi/Desktop/images/05012025/10/34/image_05012025_10_34_03_068873_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/10/33/image_05012025_10_33_02_993925_0003.jpg
/home/pi/Desktop/images/05012025/10/34/image_05012025_10_34_03_068873_0001.jpg
/home/pi/Desktop/images/05012025/10/34/image_05012025_10_34_03_068873_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870334","1326870339","1326870336"],"photo_ids_order":["1326870334","1326870336","1326870339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/145e49ec827a9c2e0e5494a85caadf80.jpg","text":"TemporaryFile(/tmp/multipartBody2313881776818354916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069729744,"filename":"image_05012025_10_33_02_993925_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/44bdcfde907c8f0b4e5b9f8dc65b0f14.jpg","text":"TemporaryFile(/tmp/multipartBody8078630909561365599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069729744,"filename":"image_05012025_10_34_03_068873_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e58ac58f9f66c40fe1cbf6f1cc03cb23.jpg","text":"TemporaryFile(/tmp/multipartBody3748103910624382815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069729744,"filename":"image_05012025_10_34_03_068873_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870339","file1":"1326870336","file0":"1326870334"},"map_files_photo_id_array":[{"photo_id":"1326870339","filename":"file2"},{"photo_id":"1326870336","filename":"file1"},{"photo_id":"1326870334","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870334":["hashtag1","hashtag2"]},{"1326870339":["hashtag1","hashtag2"]},{"1326870336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870334, 1326870339, 1326870336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.436712980270386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:35:02.645354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:35:22.083885
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/34/image_05012025_10_34_03_068873_0003.jpg', '/home/pi/Desktop/images/05012025/10/35/image_05012025_10_35_02_262381_0001.jpg', '/home/pi/Desktop/images/05012025/10/35/image_05012025_10_35_02_262381_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/10/34/image_05012025_10_34_03_068873_0003.jpg
/home/pi/Desktop/images/05012025/10/35/image_05012025_10_35_02_262381_0001.jpg
/home/pi/Desktop/images/05012025/10/35/image_05012025_10_35_02_262381_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870349","1326870352","1326870346"],"photo_ids_order":["1326870346","1326870349","1326870352"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3c8f7bacf4ffe7da28badc821d49c52f.jpg","text":"TemporaryFile(/tmp/multipartBody6056303217818025885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069790059,"filename":"image_05012025_10_35_02_262381_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/75a68cbcd8bfdff20e59365c2edfe3f9.jpg","text":"TemporaryFile(/tmp/multipartBody9001649769869074611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069790059,"filename":"image_05012025_10_35_02_262381_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe2b88d4785879732ed6ae69269cc992.jpg","text":"TemporaryFile(/tmp/multipartBody1964342833493368325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069790059,"filename":"image_05012025_10_34_03_068873_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870352","file1":"1326870349","file0":"1326870346"},"map_files_photo_id_array":[{"photo_id":"1326870352","filename":"file2"},{"photo_id":"1326870349","filename":"file1"},{"photo_id":"1326870346","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870349":["hashtag1","hashtag2"]},{"1326870352":["hashtag1","hashtag2"]},{"1326870346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870349, 1326870352, 1326870346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.0536093711853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:36:02.707252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:36:22.268444
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/35/image_05012025_10_35_02_262381_0003.jpg', '/home/pi/Desktop/images/05012025/10/36/image_05012025_10_36_02_403287_0000.jpg', '/home/pi/Desktop/images/05012025/10/36/image_05012025_10_36_02_403287_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/10/35/image_05012025_10_35_02_262381_0003.jpg
/home/pi/Desktop/images/05012025/10/36/image_05012025_10_36_02_403287_0000.jpg
/home/pi/Desktop/images/05012025/10/36/image_05012025_10_36_02_403287_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.604525327682495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 10:36:32.232056
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/35/image_05012025_10_35_02_262381_0003.jpg', '/home/pi/Desktop/images/05012025/10/36/image_05012025_10_36_02_403287_0000.jpg', '/home/pi/Desktop/images/05012025/10/36/image_05012025_10_36_02_403287_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/10/35/image_05012025_10_35_02_262381_0003.jpg
/home/pi/Desktop/images/05012025/10/36/image_05012025_10_36_02_403287_0000.jpg
/home/pi/Desktop/images/05012025/10/36/image_05012025_10_36_02_403287_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":["1326870375","1326870377","1326870362"],"photo_ids_order":["1326870362","1326870375","1326870377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9a73459c2267e95c08321765bc11d14a.jpg","text":"TemporaryFile(/tmp/multipartBody652395562126672894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069860233,"filename":"image_05012025_10_36_02_403287_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4fde7d59f5be6d345f47b69d37c4abb8.jpg","text":"TemporaryFile(/tmp/multipartBody4493566404944325226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069860233,"filename":"image_05012025_10_36_02_403287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a199368d91228aae8f42337496fdf18d.jpg","text":"TemporaryFile(/tmp/multipartBody2885499637094391413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069860233,"filename":"image_05012025_10_35_02_262381_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870377","file1":"1326870375","file0":"1326870362"},"map_files_photo_id_array":[{"photo_id":"1326870377","filename":"file2"},{"photo_id":"1326870375","filename":"file1"},{"photo_id":"1326870362","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870375":["hashtag1","hashtag2"]},{"1326870377":["hashtag1","hashtag2"]},{"1326870362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870375, 1326870377, 1326870362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.02770185470581 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:37:22.441835
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/36/image_05012025_10_36_02_403287_0002.jpg', '/home/pi/Desktop/images/05012025/10/37/image_05012025_10_37_02_591606_0000.jpg', '/home/pi/Desktop/images/05012025/10/37/image_05012025_10_37_02_591606_0001.jpg', '/home/pi/Desktop/images/05012025/10/37/image_05012025_10_37_02_591606_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/10/36/image_05012025_10_36_02_403287_0002.jpg
/home/pi/Desktop/images/05012025/10/37/image_05012025_10_37_02_591606_0000.jpg
/home/pi/Desktop/images/05012025/10/37/image_05012025_10_37_02_591606_0001.jpg
/home/pi/Desktop/images/05012025/10/37/image_05012025_10_37_02_591606_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870408","1326870416","1326870410","1326870413"],"photo_ids_order":["1326870408","1326870410","1326870413","1326870416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3c3ac21d0093342db57f4d79d4a53b2e.jpg","text":"TemporaryFile(/tmp/multipartBody1219758842656814447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069912627,"filename":"image_05012025_10_36_02_403287_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/142b92d62862cd15b64bb1aca88efe0e.jpg","text":"TemporaryFile(/tmp/multipartBody5763719355815326001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069912627,"filename":"image_05012025_10_37_02_591606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2f7213bfbe8fe81487398c6f0d0c38f3.jpg","text":"TemporaryFile(/tmp/multipartBody7161525727762440282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069912627,"filename":"image_05012025_10_37_02_591606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8e6c7fc13637b39f8ad8e23235ee7bdc.jpg","text":"TemporaryFile(/tmp/multipartBody9104681283401761156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069912627,"filename":"image_05012025_10_37_02_591606_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870413","file1":"1326870410","file0":"1326870408","file3":"1326870416"},"map_files_photo_id_array":[{"photo_id":"1326870413","filename":"file2"},{"photo_id":"1326870410","filename":"file1"},{"photo_id":"1326870408","filename":"file0"},{"photo_id":"1326870416","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870408":["hashtag1","hashtag2"]},{"1326870416":["hashtag1","hashtag2"]},{"1326870410":["hashtag1","hashtag2"]},{"1326870413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870408, 1326870416, 1326870410, 1326870413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.87975215911865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:38:22.628800
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/37/image_05012025_10_37_02_591606_0003.jpg', '/home/pi/Desktop/images/05012025/10/38/image_05012025_10_38_02_869344_0000.jpg', '/home/pi/Desktop/images/05012025/10/38/image_05012025_10_38_02_869344_0001.jpg', '/home/pi/Desktop/images/05012025/10/38/image_05012025_10_38_02_869344_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/10/37/image_05012025_10_37_02_591606_0003.jpg
/home/pi/Desktop/images/05012025/10/38/image_05012025_10_38_02_869344_0000.jpg
/home/pi/Desktop/images/05012025/10/38/image_05012025_10_38_02_869344_0001.jpg
/home/pi/Desktop/images/05012025/10/38/image_05012025_10_38_02_869344_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870433","1326870430","1326870424","1326870425"],"photo_ids_order":["1326870424","1326870425","1326870430","1326870433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7142fed2160ea62c6d3e60a33ba22bb1.jpg","text":"TemporaryFile(/tmp/multipartBody1554585968376684337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069973057,"filename":"image_05012025_10_38_02_869344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/77ee82be337b9a41c4f922fdacb41108.jpg","text":"TemporaryFile(/tmp/multipartBody3908837665177532878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069973057,"filename":"image_05012025_10_38_02_869344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2dff2bd1b6158e40f9691e4987c55c67.jpg","text":"TemporaryFile(/tmp/multipartBody787980417937668618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069973057,"filename":"image_05012025_10_37_02_591606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/68f1d204da7cd4bfe137c49d42b486e4.jpg","text":"TemporaryFile(/tmp/multipartBody7689619170718182188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736069973057,"filename":"image_05012025_10_38_02_869344_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870430","file1":"1326870425","file0":"1326870424","file3":"1326870433"},"map_files_photo_id_array":[{"photo_id":"1326870430","filename":"file2"},{"photo_id":"1326870425","filename":"file1"},{"photo_id":"1326870424","filename":"file0"},{"photo_id":"1326870433","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870433":["hashtag1","hashtag2"]},{"1326870430":["hashtag1","hashtag2"]},{"1326870424":["hashtag1","hashtag2"]},{"1326870425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870433, 1326870430, 1326870424, 1326870425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.73926043510437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:39:21.860260
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/38/image_05012025_10_38_02_869344_0003.jpg', '/home/pi/Desktop/images/05012025/10/39/image_05012025_10_39_03_033474_0000.jpg', '/home/pi/Desktop/images/05012025/10/39/image_05012025_10_39_03_033474_0001.jpg', '/home/pi/Desktop/images/05012025/10/39/image_05012025_10_39_03_033474_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/10/38/image_05012025_10_38_02_869344_0003.jpg
/home/pi/Desktop/images/05012025/10/39/image_05012025_10_39_03_033474_0000.jpg
/home/pi/Desktop/images/05012025/10/39/image_05012025_10_39_03_033474_0001.jpg
/home/pi/Desktop/images/05012025/10/39/image_05012025_10_39_03_033474_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870460","1326870465","1326870467","1326870463"],"photo_ids_order":["1326870460","1326870463","1326870465","1326870467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/baed59d10794385919c548fcbe22a1c5.jpg","text":"TemporaryFile(/tmp/multipartBody4266614539551464789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070032187,"filename":"image_05012025_10_38_02_869344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dff7b0e9dec2944455a2bde97088943b.jpg","text":"TemporaryFile(/tmp/multipartBody7517378942917614648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070032187,"filename":"image_05012025_10_39_03_033474_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d3c56271a1c142efd88325130367a261.jpg","text":"TemporaryFile(/tmp/multipartBody5548281751122331844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070032187,"filename":"image_05012025_10_39_03_033474_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0cd92797259724419ddcb6fe008799ac.jpg","text":"TemporaryFile(/tmp/multipartBody8463288919096125696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070032187,"filename":"image_05012025_10_39_03_033474_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870465","file1":"1326870463","file0":"1326870460","file3":"1326870467"},"map_files_photo_id_array":[{"photo_id":"1326870465","filename":"file2"},{"photo_id":"1326870463","filename":"file1"},{"photo_id":"1326870460","filename":"file0"},{"photo_id":"1326870467","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870460":["hashtag1","hashtag2"]},{"1326870465":["hashtag1","hashtag2"]},{"1326870467":["hashtag1","hashtag2"]},{"1326870463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870460, 1326870465, 1326870467, 1326870463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.05607891082764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:40:22.000796
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/39/image_05012025_10_39_03_033474_0003.jpg', '/home/pi/Desktop/images/05012025/10/40/image_05012025_10_40_02_190719_0000.jpg', '/home/pi/Desktop/images/05012025/10/40/image_05012025_10_40_02_190719_0001.jpg', '/home/pi/Desktop/images/05012025/10/40/image_05012025_10_40_02_190719_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/10/39/image_05012025_10_39_03_033474_0003.jpg
/home/pi/Desktop/images/05012025/10/40/image_05012025_10_40_02_190719_0000.jpg
/home/pi/Desktop/images/05012025/10/40/image_05012025_10_40_02_190719_0001.jpg
/home/pi/Desktop/images/05012025/10/40/image_05012025_10_40_02_190719_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870474","1326870479","1326870476","1326870481"],"photo_ids_order":["1326870474","1326870476","1326870479","1326870481"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/896eed15241486b271dc91f2effa8556.jpg","text":"TemporaryFile(/tmp/multipartBody6567730402776455028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070092429,"filename":"image_05012025_10_39_03_033474_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc5c5c5155afc61e4a6996bede6476cf.jpg","text":"TemporaryFile(/tmp/multipartBody901414113766712063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070092429,"filename":"image_05012025_10_40_02_190719_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/525867a2bcded8915c4e112755797f97.jpg","text":"TemporaryFile(/tmp/multipartBody2586841118090543990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070092429,"filename":"image_05012025_10_40_02_190719_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/94da62196eae3e8fec08ce89b1c1575e.jpg","text":"TemporaryFile(/tmp/multipartBody1843679313229755239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070092429,"filename":"image_05012025_10_40_02_190719_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870479","file1":"1326870476","file0":"1326870474","file3":"1326870481"},"map_files_photo_id_array":[{"photo_id":"1326870479","filename":"file2"},{"photo_id":"1326870476","filename":"file1"},{"photo_id":"1326870474","filename":"file0"},{"photo_id":"1326870481","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870474":["hashtag1","hashtag2"]},{"1326870479":["hashtag1","hashtag2"]},{"1326870476":["hashtag1","hashtag2"]},{"1326870481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870474, 1326870479, 1326870476, 1326870481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.32058763504028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:41:02.790306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:41:22.176123
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/40/image_05012025_10_40_02_190719_0003.jpg', '/home/pi/Desktop/images/05012025/10/41/image_05012025_10_41_02_349565_0000.jpg', '/home/pi/Desktop/images/05012025/10/41/image_05012025_10_41_02_349565_0001.jpg', '/home/pi/Desktop/images/05012025/10/41/image_05012025_10_41_02_349565_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/10/40/image_05012025_10_40_02_190719_0003.jpg
/home/pi/Desktop/images/05012025/10/41/image_05012025_10_41_02_349565_0000.jpg
/home/pi/Desktop/images/05012025/10/41/image_05012025_10_41_02_349565_0001.jpg
/home/pi/Desktop/images/05012025/10/41/image_05012025_10_41_02_349565_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870495","1326870497","1326870493","1326870499"],"photo_ids_order":["1326870493","1326870495","1326870497","1326870499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/10c4e22f4349b2d479f2d6cf9f78a22d.jpg","text":"TemporaryFile(/tmp/multipartBody3034473160997637696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070152528,"filename":"image_05012025_10_41_02_349565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9a56e621510b453733cebe3920930882.jpg","text":"TemporaryFile(/tmp/multipartBody5256834942672126347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070152528,"filename":"image_05012025_10_41_02_349565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c7c92336a8693209c1ecbb3b569804ae.jpg","text":"TemporaryFile(/tmp/multipartBody6212119506633692636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070152528,"filename":"image_05012025_10_40_02_190719_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9d48429e2208bf0fa8a39a7d4fc9f0da.jpg","text":"TemporaryFile(/tmp/multipartBody2103162650918660927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070152528,"filename":"image_05012025_10_41_02_349565_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870497","file1":"1326870495","file0":"1326870493","file3":"1326870499"},"map_files_photo_id_array":[{"photo_id":"1326870497","filename":"file2"},{"photo_id":"1326870495","filename":"file1"},{"photo_id":"1326870493","filename":"file0"},{"photo_id":"1326870499","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870495":["hashtag1","hashtag2"]},{"1326870497":["hashtag1","hashtag2"]},{"1326870493":["hashtag1","hashtag2"]},{"1326870499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870495, 1326870497, 1326870493, 1326870499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.82736563682556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:42:02.813793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:42:22.380808
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/41/image_05012025_10_41_02_349565_0003.jpg', '/home/pi/Desktop/images/05012025/10/42/image_05012025_10_42_02_580711_0000.jpg', '/home/pi/Desktop/images/05012025/10/42/image_05012025_10_42_02_580711_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/10/41/image_05012025_10_41_02_349565_0003.jpg
/home/pi/Desktop/images/05012025/10/42/image_05012025_10_42_02_580711_0000.jpg
/home/pi/Desktop/images/05012025/10/42/image_05012025_10_42_02_580711_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.577430963516235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 10:42:32.318457
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/41/image_05012025_10_41_02_349565_0003.jpg', '/home/pi/Desktop/images/05012025/10/42/image_05012025_10_42_02_580711_0000.jpg', '/home/pi/Desktop/images/05012025/10/42/image_05012025_10_42_02_580711_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/10/41/image_05012025_10_41_02_349565_0003.jpg
/home/pi/Desktop/images/05012025/10/42/image_05012025_10_42_02_580711_0000.jpg
/home/pi/Desktop/images/05012025/10/42/image_05012025_10_42_02_580711_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870526","1326870536","1326870524"],"photo_ids_order":["1326870524","1326870526","1326870536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/54c9aae3f2e840a0a03d407d7fbbbd87.jpg","text":"TemporaryFile(/tmp/multipartBody6262907718569564823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070220297,"filename":"image_05012025_10_42_02_580711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/750f0492851eea1b797de259deea4aee.jpg","text":"TemporaryFile(/tmp/multipartBody6756822697041823139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070220297,"filename":"image_05012025_10_42_02_580711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7e312481dbfa3a8947985837216e760e.jpg","text":"TemporaryFile(/tmp/multipartBody3700317351426270295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070220297,"filename":"image_05012025_10_41_02_349565_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870536","file1":"1326870526","file0":"1326870524"},"map_files_photo_id_array":[{"photo_id":"1326870536","filename":"file2"},{"photo_id":"1326870526","filename":"file1"},{"photo_id":"1326870524","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870526":["hashtag1","hashtag2"]},{"1326870536":["hashtag1","hashtag2"]},{"1326870524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870526, 1326870536, 1326870524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.538318157196045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:43:22.555723
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/42/image_05012025_10_42_02_580711_0003.jpg', '/home/pi/Desktop/images/05012025/10/43/image_05012025_10_43_02_715351_0000.jpg', '/home/pi/Desktop/images/05012025/10/43/image_05012025_10_43_02_715351_0001.jpg', '/home/pi/Desktop/images/05012025/10/43/image_05012025_10_43_02_715351_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/10/42/image_05012025_10_42_02_580711_0003.jpg
/home/pi/Desktop/images/05012025/10/43/image_05012025_10_43_02_715351_0000.jpg
/home/pi/Desktop/images/05012025/10/43/image_05012025_10_43_02_715351_0001.jpg
/home/pi/Desktop/images/05012025/10/43/image_05012025_10_43_02_715351_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870573","1326870567","1326870569","1326870571"],"photo_ids_order":["1326870567","1326870569","1326870571","1326870573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/543566a41800617c413da47597131d91.jpg","text":"TemporaryFile(/tmp/multipartBody9066485660581437118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070273058,"filename":"image_05012025_10_43_02_715351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/85a6c2d18a179733372cd5e4beae4a86.jpg","text":"TemporaryFile(/tmp/multipartBody8108469811996777605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070273058,"filename":"image_05012025_10_42_02_580711_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0b0152f9c4366664a3114d71f116a5c0.jpg","text":"TemporaryFile(/tmp/multipartBody6572510590919813400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070273058,"filename":"image_05012025_10_43_02_715351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/af09a9418694d2f1842a73831247578f.jpg","text":"TemporaryFile(/tmp/multipartBody8863668690313616206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070273058,"filename":"image_05012025_10_43_02_715351_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870571","file1":"1326870569","file0":"1326870567","file3":"1326870573"},"map_files_photo_id_array":[{"photo_id":"1326870571","filename":"file2"},{"photo_id":"1326870569","filename":"file1"},{"photo_id":"1326870567","filename":"file0"},{"photo_id":"1326870573","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870573":["hashtag1","hashtag2"]},{"1326870567":["hashtag1","hashtag2"]},{"1326870569":["hashtag1","hashtag2"]},{"1326870571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870573, 1326870567, 1326870569, 1326870571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.11676001548767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:44:03.153551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:44:22.711825
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/43/image_05012025_10_43_02_715351_0003.jpg', '/home/pi/Desktop/images/05012025/10/44/image_05012025_10_44_02_878752_0000.jpg', '/home/pi/Desktop/images/05012025/10/44/image_05012025_10_44_02_878752_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/10/43/image_05012025_10_43_02_715351_0003.jpg
/home/pi/Desktop/images/05012025/10/44/image_05012025_10_44_02_878752_0000.jpg
/home/pi/Desktop/images/05012025/10/44/image_05012025_10_44_02_878752_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":["1326870666","1326870661","1326870664"],"photo_ids_order":["1326870661","1326870664","1326870666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/25e6cfef4e8bb167303123814c891cda.jpg","text":"TemporaryFile(/tmp/multipartBody2249261982812129379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070330486,"filename":"image_05012025_10_44_02_878752_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/65876b555f894c6ccfe11942c53732f0.jpg","text":"TemporaryFile(/tmp/multipartBody37186725163255838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070330486,"filename":"image_05012025_10_43_02_715351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6a43c4fbe8fd590091867f61adaeb8a9.jpg","text":"TemporaryFile(/tmp/multipartBody3197344955954940994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070330486,"filename":"image_05012025_10_44_02_878752_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870666","file1":"1326870664","file0":"1326870661"},"map_files_photo_id_array":[{"photo_id":"1326870666","filename":"file2"},{"photo_id":"1326870664","filename":"file1"},{"photo_id":"1326870661","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870666":["hashtag1","hashtag2"]},{"1326870661":["hashtag1","hashtag2"]},{"1326870664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870666, 1326870661, 1326870664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.542919397354126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:45:02.491048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:45:21.923607
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/44/image_05012025_10_44_02_878752_0003.jpg', '/home/pi/Desktop/images/05012025/10/45/image_05012025_10_45_03_121973_0000.jpg', '/home/pi/Desktop/images/05012025/10/45/image_05012025_10_45_03_121973_0001.jpg', '/home/pi/Desktop/images/05012025/10/45/image_05012025_10_45_03_121973_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/10/44/image_05012025_10_44_02_878752_0003.jpg
/home/pi/Desktop/images/05012025/10/45/image_05012025_10_45_03_121973_0000.jpg
/home/pi/Desktop/images/05012025/10/45/image_05012025_10_45_03_121973_0001.jpg
/home/pi/Desktop/images/05012025/10/45/image_05012025_10_45_03_121973_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870684","1326870687","1326870689","1326870691"],"photo_ids_order":["1326870684","1326870687","1326870689","1326870691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e34a0fe977b4b3d395d4ba847e4d6085.jpg","text":"TemporaryFile(/tmp/multipartBody6449825193645382806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070392390,"filename":"image_05012025_10_44_02_878752_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a6976e69b4810d14b27b8e657b5b6fb8.jpg","text":"TemporaryFile(/tmp/multipartBody7036750262722467074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070392390,"filename":"image_05012025_10_45_03_121973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2eef7db85ceb7703defbbbfb7402b72e.jpg","text":"TemporaryFile(/tmp/multipartBody7696632552081368697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070392390,"filename":"image_05012025_10_45_03_121973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ef9a06674f643916aa424dcb3a05856a.jpg","text":"TemporaryFile(/tmp/multipartBody7745265709266541706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070392390,"filename":"image_05012025_10_45_03_121973_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870689","file1":"1326870687","file0":"1326870684","file3":"1326870691"},"map_files_photo_id_array":[{"photo_id":"1326870689","filename":"file2"},{"photo_id":"1326870687","filename":"file1"},{"photo_id":"1326870684","filename":"file0"},{"photo_id":"1326870691","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870684":["hashtag1","hashtag2"]},{"1326870687":["hashtag1","hashtag2"]},{"1326870689":["hashtag1","hashtag2"]},{"1326870691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870684, 1326870687, 1326870689, 1326870691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.184606313705444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:46:02.465582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:46:22.040891
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/45/image_05012025_10_45_03_121973_0003.jpg', '/home/pi/Desktop/images/05012025/10/46/image_05012025_10_46_02_231417_0000.jpg', '/home/pi/Desktop/images/05012025/10/46/image_05012025_10_46_02_231417_0001.jpg', '/home/pi/Desktop/images/05012025/10/46/image_05012025_10_46_02_231417_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/10/45/image_05012025_10_45_03_121973_0003.jpg
/home/pi/Desktop/images/05012025/10/46/image_05012025_10_46_02_231417_0000.jpg
/home/pi/Desktop/images/05012025/10/46/image_05012025_10_46_02_231417_0001.jpg
/home/pi/Desktop/images/05012025/10/46/image_05012025_10_46_02_231417_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870751","1326870761","1326870764","1326870757"],"photo_ids_order":["1326870751","1326870757","1326870761","1326870764"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/94a9664393ac79e8145c82ea37fa11b5.jpg","text":"TemporaryFile(/tmp/multipartBody4955409437645039774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070452388,"filename":"image_05012025_10_45_03_121973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02a60d1600328a698cba4d1b3fbac98f.jpg","text":"TemporaryFile(/tmp/multipartBody6221716104072194651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070452388,"filename":"image_05012025_10_46_02_231417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d7c27ffc79a4f014d61ef60426870586.jpg","text":"TemporaryFile(/tmp/multipartBody3839748486312255119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070452388,"filename":"image_05012025_10_46_02_231417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9e3323bf241e977d6a3d86e8833f40d7.jpg","text":"TemporaryFile(/tmp/multipartBody959355396871013125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070452388,"filename":"image_05012025_10_46_02_231417_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870761","file1":"1326870757","file0":"1326870751","file3":"1326870764"},"map_files_photo_id_array":[{"photo_id":"1326870761","filename":"file2"},{"photo_id":"1326870757","filename":"file1"},{"photo_id":"1326870751","filename":"file0"},{"photo_id":"1326870764","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870751":["hashtag1","hashtag2"]},{"1326870761":["hashtag1","hashtag2"]},{"1326870764":["hashtag1","hashtag2"]},{"1326870757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870751, 1326870761, 1326870764, 1326870757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.71592664718628 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:47:22.369815
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/46/image_05012025_10_46_02_231417_0003.jpg', '/home/pi/Desktop/images/05012025/10/47/image_05012025_10_47_02_400410_0000.jpg', '/home/pi/Desktop/images/05012025/10/47/image_05012025_10_47_02_400410_0001.jpg', '/home/pi/Desktop/images/05012025/10/47/image_05012025_10_47_02_400410_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/10/46/image_05012025_10_46_02_231417_0003.jpg
/home/pi/Desktop/images/05012025/10/47/image_05012025_10_47_02_400410_0000.jpg
/home/pi/Desktop/images/05012025/10/47/image_05012025_10_47_02_400410_0001.jpg
/home/pi/Desktop/images/05012025/10/47/image_05012025_10_47_02_400410_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870770","1326870772","1326870775","1326870778"],"photo_ids_order":["1326870770","1326870772","1326870775","1326870778"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2bf800871f1b9fd27412765520cd580d.jpg","text":"TemporaryFile(/tmp/multipartBody1654893890024308304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070512710,"filename":"image_05012025_10_46_02_231417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/21e7f2eb1d763e12953059fef03f176e.jpg","text":"TemporaryFile(/tmp/multipartBody6948378535325106773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070512710,"filename":"image_05012025_10_47_02_400410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6bdaab4c861baf675e1f2d1b4877d631.jpg","text":"TemporaryFile(/tmp/multipartBody1373520307691695180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070512710,"filename":"image_05012025_10_47_02_400410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7332dde021e038c3c181ea2d3c769eeb.jpg","text":"TemporaryFile(/tmp/multipartBody3736583989644324601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070512710,"filename":"image_05012025_10_47_02_400410_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870775","file1":"1326870772","file0":"1326870770","file3":"1326870778"},"map_files_photo_id_array":[{"photo_id":"1326870775","filename":"file2"},{"photo_id":"1326870772","filename":"file1"},{"photo_id":"1326870770","filename":"file0"},{"photo_id":"1326870778","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870770":["hashtag1","hashtag2"]},{"1326870772":["hashtag1","hashtag2"]},{"1326870775":["hashtag1","hashtag2"]},{"1326870778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870770, 1326870772, 1326870775, 1326870778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.714197874069214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:48:22.430843
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/47/image_05012025_10_47_02_400410_0003.jpg', '/home/pi/Desktop/images/05012025/10/48/image_05012025_10_48_02_616643_0000.jpg', '/home/pi/Desktop/images/05012025/10/48/image_05012025_10_48_02_616643_0001.jpg', '/home/pi/Desktop/images/05012025/10/48/image_05012025_10_48_02_616643_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/10/47/image_05012025_10_47_02_400410_0003.jpg
/home/pi/Desktop/images/05012025/10/48/image_05012025_10_48_02_616643_0000.jpg
/home/pi/Desktop/images/05012025/10/48/image_05012025_10_48_02_616643_0001.jpg
/home/pi/Desktop/images/05012025/10/48/image_05012025_10_48_02_616643_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870789","1326870791","1326870793","1326870787"],"photo_ids_order":["1326870787","1326870789","1326870791","1326870793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/21d21e5415cb91cb54398eb9d5ad400a.jpg","text":"TemporaryFile(/tmp/multipartBody3360144329961443302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070572659,"filename":"image_05012025_10_48_02_616643_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/84b519e9dea81f4db60e706525e02e79.jpg","text":"TemporaryFile(/tmp/multipartBody1397374744264485951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070572659,"filename":"image_05012025_10_48_02_616643_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6fbdfaefa61cec19eec24053693816cc.jpg","text":"TemporaryFile(/tmp/multipartBody7680846862825109088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070572659,"filename":"image_05012025_10_48_02_616643_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9c970fafbee563def9c37958a27857f0.jpg","text":"TemporaryFile(/tmp/multipartBody6835801905515942617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070572659,"filename":"image_05012025_10_47_02_400410_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870791","file1":"1326870789","file0":"1326870787","file3":"1326870793"},"map_files_photo_id_array":[{"photo_id":"1326870791","filename":"file2"},{"photo_id":"1326870789","filename":"file1"},{"photo_id":"1326870787","filename":"file0"},{"photo_id":"1326870793","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870789":["hashtag1","hashtag2"]},{"1326870791":["hashtag1","hashtag2"]},{"1326870793":["hashtag1","hashtag2"]},{"1326870787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870789, 1326870791, 1326870793, 1326870787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.13110542297363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:49:03.192365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:49:22.597343
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/48/image_05012025_10_48_02_616643_0003.jpg', '/home/pi/Desktop/images/05012025/10/49/image_05012025_10_49_02_807848_0000.jpg', '/home/pi/Desktop/images/05012025/10/49/image_05012025_10_49_02_807848_0001.jpg', '/home/pi/Desktop/images/05012025/10/49/image_05012025_10_49_02_807848_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/10/48/image_05012025_10_48_02_616643_0003.jpg
/home/pi/Desktop/images/05012025/10/49/image_05012025_10_49_02_807848_0000.jpg
/home/pi/Desktop/images/05012025/10/49/image_05012025_10_49_02_807848_0001.jpg
/home/pi/Desktop/images/05012025/10/49/image_05012025_10_49_02_807848_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870838","1326870840","1326870842","1326870836"],"photo_ids_order":["1326870836","1326870838","1326870840","1326870842"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f0ba8971dc0540e01d0b102610ff343b.jpg","text":"TemporaryFile(/tmp/multipartBody2221611006421796198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070632883,"filename":"image_05012025_10_49_02_807848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/86fa3d3f60a7274749e40d80773be8df.jpg","text":"TemporaryFile(/tmp/multipartBody3221334039760118186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070632883,"filename":"image_05012025_10_49_02_807848_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aabb93406654fc34dd14d5b9686ca9cc.jpg","text":"TemporaryFile(/tmp/multipartBody826020463438796374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070632883,"filename":"image_05012025_10_49_02_807848_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ca2213a0ba0c0dad485aef5527a92edb.jpg","text":"TemporaryFile(/tmp/multipartBody1904258933657549174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070632883,"filename":"image_05012025_10_48_02_616643_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870840","file1":"1326870838","file0":"1326870836","file3":"1326870842"},"map_files_photo_id_array":[{"photo_id":"1326870840","filename":"file2"},{"photo_id":"1326870838","filename":"file1"},{"photo_id":"1326870836","filename":"file0"},{"photo_id":"1326870842","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870838":["hashtag1","hashtag2"]},{"1326870840":["hashtag1","hashtag2"]},{"1326870842":["hashtag1","hashtag2"]},{"1326870836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870838, 1326870840, 1326870842, 1326870836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56535744667053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:50:22.850825
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/49/image_05012025_10_49_02_807848_0003.jpg', '/home/pi/Desktop/images/05012025/10/50/image_05012025_10_50_03_008832_0000.jpg', '/home/pi/Desktop/images/05012025/10/50/image_05012025_10_50_03_008832_0001.jpg', '/home/pi/Desktop/images/05012025/10/50/image_05012025_10_50_03_008832_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/10/49/image_05012025_10_49_02_807848_0003.jpg
/home/pi/Desktop/images/05012025/10/50/image_05012025_10_50_03_008832_0000.jpg
/home/pi/Desktop/images/05012025/10/50/image_05012025_10_50_03_008832_0001.jpg
/home/pi/Desktop/images/05012025/10/50/image_05012025_10_50_03_008832_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870864","1326870858","1326870861","1326870856"],"photo_ids_order":["1326870856","1326870858","1326870861","1326870864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ee763c0221ad7bec50d42da9282692c8.jpg","text":"TemporaryFile(/tmp/multipartBody509404831391714250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070693284,"filename":"image_05012025_10_50_03_008832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e9c220053a69222a7c944a030dad557b.jpg","text":"TemporaryFile(/tmp/multipartBody5496151902914021272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070693284,"filename":"image_05012025_10_50_03_008832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f71d299826ec1ec5c1d9f6a84b2d3b4b.jpg","text":"TemporaryFile(/tmp/multipartBody1631215301391447571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070693284,"filename":"image_05012025_10_50_03_008832_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4343f6b6183226e1e811b3883e64ea4b.jpg","text":"TemporaryFile(/tmp/multipartBody8037568902924964853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070693284,"filename":"image_05012025_10_49_02_807848_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870861","file1":"1326870858","file0":"1326870856","file3":"1326870864"},"map_files_photo_id_array":[{"photo_id":"1326870861","filename":"file2"},{"photo_id":"1326870858","filename":"file1"},{"photo_id":"1326870856","filename":"file0"},{"photo_id":"1326870864","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870864":["hashtag1","hashtag2"]},{"1326870858":["hashtag1","hashtag2"]},{"1326870861":["hashtag1","hashtag2"]},{"1326870856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870864, 1326870858, 1326870861, 1326870856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.48057174682617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:51:21.987998
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/50/image_05012025_10_50_03_008832_0003.jpg', '/home/pi/Desktop/images/05012025/10/51/image_05012025_10_51_03_121341_0000.jpg', '/home/pi/Desktop/images/05012025/10/51/image_05012025_10_51_03_121341_0001.jpg', '/home/pi/Desktop/images/05012025/10/51/image_05012025_10_51_03_121341_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/10/50/image_05012025_10_50_03_008832_0003.jpg
/home/pi/Desktop/images/05012025/10/51/image_05012025_10_51_03_121341_0000.jpg
/home/pi/Desktop/images/05012025/10/51/image_05012025_10_51_03_121341_0001.jpg
/home/pi/Desktop/images/05012025/10/51/image_05012025_10_51_03_121341_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870876","1326870885","1326870873","1326870878"],"photo_ids_order":["1326870873","1326870876","1326870878","1326870885"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d1f1db917a7583eaa691a49eac976930.jpg","text":"TemporaryFile(/tmp/multipartBody6660855763669284270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070752346,"filename":"image_05012025_10_51_03_121341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/afd67b9d54000167a03667ed6947d8f1.jpg","text":"TemporaryFile(/tmp/multipartBody5162043498377895546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070752346,"filename":"image_05012025_10_51_03_121341_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eaeebfa4df05f46cc96fefeadbe68412.jpg","text":"TemporaryFile(/tmp/multipartBody7856700300931457945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070752346,"filename":"image_05012025_10_50_03_008832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/83b530e72dd7c54c7de979ba534bd391.jpg","text":"TemporaryFile(/tmp/multipartBody3000515221511435813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070752346,"filename":"image_05012025_10_51_03_121341_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870878","file1":"1326870876","file0":"1326870873","file3":"1326870885"},"map_files_photo_id_array":[{"photo_id":"1326870878","filename":"file2"},{"photo_id":"1326870876","filename":"file1"},{"photo_id":"1326870873","filename":"file0"},{"photo_id":"1326870885","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870876":["hashtag1","hashtag2"]},{"1326870885":["hashtag1","hashtag2"]},{"1326870873":["hashtag1","hashtag2"]},{"1326870878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870876, 1326870885, 1326870873, 1326870878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58048915863037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:52:02.466505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:52:22.099379
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/51/image_05012025_10_51_03_121341_0003.jpg', '/home/pi/Desktop/images/05012025/10/52/image_05012025_10_52_02_301835_0000.jpg', '/home/pi/Desktop/images/05012025/10/52/image_05012025_10_52_02_301835_0001.jpg', '/home/pi/Desktop/images/05012025/10/52/image_05012025_10_52_02_301835_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/10/51/image_05012025_10_51_03_121341_0003.jpg
/home/pi/Desktop/images/05012025/10/52/image_05012025_10_52_02_301835_0000.jpg
/home/pi/Desktop/images/05012025/10/52/image_05012025_10_52_02_301835_0001.jpg
/home/pi/Desktop/images/05012025/10/52/image_05012025_10_52_02_301835_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.948962688446045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 10:52:42.150743
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/51/image_05012025_10_51_03_121341_0003.jpg', '/home/pi/Desktop/images/05012025/10/52/image_05012025_10_52_02_301835_0000.jpg', '/home/pi/Desktop/images/05012025/10/52/image_05012025_10_52_02_301835_0001.jpg', '/home/pi/Desktop/images/05012025/10/52/image_05012025_10_52_02_301835_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/10/51/image_05012025_10_51_03_121341_0003.jpg
/home/pi/Desktop/images/05012025/10/52/image_05012025_10_52_02_301835_0000.jpg
/home/pi/Desktop/images/05012025/10/52/image_05012025_10_52_02_301835_0001.jpg
/home/pi/Desktop/images/05012025/10/52/image_05012025_10_52_02_301835_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":["1326870943","1326870941","1326870938","1326870935"],"photo_ids_order":["1326870935","1326870938","1326870941","1326870943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1abcb9f7844bddb4992f40bfd9890190.jpg","text":"TemporaryFile(/tmp/multipartBody3126651092807766007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070832487,"filename":"image_05012025_10_52_02_301835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4d1a01ae59e284f40e7e0630a1f47f8f.jpg","text":"TemporaryFile(/tmp/multipartBody1747681216501619811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070832487,"filename":"image_05012025_10_52_02_301835_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/54a24365f51ed9398972ac9400dff8ff.jpg","text":"TemporaryFile(/tmp/multipartBody2835941786016552340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070832487,"filename":"image_05012025_10_52_02_301835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/06512c293fbed75772af238b5ca0ed21.jpg","text":"TemporaryFile(/tmp/multipartBody5081166499116166450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070832487,"filename":"image_05012025_10_51_03_121341_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870941","file1":"1326870938","file0":"1326870935","file3":"1326870943"},"map_files_photo_id_array":[{"photo_id":"1326870941","filename":"file2"},{"photo_id":"1326870938","filename":"file1"},{"photo_id":"1326870935","filename":"file0"},{"photo_id":"1326870943","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870943":["hashtag1","hashtag2"]},{"1326870941":["hashtag1","hashtag2"]},{"1326870938":["hashtag1","hashtag2"]},{"1326870935":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870943, 1326870941, 1326870938, 1326870935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.936294078826904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:53:22.372224
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/52/image_05012025_10_52_02_301835_0003.jpg', '/home/pi/Desktop/images/05012025/10/53/image_05012025_10_53_02_545107_0000.jpg', '/home/pi/Desktop/images/05012025/10/53/image_05012025_10_53_02_545107_0001.jpg', '/home/pi/Desktop/images/05012025/10/53/image_05012025_10_53_02_545107_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/10/52/image_05012025_10_52_02_301835_0003.jpg
/home/pi/Desktop/images/05012025/10/53/image_05012025_10_53_02_545107_0000.jpg
/home/pi/Desktop/images/05012025/10/53/image_05012025_10_53_02_545107_0001.jpg
/home/pi/Desktop/images/05012025/10/53/image_05012025_10_53_02_545107_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326870993","1326870995","1326870998","1326871001"],"photo_ids_order":["1326870993","1326870995","1326870998","1326871001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d5bbd6c969b0e27946b5dafac30748ba.jpg","text":"TemporaryFile(/tmp/multipartBody7328282664054296695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070872750,"filename":"image_05012025_10_52_02_301835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/daf65045e2ea9400bce89e24d81a9322.jpg","text":"TemporaryFile(/tmp/multipartBody2109269920357280273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070872750,"filename":"image_05012025_10_53_02_545107_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f76d661e4a535ea75aed3475b7280790.jpg","text":"TemporaryFile(/tmp/multipartBody1235169789682922130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070872750,"filename":"image_05012025_10_53_02_545107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/34c12f162863e703acf36e311dcbd4f4.jpg","text":"TemporaryFile(/tmp/multipartBody8571391479550654739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070872750,"filename":"image_05012025_10_53_02_545107_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326870998","file1":"1326870995","file0":"1326870993","file3":"1326871001"},"map_files_photo_id_array":[{"photo_id":"1326870998","filename":"file2"},{"photo_id":"1326870995","filename":"file1"},{"photo_id":"1326870993","filename":"file0"},{"photo_id":"1326871001","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326870993":["hashtag1","hashtag2"]},{"1326870995":["hashtag1","hashtag2"]},{"1326870998":["hashtag1","hashtag2"]},{"1326871001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326870993, 1326870995, 1326870998, 1326871001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.90053033828735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:54:02.866578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:54:22.599722
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/53/image_05012025_10_53_02_545107_0003.jpg', '/home/pi/Desktop/images/05012025/10/54/image_05012025_10_54_02_686735_0000.jpg', '/home/pi/Desktop/images/05012025/10/54/image_05012025_10_54_02_686735_0001.jpg', '/home/pi/Desktop/images/05012025/10/54/image_05012025_10_54_02_686735_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/10/53/image_05012025_10_53_02_545107_0003.jpg
/home/pi/Desktop/images/05012025/10/54/image_05012025_10_54_02_686735_0000.jpg
/home/pi/Desktop/images/05012025/10/54/image_05012025_10_54_02_686735_0001.jpg
/home/pi/Desktop/images/05012025/10/54/image_05012025_10_54_02_686735_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326871012","1326871029","1326871015","1326871018"],"photo_ids_order":["1326871012","1326871015","1326871018","1326871029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/41e070d58cb9f0ca2518eb812acc1bd5.jpg","text":"TemporaryFile(/tmp/multipartBody4493978415243660492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070933114,"filename":"image_05012025_10_53_02_545107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/df5cc88d23092769f5697452e43b883b.jpg","text":"TemporaryFile(/tmp/multipartBody819907896036427448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070933114,"filename":"image_05012025_10_54_02_686735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ecd5c5699f3aaf039b6572d210ac2c4a.jpg","text":"TemporaryFile(/tmp/multipartBody5175828546824554104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070933114,"filename":"image_05012025_10_54_02_686735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/70e538504a091f5b6021e3fa05fdab5c.jpg","text":"TemporaryFile(/tmp/multipartBody6937854828622572882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070933114,"filename":"image_05012025_10_54_02_686735_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326871018","file1":"1326871015","file0":"1326871012","file3":"1326871029"},"map_files_photo_id_array":[{"photo_id":"1326871018","filename":"file2"},{"photo_id":"1326871015","filename":"file1"},{"photo_id":"1326871012","filename":"file0"},{"photo_id":"1326871029","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326871012":["hashtag1","hashtag2"]},{"1326871029":["hashtag1","hashtag2"]},{"1326871015":["hashtag1","hashtag2"]},{"1326871018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326871012, 1326871029, 1326871015, 1326871018)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.77738046646118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:55:22.758117
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/54/image_05012025_10_54_02_686735_0003.jpg', '/home/pi/Desktop/images/05012025/10/55/image_05012025_10_55_02_941450_0000.jpg', '/home/pi/Desktop/images/05012025/10/55/image_05012025_10_55_02_941450_0001.jpg', '/home/pi/Desktop/images/05012025/10/55/image_05012025_10_55_02_941450_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/10/54/image_05012025_10_54_02_686735_0003.jpg
/home/pi/Desktop/images/05012025/10/55/image_05012025_10_55_02_941450_0000.jpg
/home/pi/Desktop/images/05012025/10/55/image_05012025_10_55_02_941450_0001.jpg
/home/pi/Desktop/images/05012025/10/55/image_05012025_10_55_02_941450_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326871110","1326871107","1326871101","1326871104"],"photo_ids_order":["1326871101","1326871104","1326871107","1326871110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/07d3bba496af34b90b8904da832da245.jpg","text":"TemporaryFile(/tmp/multipartBody336819045268964535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070993091,"filename":"image_05012025_10_55_02_941450_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/61157a8ad5fccc9ffdc0c274f64ac4f2.jpg","text":"TemporaryFile(/tmp/multipartBody8187146050410255870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070993091,"filename":"image_05012025_10_55_02_941450_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c790fe3e971bf1c1db381abab409537a.jpg","text":"TemporaryFile(/tmp/multipartBody8989445583960435830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070993091,"filename":"image_05012025_10_54_02_686735_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/43cc648b8c7f7d44ff98bc391f164fdf.jpg","text":"TemporaryFile(/tmp/multipartBody8303247224500802967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736070993091,"filename":"image_05012025_10_55_02_941450_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326871107","file1":"1326871104","file0":"1326871101","file3":"1326871110"},"map_files_photo_id_array":[{"photo_id":"1326871107","filename":"file2"},{"photo_id":"1326871104","filename":"file1"},{"photo_id":"1326871101","filename":"file0"},{"photo_id":"1326871110","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326871110":["hashtag1","hashtag2"]},{"1326871107":["hashtag1","hashtag2"]},{"1326871101":["hashtag1","hashtag2"]},{"1326871104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326871110, 1326871107, 1326871101, 1326871104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.63080096244812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:56:02.325952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:56:21.961638
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/55/image_05012025_10_55_02_941450_0003.jpg', '/home/pi/Desktop/images/05012025/10/56/image_05012025_10_56_03_136186_0000.jpg', '/home/pi/Desktop/images/05012025/10/56/image_05012025_10_56_03_136186_0001.jpg', '/home/pi/Desktop/images/05012025/10/56/image_05012025_10_56_03_136186_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/10/55/image_05012025_10_55_02_941450_0003.jpg
/home/pi/Desktop/images/05012025/10/56/image_05012025_10_56_03_136186_0000.jpg
/home/pi/Desktop/images/05012025/10/56/image_05012025_10_56_03_136186_0001.jpg
/home/pi/Desktop/images/05012025/10/56/image_05012025_10_56_03_136186_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326871833","1326871827","1326871812","1326871786"],"photo_ids_order":["1326871786","1326871812","1326871827","1326871833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/74393c5e23b56c596b162f691b247eb6.jpg","text":"TemporaryFile(/tmp/multipartBody8145217861103602019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071052412,"filename":"image_05012025_10_56_03_136186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc69b3f05ee53a652f49c4f4efac21ca.jpg","text":"TemporaryFile(/tmp/multipartBody4753522899370876726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071052412,"filename":"image_05012025_10_56_03_136186_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/089197bd0d87c053527dc1f8dfd1f57d.jpg","text":"TemporaryFile(/tmp/multipartBody2584623114612744085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071052412,"filename":"image_05012025_10_56_03_136186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/52a7e28cc9e809bc253979ed64d61765.jpg","text":"TemporaryFile(/tmp/multipartBody1121782199469715047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071052412,"filename":"image_05012025_10_55_02_941450_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326871827","file1":"1326871812","file0":"1326871786","file3":"1326871833"},"map_files_photo_id_array":[{"photo_id":"1326871827","filename":"file2"},{"photo_id":"1326871812","filename":"file1"},{"photo_id":"1326871786","filename":"file0"},{"photo_id":"1326871833","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326871833":["hashtag1","hashtag2"]},{"1326871827":["hashtag1","hashtag2"]},{"1326871812":["hashtag1","hashtag2"]},{"1326871786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326871833, 1326871827, 1326871812, 1326871786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.490920066833496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 10:57:02.805131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:57:22.196572
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/10/56/image_05012025_10_56_03_136186_0003.jpg', '/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0000.jpg', '/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0001.jpg', '/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_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/10/56/image_05012025_10_56_03_136186_0003.jpg
/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0000.jpg
/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0001.jpg
/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_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-05 10:59:03.084980
SELECT 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/10/56/image_05012025_10_56_03_136186_0003.jpg', '/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0000.jpg', '/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0001.jpg', '/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0002.jpg', '/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0003.jpg', '/home/pi/Desktop/images/05012025/10/58/image_05012025_10_58_02_456661_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/10/56/image_05012025_10_56_03_136186_0003.jpg
/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0000.jpg
/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0001.jpg
/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0002.jpg
/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0003.jpg
/home/pi/Desktop/images/05012025/10/58/image_05012025_10_58_02_456661_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: 15.064730167388916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 10:59:22.509888
SELECT 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/10/56/image_05012025_10_56_03_136186_0003.jpg', '/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0000.jpg', '/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0001.jpg', '/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0002.jpg', '/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0003.jpg', '/home/pi/Desktop/images/05012025/10/58/image_05012025_10_58_02_456661_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/10/56/image_05012025_10_56_03_136186_0003.jpg
/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0000.jpg
/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0001.jpg
/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0002.jpg
/home/pi/Desktop/images/05012025/10/57/image_05012025_10_57_02_334403_0003.jpg
/home/pi/Desktop/images/05012025/10/58/image_05012025_10_58_02_456661_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":["1326872243","1326872269","1326872271","1326872274","1326872268","1326872247"],"photo_ids_order":["1326872243","1326872247","1326872268","1326872269","1326872271","1326872274"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ceeb44a1ccd312c7772cb93a3f0f6b12.jpg","text":"TemporaryFile(/tmp/multipartBody9022761506361638045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071237900,"filename":"image_05012025_10_56_03_136186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/53e00e960dc67d3c0c9c82ba3bbd4467.jpg","text":"TemporaryFile(/tmp/multipartBody9118364250875889118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071237900,"filename":"image_05012025_10_57_02_334403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b1455fe3c5714166285ad77bc75ba9d9.jpg","text":"TemporaryFile(/tmp/multipartBody3221104104298985753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071237900,"filename":"image_05012025_10_57_02_334403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc048b16f1a07003711da59b5e2fdd3b.jpg","text":"TemporaryFile(/tmp/multipartBody568331264878776672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071237900,"filename":"image_05012025_10_58_02_456661_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c289f892543799c84c8d6f61fc36ede.jpg","text":"TemporaryFile(/tmp/multipartBody7957837235540942469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071237900,"filename":"image_05012025_10_57_02_334403_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3931189221077f0728dcc542dce800d9.jpg","text":"TemporaryFile(/tmp/multipartBody4808276508294965641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071237900,"filename":"image_05012025_10_57_02_334403_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326872268","file1":"1326872247","file0":"1326872243","file4":"1326872271","file5":"1326872274","file3":"1326872269"},"map_files_photo_id_array":[{"photo_id":"1326872274","filename":"file5"},{"photo_id":"1326872268","filename":"file2"},{"photo_id":"1326872271","filename":"file4"},{"photo_id":"1326872247","filename":"file1"},{"photo_id":"1326872243","filename":"file0"},{"photo_id":"1326872269","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326872243":["hashtag1","hashtag2"]},{"1326872269":["hashtag1","hashtag2"]},{"1326872271":["hashtag1","hashtag2"]},{"1326872274":["hashtag1","hashtag2"]},{"1326872268":["hashtag1","hashtag2"]},{"1326872247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326872243, 1326872269, 1326872271, 1326872274, 1326872268, 1326872247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.279483795166016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:00:22.759552
SELECT 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/10/58/image_05012025_10_58_02_456661_0001.jpg', '/home/pi/Desktop/images/05012025/10/58/image_05012025_10_58_02_456661_0002.jpg', '/home/pi/Desktop/images/05012025/10/58/image_05012025_10_58_02_456661_0003.jpg', '/home/pi/Desktop/images/05012025/10/59/image_05012025_10_59_02_730812_0000.jpg', '/home/pi/Desktop/images/05012025/10/59/image_05012025_10_59_02_730812_0001.jpg', '/home/pi/Desktop/images/05012025/10/59/image_05012025_10_59_02_730812_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/10/58/image_05012025_10_58_02_456661_0001.jpg
/home/pi/Desktop/images/05012025/10/58/image_05012025_10_58_02_456661_0002.jpg
/home/pi/Desktop/images/05012025/10/58/image_05012025_10_58_02_456661_0003.jpg
/home/pi/Desktop/images/05012025/10/59/image_05012025_10_59_02_730812_0000.jpg
/home/pi/Desktop/images/05012025/10/59/image_05012025_10_59_02_730812_0001.jpg
/home/pi/Desktop/images/05012025/10/59/image_05012025_10_59_02_730812_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326872427","1326872426","1326872429","1326872446","1326872449","1326872431"],"photo_ids_order":["1326872426","1326872427","1326872429","1326872431","1326872446","1326872449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a4b57f879de129d61d51efaa27dc279a.jpg","text":"TemporaryFile(/tmp/multipartBody4680051913501104620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071298057,"filename":"image_05012025_10_58_02_456661_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dfaf4a3ba7d432f2c61832419bcd3552.jpg","text":"TemporaryFile(/tmp/multipartBody2280536702557697201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071298057,"filename":"image_05012025_10_58_02_456661_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9afb9304048ad8b5be848ecee15d1dd0.jpg","text":"TemporaryFile(/tmp/multipartBody1319998522285931256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071298057,"filename":"image_05012025_10_58_02_456661_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/094ca1948d1ca30bfe7222d2f7920dfa.jpg","text":"TemporaryFile(/tmp/multipartBody9154518147336720011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071298057,"filename":"image_05012025_10_59_02_730812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5dc77b3b56b85c354fc0d9956a980763.jpg","text":"TemporaryFile(/tmp/multipartBody1774661938758152912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071298057,"filename":"image_05012025_10_59_02_730812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3053c4c3fd53e13aaab51a74375c8c2.jpg","text":"TemporaryFile(/tmp/multipartBody3597469038037925405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071298057,"filename":"image_05012025_10_59_02_730812_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326872429","file1":"1326872427","file0":"1326872426","file4":"1326872446","file5":"1326872449","file3":"1326872431"},"map_files_photo_id_array":[{"photo_id":"1326872449","filename":"file5"},{"photo_id":"1326872429","filename":"file2"},{"photo_id":"1326872446","filename":"file4"},{"photo_id":"1326872427","filename":"file1"},{"photo_id":"1326872426","filename":"file0"},{"photo_id":"1326872431","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326872427":["hashtag1","hashtag2"]},{"1326872426":["hashtag1","hashtag2"]},{"1326872429":["hashtag1","hashtag2"]},{"1326872446":["hashtag1","hashtag2"]},{"1326872449":["hashtag1","hashtag2"]},{"1326872431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326872427, 1326872426, 1326872429, 1326872446, 1326872449, 1326872431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.537923097610474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:01:21.912981
SELECT 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/10/59/image_05012025_10_59_02_730812_0003.jpg', '/home/pi/Desktop/images/05012025/11/00/image_05012025_11_00_02_916499_0000.jpg', '/home/pi/Desktop/images/05012025/11/00/image_05012025_11_00_02_916499_0001.jpg', '/home/pi/Desktop/images/05012025/11/00/image_05012025_11_00_02_916499_0002.jpg', '/home/pi/Desktop/images/05012025/11/00/image_05012025_11_00_02_916499_0003.jpg', '/home/pi/Desktop/images/05012025/11/01/image_05012025_11_01_03_050638_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/10/59/image_05012025_10_59_02_730812_0003.jpg
/home/pi/Desktop/images/05012025/11/00/image_05012025_11_00_02_916499_0000.jpg
/home/pi/Desktop/images/05012025/11/00/image_05012025_11_00_02_916499_0001.jpg
/home/pi/Desktop/images/05012025/11/00/image_05012025_11_00_02_916499_0002.jpg
/home/pi/Desktop/images/05012025/11/00/image_05012025_11_00_02_916499_0003.jpg
/home/pi/Desktop/images/05012025/11/01/image_05012025_11_01_03_050638_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":["1326872808","1326872741","1326872810","1326872611","1326872481","1326872478"],"photo_ids_order":["1326872478","1326872481","1326872611","1326872741","1326872808","1326872810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f005fcb46cf8090c2c3deda027c39675.jpg","text":"TemporaryFile(/tmp/multipartBody7115622532178377927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071357269,"filename":"image_05012025_11_00_02_916499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e7f0ac4eac2421fd2a27165aa4e222cf.jpg","text":"TemporaryFile(/tmp/multipartBody7889770761615713808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071357269,"filename":"image_05012025_11_00_02_916499_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/22f50cd85cc529c3beec03c18249159a.jpg","text":"TemporaryFile(/tmp/multipartBody6934388537665070506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071357269,"filename":"image_05012025_11_01_03_050638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b71de3591288a1849bbfcb6473df67f0.jpg","text":"TemporaryFile(/tmp/multipartBody1399394078760389285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071357269,"filename":"image_05012025_11_00_02_916499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e03dbdf5f062569328692270973bfb08.jpg","text":"TemporaryFile(/tmp/multipartBody3460295884547130829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071357269,"filename":"image_05012025_11_00_02_916499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c466685c3ff87274090cdb4f6115d22f.jpg","text":"TemporaryFile(/tmp/multipartBody5671569593359809791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071357269,"filename":"image_05012025_10_59_02_730812_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326872611","file1":"1326872481","file0":"1326872478","file4":"1326872808","file5":"1326872810","file3":"1326872741"},"map_files_photo_id_array":[{"photo_id":"1326872810","filename":"file5"},{"photo_id":"1326872611","filename":"file2"},{"photo_id":"1326872808","filename":"file4"},{"photo_id":"1326872481","filename":"file1"},{"photo_id":"1326872478","filename":"file0"},{"photo_id":"1326872741","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326872808":["hashtag1","hashtag2"]},{"1326872741":["hashtag1","hashtag2"]},{"1326872810":["hashtag1","hashtag2"]},{"1326872611":["hashtag1","hashtag2"]},{"1326872481":["hashtag1","hashtag2"]},{"1326872478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326872808, 1326872741, 1326872810, 1326872611, 1326872481, 1326872478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.66809630393982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:02:22.085157
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/01/image_05012025_11_01_03_050638_0001.jpg', '/home/pi/Desktop/images/05012025/11/01/image_05012025_11_01_03_050638_0002.jpg', '/home/pi/Desktop/images/05012025/11/01/image_05012025_11_01_03_050638_0003.jpg', '/home/pi/Desktop/images/05012025/11/02/image_05012025_11_02_02_310718_0001.jpg', '/home/pi/Desktop/images/05012025/11/02/image_05012025_11_02_02_310718_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/11/01/image_05012025_11_01_03_050638_0001.jpg
/home/pi/Desktop/images/05012025/11/01/image_05012025_11_01_03_050638_0002.jpg
/home/pi/Desktop/images/05012025/11/01/image_05012025_11_01_03_050638_0003.jpg
/home/pi/Desktop/images/05012025/11/02/image_05012025_11_02_02_310718_0001.jpg
/home/pi/Desktop/images/05012025/11/02/image_05012025_11_02_02_310718_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326872817","1326872813","1326872843","1326872815","1326872841"],"photo_ids_order":["1326872813","1326872815","1326872817","1326872841","1326872843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/00e387479a3b37c5bea759c97a8c4a7a.jpg","text":"TemporaryFile(/tmp/multipartBody7587666719549917653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071414858,"filename":"image_05012025_11_01_03_050638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d9cf5e4b72f6ff67b5a33e0e84ebd069.jpg","text":"TemporaryFile(/tmp/multipartBody2619975246062797208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071414858,"filename":"image_05012025_11_01_03_050638_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/447a1b761a125be9375c7f91fe79e1d3.jpg","text":"TemporaryFile(/tmp/multipartBody4764484843122184301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071414858,"filename":"image_05012025_11_02_02_310718_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/52015a68304c2d940092edb558434b5b.jpg","text":"TemporaryFile(/tmp/multipartBody5681606651913158554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071414858,"filename":"image_05012025_11_01_03_050638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2985a37c352943d1ff9f6d1d0a22a269.jpg","text":"TemporaryFile(/tmp/multipartBody1194908419317622395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071414858,"filename":"image_05012025_11_02_02_310718_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326872817","file1":"1326872815","file0":"1326872813","file4":"1326872843","file3":"1326872841"},"map_files_photo_id_array":[{"photo_id":"1326872817","filename":"file2"},{"photo_id":"1326872843","filename":"file4"},{"photo_id":"1326872815","filename":"file1"},{"photo_id":"1326872813","filename":"file0"},{"photo_id":"1326872841","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326872817":["hashtag1","hashtag2"]},{"1326872813":["hashtag1","hashtag2"]},{"1326872843":["hashtag1","hashtag2"]},{"1326872815":["hashtag1","hashtag2"]},{"1326872841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326872817, 1326872813, 1326872843, 1326872815, 1326872841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.946436166763306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:03:22.241731
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/02/image_05012025_11_02_02_310718_0003.jpg', '/home/pi/Desktop/images/05012025/11/03/image_05012025_11_03_02_480589_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/11/02/image_05012025_11_02_02_310718_0003.jpg
/home/pi/Desktop/images/05012025/11/03/image_05012025_11_03_02_480589_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":["1326872849","1326872851"],"photo_ids_order":["1326872849","1326872851"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b45a0ea6f0a71d3899f45a004ac3820.jpg","text":"TemporaryFile(/tmp/multipartBody1247166315711491453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071467681,"filename":"image_05012025_11_02_02_310718_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b21ddda61e31f9fd908b7efde630b0cf.jpg","text":"TemporaryFile(/tmp/multipartBody7663492158108406348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071467681,"filename":"image_05012025_11_03_02_480589_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326872851","file0":"1326872849"},"map_files_photo_id_array":[{"photo_id":"1326872851","filename":"file1"},{"photo_id":"1326872849","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326872849":["hashtag1","hashtag2"]},{"1326872851":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326872849, 1326872851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.148094415664673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 11:03:52.152295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 11:04:02.734713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:04:22.364149
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/03/image_05012025_11_03_02_480589_0003.jpg', '/home/pi/Desktop/images/05012025/11/04/image_05012025_11_04_02_552849_0000.jpg', '/home/pi/Desktop/images/05012025/11/04/image_05012025_11_04_02_552849_0001.jpg', '/home/pi/Desktop/images/05012025/11/04/image_05012025_11_04_02_552849_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/11/03/image_05012025_11_03_02_480589_0003.jpg
/home/pi/Desktop/images/05012025/11/04/image_05012025_11_04_02_552849_0000.jpg
/home/pi/Desktop/images/05012025/11/04/image_05012025_11_04_02_552849_0001.jpg
/home/pi/Desktop/images/05012025/11/04/image_05012025_11_04_02_552849_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326872901","1326872904","1326872893","1326872908"],"photo_ids_order":["1326872893","1326872901","1326872904","1326872908"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3a49e0b29f5799b26836ac3948f6f038.jpg","text":"TemporaryFile(/tmp/multipartBody1022876765486637571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071532963,"filename":"image_05012025_11_04_02_552849_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/56c97449f350804bd3ddc61b8b83706d.jpg","text":"TemporaryFile(/tmp/multipartBody2720894520880740087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071532963,"filename":"image_05012025_11_04_02_552849_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e9014f52d4bde06882f44511a918dbb9.jpg","text":"TemporaryFile(/tmp/multipartBody3122613583215524472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071532963,"filename":"image_05012025_11_03_02_480589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/22074a889e34531df72f30aa8a50615c.jpg","text":"TemporaryFile(/tmp/multipartBody4770560103278481018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071532963,"filename":"image_05012025_11_04_02_552849_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326872904","file1":"1326872901","file0":"1326872893","file3":"1326872908"},"map_files_photo_id_array":[{"photo_id":"1326872904","filename":"file2"},{"photo_id":"1326872901","filename":"file1"},{"photo_id":"1326872893","filename":"file0"},{"photo_id":"1326872908","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326872901":["hashtag1","hashtag2"]},{"1326872904":["hashtag1","hashtag2"]},{"1326872893":["hashtag1","hashtag2"]},{"1326872908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326872901, 1326872904, 1326872893, 1326872908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.10633087158203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:05:22.482086
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/04/image_05012025_11_04_02_552849_0003.jpg', '/home/pi/Desktop/images/05012025/11/05/image_05012025_11_05_02_662981_0000.jpg', '/home/pi/Desktop/images/05012025/11/05/image_05012025_11_05_02_662981_0001.jpg', '/home/pi/Desktop/images/05012025/11/05/image_05012025_11_05_02_662981_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/11/04/image_05012025_11_04_02_552849_0003.jpg
/home/pi/Desktop/images/05012025/11/05/image_05012025_11_05_02_662981_0000.jpg
/home/pi/Desktop/images/05012025/11/05/image_05012025_11_05_02_662981_0001.jpg
/home/pi/Desktop/images/05012025/11/05/image_05012025_11_05_02_662981_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326872922","1326872916","1326872918","1326872920"],"photo_ids_order":["1326872916","1326872918","1326872920","1326872922"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b9b4c20e3ca2f3e35ac3f5885d0b4e2b.jpg","text":"TemporaryFile(/tmp/multipartBody363311141630098171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071592800,"filename":"image_05012025_11_05_02_662981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b52e5096493323470d19d7ba5929613.jpg","text":"TemporaryFile(/tmp/multipartBody8767407492907750016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071592800,"filename":"image_05012025_11_04_02_552849_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c29c7dac46473a445ceba9652acb8dee.jpg","text":"TemporaryFile(/tmp/multipartBody8193368129388984513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071592800,"filename":"image_05012025_11_05_02_662981_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/019393540ab7548b358837bab7ddff17.jpg","text":"TemporaryFile(/tmp/multipartBody2331824330312908599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071592800,"filename":"image_05012025_11_05_02_662981_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326872920","file1":"1326872918","file0":"1326872916","file3":"1326872922"},"map_files_photo_id_array":[{"photo_id":"1326872920","filename":"file2"},{"photo_id":"1326872918","filename":"file1"},{"photo_id":"1326872916","filename":"file0"},{"photo_id":"1326872922","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326872922":["hashtag1","hashtag2"]},{"1326872916":["hashtag1","hashtag2"]},{"1326872918":["hashtag1","hashtag2"]},{"1326872920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326872922, 1326872916, 1326872918, 1326872920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.660025119781494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 11:06:03.077917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:06:22.595842
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/05/image_05012025_11_05_02_662981_0003.jpg', '/home/pi/Desktop/images/05012025/11/06/image_05012025_11_06_02_833873_0000.jpg', '/home/pi/Desktop/images/05012025/11/06/image_05012025_11_06_02_833873_0001.jpg', '/home/pi/Desktop/images/05012025/11/06/image_05012025_11_06_02_833873_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/11/05/image_05012025_11_05_02_662981_0003.jpg
/home/pi/Desktop/images/05012025/11/06/image_05012025_11_06_02_833873_0000.jpg
/home/pi/Desktop/images/05012025/11/06/image_05012025_11_06_02_833873_0001.jpg
/home/pi/Desktop/images/05012025/11/06/image_05012025_11_06_02_833873_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.904101133346558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 11:06:42.602193
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/05/image_05012025_11_05_02_662981_0003.jpg', '/home/pi/Desktop/images/05012025/11/06/image_05012025_11_06_02_833873_0000.jpg', '/home/pi/Desktop/images/05012025/11/06/image_05012025_11_06_02_833873_0001.jpg', '/home/pi/Desktop/images/05012025/11/06/image_05012025_11_06_02_833873_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/11/05/image_05012025_11_05_02_662981_0003.jpg
/home/pi/Desktop/images/05012025/11/06/image_05012025_11_06_02_833873_0000.jpg
/home/pi/Desktop/images/05012025/11/06/image_05012025_11_06_02_833873_0001.jpg
/home/pi/Desktop/images/05012025/11/06/image_05012025_11_06_02_833873_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326872945","1326872941","1326872982","1326872955"],"photo_ids_order":["1326872941","1326872945","1326872955","1326872982"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b0882b25eea0bf5148bb5620f1064327.jpg","text":"TemporaryFile(/tmp/multipartBody8446902863624378947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071672931,"filename":"image_05012025_11_06_02_833873_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/620556c67c7baf55698d5cd3a3ef20a6.jpg","text":"TemporaryFile(/tmp/multipartBody7913969813534503282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071672931,"filename":"image_05012025_11_05_02_662981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6d0f83a6a8be23fc227e19ef1f066842.jpg","text":"TemporaryFile(/tmp/multipartBody8333546745430653667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071672931,"filename":"image_05012025_11_06_02_833873_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1768de1b2f5730f7a770b5057ca33b14.jpg","text":"TemporaryFile(/tmp/multipartBody6892249509003863815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071672931,"filename":"image_05012025_11_06_02_833873_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326872955","file1":"1326872945","file0":"1326872941","file3":"1326872982"},"map_files_photo_id_array":[{"photo_id":"1326872955","filename":"file2"},{"photo_id":"1326872945","filename":"file1"},{"photo_id":"1326872941","filename":"file0"},{"photo_id":"1326872982","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326872945":["hashtag1","hashtag2"]},{"1326872941":["hashtag1","hashtag2"]},{"1326872982":["hashtag1","hashtag2"]},{"1326872955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326872945, 1326872941, 1326872982, 1326872955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.449517011642456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 11:07:31.775781
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/06/image_05012025_11_06_02_833873_0003.jpg', '/home/pi/Desktop/images/05012025/11/07/image_05012025_11_07_03_058755_0000.jpg', '/home/pi/Desktop/images/05012025/11/07/image_05012025_11_07_03_058755_0001.jpg', '/home/pi/Desktop/images/05012025/11/07/image_05012025_11_07_03_058755_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/11/06/image_05012025_11_06_02_833873_0003.jpg
/home/pi/Desktop/images/05012025/11/07/image_05012025_11_07_03_058755_0000.jpg
/home/pi/Desktop/images/05012025/11/07/image_05012025_11_07_03_058755_0001.jpg
/home/pi/Desktop/images/05012025/11/07/image_05012025_11_07_03_058755_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326872987","1326872997","1326872991","1326872994"],"photo_ids_order":["1326872987","1326872991","1326872994","1326872997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/892c4eb2ef38b2b43b5ecadd14cccb2e.jpg","text":"TemporaryFile(/tmp/multipartBody6087131650788142843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071722232,"filename":"image_05012025_11_06_02_833873_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88930600bf80456ee58a1e32d441bbbb.jpg","text":"TemporaryFile(/tmp/multipartBody1040853738373338094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071722232,"filename":"image_05012025_11_07_03_058755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/868e949b66a81bc2878da9f5e02c2590.jpg","text":"TemporaryFile(/tmp/multipartBody4787464018635380914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071722232,"filename":"image_05012025_11_07_03_058755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4b32d0dba3e0faf7ab9d9853e4984eb9.jpg","text":"TemporaryFile(/tmp/multipartBody1765859907632976117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071722232,"filename":"image_05012025_11_07_03_058755_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326872994","file1":"1326872991","file0":"1326872987","file3":"1326872997"},"map_files_photo_id_array":[{"photo_id":"1326872994","filename":"file2"},{"photo_id":"1326872991","filename":"file1"},{"photo_id":"1326872987","filename":"file0"},{"photo_id":"1326872997","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326872987":["hashtag1","hashtag2"]},{"1326872997":["hashtag1","hashtag2"]},{"1326872991":["hashtag1","hashtag2"]},{"1326872994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326872987, 1326872997, 1326872991, 1326872994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.14887022972107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:08:22.021989
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/07/image_05012025_11_07_03_058755_0003.jpg', '/home/pi/Desktop/images/05012025/11/08/image_05012025_11_08_02_134059_0000.jpg', '/home/pi/Desktop/images/05012025/11/08/image_05012025_11_08_02_134059_0001.jpg', '/home/pi/Desktop/images/05012025/11/08/image_05012025_11_08_02_134059_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/11/07/image_05012025_11_07_03_058755_0003.jpg
/home/pi/Desktop/images/05012025/11/08/image_05012025_11_08_02_134059_0000.jpg
/home/pi/Desktop/images/05012025/11/08/image_05012025_11_08_02_134059_0001.jpg
/home/pi/Desktop/images/05012025/11/08/image_05012025_11_08_02_134059_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326873006","1326873008","1326873010","1326873004"],"photo_ids_order":["1326873004","1326873006","1326873008","1326873010"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f8182d04290828dda575ea08f242962.jpg","text":"TemporaryFile(/tmp/multipartBody7276129420373582451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071772277,"filename":"image_05012025_11_08_02_134059_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1e7cea2e97f4e9342b8a40add8dd59eb.jpg","text":"TemporaryFile(/tmp/multipartBody7286579965704907835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071772277,"filename":"image_05012025_11_08_02_134059_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d504ea2ca627291da1dfa5579f4888ba.jpg","text":"TemporaryFile(/tmp/multipartBody41753724713812286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071772277,"filename":"image_05012025_11_08_02_134059_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/99294482ef649d8bee9d5d81661acb37.jpg","text":"TemporaryFile(/tmp/multipartBody7342987190583378388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071772277,"filename":"image_05012025_11_07_03_058755_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873008","file1":"1326873006","file0":"1326873004","file3":"1326873010"},"map_files_photo_id_array":[{"photo_id":"1326873008","filename":"file2"},{"photo_id":"1326873006","filename":"file1"},{"photo_id":"1326873004","filename":"file0"},{"photo_id":"1326873010","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873006":["hashtag1","hashtag2"]},{"1326873008":["hashtag1","hashtag2"]},{"1326873010":["hashtag1","hashtag2"]},{"1326873004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873006, 1326873008, 1326873010, 1326873004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.03664445877075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:09:22.193813
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/08/image_05012025_11_08_02_134059_0003.jpg', '/home/pi/Desktop/images/05012025/11/09/image_05012025_11_09_02_392825_0000.jpg', '/home/pi/Desktop/images/05012025/11/09/image_05012025_11_09_02_392825_0001.jpg', '/home/pi/Desktop/images/05012025/11/09/image_05012025_11_09_02_392825_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/11/08/image_05012025_11_08_02_134059_0003.jpg
/home/pi/Desktop/images/05012025/11/09/image_05012025_11_09_02_392825_0000.jpg
/home/pi/Desktop/images/05012025/11/09/image_05012025_11_09_02_392825_0001.jpg
/home/pi/Desktop/images/05012025/11/09/image_05012025_11_09_02_392825_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326873026","1326873028","1326873030","1326873024"],"photo_ids_order":["1326873024","1326873026","1326873028","1326873030"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd1fbcc5e53308ebf5965bbdbe8f26aa.jpg","text":"TemporaryFile(/tmp/multipartBody6428123317910149113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071832503,"filename":"image_05012025_11_09_02_392825_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5ab8e30530c9a47a7dab5134d7e6107a.jpg","text":"TemporaryFile(/tmp/multipartBody1394594895420769821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071832503,"filename":"image_05012025_11_09_02_392825_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b590a444e4dd93345bb052605b5bc666.jpg","text":"TemporaryFile(/tmp/multipartBody7299757218814750216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071832503,"filename":"image_05012025_11_09_02_392825_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d10225dc8437855b2d542144175579fe.jpg","text":"TemporaryFile(/tmp/multipartBody6130693597208308975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071832503,"filename":"image_05012025_11_08_02_134059_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873028","file1":"1326873026","file0":"1326873024","file3":"1326873030"},"map_files_photo_id_array":[{"photo_id":"1326873028","filename":"file2"},{"photo_id":"1326873026","filename":"file1"},{"photo_id":"1326873024","filename":"file0"},{"photo_id":"1326873030","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873026":["hashtag1","hashtag2"]},{"1326873028":["hashtag1","hashtag2"]},{"1326873030":["hashtag1","hashtag2"]},{"1326873024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873026, 1326873028, 1326873030, 1326873024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.63927412033081 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:10:22.327133
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/09/image_05012025_11_09_02_392825_0003.jpg', '/home/pi/Desktop/images/05012025/11/10/image_05012025_11_10_02_464953_0000.jpg', '/home/pi/Desktop/images/05012025/11/10/image_05012025_11_10_02_464953_0001.jpg', '/home/pi/Desktop/images/05012025/11/10/image_05012025_11_10_02_464953_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/11/09/image_05012025_11_09_02_392825_0003.jpg
/home/pi/Desktop/images/05012025/11/10/image_05012025_11_10_02_464953_0000.jpg
/home/pi/Desktop/images/05012025/11/10/image_05012025_11_10_02_464953_0001.jpg
/home/pi/Desktop/images/05012025/11/10/image_05012025_11_10_02_464953_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326873266","1326873212","1326873209","1326873207"],"photo_ids_order":["1326873207","1326873209","1326873212","1326873266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c3e918906eb511e9e2ec802ab047727.jpg","text":"TemporaryFile(/tmp/multipartBody3165682518574844566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071892513,"filename":"image_05012025_11_10_02_464953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e93849d43b6eb7ce9f2e9888ad0272c9.jpg","text":"TemporaryFile(/tmp/multipartBody6065287863252347921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071892513,"filename":"image_05012025_11_10_02_464953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3f361c29edcd03fa780e06496e8d9ea2.jpg","text":"TemporaryFile(/tmp/multipartBody1013572595819959767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071892513,"filename":"image_05012025_11_10_02_464953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a56f7bae28636c813057ebf4418a861.jpg","text":"TemporaryFile(/tmp/multipartBody726293597876494474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071892513,"filename":"image_05012025_11_09_02_392825_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873212","file1":"1326873209","file0":"1326873207","file3":"1326873266"},"map_files_photo_id_array":[{"photo_id":"1326873212","filename":"file2"},{"photo_id":"1326873209","filename":"file1"},{"photo_id":"1326873207","filename":"file0"},{"photo_id":"1326873266","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873266":["hashtag1","hashtag2"]},{"1326873212":["hashtag1","hashtag2"]},{"1326873209":["hashtag1","hashtag2"]},{"1326873207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873266, 1326873212, 1326873209, 1326873207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.84459471702576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 11:11:03.084569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:11:22.499574
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/10/image_05012025_11_10_02_464953_0003.jpg', '/home/pi/Desktop/images/05012025/11/11/image_05012025_11_11_02_797275_0000.jpg', '/home/pi/Desktop/images/05012025/11/11/image_05012025_11_11_02_797275_0001.jpg', '/home/pi/Desktop/images/05012025/11/11/image_05012025_11_11_02_797275_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/11/10/image_05012025_11_10_02_464953_0003.jpg
/home/pi/Desktop/images/05012025/11/11/image_05012025_11_11_02_797275_0000.jpg
/home/pi/Desktop/images/05012025/11/11/image_05012025_11_11_02_797275_0001.jpg
/home/pi/Desktop/images/05012025/11/11/image_05012025_11_11_02_797275_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326873362","1326873364","1326873367","1326873360"],"photo_ids_order":["1326873360","1326873362","1326873364","1326873367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7affa81da6c9c03e90829e0e02c18f18.jpg","text":"TemporaryFile(/tmp/multipartBody5094035740627486580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071953103,"filename":"image_05012025_11_11_02_797275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cfd598cc1ff4dff80919acbd9df49e46.jpg","text":"TemporaryFile(/tmp/multipartBody3008339371895296678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071953103,"filename":"image_05012025_11_11_02_797275_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bcdafb485b8be90d263f12df1d83f787.jpg","text":"TemporaryFile(/tmp/multipartBody3720314758686435595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071953103,"filename":"image_05012025_11_11_02_797275_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e58ca69aab78337004dd23f6ba1fee66.jpg","text":"TemporaryFile(/tmp/multipartBody6211584079374073521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736071953103,"filename":"image_05012025_11_10_02_464953_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873364","file1":"1326873362","file0":"1326873360","file3":"1326873367"},"map_files_photo_id_array":[{"photo_id":"1326873364","filename":"file2"},{"photo_id":"1326873362","filename":"file1"},{"photo_id":"1326873360","filename":"file0"},{"photo_id":"1326873367","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873362":["hashtag1","hashtag2"]},{"1326873364":["hashtag1","hashtag2"]},{"1326873367":["hashtag1","hashtag2"]},{"1326873360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873362, 1326873364, 1326873367, 1326873360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.97505235671997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:12:22.697896
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/11/image_05012025_11_11_02_797275_0003.jpg', '/home/pi/Desktop/images/05012025/11/12/image_05012025_11_12_02_846396_0000.jpg', '/home/pi/Desktop/images/05012025/11/12/image_05012025_11_12_02_846396_0001.jpg', '/home/pi/Desktop/images/05012025/11/12/image_05012025_11_12_02_846396_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/11/11/image_05012025_11_11_02_797275_0003.jpg
/home/pi/Desktop/images/05012025/11/12/image_05012025_11_12_02_846396_0000.jpg
/home/pi/Desktop/images/05012025/11/12/image_05012025_11_12_02_846396_0001.jpg
/home/pi/Desktop/images/05012025/11/12/image_05012025_11_12_02_846396_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.081582307815552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 11:12:42.747825
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/11/image_05012025_11_11_02_797275_0003.jpg', '/home/pi/Desktop/images/05012025/11/12/image_05012025_11_12_02_846396_0000.jpg', '/home/pi/Desktop/images/05012025/11/12/image_05012025_11_12_02_846396_0001.jpg', '/home/pi/Desktop/images/05012025/11/12/image_05012025_11_12_02_846396_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/11/11/image_05012025_11_11_02_797275_0003.jpg
/home/pi/Desktop/images/05012025/11/12/image_05012025_11_12_02_846396_0000.jpg
/home/pi/Desktop/images/05012025/11/12/image_05012025_11_12_02_846396_0001.jpg
/home/pi/Desktop/images/05012025/11/12/image_05012025_11_12_02_846396_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326873380","1326873382","1326873384","1326873378"],"photo_ids_order":["1326873378","1326873380","1326873382","1326873384"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab6939edea435dbaf19cb0424c3cb4f9.jpg","text":"TemporaryFile(/tmp/multipartBody5838567940791313809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072033238,"filename":"image_05012025_11_12_02_846396_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0263a1f87186e2962de0f37005514792.jpg","text":"TemporaryFile(/tmp/multipartBody5959545439487981326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072033238,"filename":"image_05012025_11_12_02_846396_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a3ad5815a420c021741afd97208f8c4d.jpg","text":"TemporaryFile(/tmp/multipartBody6322380619561082260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072033238,"filename":"image_05012025_11_12_02_846396_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6bc1ca56a064fc0ef264cf9e102249a6.jpg","text":"TemporaryFile(/tmp/multipartBody7502124035874840513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072033238,"filename":"image_05012025_11_11_02_797275_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873382","file1":"1326873380","file0":"1326873378","file3":"1326873384"},"map_files_photo_id_array":[{"photo_id":"1326873382","filename":"file2"},{"photo_id":"1326873380","filename":"file1"},{"photo_id":"1326873378","filename":"file0"},{"photo_id":"1326873384","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873380":["hashtag1","hashtag2"]},{"1326873382":["hashtag1","hashtag2"]},{"1326873384":["hashtag1","hashtag2"]},{"1326873378":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873380, 1326873382, 1326873384, 1326873378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.191741943359375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 11:13:31.842010
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/12/image_05012025_11_12_02_846396_0003.jpg', '/home/pi/Desktop/images/05012025/11/13/image_05012025_11_13_03_076619_0000.jpg', '/home/pi/Desktop/images/05012025/11/13/image_05012025_11_13_03_076619_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/11/12/image_05012025_11_12_02_846396_0003.jpg
/home/pi/Desktop/images/05012025/11/13/image_05012025_11_13_03_076619_0000.jpg
/home/pi/Desktop/images/05012025/11/13/image_05012025_11_13_03_076619_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326873425","1326873421","1326873418"],"photo_ids_order":["1326873418","1326873421","1326873425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d7dc51fe53770c007cfc43c60fc6ae14.jpg","text":"TemporaryFile(/tmp/multipartBody5736013784330952916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072079898,"filename":"image_05012025_11_13_03_076619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/16d5d917b9256d078899ed921ce85298.jpg","text":"TemporaryFile(/tmp/multipartBody3612532597543877378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072079898,"filename":"image_05012025_11_13_03_076619_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4204cb46503b23a21ddde7b275a817c3.jpg","text":"TemporaryFile(/tmp/multipartBody679812390572563336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072079898,"filename":"image_05012025_11_12_02_846396_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873425","file1":"1326873421","file0":"1326873418"},"map_files_photo_id_array":[{"photo_id":"1326873425","filename":"file2"},{"photo_id":"1326873421","filename":"file1"},{"photo_id":"1326873418","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873425":["hashtag1","hashtag2"]},{"1326873421":["hashtag1","hashtag2"]},{"1326873418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873425, 1326873421, 1326873418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.79649376869202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:14:22.079410
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/13/image_05012025_11_13_03_076619_0003.jpg', '/home/pi/Desktop/images/05012025/11/14/image_05012025_11_14_02_231976_0000.jpg', '/home/pi/Desktop/images/05012025/11/14/image_05012025_11_14_02_231976_0001.jpg', '/home/pi/Desktop/images/05012025/11/14/image_05012025_11_14_02_231976_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/11/13/image_05012025_11_13_03_076619_0003.jpg
/home/pi/Desktop/images/05012025/11/14/image_05012025_11_14_02_231976_0000.jpg
/home/pi/Desktop/images/05012025/11/14/image_05012025_11_14_02_231976_0001.jpg
/home/pi/Desktop/images/05012025/11/14/image_05012025_11_14_02_231976_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326873527","1326873530","1326873522","1326873525"],"photo_ids_order":["1326873522","1326873525","1326873527","1326873530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/253790cd11f39b928110192b50253af4.jpg","text":"TemporaryFile(/tmp/multipartBody2793733335394021959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072132513,"filename":"image_05012025_11_14_02_231976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aab3766ea257bd455c07f8a21c40299c.jpg","text":"TemporaryFile(/tmp/multipartBody6035823901350427697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072132513,"filename":"image_05012025_11_14_02_231976_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/518ae9200594dcf7a8d428ff6482e541.jpg","text":"TemporaryFile(/tmp/multipartBody3061086695207105492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072132513,"filename":"image_05012025_11_13_03_076619_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cbaaddd3d70ee721cdaf94dbad8f2c5c.jpg","text":"TemporaryFile(/tmp/multipartBody5028757717074585645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072132513,"filename":"image_05012025_11_14_02_231976_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873527","file1":"1326873525","file0":"1326873522","file3":"1326873530"},"map_files_photo_id_array":[{"photo_id":"1326873527","filename":"file2"},{"photo_id":"1326873525","filename":"file1"},{"photo_id":"1326873522","filename":"file0"},{"photo_id":"1326873530","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873527":["hashtag1","hashtag2"]},{"1326873530":["hashtag1","hashtag2"]},{"1326873522":["hashtag1","hashtag2"]},{"1326873525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873527, 1326873530, 1326873522, 1326873525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.60023736953735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:15:22.207545
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/14/image_05012025_11_14_02_231976_0003.jpg', '/home/pi/Desktop/images/05012025/11/15/image_05012025_11_15_02_458008_0000.jpg', '/home/pi/Desktop/images/05012025/11/15/image_05012025_11_15_02_458008_0001.jpg', '/home/pi/Desktop/images/05012025/11/15/image_05012025_11_15_02_458008_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/11/14/image_05012025_11_14_02_231976_0003.jpg
/home/pi/Desktop/images/05012025/11/15/image_05012025_11_15_02_458008_0000.jpg
/home/pi/Desktop/images/05012025/11/15/image_05012025_11_15_02_458008_0001.jpg
/home/pi/Desktop/images/05012025/11/15/image_05012025_11_15_02_458008_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326873551","1326873555","1326873540","1326873543"],"photo_ids_order":["1326873540","1326873543","1326873551","1326873555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5570505650478e8feccb5490843a04ec.jpg","text":"TemporaryFile(/tmp/multipartBody8932427282379610706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072192527,"filename":"image_05012025_11_15_02_458008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/501ed4d43d16f33ef77448db8dfb36df.jpg","text":"TemporaryFile(/tmp/multipartBody4865806336258213137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072192527,"filename":"image_05012025_11_15_02_458008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fb66b6c369a5fc62bfef070b40da5af4.jpg","text":"TemporaryFile(/tmp/multipartBody5670191361947881844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072192527,"filename":"image_05012025_11_14_02_231976_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3ae8fb47ecf92e87fdf1c11ea03906e4.jpg","text":"TemporaryFile(/tmp/multipartBody5777702915521889832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072192527,"filename":"image_05012025_11_15_02_458008_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873551","file1":"1326873543","file0":"1326873540","file3":"1326873555"},"map_files_photo_id_array":[{"photo_id":"1326873551","filename":"file2"},{"photo_id":"1326873543","filename":"file1"},{"photo_id":"1326873540","filename":"file0"},{"photo_id":"1326873555","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873551":["hashtag1","hashtag2"]},{"1326873555":["hashtag1","hashtag2"]},{"1326873540":["hashtag1","hashtag2"]},{"1326873543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873551, 1326873555, 1326873540, 1326873543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.578163623809814 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-05 11:16:22.426292
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/15/image_05012025_11_15_02_458008_0003.jpg', '/home/pi/Desktop/images/05012025/11/16/image_05012025_11_16_02_596590_0000.jpg', '/home/pi/Desktop/images/05012025/11/16/image_05012025_11_16_02_596590_0001.jpg', '/home/pi/Desktop/images/05012025/11/16/image_05012025_11_16_02_596590_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/11/15/image_05012025_11_15_02_458008_0003.jpg
/home/pi/Desktop/images/05012025/11/16/image_05012025_11_16_02_596590_0000.jpg
/home/pi/Desktop/images/05012025/11/16/image_05012025_11_16_02_596590_0001.jpg
/home/pi/Desktop/images/05012025/11/16/image_05012025_11_16_02_596590_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326873600","1326873598","1326873603","1326873596"],"photo_ids_order":["1326873596","1326873598","1326873600","1326873603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e49fc5f239581031910a62525b8aa381.jpg","text":"TemporaryFile(/tmp/multipartBody3812630591187480894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072252640,"filename":"image_05012025_11_16_02_596590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7239d46ddd2ca96c05bdf2f338c911cf.jpg","text":"TemporaryFile(/tmp/multipartBody8065943443987377633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072252640,"filename":"image_05012025_11_16_02_596590_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f2e796c06ed1653f30af3a55eb1abf52.jpg","text":"TemporaryFile(/tmp/multipartBody3852380617574461361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072252640,"filename":"image_05012025_11_16_02_596590_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d0e9c78659641c7c1beece3df1f8657d.jpg","text":"TemporaryFile(/tmp/multipartBody30665761173618656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072252640,"filename":"image_05012025_11_15_02_458008_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873600","file1":"1326873598","file0":"1326873596","file3":"1326873603"},"map_files_photo_id_array":[{"photo_id":"1326873600","filename":"file2"},{"photo_id":"1326873598","filename":"file1"},{"photo_id":"1326873596","filename":"file0"},{"photo_id":"1326873603","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873600":["hashtag1","hashtag2"]},{"1326873598":["hashtag1","hashtag2"]},{"1326873603":["hashtag1","hashtag2"]},{"1326873596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873600, 1326873598, 1326873603, 1326873596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.46050667762756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:17:22.574014
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/16/image_05012025_11_16_02_596590_0003.jpg', '/home/pi/Desktop/images/05012025/11/17/image_05012025_11_17_02_795851_0000.jpg', '/home/pi/Desktop/images/05012025/11/17/image_05012025_11_17_02_795851_0001.jpg', '/home/pi/Desktop/images/05012025/11/17/image_05012025_11_17_02_795851_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/11/16/image_05012025_11_16_02_596590_0003.jpg
/home/pi/Desktop/images/05012025/11/17/image_05012025_11_17_02_795851_0000.jpg
/home/pi/Desktop/images/05012025/11/17/image_05012025_11_17_02_795851_0001.jpg
/home/pi/Desktop/images/05012025/11/17/image_05012025_11_17_02_795851_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326873625","1326873619","1326873628","1326873622"],"photo_ids_order":["1326873619","1326873622","1326873625","1326873628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a55a960680c506273beaf0e6cf59c56f.jpg","text":"TemporaryFile(/tmp/multipartBody4248179303994909215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072312669,"filename":"image_05012025_11_17_02_795851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e246d1fdea0534c61eaadfae4a4b4e82.jpg","text":"TemporaryFile(/tmp/multipartBody3730421077244716513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072312669,"filename":"image_05012025_11_16_02_596590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/401cfd1e58a71d2def97d3b1c750c721.jpg","text":"TemporaryFile(/tmp/multipartBody261302806543758502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072312669,"filename":"image_05012025_11_17_02_795851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/14578c71ef75e94d657d88944266a553.jpg","text":"TemporaryFile(/tmp/multipartBody4432057608665829016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072312669,"filename":"image_05012025_11_17_02_795851_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873625","file1":"1326873622","file0":"1326873619","file3":"1326873628"},"map_files_photo_id_array":[{"photo_id":"1326873625","filename":"file2"},{"photo_id":"1326873622","filename":"file1"},{"photo_id":"1326873619","filename":"file0"},{"photo_id":"1326873628","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873625":["hashtag1","hashtag2"]},{"1326873619":["hashtag1","hashtag2"]},{"1326873628":["hashtag1","hashtag2"]},{"1326873622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873625, 1326873619, 1326873628, 1326873622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.051015853881836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:18:22.745428
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/17/image_05012025_11_17_02_795851_0003.jpg', '/home/pi/Desktop/images/05012025/11/18/image_05012025_11_18_02_976541_0000.jpg', '/home/pi/Desktop/images/05012025/11/18/image_05012025_11_18_02_976541_0001.jpg', '/home/pi/Desktop/images/05012025/11/18/image_05012025_11_18_02_976541_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/11/17/image_05012025_11_17_02_795851_0003.jpg
/home/pi/Desktop/images/05012025/11/18/image_05012025_11_18_02_976541_0000.jpg
/home/pi/Desktop/images/05012025/11/18/image_05012025_11_18_02_976541_0001.jpg
/home/pi/Desktop/images/05012025/11/18/image_05012025_11_18_02_976541_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.877111673355103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 11:18:42.748037
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/17/image_05012025_11_17_02_795851_0003.jpg', '/home/pi/Desktop/images/05012025/11/18/image_05012025_11_18_02_976541_0000.jpg', '/home/pi/Desktop/images/05012025/11/18/image_05012025_11_18_02_976541_0001.jpg', '/home/pi/Desktop/images/05012025/11/18/image_05012025_11_18_02_976541_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/11/17/image_05012025_11_17_02_795851_0003.jpg
/home/pi/Desktop/images/05012025/11/18/image_05012025_11_18_02_976541_0000.jpg
/home/pi/Desktop/images/05012025/11/18/image_05012025_11_18_02_976541_0001.jpg
/home/pi/Desktop/images/05012025/11/18/image_05012025_11_18_02_976541_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":["1326873674","1326873676","1326873649","1326873645"],"photo_ids_order":["1326873645","1326873649","1326873674","1326873676"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0c2817c046663bd85a2afc1a9af0450a.jpg","text":"TemporaryFile(/tmp/multipartBody5651830856304331304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072393004,"filename":"image_05012025_11_18_02_976541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fa793c5ccb1e2198eaaf6b81e516d86e.jpg","text":"TemporaryFile(/tmp/multipartBody2058376474040115949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072393004,"filename":"image_05012025_11_18_02_976541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/41b3f518a7941c95a3b5f08b5362ebea.jpg","text":"TemporaryFile(/tmp/multipartBody4520762294973971631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072393004,"filename":"image_05012025_11_18_02_976541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b0bf02760640f8b5ca0e6a1f5e48d683.jpg","text":"TemporaryFile(/tmp/multipartBody6108349550715244510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072393004,"filename":"image_05012025_11_17_02_795851_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873674","file1":"1326873649","file0":"1326873645","file3":"1326873676"},"map_files_photo_id_array":[{"photo_id":"1326873674","filename":"file2"},{"photo_id":"1326873649","filename":"file1"},{"photo_id":"1326873645","filename":"file0"},{"photo_id":"1326873676","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873674":["hashtag1","hashtag2"]},{"1326873676":["hashtag1","hashtag2"]},{"1326873649":["hashtag1","hashtag2"]},{"1326873645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873674, 1326873676, 1326873649, 1326873645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.6972496509552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:19:21.990930
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/18/image_05012025_11_18_02_976541_0003.jpg', '/home/pi/Desktop/images/05012025/11/19/image_05012025_11_19_03_135451_0000.jpg', '/home/pi/Desktop/images/05012025/11/19/image_05012025_11_19_03_135451_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/11/18/image_05012025_11_18_02_976541_0003.jpg
/home/pi/Desktop/images/05012025/11/19/image_05012025_11_19_03_135451_0000.jpg
/home/pi/Desktop/images/05012025/11/19/image_05012025_11_19_03_135451_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":["1326873683","1326873679","1326873699"],"photo_ids_order":["1326873679","1326873683","1326873699"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3741ffd2edc0718c9c4dada50de694d8.jpg","text":"TemporaryFile(/tmp/multipartBody5404009494653841146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072429841,"filename":"image_05012025_11_19_03_135451_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5a6a932339612f6793b1750a53ba6df2.jpg","text":"TemporaryFile(/tmp/multipartBody7707973812075909817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072429841,"filename":"image_05012025_11_18_02_976541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bf7130c4f047e78dd3ea72736d7f984a.jpg","text":"TemporaryFile(/tmp/multipartBody3743123498913353575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072429841,"filename":"image_05012025_11_19_03_135451_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873699","file1":"1326873683","file0":"1326873679"},"map_files_photo_id_array":[{"photo_id":"1326873699","filename":"file2"},{"photo_id":"1326873683","filename":"file1"},{"photo_id":"1326873679","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873683":["hashtag1","hashtag2"]},{"1326873679":["hashtag1","hashtag2"]},{"1326873699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873683, 1326873679, 1326873699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.808370351791382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 11:20:02.417048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:20:22.025099
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/19/image_05012025_11_19_03_135451_0002.jpg', '/home/pi/Desktop/images/05012025/11/20/image_05012025_11_20_02_242157_0000.jpg', '/home/pi/Desktop/images/05012025/11/20/image_05012025_11_20_02_242157_0001.jpg', '/home/pi/Desktop/images/05012025/11/20/image_05012025_11_20_02_242157_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/11/19/image_05012025_11_19_03_135451_0002.jpg
/home/pi/Desktop/images/05012025/11/20/image_05012025_11_20_02_242157_0000.jpg
/home/pi/Desktop/images/05012025/11/20/image_05012025_11_20_02_242157_0001.jpg
/home/pi/Desktop/images/05012025/11/20/image_05012025_11_20_02_242157_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326873797","1326873799","1326873802","1326873795"],"photo_ids_order":["1326873795","1326873797","1326873799","1326873802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3480a76f55eafb4ebd628ff6195ac564.jpg","text":"TemporaryFile(/tmp/multipartBody3976535195879423671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072492081,"filename":"image_05012025_11_20_02_242157_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/582d85beca7c106528a8781b4e72ca82.jpg","text":"TemporaryFile(/tmp/multipartBody7063703378728215336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072492081,"filename":"image_05012025_11_20_02_242157_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3fadccdc317487165ec8cc0e4bcc9a7d.jpg","text":"TemporaryFile(/tmp/multipartBody8265055795607928035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072492081,"filename":"image_05012025_11_20_02_242157_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e7aa85ab8a0611063057c233b0b98408.jpg","text":"TemporaryFile(/tmp/multipartBody6231298440141889177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072492081,"filename":"image_05012025_11_19_03_135451_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873799","file1":"1326873797","file0":"1326873795","file3":"1326873802"},"map_files_photo_id_array":[{"photo_id":"1326873799","filename":"file2"},{"photo_id":"1326873797","filename":"file1"},{"photo_id":"1326873795","filename":"file0"},{"photo_id":"1326873802","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873797":["hashtag1","hashtag2"]},{"1326873799":["hashtag1","hashtag2"]},{"1326873802":["hashtag1","hashtag2"]},{"1326873795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873797, 1326873799, 1326873802, 1326873795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.192991495132446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:21:22.194528
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/20/image_05012025_11_20_02_242157_0003.jpg', '/home/pi/Desktop/images/05012025/11/21/image_05012025_11_21_02_362993_0000.jpg', '/home/pi/Desktop/images/05012025/11/21/image_05012025_11_21_02_362993_0001.jpg', '/home/pi/Desktop/images/05012025/11/21/image_05012025_11_21_02_362993_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/11/20/image_05012025_11_20_02_242157_0003.jpg
/home/pi/Desktop/images/05012025/11/21/image_05012025_11_21_02_362993_0000.jpg
/home/pi/Desktop/images/05012025/11/21/image_05012025_11_21_02_362993_0001.jpg
/home/pi/Desktop/images/05012025/11/21/image_05012025_11_21_02_362993_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326873824","1326873827","1326873815","1326873813"],"photo_ids_order":["1326873813","1326873815","1326873824","1326873827"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7831d1d0f218f4d60344d0582e9566e6.jpg","text":"TemporaryFile(/tmp/multipartBody6852947672721678250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072552489,"filename":"image_05012025_11_21_02_362993_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/abd5cb3575e191b752912e371bb61574.jpg","text":"TemporaryFile(/tmp/multipartBody768266152368179967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072552489,"filename":"image_05012025_11_21_02_362993_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fc71b7f91372c8e48cc8493c9a1eec3a.jpg","text":"TemporaryFile(/tmp/multipartBody8453794854199959440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072552489,"filename":"image_05012025_11_21_02_362993_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5168948504e9a74b5592e824e11a3ffe.jpg","text":"TemporaryFile(/tmp/multipartBody699940460935695267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072552489,"filename":"image_05012025_11_20_02_242157_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873824","file1":"1326873815","file0":"1326873813","file3":"1326873827"},"map_files_photo_id_array":[{"photo_id":"1326873824","filename":"file2"},{"photo_id":"1326873815","filename":"file1"},{"photo_id":"1326873813","filename":"file0"},{"photo_id":"1326873827","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873824":["hashtag1","hashtag2"]},{"1326873827":["hashtag1","hashtag2"]},{"1326873815":["hashtag1","hashtag2"]},{"1326873813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873824, 1326873827, 1326873815, 1326873813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.3890323638916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:22:22.508901
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/21/image_05012025_11_21_02_362993_0003.jpg', '/home/pi/Desktop/images/05012025/11/22/image_05012025_11_22_02_561493_0000.jpg', '/home/pi/Desktop/images/05012025/11/22/image_05012025_11_22_02_561493_0001.jpg', '/home/pi/Desktop/images/05012025/11/22/image_05012025_11_22_02_561493_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/11/21/image_05012025_11_21_02_362993_0003.jpg
/home/pi/Desktop/images/05012025/11/22/image_05012025_11_22_02_561493_0000.jpg
/home/pi/Desktop/images/05012025/11/22/image_05012025_11_22_02_561493_0001.jpg
/home/pi/Desktop/images/05012025/11/22/image_05012025_11_22_02_561493_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326873869","1326873871","1326873864","1326873867"],"photo_ids_order":["1326873864","1326873867","1326873869","1326873871"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a9725bd015a1b296082661c7a9b706ee.jpg","text":"TemporaryFile(/tmp/multipartBody7917905310728468252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072612698,"filename":"image_05012025_11_22_02_561493_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb90fdb13f987cdd23312443b332d86f.jpg","text":"TemporaryFile(/tmp/multipartBody2147023859866467238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072612698,"filename":"image_05012025_11_22_02_561493_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f040fa2a1697775986c96ed880db008d.jpg","text":"TemporaryFile(/tmp/multipartBody1935089614310090635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072612698,"filename":"image_05012025_11_21_02_362993_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe0e789ab94e708843feafdad5fe6e45.jpg","text":"TemporaryFile(/tmp/multipartBody7062852626238307862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072612698,"filename":"image_05012025_11_22_02_561493_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873869","file1":"1326873867","file0":"1326873864","file3":"1326873871"},"map_files_photo_id_array":[{"photo_id":"1326873869","filename":"file2"},{"photo_id":"1326873867","filename":"file1"},{"photo_id":"1326873864","filename":"file0"},{"photo_id":"1326873871","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873869":["hashtag1","hashtag2"]},{"1326873871":["hashtag1","hashtag2"]},{"1326873864":["hashtag1","hashtag2"]},{"1326873867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873869, 1326873871, 1326873864, 1326873867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.73074960708618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:23:22.645413
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/22/image_05012025_11_22_02_561493_0003.jpg', '/home/pi/Desktop/images/05012025/11/23/image_05012025_11_23_02_804514_0000.jpg', '/home/pi/Desktop/images/05012025/11/23/image_05012025_11_23_02_804514_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/11/22/image_05012025_11_22_02_561493_0003.jpg
/home/pi/Desktop/images/05012025/11/23/image_05012025_11_23_02_804514_0000.jpg
/home/pi/Desktop/images/05012025/11/23/image_05012025_11_23_02_804514_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":["1326873875","1326873877","1326873879"],"photo_ids_order":["1326873875","1326873877","1326873879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a95e6c1961c4537be86fc6cdbf2937fb.jpg","text":"TemporaryFile(/tmp/multipartBody7657161285101439098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072670569,"filename":"image_05012025_11_22_02_561493_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/492f0f91be6d621653a3bdf048a2a6f4.jpg","text":"TemporaryFile(/tmp/multipartBody5546931602724369086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072670569,"filename":"image_05012025_11_23_02_804514_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0d4143e13416b56ee9a9f74ea8d64a6f.jpg","text":"TemporaryFile(/tmp/multipartBody2337129096352755691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072670569,"filename":"image_05012025_11_23_02_804514_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873879","file1":"1326873877","file0":"1326873875"},"map_files_photo_id_array":[{"photo_id":"1326873879","filename":"file2"},{"photo_id":"1326873877","filename":"file1"},{"photo_id":"1326873875","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873875":["hashtag1","hashtag2"]},{"1326873877":["hashtag1","hashtag2"]},{"1326873879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873875, 1326873877, 1326873879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.452858448028564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 11:24:02.138496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:24:21.932968
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/23/image_05012025_11_23_02_804514_0003.jpg', '/home/pi/Desktop/images/05012025/11/24/image_05012025_11_24_02_968090_0000.jpg', '/home/pi/Desktop/images/05012025/11/24/image_05012025_11_24_02_968090_0001.jpg', '/home/pi/Desktop/images/05012025/11/24/image_05012025_11_24_02_968090_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/11/23/image_05012025_11_23_02_804514_0003.jpg
/home/pi/Desktop/images/05012025/11/24/image_05012025_11_24_02_968090_0000.jpg
/home/pi/Desktop/images/05012025/11/24/image_05012025_11_24_02_968090_0001.jpg
/home/pi/Desktop/images/05012025/11/24/image_05012025_11_24_02_968090_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326873895","1326873888","1326873890","1326873893"],"photo_ids_order":["1326873888","1326873890","1326873893","1326873895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e9e438ff8536e9736e102aa7ce4d1f5.jpg","text":"TemporaryFile(/tmp/multipartBody7076087140292021955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072732141,"filename":"image_05012025_11_24_02_968090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ba64c4ae344b231425c0b2e50613e748.jpg","text":"TemporaryFile(/tmp/multipartBody9166164875394001214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072732141,"filename":"image_05012025_11_23_02_804514_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d3659e330681d996285988f060ca08c2.jpg","text":"TemporaryFile(/tmp/multipartBody7848569541449606628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072732141,"filename":"image_05012025_11_24_02_968090_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0f772a3234b1e9f2c4ebdcd5b5b22801.jpg","text":"TemporaryFile(/tmp/multipartBody3951491411103109024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072732141,"filename":"image_05012025_11_24_02_968090_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873893","file1":"1326873890","file0":"1326873888","file3":"1326873895"},"map_files_photo_id_array":[{"photo_id":"1326873893","filename":"file2"},{"photo_id":"1326873890","filename":"file1"},{"photo_id":"1326873888","filename":"file0"},{"photo_id":"1326873895","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873895":["hashtag1","hashtag2"]},{"1326873888":["hashtag1","hashtag2"]},{"1326873890":["hashtag1","hashtag2"]},{"1326873893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873895, 1326873888, 1326873890, 1326873893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3374457359314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 11:25:02.523397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:25:21.918537
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/24/image_05012025_11_24_02_968090_0003.jpg', '/home/pi/Desktop/images/05012025/11/25/image_05012025_11_25_02_243073_0000.jpg', '/home/pi/Desktop/images/05012025/11/25/image_05012025_11_25_02_243073_0001.jpg', '/home/pi/Desktop/images/05012025/11/25/image_05012025_11_25_02_243073_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/11/24/image_05012025_11_24_02_968090_0003.jpg
/home/pi/Desktop/images/05012025/11/25/image_05012025_11_25_02_243073_0000.jpg
/home/pi/Desktop/images/05012025/11/25/image_05012025_11_25_02_243073_0001.jpg
/home/pi/Desktop/images/05012025/11/25/image_05012025_11_25_02_243073_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326873974","1326873976","1326873963","1326873972"],"photo_ids_order":["1326873963","1326873972","1326873974","1326873976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f1446acd8667821f82efd2ad6dfd0c3.jpg","text":"TemporaryFile(/tmp/multipartBody5454544435126057439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072792299,"filename":"image_05012025_11_25_02_243073_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d64cd305ec14f9a71715523eebfb0a2f.jpg","text":"TemporaryFile(/tmp/multipartBody8446072669505089973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072792299,"filename":"image_05012025_11_25_02_243073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/03556f63f70c7740919a626143cf7fd1.jpg","text":"TemporaryFile(/tmp/multipartBody4774324614886016881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072792299,"filename":"image_05012025_11_24_02_968090_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8cf13aaae2a03699641e3fb6c05896fb.jpg","text":"TemporaryFile(/tmp/multipartBody7023729206341255841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072792299,"filename":"image_05012025_11_25_02_243073_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326873974","file1":"1326873972","file0":"1326873963","file3":"1326873976"},"map_files_photo_id_array":[{"photo_id":"1326873974","filename":"file2"},{"photo_id":"1326873972","filename":"file1"},{"photo_id":"1326873963","filename":"file0"},{"photo_id":"1326873976","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326873974":["hashtag1","hashtag2"]},{"1326873976":["hashtag1","hashtag2"]},{"1326873963":["hashtag1","hashtag2"]},{"1326873972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326873974, 1326873976, 1326873963, 1326873972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.999290227890015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:26:22.157066
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/25/image_05012025_11_25_02_243073_0003.jpg', '/home/pi/Desktop/images/05012025/11/26/image_05012025_11_26_02_287729_0000.jpg', '/home/pi/Desktop/images/05012025/11/26/image_05012025_11_26_02_287729_0001.jpg', '/home/pi/Desktop/images/05012025/11/26/image_05012025_11_26_02_287729_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/11/25/image_05012025_11_25_02_243073_0003.jpg
/home/pi/Desktop/images/05012025/11/26/image_05012025_11_26_02_287729_0000.jpg
/home/pi/Desktop/images/05012025/11/26/image_05012025_11_26_02_287729_0001.jpg
/home/pi/Desktop/images/05012025/11/26/image_05012025_11_26_02_287729_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.864861488342285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 11:26:42.249415
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/25/image_05012025_11_25_02_243073_0003.jpg', '/home/pi/Desktop/images/05012025/11/26/image_05012025_11_26_02_287729_0000.jpg', '/home/pi/Desktop/images/05012025/11/26/image_05012025_11_26_02_287729_0001.jpg', '/home/pi/Desktop/images/05012025/11/26/image_05012025_11_26_02_287729_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/11/25/image_05012025_11_25_02_243073_0003.jpg
/home/pi/Desktop/images/05012025/11/26/image_05012025_11_26_02_287729_0000.jpg
/home/pi/Desktop/images/05012025/11/26/image_05012025_11_26_02_287729_0001.jpg
/home/pi/Desktop/images/05012025/11/26/image_05012025_11_26_02_287729_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874106","1326874108","1326874105","1326874104"],"photo_ids_order":["1326874104","1326874105","1326874106","1326874108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e409e366f1217a4a2b3824c2696d6378.jpg","text":"TemporaryFile(/tmp/multipartBody8330779592181460600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072872511,"filename":"image_05012025_11_26_02_287729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fa2c86a5b0eec03412d99d2e8081a76e.jpg","text":"TemporaryFile(/tmp/multipartBody9050970228830546852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072872511,"filename":"image_05012025_11_26_02_287729_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a180a399308d85e2e502b34cdc507b14.jpg","text":"TemporaryFile(/tmp/multipartBody4740118713335510845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072872511,"filename":"image_05012025_11_26_02_287729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0a71cc1e40547b4243c6ddbc2c32f78d.jpg","text":"TemporaryFile(/tmp/multipartBody6279915755562744212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072872511,"filename":"image_05012025_11_25_02_243073_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874106","file1":"1326874105","file0":"1326874104","file3":"1326874108"},"map_files_photo_id_array":[{"photo_id":"1326874106","filename":"file2"},{"photo_id":"1326874105","filename":"file1"},{"photo_id":"1326874104","filename":"file0"},{"photo_id":"1326874108","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874106":["hashtag1","hashtag2"]},{"1326874108":["hashtag1","hashtag2"]},{"1326874105":["hashtag1","hashtag2"]},{"1326874104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874106, 1326874108, 1326874105, 1326874104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13032793998718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 11:27:32.393894
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/26/image_05012025_11_26_02_287729_0003.jpg', '/home/pi/Desktop/images/05012025/11/27/image_05012025_11_27_02_623198_0000.jpg', '/home/pi/Desktop/images/05012025/11/27/image_05012025_11_27_02_623198_0001.jpg', '/home/pi/Desktop/images/05012025/11/27/image_05012025_11_27_02_623198_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/11/26/image_05012025_11_26_02_287729_0003.jpg
/home/pi/Desktop/images/05012025/11/27/image_05012025_11_27_02_623198_0000.jpg
/home/pi/Desktop/images/05012025/11/27/image_05012025_11_27_02_623198_0001.jpg
/home/pi/Desktop/images/05012025/11/27/image_05012025_11_27_02_623198_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874118","1326874132","1326874117","1326874119"],"photo_ids_order":["1326874117","1326874118","1326874119","1326874132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2778c111beee95f8692e319a76f432fe.jpg","text":"TemporaryFile(/tmp/multipartBody4296467842484902860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072922770,"filename":"image_05012025_11_27_02_623198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/817db7a411ba53e8957f725a5ab5c402.jpg","text":"TemporaryFile(/tmp/multipartBody3994048047608836810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072922770,"filename":"image_05012025_11_27_02_623198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/65728b54e5141776860dad5db30e0e4f.jpg","text":"TemporaryFile(/tmp/multipartBody2909826931209434414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072922770,"filename":"image_05012025_11_26_02_287729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/15beef408f0313b664d24266676b15aa.jpg","text":"TemporaryFile(/tmp/multipartBody5099188766529600050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072922770,"filename":"image_05012025_11_27_02_623198_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874119","file1":"1326874118","file0":"1326874117","file3":"1326874132"},"map_files_photo_id_array":[{"photo_id":"1326874119","filename":"file2"},{"photo_id":"1326874118","filename":"file1"},{"photo_id":"1326874117","filename":"file0"},{"photo_id":"1326874132","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874118":["hashtag1","hashtag2"]},{"1326874132":["hashtag1","hashtag2"]},{"1326874117":["hashtag1","hashtag2"]},{"1326874119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874118, 1326874132, 1326874117, 1326874119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.97123980522156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:28:22.539877
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/27/image_05012025_11_27_02_623198_0003.jpg', '/home/pi/Desktop/images/05012025/11/28/image_05012025_11_28_02_762066_0000.jpg', '/home/pi/Desktop/images/05012025/11/28/image_05012025_11_28_02_762066_0001.jpg', '/home/pi/Desktop/images/05012025/11/28/image_05012025_11_28_02_762066_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/11/27/image_05012025_11_27_02_623198_0003.jpg
/home/pi/Desktop/images/05012025/11/28/image_05012025_11_28_02_762066_0000.jpg
/home/pi/Desktop/images/05012025/11/28/image_05012025_11_28_02_762066_0001.jpg
/home/pi/Desktop/images/05012025/11/28/image_05012025_11_28_02_762066_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874256","1326874195","1326874255","1326874183"],"photo_ids_order":["1326874183","1326874195","1326874255","1326874256"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f8663ba1ab56aea3756a41d5783e4b5.jpg","text":"TemporaryFile(/tmp/multipartBody5221722447562604404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072972986,"filename":"image_05012025_11_28_02_762066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/54027dc09eb7ae0d5344487fdf354e50.jpg","text":"TemporaryFile(/tmp/multipartBody8773017275266775284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072972986,"filename":"image_05012025_11_28_02_762066_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a375de9a9c1fb1393b195a3ad8fb10b5.jpg","text":"TemporaryFile(/tmp/multipartBody995061807008964134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072972986,"filename":"image_05012025_11_28_02_762066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/52bdd213d71fa5757818234d158ba903.jpg","text":"TemporaryFile(/tmp/multipartBody2456705790478502896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736072972986,"filename":"image_05012025_11_27_02_623198_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874255","file1":"1326874195","file0":"1326874183","file3":"1326874256"},"map_files_photo_id_array":[{"photo_id":"1326874255","filename":"file2"},{"photo_id":"1326874195","filename":"file1"},{"photo_id":"1326874183","filename":"file0"},{"photo_id":"1326874256","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874256":["hashtag1","hashtag2"]},{"1326874195":["hashtag1","hashtag2"]},{"1326874255":["hashtag1","hashtag2"]},{"1326874183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874256, 1326874195, 1326874255, 1326874183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.64751195907593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:29:22.688604
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/28/image_05012025_11_28_02_762066_0003.jpg', '/home/pi/Desktop/images/05012025/11/29/image_05012025_11_29_02_865174_0000.jpg', '/home/pi/Desktop/images/05012025/11/29/image_05012025_11_29_02_865174_0001.jpg', '/home/pi/Desktop/images/05012025/11/29/image_05012025_11_29_02_865174_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/11/28/image_05012025_11_28_02_762066_0003.jpg
/home/pi/Desktop/images/05012025/11/29/image_05012025_11_29_02_865174_0000.jpg
/home/pi/Desktop/images/05012025/11/29/image_05012025_11_29_02_865174_0001.jpg
/home/pi/Desktop/images/05012025/11/29/image_05012025_11_29_02_865174_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874322","1326874324","1326874327","1326874321"],"photo_ids_order":["1326874321","1326874322","1326874324","1326874327"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a1524cf2a5bda2601953e30c98dfb530.jpg","text":"TemporaryFile(/tmp/multipartBody6657305157495380324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073033201,"filename":"image_05012025_11_29_02_865174_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/faab736ac24be62aba4f493720d6d917.jpg","text":"TemporaryFile(/tmp/multipartBody6582140378461087196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073033201,"filename":"image_05012025_11_29_02_865174_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2daeab66c9f025d45c8c6cd412a6e47.jpg","text":"TemporaryFile(/tmp/multipartBody3635475855061906113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073033201,"filename":"image_05012025_11_29_02_865174_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1cbd0f251d51e20727294efe15852217.jpg","text":"TemporaryFile(/tmp/multipartBody8084339693397925406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073033201,"filename":"image_05012025_11_28_02_762066_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874324","file1":"1326874322","file0":"1326874321","file3":"1326874327"},"map_files_photo_id_array":[{"photo_id":"1326874324","filename":"file2"},{"photo_id":"1326874322","filename":"file1"},{"photo_id":"1326874321","filename":"file0"},{"photo_id":"1326874327","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874322":["hashtag1","hashtag2"]},{"1326874324":["hashtag1","hashtag2"]},{"1326874327":["hashtag1","hashtag2"]},{"1326874321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874322, 1326874324, 1326874327, 1326874321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.16977596282959 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:30:21.852129
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/29/image_05012025_11_29_02_865174_0003.jpg', '/home/pi/Desktop/images/05012025/11/30/image_05012025_11_30_03_063609_0000.jpg', '/home/pi/Desktop/images/05012025/11/30/image_05012025_11_30_03_063609_0001.jpg', '/home/pi/Desktop/images/05012025/11/30/image_05012025_11_30_03_063609_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/11/29/image_05012025_11_29_02_865174_0003.jpg
/home/pi/Desktop/images/05012025/11/30/image_05012025_11_30_03_063609_0000.jpg
/home/pi/Desktop/images/05012025/11/30/image_05012025_11_30_03_063609_0001.jpg
/home/pi/Desktop/images/05012025/11/30/image_05012025_11_30_03_063609_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874337","1326874348","1326874338","1326874346"],"photo_ids_order":["1326874337","1326874338","1326874346","1326874348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7ca6594de0be525f9b16438d86683dc6.jpg","text":"TemporaryFile(/tmp/multipartBody9067927878844429106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073092401,"filename":"image_05012025_11_29_02_865174_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc062c2c30ca1b580d98bc09eb5d5924.jpg","text":"TemporaryFile(/tmp/multipartBody7802570644741858408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073092401,"filename":"image_05012025_11_30_03_063609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b4060c2f692e490d694a2d77e7fa2c13.jpg","text":"TemporaryFile(/tmp/multipartBody7699936902246550210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073092401,"filename":"image_05012025_11_30_03_063609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/743003ee74c86df504f17b62aba5b8b5.jpg","text":"TemporaryFile(/tmp/multipartBody3620387159988836538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073092401,"filename":"image_05012025_11_30_03_063609_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874346","file1":"1326874338","file0":"1326874337","file3":"1326874348"},"map_files_photo_id_array":[{"photo_id":"1326874346","filename":"file2"},{"photo_id":"1326874338","filename":"file1"},{"photo_id":"1326874337","filename":"file0"},{"photo_id":"1326874348","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874337":["hashtag1","hashtag2"]},{"1326874348":["hashtag1","hashtag2"]},{"1326874338":["hashtag1","hashtag2"]},{"1326874346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874337, 1326874348, 1326874338, 1326874346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80028963088989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 11:31:02.633360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:31:22.000556
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/30/image_05012025_11_30_03_063609_0003.jpg', '/home/pi/Desktop/images/05012025/11/31/image_05012025_11_31_02_166344_0000.jpg', '/home/pi/Desktop/images/05012025/11/31/image_05012025_11_31_02_166344_0001.jpg', '/home/pi/Desktop/images/05012025/11/31/image_05012025_11_31_02_166344_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/11/30/image_05012025_11_30_03_063609_0003.jpg
/home/pi/Desktop/images/05012025/11/31/image_05012025_11_31_02_166344_0000.jpg
/home/pi/Desktop/images/05012025/11/31/image_05012025_11_31_02_166344_0001.jpg
/home/pi/Desktop/images/05012025/11/31/image_05012025_11_31_02_166344_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874393","1326874392","1326874389","1326874391"],"photo_ids_order":["1326874389","1326874391","1326874392","1326874393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/575b2a4432e425d56c5361ee29161842.jpg","text":"TemporaryFile(/tmp/multipartBody7652816111116682053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073152356,"filename":"image_05012025_11_31_02_166344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/334b27370e8b0dad7f9466ae436dcbf6.jpg","text":"TemporaryFile(/tmp/multipartBody3772547945752220134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073152356,"filename":"image_05012025_11_31_02_166344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f5375357a11927ca3b3eb7d2fb7704e9.jpg","text":"TemporaryFile(/tmp/multipartBody8886151924649863815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073152356,"filename":"image_05012025_11_30_03_063609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/94808d57f04c93a8246495b12ae6f6d6.jpg","text":"TemporaryFile(/tmp/multipartBody4105013735361796405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073152356,"filename":"image_05012025_11_31_02_166344_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874392","file1":"1326874391","file0":"1326874389","file3":"1326874393"},"map_files_photo_id_array":[{"photo_id":"1326874392","filename":"file2"},{"photo_id":"1326874391","filename":"file1"},{"photo_id":"1326874389","filename":"file0"},{"photo_id":"1326874393","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874393":["hashtag1","hashtag2"]},{"1326874392":["hashtag1","hashtag2"]},{"1326874389":["hashtag1","hashtag2"]},{"1326874391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874393, 1326874392, 1326874389, 1326874391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.63120412826538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:32:22.228545
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/31/image_05012025_11_31_02_166344_0003.jpg', '/home/pi/Desktop/images/05012025/11/32/image_05012025_11_32_02_392016_0000.jpg', '/home/pi/Desktop/images/05012025/11/32/image_05012025_11_32_02_392016_0001.jpg', '/home/pi/Desktop/images/05012025/11/32/image_05012025_11_32_02_392016_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/11/31/image_05012025_11_31_02_166344_0003.jpg
/home/pi/Desktop/images/05012025/11/32/image_05012025_11_32_02_392016_0000.jpg
/home/pi/Desktop/images/05012025/11/32/image_05012025_11_32_02_392016_0001.jpg
/home/pi/Desktop/images/05012025/11/32/image_05012025_11_32_02_392016_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874406","1326874405","1326874402","1326874404"],"photo_ids_order":["1326874402","1326874404","1326874405","1326874406"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/666d885e60eb41bf07f7f9ed0c8b1510.jpg","text":"TemporaryFile(/tmp/multipartBody3789346732507180745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073212623,"filename":"image_05012025_11_32_02_392016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6798379a3302e6e99b651cf553e546bf.jpg","text":"TemporaryFile(/tmp/multipartBody1858671752965735950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073212623,"filename":"image_05012025_11_32_02_392016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0aa0d68afe8697822be50040a05b47b9.jpg","text":"TemporaryFile(/tmp/multipartBody1749247099193649451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073212623,"filename":"image_05012025_11_31_02_166344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/617d520dcfd80e9b81d27e4a69005d01.jpg","text":"TemporaryFile(/tmp/multipartBody5075313251307270419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073212623,"filename":"image_05012025_11_32_02_392016_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874405","file1":"1326874404","file0":"1326874402","file3":"1326874406"},"map_files_photo_id_array":[{"photo_id":"1326874405","filename":"file2"},{"photo_id":"1326874404","filename":"file1"},{"photo_id":"1326874402","filename":"file0"},{"photo_id":"1326874406","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874406":["hashtag1","hashtag2"]},{"1326874405":["hashtag1","hashtag2"]},{"1326874402":["hashtag1","hashtag2"]},{"1326874404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874406, 1326874405, 1326874402, 1326874404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.18847179412842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:33:22.423326
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/32/image_05012025_11_32_02_392016_0003.jpg', '/home/pi/Desktop/images/05012025/11/33/image_05012025_11_33_02_601487_0000.jpg', '/home/pi/Desktop/images/05012025/11/33/image_05012025_11_33_02_601487_0001.jpg', '/home/pi/Desktop/images/05012025/11/33/image_05012025_11_33_02_601487_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/11/32/image_05012025_11_32_02_392016_0003.jpg
/home/pi/Desktop/images/05012025/11/33/image_05012025_11_33_02_601487_0000.jpg
/home/pi/Desktop/images/05012025/11/33/image_05012025_11_33_02_601487_0001.jpg
/home/pi/Desktop/images/05012025/11/33/image_05012025_11_33_02_601487_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874415","1326874418","1326874426","1326874413"],"photo_ids_order":["1326874413","1326874415","1326874418","1326874426"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/87b705b45d4ffd87fc63a6929cef1358.jpg","text":"TemporaryFile(/tmp/multipartBody1937536548677508879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073272599,"filename":"image_05012025_11_33_02_601487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5a265d72ea5cebe1bc7b29460232801f.jpg","text":"TemporaryFile(/tmp/multipartBody4817953464618354838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073272599,"filename":"image_05012025_11_33_02_601487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7707e86cbec72d3ea9e739997a00c8bd.jpg","text":"TemporaryFile(/tmp/multipartBody2271219035687123377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073272599,"filename":"image_05012025_11_33_02_601487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eb97f3572b71a76fbda50486362be516.jpg","text":"TemporaryFile(/tmp/multipartBody6596712599353867267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073272599,"filename":"image_05012025_11_32_02_392016_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874418","file1":"1326874415","file0":"1326874413","file3":"1326874426"},"map_files_photo_id_array":[{"photo_id":"1326874418","filename":"file2"},{"photo_id":"1326874415","filename":"file1"},{"photo_id":"1326874413","filename":"file0"},{"photo_id":"1326874426","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874415":["hashtag1","hashtag2"]},{"1326874418":["hashtag1","hashtag2"]},{"1326874426":["hashtag1","hashtag2"]},{"1326874413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874415, 1326874418, 1326874426, 1326874413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.0454535484314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:34:22.589919
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/33/image_05012025_11_33_02_601487_0003.jpg', '/home/pi/Desktop/images/05012025/11/34/image_05012025_11_34_02_690427_0000.jpg', '/home/pi/Desktop/images/05012025/11/34/image_05012025_11_34_02_690427_0001.jpg', '/home/pi/Desktop/images/05012025/11/34/image_05012025_11_34_02_690427_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/11/33/image_05012025_11_33_02_601487_0003.jpg
/home/pi/Desktop/images/05012025/11/34/image_05012025_11_34_02_690427_0000.jpg
/home/pi/Desktop/images/05012025/11/34/image_05012025_11_34_02_690427_0001.jpg
/home/pi/Desktop/images/05012025/11/34/image_05012025_11_34_02_690427_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.048476457595825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 11:34:42.517686
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/33/image_05012025_11_33_02_601487_0003.jpg', '/home/pi/Desktop/images/05012025/11/34/image_05012025_11_34_02_690427_0000.jpg', '/home/pi/Desktop/images/05012025/11/34/image_05012025_11_34_02_690427_0001.jpg', '/home/pi/Desktop/images/05012025/11/34/image_05012025_11_34_02_690427_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/11/33/image_05012025_11_33_02_601487_0003.jpg
/home/pi/Desktop/images/05012025/11/34/image_05012025_11_34_02_690427_0000.jpg
/home/pi/Desktop/images/05012025/11/34/image_05012025_11_34_02_690427_0001.jpg
/home/pi/Desktop/images/05012025/11/34/image_05012025_11_34_02_690427_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874471","1326874470","1326874473","1326874475"],"photo_ids_order":["1326874470","1326874471","1326874473","1326874475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bbdf3a3cadc8ee137ed4b7676998d18d.jpg","text":"TemporaryFile(/tmp/multipartBody7982694226480058557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073352947,"filename":"image_05012025_11_34_02_690427_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/51129dfa17762fdf7f0280c85a6a2c47.jpg","text":"TemporaryFile(/tmp/multipartBody81516871000584207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073352947,"filename":"image_05012025_11_33_02_601487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cb8eb2a193e760045313c9bf17f20f0c.jpg","text":"TemporaryFile(/tmp/multipartBody622208653581405602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073352947,"filename":"image_05012025_11_34_02_690427_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b003f22cc42c47467fc0e10948cacbea.jpg","text":"TemporaryFile(/tmp/multipartBody5995257739645101013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073352947,"filename":"image_05012025_11_34_02_690427_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874473","file1":"1326874471","file0":"1326874470","file3":"1326874475"},"map_files_photo_id_array":[{"photo_id":"1326874473","filename":"file2"},{"photo_id":"1326874471","filename":"file1"},{"photo_id":"1326874470","filename":"file0"},{"photo_id":"1326874475","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874471":["hashtag1","hashtag2"]},{"1326874470":["hashtag1","hashtag2"]},{"1326874473":["hashtag1","hashtag2"]},{"1326874475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874471, 1326874470, 1326874473, 1326874475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.30740928649902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 11:35:32.749461
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/34/image_05012025_11_34_02_690427_0003.jpg', '/home/pi/Desktop/images/05012025/11/35/image_05012025_11_35_02_943164_0000.jpg', '/home/pi/Desktop/images/05012025/11/35/image_05012025_11_35_02_943164_0001.jpg', '/home/pi/Desktop/images/05012025/11/35/image_05012025_11_35_02_943164_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/11/34/image_05012025_11_34_02_690427_0003.jpg
/home/pi/Desktop/images/05012025/11/35/image_05012025_11_35_02_943164_0000.jpg
/home/pi/Desktop/images/05012025/11/35/image_05012025_11_35_02_943164_0001.jpg
/home/pi/Desktop/images/05012025/11/35/image_05012025_11_35_02_943164_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874489","1326874483","1326874491","1326874484"],"photo_ids_order":["1326874483","1326874484","1326874489","1326874491"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fac254a161eff0db231ede30b2b2271a.jpg","text":"TemporaryFile(/tmp/multipartBody7621563579541458239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073411234,"filename":"image_05012025_11_35_02_943164_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5e76a9a9859ab2c46ce0ce4f7fa02afd.jpg","text":"TemporaryFile(/tmp/multipartBody4276141257304725285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073411234,"filename":"image_05012025_11_34_02_690427_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/56174e960954ef8edb134a7ee16faf23.jpg","text":"TemporaryFile(/tmp/multipartBody2013808584576612633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073411234,"filename":"image_05012025_11_35_02_943164_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4d0acc96977d7e3c771bc7c7a98ab575.jpg","text":"TemporaryFile(/tmp/multipartBody8345248479091695761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073411234,"filename":"image_05012025_11_35_02_943164_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874489","file1":"1326874484","file0":"1326874483","file3":"1326874491"},"map_files_photo_id_array":[{"photo_id":"1326874489","filename":"file2"},{"photo_id":"1326874484","filename":"file1"},{"photo_id":"1326874483","filename":"file0"},{"photo_id":"1326874491","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874489":["hashtag1","hashtag2"]},{"1326874483":["hashtag1","hashtag2"]},{"1326874491":["hashtag1","hashtag2"]},{"1326874484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874489, 1326874483, 1326874491, 1326874484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 54.03076648712158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 11:36:31.971877
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/35/image_05012025_11_35_02_943164_0003.jpg', '/home/pi/Desktop/images/05012025/11/36/image_05012025_11_36_03_111005_0000.jpg', '/home/pi/Desktop/images/05012025/11/36/image_05012025_11_36_03_111005_0001.jpg', '/home/pi/Desktop/images/05012025/11/36/image_05012025_11_36_03_111005_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/11/35/image_05012025_11_35_02_943164_0003.jpg
/home/pi/Desktop/images/05012025/11/36/image_05012025_11_36_03_111005_0000.jpg
/home/pi/Desktop/images/05012025/11/36/image_05012025_11_36_03_111005_0001.jpg
/home/pi/Desktop/images/05012025/11/36/image_05012025_11_36_03_111005_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874529","1326874517","1326874522","1326874519"],"photo_ids_order":["1326874517","1326874519","1326874522","1326874529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c6637ea42a65ab8f597ff7a2c89b4f68.jpg","text":"TemporaryFile(/tmp/multipartBody5164195776483070946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073462324,"filename":"image_05012025_11_36_03_111005_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f7d4c2c4357914fbea2fd59447bc967b.jpg","text":"TemporaryFile(/tmp/multipartBody4539117056604754969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073462324,"filename":"image_05012025_11_35_02_943164_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/18e0ad6703e0611205a003840126d3e5.jpg","text":"TemporaryFile(/tmp/multipartBody7922564535961261269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073462324,"filename":"image_05012025_11_36_03_111005_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c51550fef3c373f3596ea19e54482117.jpg","text":"TemporaryFile(/tmp/multipartBody8309045944955312898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073462324,"filename":"image_05012025_11_36_03_111005_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874522","file1":"1326874519","file0":"1326874517","file3":"1326874529"},"map_files_photo_id_array":[{"photo_id":"1326874522","filename":"file2"},{"photo_id":"1326874519","filename":"file1"},{"photo_id":"1326874517","filename":"file0"},{"photo_id":"1326874529","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874529":["hashtag1","hashtag2"]},{"1326874517":["hashtag1","hashtag2"]},{"1326874522":["hashtag1","hashtag2"]},{"1326874519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874529, 1326874517, 1326874522, 1326874519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.993863105773926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:37:22.135895
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/36/image_05012025_11_36_03_111005_0003.jpg', '/home/pi/Desktop/images/05012025/11/37/image_05012025_11_37_02_329270_0000.jpg', '/home/pi/Desktop/images/05012025/11/37/image_05012025_11_37_02_329270_0001.jpg', '/home/pi/Desktop/images/05012025/11/37/image_05012025_11_37_02_329270_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/11/36/image_05012025_11_36_03_111005_0003.jpg
/home/pi/Desktop/images/05012025/11/37/image_05012025_11_37_02_329270_0000.jpg
/home/pi/Desktop/images/05012025/11/37/image_05012025_11_37_02_329270_0001.jpg
/home/pi/Desktop/images/05012025/11/37/image_05012025_11_37_02_329270_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874570","1326874573","1326874575","1326874571"],"photo_ids_order":["1326874570","1326874571","1326874573","1326874575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/92b40325aa56688bae03f2636545c6c0.jpg","text":"TemporaryFile(/tmp/multipartBody4691843733110025745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073512374,"filename":"image_05012025_11_36_03_111005_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/965b3f7cbce09344b9bfe6fa41343032.jpg","text":"TemporaryFile(/tmp/multipartBody1369800256055584829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073512374,"filename":"image_05012025_11_37_02_329270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f5e1a27b5453c5012b9b2973b77d2f37.jpg","text":"TemporaryFile(/tmp/multipartBody319055724636188590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073512374,"filename":"image_05012025_11_37_02_329270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62552eca1f573317b86a47cc44951777.jpg","text":"TemporaryFile(/tmp/multipartBody8248525890904483863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073512374,"filename":"image_05012025_11_37_02_329270_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874573","file1":"1326874571","file0":"1326874570","file3":"1326874575"},"map_files_photo_id_array":[{"photo_id":"1326874573","filename":"file2"},{"photo_id":"1326874571","filename":"file1"},{"photo_id":"1326874570","filename":"file0"},{"photo_id":"1326874575","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874570":["hashtag1","hashtag2"]},{"1326874573":["hashtag1","hashtag2"]},{"1326874575":["hashtag1","hashtag2"]},{"1326874571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874570, 1326874573, 1326874575, 1326874571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.463332176208496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:38:22.299380
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/37/image_05012025_11_37_02_329270_0003.jpg', '/home/pi/Desktop/images/05012025/11/38/image_05012025_11_38_02_548061_0000.jpg', '/home/pi/Desktop/images/05012025/11/38/image_05012025_11_38_02_548061_0001.jpg', '/home/pi/Desktop/images/05012025/11/38/image_05012025_11_38_02_548061_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/11/37/image_05012025_11_37_02_329270_0003.jpg
/home/pi/Desktop/images/05012025/11/38/image_05012025_11_38_02_548061_0000.jpg
/home/pi/Desktop/images/05012025/11/38/image_05012025_11_38_02_548061_0001.jpg
/home/pi/Desktop/images/05012025/11/38/image_05012025_11_38_02_548061_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874591","1326874593","1326874587","1326874589"],"photo_ids_order":["1326874587","1326874589","1326874591","1326874593"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/03a2ea1f02b1d5550092b0de9d67eb9f.jpg","text":"TemporaryFile(/tmp/multipartBody1423630461192029951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073572751,"filename":"image_05012025_11_38_02_548061_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/430410de03eb0e40a69c6de284e081ac.jpg","text":"TemporaryFile(/tmp/multipartBody8832199486418892614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073572751,"filename":"image_05012025_11_38_02_548061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2c659b02069776536a41e5d56ff49ded.jpg","text":"TemporaryFile(/tmp/multipartBody6041461960261709944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073572751,"filename":"image_05012025_11_37_02_329270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8309281fedd9ae5a4a5276bf286b0f0c.jpg","text":"TemporaryFile(/tmp/multipartBody3952381579903901713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073572751,"filename":"image_05012025_11_38_02_548061_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874591","file1":"1326874589","file0":"1326874587","file3":"1326874593"},"map_files_photo_id_array":[{"photo_id":"1326874591","filename":"file2"},{"photo_id":"1326874589","filename":"file1"},{"photo_id":"1326874587","filename":"file0"},{"photo_id":"1326874593","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874591":["hashtag1","hashtag2"]},{"1326874593":["hashtag1","hashtag2"]},{"1326874587":["hashtag1","hashtag2"]},{"1326874589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874591, 1326874593, 1326874587, 1326874589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.180046796798706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:39:22.489690
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/38/image_05012025_11_38_02_548061_0003.jpg', '/home/pi/Desktop/images/05012025/11/39/image_05012025_11_39_02_607689_0000.jpg', '/home/pi/Desktop/images/05012025/11/39/image_05012025_11_39_02_607689_0001.jpg', '/home/pi/Desktop/images/05012025/11/39/image_05012025_11_39_02_607689_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/11/38/image_05012025_11_38_02_548061_0003.jpg
/home/pi/Desktop/images/05012025/11/39/image_05012025_11_39_02_607689_0000.jpg
/home/pi/Desktop/images/05012025/11/39/image_05012025_11_39_02_607689_0001.jpg
/home/pi/Desktop/images/05012025/11/39/image_05012025_11_39_02_607689_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874604","1326874601","1326874606","1326874602"],"photo_ids_order":["1326874601","1326874602","1326874604","1326874606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/07d6abcf5be337a9c9f20c1f80c08cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3546391666951044593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073633066,"filename":"image_05012025_11_39_02_607689_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/be99e71234171e585d7af74452017ff1.jpg","text":"TemporaryFile(/tmp/multipartBody5087202874998994705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073633066,"filename":"image_05012025_11_38_02_548061_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5cd5fc6bd49e40740bf9ea35883c6590.jpg","text":"TemporaryFile(/tmp/multipartBody3642637759707041927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073633066,"filename":"image_05012025_11_39_02_607689_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a43ca2fdca01b821b5de18008764fca1.jpg","text":"TemporaryFile(/tmp/multipartBody3080030644224417135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073633066,"filename":"image_05012025_11_39_02_607689_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874604","file1":"1326874602","file0":"1326874601","file3":"1326874606"},"map_files_photo_id_array":[{"photo_id":"1326874604","filename":"file2"},{"photo_id":"1326874602","filename":"file1"},{"photo_id":"1326874601","filename":"file0"},{"photo_id":"1326874606","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874604":["hashtag1","hashtag2"]},{"1326874601":["hashtag1","hashtag2"]},{"1326874606":["hashtag1","hashtag2"]},{"1326874602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874604, 1326874601, 1326874606, 1326874602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.84679961204529 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:40:22.653318
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/39/image_05012025_11_39_02_607689_0003.jpg', '/home/pi/Desktop/images/05012025/11/40/image_05012025_11_40_02_816187_0000.jpg', '/home/pi/Desktop/images/05012025/11/40/image_05012025_11_40_02_816187_0001.jpg', '/home/pi/Desktop/images/05012025/11/40/image_05012025_11_40_02_816187_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/11/39/image_05012025_11_39_02_607689_0003.jpg
/home/pi/Desktop/images/05012025/11/40/image_05012025_11_40_02_816187_0000.jpg
/home/pi/Desktop/images/05012025/11/40/image_05012025_11_40_02_816187_0001.jpg
/home/pi/Desktop/images/05012025/11/40/image_05012025_11_40_02_816187_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.9569673538208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 11:40:42.712244
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/39/image_05012025_11_39_02_607689_0003.jpg', '/home/pi/Desktop/images/05012025/11/40/image_05012025_11_40_02_816187_0000.jpg', '/home/pi/Desktop/images/05012025/11/40/image_05012025_11_40_02_816187_0001.jpg', '/home/pi/Desktop/images/05012025/11/40/image_05012025_11_40_02_816187_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/11/39/image_05012025_11_39_02_607689_0003.jpg
/home/pi/Desktop/images/05012025/11/40/image_05012025_11_40_02_816187_0000.jpg
/home/pi/Desktop/images/05012025/11/40/image_05012025_11_40_02_816187_0001.jpg
/home/pi/Desktop/images/05012025/11/40/image_05012025_11_40_02_816187_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874705","1326874677","1326874679","1326874664"],"photo_ids_order":["1326874664","1326874677","1326874679","1326874705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/188f2daaf71daef40a511d2e3db20b4f.jpg","text":"TemporaryFile(/tmp/multipartBody9098938282746751062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073713107,"filename":"image_05012025_11_40_02_816187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/13e42821db9811cd97740ebb457fe92a.jpg","text":"TemporaryFile(/tmp/multipartBody8018637724204355130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073713107,"filename":"image_05012025_11_40_02_816187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/49d0f01c3a5220886283016cb5654a98.jpg","text":"TemporaryFile(/tmp/multipartBody2329953026678196496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073713107,"filename":"image_05012025_11_40_02_816187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02a0bf902ef7fcd412ef37d7c9ff2a41.jpg","text":"TemporaryFile(/tmp/multipartBody2384766220299687977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073713107,"filename":"image_05012025_11_39_02_607689_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874679","file1":"1326874677","file0":"1326874664","file3":"1326874705"},"map_files_photo_id_array":[{"photo_id":"1326874679","filename":"file2"},{"photo_id":"1326874677","filename":"file1"},{"photo_id":"1326874664","filename":"file0"},{"photo_id":"1326874705","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874705":["hashtag1","hashtag2"]},{"1326874677":["hashtag1","hashtag2"]},{"1326874679":["hashtag1","hashtag2"]},{"1326874664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874705, 1326874677, 1326874679, 1326874664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.893643379211426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 11:41:31.857313
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/40/image_05012025_11_40_02_816187_0003.jpg', '/home/pi/Desktop/images/05012025/11/41/image_05012025_11_41_02_997535_0001.jpg', '/home/pi/Desktop/images/05012025/11/41/image_05012025_11_41_02_997535_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/11/40/image_05012025_11_40_02_816187_0003.jpg
/home/pi/Desktop/images/05012025/11/41/image_05012025_11_41_02_997535_0001.jpg
/home/pi/Desktop/images/05012025/11/41/image_05012025_11_41_02_997535_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874712","1326874709","1326874710"],"photo_ids_order":["1326874709","1326874710","1326874712"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7eefc2474611dbea02c64fa19181aaee.jpg","text":"TemporaryFile(/tmp/multipartBody4056917738467885157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073759825,"filename":"image_05012025_11_41_02_997535_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/67d6f497d579893e9fa4a9337b9a2df9.jpg","text":"TemporaryFile(/tmp/multipartBody5651099645163316287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073759825,"filename":"image_05012025_11_40_02_816187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d812284e6d3c8ed240127c51bdb4f30d.jpg","text":"TemporaryFile(/tmp/multipartBody3928898344620262233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073759825,"filename":"image_05012025_11_41_02_997535_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874712","file1":"1326874710","file0":"1326874709"},"map_files_photo_id_array":[{"photo_id":"1326874712","filename":"file2"},{"photo_id":"1326874710","filename":"file1"},{"photo_id":"1326874709","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874712":["hashtag1","hashtag2"]},{"1326874709":["hashtag1","hashtag2"]},{"1326874710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874712, 1326874709, 1326874710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.820812463760376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:42:22.039347
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/41/image_05012025_11_41_02_997535_0003.jpg', '/home/pi/Desktop/images/05012025/11/42/image_05012025_11_42_02_207286_0000.jpg', '/home/pi/Desktop/images/05012025/11/42/image_05012025_11_42_02_207286_0001.jpg', '/home/pi/Desktop/images/05012025/11/42/image_05012025_11_42_02_207286_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/11/41/image_05012025_11_41_02_997535_0003.jpg
/home/pi/Desktop/images/05012025/11/42/image_05012025_11_42_02_207286_0000.jpg
/home/pi/Desktop/images/05012025/11/42/image_05012025_11_42_02_207286_0001.jpg
/home/pi/Desktop/images/05012025/11/42/image_05012025_11_42_02_207286_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874724","1326874738","1326874767","1326874728"],"photo_ids_order":["1326874724","1326874728","1326874738","1326874767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f2903820d3b14740cf081c7a6b2d8592.jpg","text":"TemporaryFile(/tmp/multipartBody7155838540199607503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073812435,"filename":"image_05012025_11_41_02_997535_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d94bc161114e8080692918b4f044ec8b.jpg","text":"TemporaryFile(/tmp/multipartBody455215047749396502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073812435,"filename":"image_05012025_11_42_02_207286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1cbf3609203db7b34b2126e85f3c0282.jpg","text":"TemporaryFile(/tmp/multipartBody4694920687416069873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073812435,"filename":"image_05012025_11_42_02_207286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cb9399ba226620f89a69c86088ed8b58.jpg","text":"TemporaryFile(/tmp/multipartBody7751926011793472833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073812435,"filename":"image_05012025_11_42_02_207286_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874738","file1":"1326874728","file0":"1326874724","file3":"1326874767"},"map_files_photo_id_array":[{"photo_id":"1326874738","filename":"file2"},{"photo_id":"1326874728","filename":"file1"},{"photo_id":"1326874724","filename":"file0"},{"photo_id":"1326874767","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874724":["hashtag1","hashtag2"]},{"1326874738":["hashtag1","hashtag2"]},{"1326874767":["hashtag1","hashtag2"]},{"1326874728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874724, 1326874738, 1326874767, 1326874728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.427836894989014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:43:22.254567
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/42/image_05012025_11_42_02_207286_0003.jpg', '/home/pi/Desktop/images/05012025/11/43/image_05012025_11_43_02_386280_0000.jpg', '/home/pi/Desktop/images/05012025/11/43/image_05012025_11_43_02_386280_0001.jpg', '/home/pi/Desktop/images/05012025/11/43/image_05012025_11_43_02_386280_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/11/42/image_05012025_11_42_02_207286_0003.jpg
/home/pi/Desktop/images/05012025/11/43/image_05012025_11_43_02_386280_0000.jpg
/home/pi/Desktop/images/05012025/11/43/image_05012025_11_43_02_386280_0001.jpg
/home/pi/Desktop/images/05012025/11/43/image_05012025_11_43_02_386280_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874783","1326874777","1326874781","1326874778"],"photo_ids_order":["1326874777","1326874778","1326874781","1326874783"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9e4e842e59350fe82e4b056b64d160ea.jpg","text":"TemporaryFile(/tmp/multipartBody3125147875832608265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073872734,"filename":"image_05012025_11_43_02_386280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad646dcd6fe155fe0c67abc4c7a09538.jpg","text":"TemporaryFile(/tmp/multipartBody5609137355240591424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073872734,"filename":"image_05012025_11_42_02_207286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/81f2179df6f6e1f430e5551ffe7e138f.jpg","text":"TemporaryFile(/tmp/multipartBody6944301338140991829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073872734,"filename":"image_05012025_11_43_02_386280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/129906e89b83199b30ec9ae5647002c6.jpg","text":"TemporaryFile(/tmp/multipartBody7906386718518004446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073872734,"filename":"image_05012025_11_43_02_386280_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874781","file1":"1326874778","file0":"1326874777","file3":"1326874783"},"map_files_photo_id_array":[{"photo_id":"1326874781","filename":"file2"},{"photo_id":"1326874778","filename":"file1"},{"photo_id":"1326874777","filename":"file0"},{"photo_id":"1326874783","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874783":["hashtag1","hashtag2"]},{"1326874777":["hashtag1","hashtag2"]},{"1326874781":["hashtag1","hashtag2"]},{"1326874778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874783, 1326874777, 1326874781, 1326874778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.992289304733276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:44:22.421788
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/43/image_05012025_11_43_02_386280_0003.jpg', '/home/pi/Desktop/images/05012025/11/44/image_05012025_11_44_02_618801_0000.jpg', '/home/pi/Desktop/images/05012025/11/44/image_05012025_11_44_02_618801_0001.jpg', '/home/pi/Desktop/images/05012025/11/44/image_05012025_11_44_02_618801_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/11/43/image_05012025_11_43_02_386280_0003.jpg
/home/pi/Desktop/images/05012025/11/44/image_05012025_11_44_02_618801_0000.jpg
/home/pi/Desktop/images/05012025/11/44/image_05012025_11_44_02_618801_0001.jpg
/home/pi/Desktop/images/05012025/11/44/image_05012025_11_44_02_618801_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874798","1326874801","1326874804","1326874799"],"photo_ids_order":["1326874798","1326874799","1326874801","1326874804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/27c262e9f7cb52a1fb3b2bf598899b49.jpg","text":"TemporaryFile(/tmp/multipartBody5904791876633584917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073932780,"filename":"image_05012025_11_43_02_386280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/010cc1c2f47a7ad31f148b4410ee029e.jpg","text":"TemporaryFile(/tmp/multipartBody3303761009349072372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073932780,"filename":"image_05012025_11_44_02_618801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5746907250815c13a9915f0e152a778d.jpg","text":"TemporaryFile(/tmp/multipartBody1807195347457191301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073932780,"filename":"image_05012025_11_44_02_618801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/997e0396d2cd22da86993d5da6ff629c.jpg","text":"TemporaryFile(/tmp/multipartBody716896700550678063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073932780,"filename":"image_05012025_11_44_02_618801_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874801","file1":"1326874799","file0":"1326874798","file3":"1326874804"},"map_files_photo_id_array":[{"photo_id":"1326874801","filename":"file2"},{"photo_id":"1326874799","filename":"file1"},{"photo_id":"1326874798","filename":"file0"},{"photo_id":"1326874804","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874798":["hashtag1","hashtag2"]},{"1326874801":["hashtag1","hashtag2"]},{"1326874804":["hashtag1","hashtag2"]},{"1326874799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874798, 1326874801, 1326874804, 1326874799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.215983867645264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:45:22.629062
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/44/image_05012025_11_44_02_618801_0003.jpg', '/home/pi/Desktop/images/05012025/11/45/image_05012025_11_45_02_779469_0000.jpg', '/home/pi/Desktop/images/05012025/11/45/image_05012025_11_45_02_779469_0001.jpg', '/home/pi/Desktop/images/05012025/11/45/image_05012025_11_45_02_779469_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/11/44/image_05012025_11_44_02_618801_0003.jpg
/home/pi/Desktop/images/05012025/11/45/image_05012025_11_45_02_779469_0000.jpg
/home/pi/Desktop/images/05012025/11/45/image_05012025_11_45_02_779469_0001.jpg
/home/pi/Desktop/images/05012025/11/45/image_05012025_11_45_02_779469_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874817","1326874822","1326874819","1326874869"],"photo_ids_order":["1326874817","1326874819","1326874822","1326874869"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3088cb3a4a80c2527b9849141305df5f.jpg","text":"TemporaryFile(/tmp/multipartBody7341534736066671919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073993051,"filename":"image_05012025_11_44_02_618801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4836f5a17edbe9f3c889678ea8e0b2f1.jpg","text":"TemporaryFile(/tmp/multipartBody5434022824204211060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073993051,"filename":"image_05012025_11_45_02_779469_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/24244d25dc643d5a83410e264c97d794.jpg","text":"TemporaryFile(/tmp/multipartBody8802000644409354914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073993051,"filename":"image_05012025_11_45_02_779469_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d9b8459e8880c7728868054f91cb2532.jpg","text":"TemporaryFile(/tmp/multipartBody4637094255827166117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736073993051,"filename":"image_05012025_11_45_02_779469_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874822","file1":"1326874819","file0":"1326874817","file3":"1326874869"},"map_files_photo_id_array":[{"photo_id":"1326874822","filename":"file2"},{"photo_id":"1326874819","filename":"file1"},{"photo_id":"1326874817","filename":"file0"},{"photo_id":"1326874869","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874817":["hashtag1","hashtag2"]},{"1326874822":["hashtag1","hashtag2"]},{"1326874819":["hashtag1","hashtag2"]},{"1326874869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874817, 1326874822, 1326874819, 1326874869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.42490220069885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:46:21.822679
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/45/image_05012025_11_45_02_779469_0003.jpg', '/home/pi/Desktop/images/05012025/11/46/image_05012025_11_46_02_963779_0000.jpg', '/home/pi/Desktop/images/05012025/11/46/image_05012025_11_46_02_963779_0001.jpg', '/home/pi/Desktop/images/05012025/11/46/image_05012025_11_46_02_963779_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/11/45/image_05012025_11_45_02_779469_0003.jpg
/home/pi/Desktop/images/05012025/11/46/image_05012025_11_46_02_963779_0000.jpg
/home/pi/Desktop/images/05012025/11/46/image_05012025_11_46_02_963779_0001.jpg
/home/pi/Desktop/images/05012025/11/46/image_05012025_11_46_02_963779_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326874894","1326874897","1326874899","1326874902"],"photo_ids_order":["1326874894","1326874897","1326874899","1326874902"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a1cde30f6df18348a834bdcb45c0540f.jpg","text":"TemporaryFile(/tmp/multipartBody3926144498875268340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074052170,"filename":"image_05012025_11_45_02_779469_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8f98bcad59d31238b2db54843d0c0cde.jpg","text":"TemporaryFile(/tmp/multipartBody5064045349128642847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074052170,"filename":"image_05012025_11_46_02_963779_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d35e8ac14247b4561bb25e02ed711b26.jpg","text":"TemporaryFile(/tmp/multipartBody2354659073765286138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074052170,"filename":"image_05012025_11_46_02_963779_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3364a5bf75618b8463eced8fd332a4bd.jpg","text":"TemporaryFile(/tmp/multipartBody7219412328142033765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074052170,"filename":"image_05012025_11_46_02_963779_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326874899","file1":"1326874897","file0":"1326874894","file3":"1326874902"},"map_files_photo_id_array":[{"photo_id":"1326874899","filename":"file2"},{"photo_id":"1326874897","filename":"file1"},{"photo_id":"1326874894","filename":"file0"},{"photo_id":"1326874902","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326874894":["hashtag1","hashtag2"]},{"1326874897":["hashtag1","hashtag2"]},{"1326874899":["hashtag1","hashtag2"]},{"1326874902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326874894, 1326874897, 1326874899, 1326874902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80888867378235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 11:47:02.604700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:47:22.050232
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/46/image_05012025_11_46_02_963779_0003.jpg', '/home/pi/Desktop/images/05012025/11/47/image_05012025_11_47_02_136033_0000.jpg', '/home/pi/Desktop/images/05012025/11/47/image_05012025_11_47_02_136033_0001.jpg', '/home/pi/Desktop/images/05012025/11/47/image_05012025_11_47_02_136033_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/11/46/image_05012025_11_46_02_963779_0003.jpg
/home/pi/Desktop/images/05012025/11/47/image_05012025_11_47_02_136033_0000.jpg
/home/pi/Desktop/images/05012025/11/47/image_05012025_11_47_02_136033_0001.jpg
/home/pi/Desktop/images/05012025/11/47/image_05012025_11_47_02_136033_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326875161","1326875160","1326875156","1326875159"],"photo_ids_order":["1326875156","1326875159","1326875160","1326875161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/967fbd861a9053c9300fd8a9196008cb.jpg","text":"TemporaryFile(/tmp/multipartBody6451891608745983094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074112399,"filename":"image_05012025_11_47_02_136033_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/465851d8f29637efdb0efed0a4ac8f66.jpg","text":"TemporaryFile(/tmp/multipartBody81935535324578693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074112399,"filename":"image_05012025_11_47_02_136033_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e75f8ea4cdb45e5822c0138271a1267b.jpg","text":"TemporaryFile(/tmp/multipartBody8962095556829905344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074112399,"filename":"image_05012025_11_46_02_963779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/71cc44dc16ae216d1ad07b35634a267f.jpg","text":"TemporaryFile(/tmp/multipartBody7976419967160513040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074112399,"filename":"image_05012025_11_47_02_136033_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326875160","file1":"1326875159","file0":"1326875156","file3":"1326875161"},"map_files_photo_id_array":[{"photo_id":"1326875160","filename":"file2"},{"photo_id":"1326875159","filename":"file1"},{"photo_id":"1326875156","filename":"file0"},{"photo_id":"1326875161","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326875161":["hashtag1","hashtag2"]},{"1326875160":["hashtag1","hashtag2"]},{"1326875156":["hashtag1","hashtag2"]},{"1326875159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326875161, 1326875160, 1326875156, 1326875159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.03350877761841 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:48:22.181494
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/47/image_05012025_11_47_02_136033_0003.jpg', '/home/pi/Desktop/images/05012025/11/48/image_05012025_11_48_02_330846_0000.jpg', '/home/pi/Desktop/images/05012025/11/48/image_05012025_11_48_02_330846_0001.jpg', '/home/pi/Desktop/images/05012025/11/48/image_05012025_11_48_02_330846_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/11/47/image_05012025_11_47_02_136033_0003.jpg
/home/pi/Desktop/images/05012025/11/48/image_05012025_11_48_02_330846_0000.jpg
/home/pi/Desktop/images/05012025/11/48/image_05012025_11_48_02_330846_0001.jpg
/home/pi/Desktop/images/05012025/11/48/image_05012025_11_48_02_330846_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326875173","1326875179","1326875174","1326875171"],"photo_ids_order":["1326875171","1326875173","1326875174","1326875179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d07a3d41986b341a7c634fc69b200fad.jpg","text":"TemporaryFile(/tmp/multipartBody2317743293329624890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074172677,"filename":"image_05012025_11_48_02_330846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/469a2c1720bde21e77adba6ba2fa95af.jpg","text":"TemporaryFile(/tmp/multipartBody1949756153855564859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074172677,"filename":"image_05012025_11_48_02_330846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/26cf1981571e4d7d4841920e4c4b037e.jpg","text":"TemporaryFile(/tmp/multipartBody4650164038660562539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074172677,"filename":"image_05012025_11_48_02_330846_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8ecd97fd7a8e2f46660b8ed5546ed2b8.jpg","text":"TemporaryFile(/tmp/multipartBody5076892387334691503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074172677,"filename":"image_05012025_11_47_02_136033_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326875174","file1":"1326875173","file0":"1326875171","file3":"1326875179"},"map_files_photo_id_array":[{"photo_id":"1326875174","filename":"file2"},{"photo_id":"1326875173","filename":"file1"},{"photo_id":"1326875171","filename":"file0"},{"photo_id":"1326875179","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326875173":["hashtag1","hashtag2"]},{"1326875179":["hashtag1","hashtag2"]},{"1326875174":["hashtag1","hashtag2"]},{"1326875171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326875173, 1326875179, 1326875174, 1326875171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.097251415252686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 11:49:02.995337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:49:22.316921
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/48/image_05012025_11_48_02_330846_0003.jpg', '/home/pi/Desktop/images/05012025/11/49/image_05012025_11_49_02_458731_0000.jpg', '/home/pi/Desktop/images/05012025/11/49/image_05012025_11_49_02_458731_0001.jpg', '/home/pi/Desktop/images/05012025/11/49/image_05012025_11_49_02_458731_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/11/48/image_05012025_11_48_02_330846_0003.jpg
/home/pi/Desktop/images/05012025/11/49/image_05012025_11_49_02_458731_0000.jpg
/home/pi/Desktop/images/05012025/11/49/image_05012025_11_49_02_458731_0001.jpg
/home/pi/Desktop/images/05012025/11/49/image_05012025_11_49_02_458731_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326875242","1326875250","1326875217","1326875249"],"photo_ids_order":["1326875217","1326875242","1326875249","1326875250"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ea9510c4051969b2b6d65b0143316fb.jpg","text":"TemporaryFile(/tmp/multipartBody8413947729029342852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074232667,"filename":"image_05012025_11_49_02_458731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9234bc7c91765f2cf036136b590d101d.jpg","text":"TemporaryFile(/tmp/multipartBody1316095103011887736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074232667,"filename":"image_05012025_11_49_02_458731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/de2f92562f13dee9bf5d96a3b5ee9e19.jpg","text":"TemporaryFile(/tmp/multipartBody4749383440676452526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074232667,"filename":"image_05012025_11_48_02_330846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b09726be44d721c0f7065b02684146f3.jpg","text":"TemporaryFile(/tmp/multipartBody1033150773427067693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074232667,"filename":"image_05012025_11_49_02_458731_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326875249","file1":"1326875242","file0":"1326875217","file3":"1326875250"},"map_files_photo_id_array":[{"photo_id":"1326875249","filename":"file2"},{"photo_id":"1326875242","filename":"file1"},{"photo_id":"1326875217","filename":"file0"},{"photo_id":"1326875250","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326875242":["hashtag1","hashtag2"]},{"1326875250":["hashtag1","hashtag2"]},{"1326875217":["hashtag1","hashtag2"]},{"1326875249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326875242, 1326875250, 1326875217, 1326875249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.905208349227905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 11:50:02.963935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:50:22.413140
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/49/image_05012025_11_49_02_458731_0003.jpg', '/home/pi/Desktop/images/05012025/11/50/image_05012025_11_50_02_689767_0000.jpg', '/home/pi/Desktop/images/05012025/11/50/image_05012025_11_50_02_689767_0001.jpg', '/home/pi/Desktop/images/05012025/11/50/image_05012025_11_50_02_689767_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/11/49/image_05012025_11_49_02_458731_0003.jpg
/home/pi/Desktop/images/05012025/11/50/image_05012025_11_50_02_689767_0000.jpg
/home/pi/Desktop/images/05012025/11/50/image_05012025_11_50_02_689767_0001.jpg
/home/pi/Desktop/images/05012025/11/50/image_05012025_11_50_02_689767_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326875347","1326875343","1326875342","1326875345"],"photo_ids_order":["1326875342","1326875343","1326875345","1326875347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e003c32ae6f3abda2416622319801465.jpg","text":"TemporaryFile(/tmp/multipartBody193370565513074971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074292733,"filename":"image_05012025_11_50_02_689767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c5e0070b6f0bdb26cc91f7e0f6ced67e.jpg","text":"TemporaryFile(/tmp/multipartBody6655292370661955131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074292733,"filename":"image_05012025_11_50_02_689767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a9b0736b26033d0adb537707673c2d72.jpg","text":"TemporaryFile(/tmp/multipartBody2717179936892639503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074292733,"filename":"image_05012025_11_49_02_458731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a527ea14da900c7578a3bc92ce2d3715.jpg","text":"TemporaryFile(/tmp/multipartBody5801629282539965572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074292733,"filename":"image_05012025_11_50_02_689767_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326875345","file1":"1326875343","file0":"1326875342","file3":"1326875347"},"map_files_photo_id_array":[{"photo_id":"1326875345","filename":"file2"},{"photo_id":"1326875343","filename":"file1"},{"photo_id":"1326875342","filename":"file0"},{"photo_id":"1326875347","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326875347":["hashtag1","hashtag2"]},{"1326875343":["hashtag1","hashtag2"]},{"1326875342":["hashtag1","hashtag2"]},{"1326875345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326875347, 1326875343, 1326875342, 1326875345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.60338091850281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:51:22.705611
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/50/image_05012025_11_50_02_689767_0003.jpg', '/home/pi/Desktop/images/05012025/11/51/image_05012025_11_51_02_788430_0000.jpg', '/home/pi/Desktop/images/05012025/11/51/image_05012025_11_51_02_788430_0001.jpg', '/home/pi/Desktop/images/05012025/11/51/image_05012025_11_51_02_788430_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/11/50/image_05012025_11_50_02_689767_0003.jpg
/home/pi/Desktop/images/05012025/11/51/image_05012025_11_51_02_788430_0000.jpg
/home/pi/Desktop/images/05012025/11/51/image_05012025_11_51_02_788430_0001.jpg
/home/pi/Desktop/images/05012025/11/51/image_05012025_11_51_02_788430_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.083256721496582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 11:51:42.655186
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/50/image_05012025_11_50_02_689767_0003.jpg', '/home/pi/Desktop/images/05012025/11/51/image_05012025_11_51_02_788430_0000.jpg', '/home/pi/Desktop/images/05012025/11/51/image_05012025_11_51_02_788430_0001.jpg', '/home/pi/Desktop/images/05012025/11/51/image_05012025_11_51_02_788430_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/11/50/image_05012025_11_50_02_689767_0003.jpg
/home/pi/Desktop/images/05012025/11/51/image_05012025_11_51_02_788430_0000.jpg
/home/pi/Desktop/images/05012025/11/51/image_05012025_11_51_02_788430_0001.jpg
/home/pi/Desktop/images/05012025/11/51/image_05012025_11_51_02_788430_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326875392","1326875394","1326875413","1326875405"],"photo_ids_order":["1326875392","1326875394","1326875405","1326875413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e03deaf2f4bfc1921e333244fe505b5c.jpg","text":"TemporaryFile(/tmp/multipartBody2905188521551075900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074373158,"filename":"image_05012025_11_50_02_689767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ee6f8323a7042ebca404f503bf76a955.jpg","text":"TemporaryFile(/tmp/multipartBody2550442995453342639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074373158,"filename":"image_05012025_11_51_02_788430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f32302be1bf1d6f7a2e1486b165da4ce.jpg","text":"TemporaryFile(/tmp/multipartBody7471659259026089747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074373158,"filename":"image_05012025_11_51_02_788430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/78a8539c39ddb98414869bf650284c1e.jpg","text":"TemporaryFile(/tmp/multipartBody6452999972453676774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074373158,"filename":"image_05012025_11_51_02_788430_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326875405","file1":"1326875394","file0":"1326875392","file3":"1326875413"},"map_files_photo_id_array":[{"photo_id":"1326875405","filename":"file2"},{"photo_id":"1326875394","filename":"file1"},{"photo_id":"1326875392","filename":"file0"},{"photo_id":"1326875413","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326875392":["hashtag1","hashtag2"]},{"1326875394":["hashtag1","hashtag2"]},{"1326875413":["hashtag1","hashtag2"]},{"1326875405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326875392, 1326875394, 1326875413, 1326875405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.56458854675293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 11:52:31.824103
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/51/image_05012025_11_51_02_788430_0003.jpg', '/home/pi/Desktop/images/05012025/11/52/image_05012025_11_52_03_024251_0000.jpg', '/home/pi/Desktop/images/05012025/11/52/image_05012025_11_52_03_024251_0001.jpg', '/home/pi/Desktop/images/05012025/11/52/image_05012025_11_52_03_024251_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/11/51/image_05012025_11_51_02_788430_0003.jpg
/home/pi/Desktop/images/05012025/11/52/image_05012025_11_52_03_024251_0000.jpg
/home/pi/Desktop/images/05012025/11/52/image_05012025_11_52_03_024251_0001.jpg
/home/pi/Desktop/images/05012025/11/52/image_05012025_11_52_03_024251_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.981175661087036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 11:52:51.833916
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/51/image_05012025_11_51_02_788430_0003.jpg', '/home/pi/Desktop/images/05012025/11/52/image_05012025_11_52_03_024251_0000.jpg', '/home/pi/Desktop/images/05012025/11/52/image_05012025_11_52_03_024251_0001.jpg', '/home/pi/Desktop/images/05012025/11/52/image_05012025_11_52_03_024251_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/11/51/image_05012025_11_51_02_788430_0003.jpg
/home/pi/Desktop/images/05012025/11/52/image_05012025_11_52_03_024251_0000.jpg
/home/pi/Desktop/images/05012025/11/52/image_05012025_11_52_03_024251_0001.jpg
/home/pi/Desktop/images/05012025/11/52/image_05012025_11_52_03_024251_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326875449","1326875451","1326875453","1326875447"],"photo_ids_order":["1326875447","1326875449","1326875451","1326875453"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e373cb18f86e7fb748b1344a86864fab.jpg","text":"TemporaryFile(/tmp/multipartBody6356567581134869375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074442236,"filename":"image_05012025_11_52_03_024251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5580f5a5b79df402f4367611f4f7d97d.jpg","text":"TemporaryFile(/tmp/multipartBody6211513944843524415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074442236,"filename":"image_05012025_11_52_03_024251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0a9c414744948f5dc8fcc99e58fde108.jpg","text":"TemporaryFile(/tmp/multipartBody3607827147920939469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074442236,"filename":"image_05012025_11_52_03_024251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/70b4a84482ea195d80828ca8a10b5b10.jpg","text":"TemporaryFile(/tmp/multipartBody8108050167942940290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074442236,"filename":"image_05012025_11_51_02_788430_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326875451","file1":"1326875449","file0":"1326875447","file3":"1326875453"},"map_files_photo_id_array":[{"photo_id":"1326875451","filename":"file2"},{"photo_id":"1326875449","filename":"file1"},{"photo_id":"1326875447","filename":"file0"},{"photo_id":"1326875453","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326875449":["hashtag1","hashtag2"]},{"1326875451":["hashtag1","hashtag2"]},{"1326875453":["hashtag1","hashtag2"]},{"1326875447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326875449, 1326875451, 1326875453, 1326875447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.5942325592041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 11:53:42.123740
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/52/image_05012025_11_52_03_024251_0003.jpg', '/home/pi/Desktop/images/05012025/11/53/image_05012025_11_53_02_180578_0000.jpg', '/home/pi/Desktop/images/05012025/11/53/image_05012025_11_53_02_180578_0001.jpg', '/home/pi/Desktop/images/05012025/11/53/image_05012025_11_53_02_180578_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/11/52/image_05012025_11_52_03_024251_0003.jpg
/home/pi/Desktop/images/05012025/11/53/image_05012025_11_53_02_180578_0000.jpg
/home/pi/Desktop/images/05012025/11/53/image_05012025_11_53_02_180578_0001.jpg
/home/pi/Desktop/images/05012025/11/53/image_05012025_11_53_02_180578_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.133728742599487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 11:54:02.666794
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/52/image_05012025_11_52_03_024251_0003.jpg', '/home/pi/Desktop/images/05012025/11/53/image_05012025_11_53_02_180578_0000.jpg', '/home/pi/Desktop/images/05012025/11/53/image_05012025_11_53_02_180578_0001.jpg', '/home/pi/Desktop/images/05012025/11/53/image_05012025_11_53_02_180578_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/11/52/image_05012025_11_52_03_024251_0003.jpg
/home/pi/Desktop/images/05012025/11/53/image_05012025_11_53_02_180578_0000.jpg
/home/pi/Desktop/images/05012025/11/53/image_05012025_11_53_02_180578_0001.jpg
/home/pi/Desktop/images/05012025/11/53/image_05012025_11_53_02_180578_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326875464","1326875469","1326875466","1326875468"],"photo_ids_order":["1326875464","1326875466","1326875468","1326875469"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/925db42ba2624a93be26a85ede71db4c.jpg","text":"TemporaryFile(/tmp/multipartBody1674403702516635093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074513217,"filename":"image_05012025_11_52_03_024251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b9291d0028787ab23643cd2c63bb3880.jpg","text":"TemporaryFile(/tmp/multipartBody3774899892346453266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074513217,"filename":"image_05012025_11_53_02_180578_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0dcc88ce77ccf598a7acecad53915b56.jpg","text":"TemporaryFile(/tmp/multipartBody6188989795530366013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074513217,"filename":"image_05012025_11_53_02_180578_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dca3c413a359b88e36f6f796c8b0c749.jpg","text":"TemporaryFile(/tmp/multipartBody550484786315617181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074513217,"filename":"image_05012025_11_53_02_180578_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326875468","file1":"1326875466","file0":"1326875464","file3":"1326875469"},"map_files_photo_id_array":[{"photo_id":"1326875468","filename":"file2"},{"photo_id":"1326875466","filename":"file1"},{"photo_id":"1326875464","filename":"file0"},{"photo_id":"1326875469","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326875464":["hashtag1","hashtag2"]},{"1326875469":["hashtag1","hashtag2"]},{"1326875466":["hashtag1","hashtag2"]},{"1326875468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326875464, 1326875469, 1326875466, 1326875468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.88119912147522 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 11:54:52.241985
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/53/image_05012025_11_53_02_180578_0003.jpg', '/home/pi/Desktop/images/05012025/11/54/image_05012025_11_54_02_486742_0000.jpg', '/home/pi/Desktop/images/05012025/11/54/image_05012025_11_54_02_486742_0001.jpg', '/home/pi/Desktop/images/05012025/11/54/image_05012025_11_54_02_486742_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/11/53/image_05012025_11_53_02_180578_0003.jpg
/home/pi/Desktop/images/05012025/11/54/image_05012025_11_54_02_486742_0000.jpg
/home/pi/Desktop/images/05012025/11/54/image_05012025_11_54_02_486742_0001.jpg
/home/pi/Desktop/images/05012025/11/54/image_05012025_11_54_02_486742_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.939619541168213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:55:22.445240
SELECT 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/11/53/image_05012025_11_53_02_180578_0003.jpg', '/home/pi/Desktop/images/05012025/11/54/image_05012025_11_54_02_486742_0000.jpg', '/home/pi/Desktop/images/05012025/11/54/image_05012025_11_54_02_486742_0001.jpg', '/home/pi/Desktop/images/05012025/11/54/image_05012025_11_54_02_486742_0002.jpg', '/home/pi/Desktop/images/05012025/11/54/image_05012025_11_54_02_486742_0003.jpg', '/home/pi/Desktop/images/05012025/11/55/image_05012025_11_55_02_687656_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/11/53/image_05012025_11_53_02_180578_0003.jpg
/home/pi/Desktop/images/05012025/11/54/image_05012025_11_54_02_486742_0000.jpg
/home/pi/Desktop/images/05012025/11/54/image_05012025_11_54_02_486742_0001.jpg
/home/pi/Desktop/images/05012025/11/54/image_05012025_11_54_02_486742_0002.jpg
/home/pi/Desktop/images/05012025/11/54/image_05012025_11_54_02_486742_0003.jpg
/home/pi/Desktop/images/05012025/11/55/image_05012025_11_55_02_687656_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":["1326875521","1326875515","1326875524","1326875518","1326875512","1326875526"],"photo_ids_order":["1326875512","1326875515","1326875518","1326875521","1326875524","1326875526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dd33881f1b2210d3bfad3dbee9965d0d.jpg","text":"TemporaryFile(/tmp/multipartBody6350250353373630465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074597743,"filename":"image_05012025_11_54_02_486742_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/59be9f8ea4590ee1d23c5d4b34d9e67d.jpg","text":"TemporaryFile(/tmp/multipartBody8446804486608263052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074597743,"filename":"image_05012025_11_54_02_486742_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2f18d5390b81617946e47f1dd6db3a16.jpg","text":"TemporaryFile(/tmp/multipartBody4985553866343102397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074597743,"filename":"image_05012025_11_54_02_486742_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9cd351dc816f2dc0874577e9feb76ab3.jpg","text":"TemporaryFile(/tmp/multipartBody8344696712190723087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074597743,"filename":"image_05012025_11_54_02_486742_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/15ee8e24a02520afd5d785f281bf3c59.jpg","text":"TemporaryFile(/tmp/multipartBody1787946233991309213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074597743,"filename":"image_05012025_11_53_02_180578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fa8c39773aca79bbdb8b4dfc37fef8e0.jpg","text":"TemporaryFile(/tmp/multipartBody4624786524812332367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074597743,"filename":"image_05012025_11_55_02_687656_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326875518","file1":"1326875515","file0":"1326875512","file4":"1326875524","file5":"1326875526","file3":"1326875521"},"map_files_photo_id_array":[{"photo_id":"1326875526","filename":"file5"},{"photo_id":"1326875518","filename":"file2"},{"photo_id":"1326875524","filename":"file4"},{"photo_id":"1326875515","filename":"file1"},{"photo_id":"1326875512","filename":"file0"},{"photo_id":"1326875521","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326875521":["hashtag1","hashtag2"]},{"1326875515":["hashtag1","hashtag2"]},{"1326875524":["hashtag1","hashtag2"]},{"1326875518":["hashtag1","hashtag2"]},{"1326875512":["hashtag1","hashtag2"]},{"1326875526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326875521, 1326875515, 1326875524, 1326875518, 1326875512, 1326875526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.96315383911133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:56:22.708927
SELECT 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/11/55/image_05012025_11_55_02_687656_0001.jpg', '/home/pi/Desktop/images/05012025/11/55/image_05012025_11_55_02_687656_0002.jpg', '/home/pi/Desktop/images/05012025/11/55/image_05012025_11_55_02_687656_0003.jpg', '/home/pi/Desktop/images/05012025/11/56/image_05012025_11_56_02_798413_0000.jpg', '/home/pi/Desktop/images/05012025/11/56/image_05012025_11_56_02_798413_0001.jpg', '/home/pi/Desktop/images/05012025/11/56/image_05012025_11_56_02_798413_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/11/55/image_05012025_11_55_02_687656_0001.jpg
/home/pi/Desktop/images/05012025/11/55/image_05012025_11_55_02_687656_0002.jpg
/home/pi/Desktop/images/05012025/11/55/image_05012025_11_55_02_687656_0003.jpg
/home/pi/Desktop/images/05012025/11/56/image_05012025_11_56_02_798413_0000.jpg
/home/pi/Desktop/images/05012025/11/56/image_05012025_11_56_02_798413_0001.jpg
/home/pi/Desktop/images/05012025/11/56/image_05012025_11_56_02_798413_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326876106","1326875845","1326876069","1326875775","1326875742","1326876146"],"photo_ids_order":["1326875742","1326875775","1326875845","1326876069","1326876106","1326876146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e4ca4a287e275776e2c97bf965dde1df.jpg","text":"TemporaryFile(/tmp/multipartBody6780115346663046445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074657980,"filename":"image_05012025_11_56_02_798413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ea4428e24e024523ab5735535b2aec81.jpg","text":"TemporaryFile(/tmp/multipartBody7533127286392990827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074657980,"filename":"image_05012025_11_55_02_687656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4824a4d56e05ca2c849fe29d348eff21.jpg","text":"TemporaryFile(/tmp/multipartBody2522633502065681008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074657980,"filename":"image_05012025_11_56_02_798413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ca9a6dbf19445a3f119a582a0a9a57b6.jpg","text":"TemporaryFile(/tmp/multipartBody4966554893181661635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074657980,"filename":"image_05012025_11_55_02_687656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4c77a9b592e367f012f853539f2c0d71.jpg","text":"TemporaryFile(/tmp/multipartBody9128994914899972239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074657980,"filename":"image_05012025_11_55_02_687656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/759ea285a8c8fd53b56f5041726f92cc.jpg","text":"TemporaryFile(/tmp/multipartBody5290267912971454116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074657980,"filename":"image_05012025_11_56_02_798413_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326875845","file1":"1326875775","file0":"1326875742","file4":"1326876106","file5":"1326876146","file3":"1326876069"},"map_files_photo_id_array":[{"photo_id":"1326876146","filename":"file5"},{"photo_id":"1326875845","filename":"file2"},{"photo_id":"1326876106","filename":"file4"},{"photo_id":"1326875775","filename":"file1"},{"photo_id":"1326875742","filename":"file0"},{"photo_id":"1326876069","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326876106":["hashtag1","hashtag2"]},{"1326875845":["hashtag1","hashtag2"]},{"1326876069":["hashtag1","hashtag2"]},{"1326875775":["hashtag1","hashtag2"]},{"1326875742":["hashtag1","hashtag2"]},{"1326876146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326876106, 1326875845, 1326876069, 1326875775, 1326875742, 1326876146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.629653215408325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:57:21.834884
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/56/image_05012025_11_56_02_798413_0003.jpg', '/home/pi/Desktop/images/05012025/11/57/image_05012025_11_57_02_976596_0000.jpg', '/home/pi/Desktop/images/05012025/11/57/image_05012025_11_57_02_976596_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/11/56/image_05012025_11_56_02_798413_0003.jpg
/home/pi/Desktop/images/05012025/11/57/image_05012025_11_57_02_976596_0000.jpg
/home/pi/Desktop/images/05012025/11/57/image_05012025_11_57_02_976596_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":["1326876167","1326876166","1326876169"],"photo_ids_order":["1326876166","1326876167","1326876169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cead32a209669a2299a541076d3cfd31.jpg","text":"TemporaryFile(/tmp/multipartBody4990550908312508953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074709758,"filename":"image_05012025_11_57_02_976596_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7eb25389b03167d5a519503d95da9395.jpg","text":"TemporaryFile(/tmp/multipartBody8434189750558650730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074709758,"filename":"image_05012025_11_56_02_798413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a7a33caa199d5fef556e366eb1e89aa.jpg","text":"TemporaryFile(/tmp/multipartBody1648656262896295701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074709758,"filename":"image_05012025_11_57_02_976596_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326876169","file1":"1326876167","file0":"1326876166"},"map_files_photo_id_array":[{"photo_id":"1326876169","filename":"file2"},{"photo_id":"1326876167","filename":"file1"},{"photo_id":"1326876166","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326876167":["hashtag1","hashtag2"]},{"1326876166":["hashtag1","hashtag2"]},{"1326876169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326876167, 1326876166, 1326876169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.559341430664062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 11:59:02.954091
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/11/57/image_05012025_11_57_02_976596_0002.jpg', '/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0000.jpg', '/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0001.jpg', '/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_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/11/57/image_05012025_11_57_02_976596_0002.jpg
/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0000.jpg
/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0001.jpg
/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_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.050401210784912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 11:59:22.366876
SELECT 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/11/57/image_05012025_11_57_02_976596_0002.jpg', '/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0000.jpg', '/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0001.jpg', '/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0002.jpg', '/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0003.jpg', '/home/pi/Desktop/images/05012025/11/59/image_05012025_11_59_02_454802_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/11/57/image_05012025_11_57_02_976596_0002.jpg
/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0000.jpg
/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0001.jpg
/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0002.jpg
/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0003.jpg
/home/pi/Desktop/images/05012025/11/59/image_05012025_11_59_02_454802_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-05 12:01:21.758145
SELECT 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/11/57/image_05012025_11_57_02_976596_0002.jpg', '/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0000.jpg', '/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0001.jpg', '/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0002.jpg', '/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0003.jpg', '/home/pi/Desktop/images/05012025/11/59/image_05012025_11_59_02_454802_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/11/57/image_05012025_11_57_02_976596_0002.jpg
/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0000.jpg
/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0001.jpg
/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0002.jpg
/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0003.jpg
/home/pi/Desktop/images/05012025/11/59/image_05012025_11_59_02_454802_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: 15.852863311767578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:01:39.928961
SELECT 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/11/57/image_05012025_11_57_02_976596_0002.jpg', '/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0000.jpg', '/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0001.jpg', '/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0002.jpg', '/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0003.jpg', '/home/pi/Desktop/images/05012025/11/59/image_05012025_11_59_02_454802_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/11/57/image_05012025_11_57_02_976596_0002.jpg
/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0000.jpg
/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0001.jpg
/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0002.jpg
/home/pi/Desktop/images/05012025/11/58/image_05012025_11_58_02_211194_0003.jpg
/home/pi/Desktop/images/05012025/11/59/image_05012025_11_59_02_454802_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":["1326876718","1326876702","1326876710","1326876713","1326876707","1326876704"],"photo_ids_order":["1326876702","1326876704","1326876707","1326876710","1326876713","1326876718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cbc1a9de78cd1e20fcb5bcc949ca92a9.jpg","text":"TemporaryFile(/tmp/multipartBody954545743886895862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074975172,"filename":"image_05012025_11_59_02_454802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5ff513a146e1c1c0b6a2d62adb53885f.jpg","text":"TemporaryFile(/tmp/multipartBody3812997489118309306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074975172,"filename":"image_05012025_11_57_02_976596_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/26ac91cb3f24097cd527a16991cbe129.jpg","text":"TemporaryFile(/tmp/multipartBody4359386676713609568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074975172,"filename":"image_05012025_11_58_02_211194_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/07017a479f3215f060540c4acba2005c.jpg","text":"TemporaryFile(/tmp/multipartBody579479336669572821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074975172,"filename":"image_05012025_11_58_02_211194_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a7d9880a11000949a4921211d4493a7.jpg","text":"TemporaryFile(/tmp/multipartBody3316644861576364551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074975172,"filename":"image_05012025_11_58_02_211194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/535770760ba099ff6410706beed5ece5.jpg","text":"TemporaryFile(/tmp/multipartBody7795784456156866300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736074975172,"filename":"image_05012025_11_58_02_211194_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326876707","file1":"1326876704","file0":"1326876702","file4":"1326876713","file5":"1326876718","file3":"1326876710"},"map_files_photo_id_array":[{"photo_id":"1326876718","filename":"file5"},{"photo_id":"1326876707","filename":"file2"},{"photo_id":"1326876713","filename":"file4"},{"photo_id":"1326876704","filename":"file1"},{"photo_id":"1326876702","filename":"file0"},{"photo_id":"1326876710","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326876718":["hashtag1","hashtag2"]},{"1326876702":["hashtag1","hashtag2"]},{"1326876710":["hashtag1","hashtag2"]},{"1326876713":["hashtag1","hashtag2"]},{"1326876707":["hashtag1","hashtag2"]},{"1326876704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326876718, 1326876702, 1326876710, 1326876713, 1326876707, 1326876704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.82766890525818 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 12:02:42.051203
SELECT 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/11/59/image_05012025_11_59_02_454802_0001.jpg', '/home/pi/Desktop/images/05012025/11/59/image_05012025_11_59_02_454802_0002.jpg', '/home/pi/Desktop/images/05012025/11/59/image_05012025_11_59_02_454802_0003.jpg', '/home/pi/Desktop/images/05012025/12/00/image_05012025_12_00_02_578202_0000.jpg', '/home/pi/Desktop/images/05012025/12/00/image_05012025_12_00_02_578202_0001.jpg', '/home/pi/Desktop/images/05012025/12/00/image_05012025_12_00_02_578202_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/11/59/image_05012025_11_59_02_454802_0001.jpg
/home/pi/Desktop/images/05012025/11/59/image_05012025_11_59_02_454802_0002.jpg
/home/pi/Desktop/images/05012025/11/59/image_05012025_11_59_02_454802_0003.jpg
/home/pi/Desktop/images/05012025/12/00/image_05012025_12_00_02_578202_0000.jpg
/home/pi/Desktop/images/05012025/12/00/image_05012025_12_00_02_578202_0001.jpg
/home/pi/Desktop/images/05012025/12/00/image_05012025_12_00_02_578202_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326876730","1326876727","1326876732","1326876738","1326876734","1326876728"],"photo_ids_order":["1326876727","1326876728","1326876730","1326876732","1326876734","1326876738"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fc860cc21bc69e01f206fa0870f09346.jpg","text":"TemporaryFile(/tmp/multipartBody5049801295533028376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075037427,"filename":"image_05012025_11_59_02_454802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6927aeda87fe629ffdaa026c11ee0c73.jpg","text":"TemporaryFile(/tmp/multipartBody5860498791708341401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075037427,"filename":"image_05012025_11_59_02_454802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3414f3f60c0bc43948556a77e680c737.jpg","text":"TemporaryFile(/tmp/multipartBody1731716576145218349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075037427,"filename":"image_05012025_12_00_02_578202_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/36a1939ccac4758382d7a61d3a96c3dd.jpg","text":"TemporaryFile(/tmp/multipartBody7621381501097299590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075037427,"filename":"image_05012025_12_00_02_578202_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/51d1c316febe5ad6a0bb7a4333931bbb.jpg","text":"TemporaryFile(/tmp/multipartBody9051291138199012340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075037427,"filename":"image_05012025_12_00_02_578202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/323344cfd2f5731241140e932f64ad7b.jpg","text":"TemporaryFile(/tmp/multipartBody4662909181250310524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075037427,"filename":"image_05012025_11_59_02_454802_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326876730","file1":"1326876728","file0":"1326876727","file4":"1326876734","file5":"1326876738","file3":"1326876732"},"map_files_photo_id_array":[{"photo_id":"1326876738","filename":"file5"},{"photo_id":"1326876730","filename":"file2"},{"photo_id":"1326876734","filename":"file4"},{"photo_id":"1326876728","filename":"file1"},{"photo_id":"1326876727","filename":"file0"},{"photo_id":"1326876732","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326876730":["hashtag1","hashtag2"]},{"1326876727":["hashtag1","hashtag2"]},{"1326876732":["hashtag1","hashtag2"]},{"1326876738":["hashtag1","hashtag2"]},{"1326876734":["hashtag1","hashtag2"]},{"1326876728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326876730, 1326876727, 1326876732, 1326876738, 1326876734, 1326876728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.94796872138977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 12:03:42.202010
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/00/image_05012025_12_00_02_578202_0003.jpg', '/home/pi/Desktop/images/05012025/12/02/image_05012025_12_02_20_189053_0000.jpg', '/home/pi/Desktop/images/05012025/12/02/image_05012025_12_02_20_189053_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/12/00/image_05012025_12_00_02_578202_0003.jpg
/home/pi/Desktop/images/05012025/12/02/image_05012025_12_02_20_189053_0000.jpg
/home/pi/Desktop/images/05012025/12/02/image_05012025_12_02_20_189053_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":["1326876777","1326876757","1326876742"],"photo_ids_order":["1326876742","1326876757","1326876777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/45fbfcd1afd2db4b3392ea8ac1f220f7.jpg","text":"TemporaryFile(/tmp/multipartBody6349742455022180446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075090253,"filename":"image_05012025_12_02_20_189053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a2c9c728b5dcc22d59e398c289803530.jpg","text":"TemporaryFile(/tmp/multipartBody1923237344905280773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075090253,"filename":"image_05012025_12_02_20_189053_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/536d8527a2d30a44cf59cfd562a06092.jpg","text":"TemporaryFile(/tmp/multipartBody8153280167451665013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075090253,"filename":"image_05012025_12_00_02_578202_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326876777","file1":"1326876757","file0":"1326876742"},"map_files_photo_id_array":[{"photo_id":"1326876777","filename":"file2"},{"photo_id":"1326876757","filename":"file1"},{"photo_id":"1326876742","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326876777":["hashtag1","hashtag2"]},{"1326876757":["hashtag1","hashtag2"]},{"1326876742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326876777, 1326876757, 1326876742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.92722034454346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:04:22.463404
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/02/image_05012025_12_02_20_189053_0003.jpg', '/home/pi/Desktop/images/05012025/12/04/image_05012025_12_04_02_568903_0000.jpg', '/home/pi/Desktop/images/05012025/12/04/image_05012025_12_04_02_568903_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/12/02/image_05012025_12_02_20_189053_0003.jpg
/home/pi/Desktop/images/05012025/12/04/image_05012025_12_04_02_568903_0000.jpg
/home/pi/Desktop/images/05012025/12/04/image_05012025_12_04_02_568903_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.5314648151397705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 12:04:32.455998
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/02/image_05012025_12_02_20_189053_0003.jpg', '/home/pi/Desktop/images/05012025/12/04/image_05012025_12_04_02_568903_0000.jpg', '/home/pi/Desktop/images/05012025/12/04/image_05012025_12_04_02_568903_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/12/02/image_05012025_12_02_20_189053_0003.jpg
/home/pi/Desktop/images/05012025/12/04/image_05012025_12_04_02_568903_0000.jpg
/home/pi/Desktop/images/05012025/12/04/image_05012025_12_04_02_568903_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":["1326876789","1326876788","1326876787"],"photo_ids_order":["1326876787","1326876788","1326876789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a76b358547cf31b1214d30ad01283af2.jpg","text":"TemporaryFile(/tmp/multipartBody9066625941813535796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075140360,"filename":"image_05012025_12_04_02_568903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/46b61a891cb4c08a87b0f047b4f688ed.jpg","text":"TemporaryFile(/tmp/multipartBody4552756163623574534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075140360,"filename":"image_05012025_12_04_02_568903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a96005f3d40313e05739f548d230cd9.jpg","text":"TemporaryFile(/tmp/multipartBody1870016673690806731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075140360,"filename":"image_05012025_12_02_20_189053_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326876789","file1":"1326876788","file0":"1326876787"},"map_files_photo_id_array":[{"photo_id":"1326876789","filename":"file2"},{"photo_id":"1326876788","filename":"file1"},{"photo_id":"1326876787","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326876789":["hashtag1","hashtag2"]},{"1326876788":["hashtag1","hashtag2"]},{"1326876787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326876789, 1326876788, 1326876787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.75643062591553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:05:22.688732
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/04/image_05012025_12_04_02_568903_0002.jpg', '/home/pi/Desktop/images/05012025/12/05/image_05012025_12_05_02_805668_0000.jpg', '/home/pi/Desktop/images/05012025/12/05/image_05012025_12_05_02_805668_0001.jpg', '/home/pi/Desktop/images/05012025/12/05/image_05012025_12_05_02_805668_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/12/04/image_05012025_12_04_02_568903_0002.jpg
/home/pi/Desktop/images/05012025/12/05/image_05012025_12_05_02_805668_0000.jpg
/home/pi/Desktop/images/05012025/12/05/image_05012025_12_05_02_805668_0001.jpg
/home/pi/Desktop/images/05012025/12/05/image_05012025_12_05_02_805668_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326876801","1326876797","1326876800","1326876799"],"photo_ids_order":["1326876797","1326876799","1326876800","1326876801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/967c9e696012f3a491645ddbbcc7d9f8.jpg","text":"TemporaryFile(/tmp/multipartBody5406889008285297927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075193033,"filename":"image_05012025_12_05_02_805668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b48da55a718284a9352678501e6c280c.jpg","text":"TemporaryFile(/tmp/multipartBody654786293924147169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075193033,"filename":"image_05012025_12_04_02_568903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/992e654c201ad38d1432770dc719278f.jpg","text":"TemporaryFile(/tmp/multipartBody6006353214709078596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075193033,"filename":"image_05012025_12_05_02_805668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d65d1c6ab466c19b70098da15f70c6f1.jpg","text":"TemporaryFile(/tmp/multipartBody5427904701235047211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075193033,"filename":"image_05012025_12_05_02_805668_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326876800","file1":"1326876799","file0":"1326876797","file3":"1326876801"},"map_files_photo_id_array":[{"photo_id":"1326876800","filename":"file2"},{"photo_id":"1326876799","filename":"file1"},{"photo_id":"1326876797","filename":"file0"},{"photo_id":"1326876801","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326876801":["hashtag1","hashtag2"]},{"1326876797":["hashtag1","hashtag2"]},{"1326876800":["hashtag1","hashtag2"]},{"1326876799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326876801, 1326876797, 1326876800, 1326876799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.980355739593506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:06:21.861757
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/05/image_05012025_12_05_02_805668_0003.jpg', '/home/pi/Desktop/images/05012025/12/06/image_05012025_12_06_02_990984_0000.jpg', '/home/pi/Desktop/images/05012025/12/06/image_05012025_12_06_02_990984_0001.jpg', '/home/pi/Desktop/images/05012025/12/06/image_05012025_12_06_02_990984_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/12/05/image_05012025_12_05_02_805668_0003.jpg
/home/pi/Desktop/images/05012025/12/06/image_05012025_12_06_02_990984_0000.jpg
/home/pi/Desktop/images/05012025/12/06/image_05012025_12_06_02_990984_0001.jpg
/home/pi/Desktop/images/05012025/12/06/image_05012025_12_06_02_990984_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326876817","1326876808","1326876810","1326876806"],"photo_ids_order":["1326876806","1326876808","1326876810","1326876817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0f249ad1f8a1fc3195f5b89f7285acc6.jpg","text":"TemporaryFile(/tmp/multipartBody2962196218928900361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075252386,"filename":"image_05012025_12_06_02_990984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1347dc17f9c9d431fb7b000bdaab6fe0.jpg","text":"TemporaryFile(/tmp/multipartBody6677049504850379770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075252386,"filename":"image_05012025_12_06_02_990984_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4497a550d362473710d10751c87652f0.jpg","text":"TemporaryFile(/tmp/multipartBody7626277784668302582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075252386,"filename":"image_05012025_12_06_02_990984_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/596ac34561058cd1aee0eece48a33e72.jpg","text":"TemporaryFile(/tmp/multipartBody9172119758738510878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075252386,"filename":"image_05012025_12_05_02_805668_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326876810","file1":"1326876808","file0":"1326876806","file3":"1326876817"},"map_files_photo_id_array":[{"photo_id":"1326876810","filename":"file2"},{"photo_id":"1326876808","filename":"file1"},{"photo_id":"1326876806","filename":"file0"},{"photo_id":"1326876817","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326876817":["hashtag1","hashtag2"]},{"1326876808":["hashtag1","hashtag2"]},{"1326876810":["hashtag1","hashtag2"]},{"1326876806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326876817, 1326876808, 1326876810, 1326876806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.27881574630737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:07:22.124691
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/06/image_05012025_12_06_02_990984_0003.jpg', '/home/pi/Desktop/images/05012025/12/07/image_05012025_12_07_02_227858_0000.jpg', '/home/pi/Desktop/images/05012025/12/07/image_05012025_12_07_02_227858_0001.jpg', '/home/pi/Desktop/images/05012025/12/07/image_05012025_12_07_02_227858_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/12/06/image_05012025_12_06_02_990984_0003.jpg
/home/pi/Desktop/images/05012025/12/07/image_05012025_12_07_02_227858_0000.jpg
/home/pi/Desktop/images/05012025/12/07/image_05012025_12_07_02_227858_0001.jpg
/home/pi/Desktop/images/05012025/12/07/image_05012025_12_07_02_227858_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326876861","1326876858","1326876860","1326876863"],"photo_ids_order":["1326876858","1326876860","1326876861","1326876863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f7bce9af2c858fea3874958e47bd0cf8.jpg","text":"TemporaryFile(/tmp/multipartBody505848400245486327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075312468,"filename":"image_05012025_12_07_02_227858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/201231988d62f3de3da53075842481d7.jpg","text":"TemporaryFile(/tmp/multipartBody7785187210808375998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075312468,"filename":"image_05012025_12_06_02_990984_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e11b671338047149431622fa978cfbfc.jpg","text":"TemporaryFile(/tmp/multipartBody3659271427756403208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075312468,"filename":"image_05012025_12_07_02_227858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/57434857e19aaa0b101ce7642e3911a5.jpg","text":"TemporaryFile(/tmp/multipartBody2999473501673040318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075312468,"filename":"image_05012025_12_07_02_227858_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326876861","file1":"1326876860","file0":"1326876858","file3":"1326876863"},"map_files_photo_id_array":[{"photo_id":"1326876861","filename":"file2"},{"photo_id":"1326876860","filename":"file1"},{"photo_id":"1326876858","filename":"file0"},{"photo_id":"1326876863","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326876861":["hashtag1","hashtag2"]},{"1326876858":["hashtag1","hashtag2"]},{"1326876860":["hashtag1","hashtag2"]},{"1326876863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326876861, 1326876858, 1326876860, 1326876863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21045446395874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 12:08:02.554279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:08:22.246761
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/07/image_05012025_12_07_02_227858_0003.jpg', '/home/pi/Desktop/images/05012025/12/08/image_05012025_12_08_02_547021_0000.jpg', '/home/pi/Desktop/images/05012025/12/08/image_05012025_12_08_02_547021_0001.jpg', '/home/pi/Desktop/images/05012025/12/08/image_05012025_12_08_02_547021_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/12/07/image_05012025_12_07_02_227858_0003.jpg
/home/pi/Desktop/images/05012025/12/08/image_05012025_12_08_02_547021_0000.jpg
/home/pi/Desktop/images/05012025/12/08/image_05012025_12_08_02_547021_0001.jpg
/home/pi/Desktop/images/05012025/12/08/image_05012025_12_08_02_547021_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326876870","1326876872","1326876869","1326876874"],"photo_ids_order":["1326876869","1326876870","1326876872","1326876874"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5aca7b52743ce918d0b7a53be869b5e3.jpg","text":"TemporaryFile(/tmp/multipartBody2909347693240907957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075372651,"filename":"image_05012025_12_08_02_547021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b961d3a9901d7ec0535a9ddc30430990.jpg","text":"TemporaryFile(/tmp/multipartBody2480329974495382578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075372651,"filename":"image_05012025_12_08_02_547021_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5bba9ba5ae8afb9b1981fa8576781a54.jpg","text":"TemporaryFile(/tmp/multipartBody4566440278736469413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075372651,"filename":"image_05012025_12_07_02_227858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/69c325b4784b43fde552ffa704b5009f.jpg","text":"TemporaryFile(/tmp/multipartBody5966466895817429077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075372651,"filename":"image_05012025_12_08_02_547021_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326876872","file1":"1326876870","file0":"1326876869","file3":"1326876874"},"map_files_photo_id_array":[{"photo_id":"1326876872","filename":"file2"},{"photo_id":"1326876870","filename":"file1"},{"photo_id":"1326876869","filename":"file0"},{"photo_id":"1326876874","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326876870":["hashtag1","hashtag2"]},{"1326876872":["hashtag1","hashtag2"]},{"1326876869":["hashtag1","hashtag2"]},{"1326876874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326876870, 1326876872, 1326876869, 1326876874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.79099917411804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:09:22.558599
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/08/image_05012025_12_08_02_547021_0003.jpg', '/home/pi/Desktop/images/05012025/12/09/image_05012025_12_09_02_639043_0000.jpg', '/home/pi/Desktop/images/05012025/12/09/image_05012025_12_09_02_639043_0001.jpg', '/home/pi/Desktop/images/05012025/12/09/image_05012025_12_09_02_639043_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/12/08/image_05012025_12_08_02_547021_0003.jpg
/home/pi/Desktop/images/05012025/12/09/image_05012025_12_09_02_639043_0000.jpg
/home/pi/Desktop/images/05012025/12/09/image_05012025_12_09_02_639043_0001.jpg
/home/pi/Desktop/images/05012025/12/09/image_05012025_12_09_02_639043_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326876891","1326876885","1326876883","1326876886"],"photo_ids_order":["1326876883","1326876885","1326876886","1326876891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cf5f72deef2bd3c5050b57e6cd2ea9f4.jpg","text":"TemporaryFile(/tmp/multipartBody6472560653720700610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075432883,"filename":"image_05012025_12_09_02_639043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e5d4d5f51675687440ee27dcb987b371.jpg","text":"TemporaryFile(/tmp/multipartBody5719631926583958143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075432883,"filename":"image_05012025_12_09_02_639043_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/519dbb654f731184cbca4bbb8b533664.jpg","text":"TemporaryFile(/tmp/multipartBody4961800312000852256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075432883,"filename":"image_05012025_12_08_02_547021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f49bfe88ee4c048a726e317513be672.jpg","text":"TemporaryFile(/tmp/multipartBody3013555498291003729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075432883,"filename":"image_05012025_12_09_02_639043_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326876886","file1":"1326876885","file0":"1326876883","file3":"1326876891"},"map_files_photo_id_array":[{"photo_id":"1326876886","filename":"file2"},{"photo_id":"1326876885","filename":"file1"},{"photo_id":"1326876883","filename":"file0"},{"photo_id":"1326876891","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326876891":["hashtag1","hashtag2"]},{"1326876885":["hashtag1","hashtag2"]},{"1326876883":["hashtag1","hashtag2"]},{"1326876886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326876891, 1326876885, 1326876883, 1326876886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.79597496986389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:10:22.681508
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/09/image_05012025_12_09_02_639043_0003.jpg', '/home/pi/Desktop/images/05012025/12/10/image_05012025_12_10_02_808318_0000.jpg', '/home/pi/Desktop/images/05012025/12/10/image_05012025_12_10_02_808318_0001.jpg', '/home/pi/Desktop/images/05012025/12/10/image_05012025_12_10_02_808318_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/12/09/image_05012025_12_09_02_639043_0003.jpg
/home/pi/Desktop/images/05012025/12/10/image_05012025_12_10_02_808318_0000.jpg
/home/pi/Desktop/images/05012025/12/10/image_05012025_12_10_02_808318_0001.jpg
/home/pi/Desktop/images/05012025/12/10/image_05012025_12_10_02_808318_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.170100688934326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 12:10:42.634232
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/09/image_05012025_12_09_02_639043_0003.jpg', '/home/pi/Desktop/images/05012025/12/10/image_05012025_12_10_02_808318_0000.jpg', '/home/pi/Desktop/images/05012025/12/10/image_05012025_12_10_02_808318_0001.jpg', '/home/pi/Desktop/images/05012025/12/10/image_05012025_12_10_02_808318_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/12/09/image_05012025_12_09_02_639043_0003.jpg
/home/pi/Desktop/images/05012025/12/10/image_05012025_12_10_02_808318_0000.jpg
/home/pi/Desktop/images/05012025/12/10/image_05012025_12_10_02_808318_0001.jpg
/home/pi/Desktop/images/05012025/12/10/image_05012025_12_10_02_808318_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326876936","1326876935","1326876938","1326876940"],"photo_ids_order":["1326876935","1326876936","1326876938","1326876940"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c717a769a366d33d685555c72538e403.jpg","text":"TemporaryFile(/tmp/multipartBody7103725539355776597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075513003,"filename":"image_05012025_12_10_02_808318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/372d8d6668d2bed5818d2a77f9758530.jpg","text":"TemporaryFile(/tmp/multipartBody8120309593286504653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075513003,"filename":"image_05012025_12_09_02_639043_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fc1d83a42a10782437fe90bb9986c1d5.jpg","text":"TemporaryFile(/tmp/multipartBody7858661244977077933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075513003,"filename":"image_05012025_12_10_02_808318_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8f67ee28c991b93482d6320136f920da.jpg","text":"TemporaryFile(/tmp/multipartBody3473830299983932332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075513003,"filename":"image_05012025_12_10_02_808318_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326876938","file1":"1326876936","file0":"1326876935","file3":"1326876940"},"map_files_photo_id_array":[{"photo_id":"1326876938","filename":"file2"},{"photo_id":"1326876936","filename":"file1"},{"photo_id":"1326876935","filename":"file0"},{"photo_id":"1326876940","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326876936":["hashtag1","hashtag2"]},{"1326876935":["hashtag1","hashtag2"]},{"1326876938":["hashtag1","hashtag2"]},{"1326876940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326876936, 1326876935, 1326876938, 1326876940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.57485342025757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 12:11:31.844554
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/10/image_05012025_12_10_02_808318_0003.jpg', '/home/pi/Desktop/images/05012025/12/11/image_05012025_12_11_02_994050_0000.jpg', '/home/pi/Desktop/images/05012025/12/11/image_05012025_12_11_02_994050_0001.jpg', '/home/pi/Desktop/images/05012025/12/11/image_05012025_12_11_02_994050_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/12/10/image_05012025_12_10_02_808318_0003.jpg
/home/pi/Desktop/images/05012025/12/11/image_05012025_12_11_02_994050_0000.jpg
/home/pi/Desktop/images/05012025/12/11/image_05012025_12_11_02_994050_0001.jpg
/home/pi/Desktop/images/05012025/12/11/image_05012025_12_11_02_994050_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326876951","1326876948","1326876950","1326876949"],"photo_ids_order":["1326876948","1326876949","1326876950","1326876951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/47ca2220507aa0da43ed6f8e24adcfc4.jpg","text":"TemporaryFile(/tmp/multipartBody6319808109308219055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075562141,"filename":"image_05012025_12_11_02_994050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5a9eace6e11dac2c2f50b1f3561cb8de.jpg","text":"TemporaryFile(/tmp/multipartBody4021546852531258667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075562141,"filename":"image_05012025_12_10_02_808318_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cb75c9232161f989f7021e01ab981262.jpg","text":"TemporaryFile(/tmp/multipartBody6043526443792737917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075562141,"filename":"image_05012025_12_11_02_994050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/43b457fb67bf9e22c9b91730e9b280e3.jpg","text":"TemporaryFile(/tmp/multipartBody3883495569466691592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075562141,"filename":"image_05012025_12_11_02_994050_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326876950","file1":"1326876949","file0":"1326876948","file3":"1326876951"},"map_files_photo_id_array":[{"photo_id":"1326876950","filename":"file2"},{"photo_id":"1326876949","filename":"file1"},{"photo_id":"1326876948","filename":"file0"},{"photo_id":"1326876951","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326876951":["hashtag1","hashtag2"]},{"1326876948":["hashtag1","hashtag2"]},{"1326876950":["hashtag1","hashtag2"]},{"1326876949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326876951, 1326876948, 1326876950, 1326876949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.817726850509644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:12:22.065840
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/11/image_05012025_12_11_02_994050_0003.jpg', '/home/pi/Desktop/images/05012025/12/12/image_05012025_12_12_02_340691_0000.jpg', '/home/pi/Desktop/images/05012025/12/12/image_05012025_12_12_02_340691_0001.jpg', '/home/pi/Desktop/images/05012025/12/12/image_05012025_12_12_02_340691_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/12/11/image_05012025_12_11_02_994050_0003.jpg
/home/pi/Desktop/images/05012025/12/12/image_05012025_12_12_02_340691_0000.jpg
/home/pi/Desktop/images/05012025/12/12/image_05012025_12_12_02_340691_0001.jpg
/home/pi/Desktop/images/05012025/12/12/image_05012025_12_12_02_340691_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326876969","1326876960","1326876971","1326876958"],"photo_ids_order":["1326876958","1326876960","1326876969","1326876971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c3107cfe0ba79b1af5c41607adaab0fc.jpg","text":"TemporaryFile(/tmp/multipartBody1285253383999255550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075612349,"filename":"image_05012025_12_12_02_340691_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c99d1cffbd5de59eab3b8eda62cb2904.jpg","text":"TemporaryFile(/tmp/multipartBody827961691171615512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075612349,"filename":"image_05012025_12_12_02_340691_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bbf3ef34bd32b8e8b10e7a973db472d3.jpg","text":"TemporaryFile(/tmp/multipartBody4881223784420339328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075612349,"filename":"image_05012025_12_12_02_340691_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b41761ee758d222ec082bf44494b7470.jpg","text":"TemporaryFile(/tmp/multipartBody5732332732366372918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075612349,"filename":"image_05012025_12_11_02_994050_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326876969","file1":"1326876960","file0":"1326876958","file3":"1326876971"},"map_files_photo_id_array":[{"photo_id":"1326876969","filename":"file2"},{"photo_id":"1326876960","filename":"file1"},{"photo_id":"1326876958","filename":"file0"},{"photo_id":"1326876971","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326876969":["hashtag1","hashtag2"]},{"1326876960":["hashtag1","hashtag2"]},{"1326876971":["hashtag1","hashtag2"]},{"1326876958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326876969, 1326876960, 1326876971, 1326876958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.02768588066101 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:13:22.250405
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/12/image_05012025_12_12_02_340691_0003.jpg', '/home/pi/Desktop/images/05012025/12/13/image_05012025_12_13_02_385267_0000.jpg', '/home/pi/Desktop/images/05012025/12/13/image_05012025_12_13_02_385267_0001.jpg', '/home/pi/Desktop/images/05012025/12/13/image_05012025_12_13_02_385267_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/12/12/image_05012025_12_12_02_340691_0003.jpg
/home/pi/Desktop/images/05012025/12/13/image_05012025_12_13_02_385267_0000.jpg
/home/pi/Desktop/images/05012025/12/13/image_05012025_12_13_02_385267_0001.jpg
/home/pi/Desktop/images/05012025/12/13/image_05012025_12_13_02_385267_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877005","1326877001","1326877000","1326877003"],"photo_ids_order":["1326877000","1326877001","1326877003","1326877005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/179a3128e309391ae8597d6ce9652596.jpg","text":"TemporaryFile(/tmp/multipartBody1119605971402344407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075672715,"filename":"image_05012025_12_13_02_385267_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2699ca495c9380b54d531719f5ea3537.jpg","text":"TemporaryFile(/tmp/multipartBody1948429453993508844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075672715,"filename":"image_05012025_12_13_02_385267_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c929d53ab090fd8f79fb0af93a192933.jpg","text":"TemporaryFile(/tmp/multipartBody904449411981605697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075672715,"filename":"image_05012025_12_12_02_340691_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/873382b88307aafd62e61ac8c669524f.jpg","text":"TemporaryFile(/tmp/multipartBody3917352332963582043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075672715,"filename":"image_05012025_12_13_02_385267_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877003","file1":"1326877001","file0":"1326877000","file3":"1326877005"},"map_files_photo_id_array":[{"photo_id":"1326877003","filename":"file2"},{"photo_id":"1326877001","filename":"file1"},{"photo_id":"1326877000","filename":"file0"},{"photo_id":"1326877005","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877005":["hashtag1","hashtag2"]},{"1326877001":["hashtag1","hashtag2"]},{"1326877000":["hashtag1","hashtag2"]},{"1326877003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877005, 1326877001, 1326877000, 1326877003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.129894495010376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:14:22.432326
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/13/image_05012025_12_13_02_385267_0003.jpg', '/home/pi/Desktop/images/05012025/12/14/image_05012025_12_14_02_624482_0000.jpg', '/home/pi/Desktop/images/05012025/12/14/image_05012025_12_14_02_624482_0001.jpg', '/home/pi/Desktop/images/05012025/12/14/image_05012025_12_14_02_624482_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/12/13/image_05012025_12_13_02_385267_0003.jpg
/home/pi/Desktop/images/05012025/12/14/image_05012025_12_14_02_624482_0000.jpg
/home/pi/Desktop/images/05012025/12/14/image_05012025_12_14_02_624482_0001.jpg
/home/pi/Desktop/images/05012025/12/14/image_05012025_12_14_02_624482_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877020","1326877022","1326877019","1326877024"],"photo_ids_order":["1326877019","1326877020","1326877022","1326877024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/35cfed5c53d66fa7c048cbbcfe3b1ee2.jpg","text":"TemporaryFile(/tmp/multipartBody9196818613113446724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075732966,"filename":"image_05012025_12_14_02_624482_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/37551aeedc19b92ad0f8ffedbec858e8.jpg","text":"TemporaryFile(/tmp/multipartBody4201525955332752197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075732966,"filename":"image_05012025_12_14_02_624482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/822ad985959fcfc3d0e9887f4180d235.jpg","text":"TemporaryFile(/tmp/multipartBody4536199366862327327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075732966,"filename":"image_05012025_12_13_02_385267_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/801478a20a3fb7bae5ef86965117aed4.jpg","text":"TemporaryFile(/tmp/multipartBody1291692455776270320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075732966,"filename":"image_05012025_12_14_02_624482_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877022","file1":"1326877020","file0":"1326877019","file3":"1326877024"},"map_files_photo_id_array":[{"photo_id":"1326877022","filename":"file2"},{"photo_id":"1326877020","filename":"file1"},{"photo_id":"1326877019","filename":"file0"},{"photo_id":"1326877024","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877020":["hashtag1","hashtag2"]},{"1326877022":["hashtag1","hashtag2"]},{"1326877019":["hashtag1","hashtag2"]},{"1326877024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877020, 1326877022, 1326877019, 1326877024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.89918875694275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:15:22.559477
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/14/image_05012025_12_14_02_624482_0003.jpg', '/home/pi/Desktop/images/05012025/12/15/image_05012025_12_15_02_744246_0000.jpg', '/home/pi/Desktop/images/05012025/12/15/image_05012025_12_15_02_744246_0001.jpg', '/home/pi/Desktop/images/05012025/12/15/image_05012025_12_15_02_744246_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/12/14/image_05012025_12_14_02_624482_0003.jpg
/home/pi/Desktop/images/05012025/12/15/image_05012025_12_15_02_744246_0000.jpg
/home/pi/Desktop/images/05012025/12/15/image_05012025_12_15_02_744246_0001.jpg
/home/pi/Desktop/images/05012025/12/15/image_05012025_12_15_02_744246_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877044","1326877047","1326877043","1326877045"],"photo_ids_order":["1326877043","1326877044","1326877045","1326877047"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e45fed06e6f45dda57685f804b34dd32.jpg","text":"TemporaryFile(/tmp/multipartBody3860501710147210585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075792875,"filename":"image_05012025_12_15_02_744246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ef6a341d57039ff3666f596289b69d30.jpg","text":"TemporaryFile(/tmp/multipartBody3346336612064279955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075792875,"filename":"image_05012025_12_15_02_744246_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a86db3ff42fd2b592c98aff96e8229ae.jpg","text":"TemporaryFile(/tmp/multipartBody724171299777348215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075792875,"filename":"image_05012025_12_14_02_624482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc1d03b3d2d47977b19b55a7fdbde27e.jpg","text":"TemporaryFile(/tmp/multipartBody4119555089832775511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075792875,"filename":"image_05012025_12_15_02_744246_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877045","file1":"1326877044","file0":"1326877043","file3":"1326877047"},"map_files_photo_id_array":[{"photo_id":"1326877045","filename":"file2"},{"photo_id":"1326877044","filename":"file1"},{"photo_id":"1326877043","filename":"file0"},{"photo_id":"1326877047","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877044":["hashtag1","hashtag2"]},{"1326877047":["hashtag1","hashtag2"]},{"1326877043":["hashtag1","hashtag2"]},{"1326877045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877044, 1326877047, 1326877043, 1326877045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.177013635635376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:16:21.809620
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/15/image_05012025_12_15_02_744246_0003.jpg', '/home/pi/Desktop/images/05012025/12/16/image_05012025_12_16_02_948382_0000.jpg', '/home/pi/Desktop/images/05012025/12/16/image_05012025_12_16_02_948382_0001.jpg', '/home/pi/Desktop/images/05012025/12/16/image_05012025_12_16_02_948382_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/12/15/image_05012025_12_15_02_744246_0003.jpg
/home/pi/Desktop/images/05012025/12/16/image_05012025_12_16_02_948382_0000.jpg
/home/pi/Desktop/images/05012025/12/16/image_05012025_12_16_02_948382_0001.jpg
/home/pi/Desktop/images/05012025/12/16/image_05012025_12_16_02_948382_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877068","1326877065","1326877070","1326877072"],"photo_ids_order":["1326877065","1326877068","1326877070","1326877072"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/00b08a20a20483e5c5afdb3230fef466.jpg","text":"TemporaryFile(/tmp/multipartBody3221956392291714272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075852148,"filename":"image_05012025_12_16_02_948382_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/06145075025e337b06d1486f7a544208.jpg","text":"TemporaryFile(/tmp/multipartBody7882922393597365595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075852148,"filename":"image_05012025_12_15_02_744246_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cc1962693a170ffaf6cf9f3ca0a4e06e.jpg","text":"TemporaryFile(/tmp/multipartBody6622758123277057004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075852148,"filename":"image_05012025_12_16_02_948382_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/79f99861cc3b6f47aa46eb0968605938.jpg","text":"TemporaryFile(/tmp/multipartBody5315236094163802170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075852148,"filename":"image_05012025_12_16_02_948382_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877070","file1":"1326877068","file0":"1326877065","file3":"1326877072"},"map_files_photo_id_array":[{"photo_id":"1326877070","filename":"file2"},{"photo_id":"1326877068","filename":"file1"},{"photo_id":"1326877065","filename":"file0"},{"photo_id":"1326877072","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877068":["hashtag1","hashtag2"]},{"1326877065":["hashtag1","hashtag2"]},{"1326877070":["hashtag1","hashtag2"]},{"1326877072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877068, 1326877065, 1326877070, 1326877072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.80530905723572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:17:22.072555
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/16/image_05012025_12_16_02_948382_0003.jpg', '/home/pi/Desktop/images/05012025/12/17/image_05012025_12_17_02_127800_0000.jpg', '/home/pi/Desktop/images/05012025/12/17/image_05012025_12_17_02_127800_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/12/16/image_05012025_12_16_02_948382_0003.jpg
/home/pi/Desktop/images/05012025/12/17/image_05012025_12_17_02_127800_0000.jpg
/home/pi/Desktop/images/05012025/12/17/image_05012025_12_17_02_127800_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":["1326877083","1326877088","1326877086"],"photo_ids_order":["1326877083","1326877086","1326877088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8ba13e77e2b4df841f1736912d142801.jpg","text":"TemporaryFile(/tmp/multipartBody6295105465105020688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075909993,"filename":"image_05012025_12_16_02_948382_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5a33cadc5136f4e1e7b45b69f74cc902.jpg","text":"TemporaryFile(/tmp/multipartBody7260264787219234567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075909993,"filename":"image_05012025_12_17_02_127800_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab0196383a483e5f97116ffa2299e401.jpg","text":"TemporaryFile(/tmp/multipartBody7302851255617830796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075909993,"filename":"image_05012025_12_17_02_127800_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877088","file1":"1326877086","file0":"1326877083"},"map_files_photo_id_array":[{"photo_id":"1326877088","filename":"file2"},{"photo_id":"1326877086","filename":"file1"},{"photo_id":"1326877083","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877083":["hashtag1","hashtag2"]},{"1326877088":["hashtag1","hashtag2"]},{"1326877086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877083, 1326877088, 1326877086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.131125450134277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 12:18:02.638656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:18:22.350162
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/17/image_05012025_12_17_02_127800_0003.jpg', '/home/pi/Desktop/images/05012025/12/18/image_05012025_12_18_02_396199_0000.jpg', '/home/pi/Desktop/images/05012025/12/18/image_05012025_12_18_02_396199_0001.jpg', '/home/pi/Desktop/images/05012025/12/18/image_05012025_12_18_02_396199_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/12/17/image_05012025_12_17_02_127800_0003.jpg
/home/pi/Desktop/images/05012025/12/18/image_05012025_12_18_02_396199_0000.jpg
/home/pi/Desktop/images/05012025/12/18/image_05012025_12_18_02_396199_0001.jpg
/home/pi/Desktop/images/05012025/12/18/image_05012025_12_18_02_396199_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877101","1326877103","1326877106","1326877102"],"photo_ids_order":["1326877101","1326877102","1326877103","1326877106"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cf7cc18129a4808442ffe5546f9e2083.jpg","text":"TemporaryFile(/tmp/multipartBody3083616266204900582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075972841,"filename":"image_05012025_12_17_02_127800_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab28cadd3285a452adfe9ec0dd07cd6d.jpg","text":"TemporaryFile(/tmp/multipartBody1674954819655007306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075972841,"filename":"image_05012025_12_18_02_396199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c569a15c079ac26724cfe2fa089f0d32.jpg","text":"TemporaryFile(/tmp/multipartBody2505137453165386165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075972841,"filename":"image_05012025_12_18_02_396199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd6f555a5ade7280ba949bc11392a5b0.jpg","text":"TemporaryFile(/tmp/multipartBody4431016295540265040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736075972841,"filename":"image_05012025_12_18_02_396199_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877103","file1":"1326877102","file0":"1326877101","file3":"1326877106"},"map_files_photo_id_array":[{"photo_id":"1326877103","filename":"file2"},{"photo_id":"1326877102","filename":"file1"},{"photo_id":"1326877101","filename":"file0"},{"photo_id":"1326877106","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877101":["hashtag1","hashtag2"]},{"1326877103":["hashtag1","hashtag2"]},{"1326877106":["hashtag1","hashtag2"]},{"1326877102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877101, 1326877103, 1326877106, 1326877102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.018808126449585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:19:22.426942
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/18/image_05012025_12_18_02_396199_0003.jpg', '/home/pi/Desktop/images/05012025/12/19/image_05012025_12_19_02_681287_0000.jpg', '/home/pi/Desktop/images/05012025/12/19/image_05012025_12_19_02_681287_0001.jpg', '/home/pi/Desktop/images/05012025/12/19/image_05012025_12_19_02_681287_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/12/18/image_05012025_12_18_02_396199_0003.jpg
/home/pi/Desktop/images/05012025/12/19/image_05012025_12_19_02_681287_0000.jpg
/home/pi/Desktop/images/05012025/12/19/image_05012025_12_19_02_681287_0001.jpg
/home/pi/Desktop/images/05012025/12/19/image_05012025_12_19_02_681287_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877119","1326877116","1326877118","1326877120"],"photo_ids_order":["1326877116","1326877118","1326877119","1326877120"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4693564b1502d9fb708184408d753434.jpg","text":"TemporaryFile(/tmp/multipartBody2932206317567715805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076032842,"filename":"image_05012025_12_19_02_681287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/77981431e09dc4f1c245317c3fac1d7d.jpg","text":"TemporaryFile(/tmp/multipartBody5375451931403292277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076032842,"filename":"image_05012025_12_18_02_396199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/63cf6ae7b3c101d96c068c937b7faabd.jpg","text":"TemporaryFile(/tmp/multipartBody7879626511132322284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076032842,"filename":"image_05012025_12_19_02_681287_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a23e62d933004e355a159518d6afdfd7.jpg","text":"TemporaryFile(/tmp/multipartBody1256044918479267929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076032842,"filename":"image_05012025_12_19_02_681287_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877119","file1":"1326877118","file0":"1326877116","file3":"1326877120"},"map_files_photo_id_array":[{"photo_id":"1326877119","filename":"file2"},{"photo_id":"1326877118","filename":"file1"},{"photo_id":"1326877116","filename":"file0"},{"photo_id":"1326877120","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877119":["hashtag1","hashtag2"]},{"1326877116":["hashtag1","hashtag2"]},{"1326877118":["hashtag1","hashtag2"]},{"1326877120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877119, 1326877116, 1326877118, 1326877120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.20906138420105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:20:22.616225
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/19/image_05012025_12_19_02_681287_0003.jpg', '/home/pi/Desktop/images/05012025/12/20/image_05012025_12_20_02_822520_0000.jpg', '/home/pi/Desktop/images/05012025/12/20/image_05012025_12_20_02_822520_0001.jpg', '/home/pi/Desktop/images/05012025/12/20/image_05012025_12_20_02_822520_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/12/19/image_05012025_12_19_02_681287_0003.jpg
/home/pi/Desktop/images/05012025/12/20/image_05012025_12_20_02_822520_0000.jpg
/home/pi/Desktop/images/05012025/12/20/image_05012025_12_20_02_822520_0001.jpg
/home/pi/Desktop/images/05012025/12/20/image_05012025_12_20_02_822520_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.918957710266113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 12:20:42.581933
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/19/image_05012025_12_19_02_681287_0003.jpg', '/home/pi/Desktop/images/05012025/12/20/image_05012025_12_20_02_822520_0000.jpg', '/home/pi/Desktop/images/05012025/12/20/image_05012025_12_20_02_822520_0001.jpg', '/home/pi/Desktop/images/05012025/12/20/image_05012025_12_20_02_822520_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/12/19/image_05012025_12_19_02_681287_0003.jpg
/home/pi/Desktop/images/05012025/12/20/image_05012025_12_20_02_822520_0000.jpg
/home/pi/Desktop/images/05012025/12/20/image_05012025_12_20_02_822520_0001.jpg
/home/pi/Desktop/images/05012025/12/20/image_05012025_12_20_02_822520_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":["1326877137","1326877134","1326877133","1326877135"],"photo_ids_order":["1326877133","1326877134","1326877135","1326877137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/94dbdb25042d2eb3f0a0c482200c687b.jpg","text":"TemporaryFile(/tmp/multipartBody3733601311265552286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076112922,"filename":"image_05012025_12_20_02_822520_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/da46234afe5811c330df6ed347224c83.jpg","text":"TemporaryFile(/tmp/multipartBody8044717227559505459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076112922,"filename":"image_05012025_12_20_02_822520_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/70d161f927d26dfa0bfea44bda0879a0.jpg","text":"TemporaryFile(/tmp/multipartBody6513091308499880770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076112922,"filename":"image_05012025_12_19_02_681287_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c7448b3603e6be305d1b03af5a98ac6c.jpg","text":"TemporaryFile(/tmp/multipartBody5438674471667708381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076112922,"filename":"image_05012025_12_20_02_822520_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877135","file1":"1326877134","file0":"1326877133","file3":"1326877137"},"map_files_photo_id_array":[{"photo_id":"1326877135","filename":"file2"},{"photo_id":"1326877134","filename":"file1"},{"photo_id":"1326877133","filename":"file0"},{"photo_id":"1326877137","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877137":["hashtag1","hashtag2"]},{"1326877134":["hashtag1","hashtag2"]},{"1326877133":["hashtag1","hashtag2"]},{"1326877135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877137, 1326877134, 1326877133, 1326877135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.53316807746887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:21:21.813918
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/20/image_05012025_12_20_02_822520_0003.jpg', '/home/pi/Desktop/images/05012025/12/21/image_05012025_12_21_02_967340_0000.jpg', '/home/pi/Desktop/images/05012025/12/21/image_05012025_12_21_02_967340_0001.jpg', '/home/pi/Desktop/images/05012025/12/21/image_05012025_12_21_02_967340_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/12/20/image_05012025_12_20_02_822520_0003.jpg
/home/pi/Desktop/images/05012025/12/21/image_05012025_12_21_02_967340_0000.jpg
/home/pi/Desktop/images/05012025/12/21/image_05012025_12_21_02_967340_0001.jpg
/home/pi/Desktop/images/05012025/12/21/image_05012025_12_21_02_967340_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877146","1326877142","1326877144","1326877147"],"photo_ids_order":["1326877142","1326877144","1326877146","1326877147"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ae21163f7ee03a017fcf02f55e309786.jpg","text":"TemporaryFile(/tmp/multipartBody6491285670029948962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076152157,"filename":"image_05012025_12_21_02_967340_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a4ac800bbec45d5adfd35e81185c97fe.jpg","text":"TemporaryFile(/tmp/multipartBody5068185440057828581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076152157,"filename":"image_05012025_12_20_02_822520_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/273784d868703698fba606fbc4f2e5e0.jpg","text":"TemporaryFile(/tmp/multipartBody3036122954031583675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076152157,"filename":"image_05012025_12_21_02_967340_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8d1b7ac2443cd3e360ff80ad26a6ea09.jpg","text":"TemporaryFile(/tmp/multipartBody4881524540388735625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076152157,"filename":"image_05012025_12_21_02_967340_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877146","file1":"1326877144","file0":"1326877142","file3":"1326877147"},"map_files_photo_id_array":[{"photo_id":"1326877146","filename":"file2"},{"photo_id":"1326877144","filename":"file1"},{"photo_id":"1326877142","filename":"file0"},{"photo_id":"1326877147","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877146":["hashtag1","hashtag2"]},{"1326877142":["hashtag1","hashtag2"]},{"1326877144":["hashtag1","hashtag2"]},{"1326877147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877146, 1326877142, 1326877144, 1326877147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.6357057094574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 12:22:02.325317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:22:21.918696
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/21/image_05012025_12_21_02_967340_0003.jpg', '/home/pi/Desktop/images/05012025/12/22/image_05012025_12_22_02_194891_0000.jpg', '/home/pi/Desktop/images/05012025/12/22/image_05012025_12_22_02_194891_0001.jpg', '/home/pi/Desktop/images/05012025/12/22/image_05012025_12_22_02_194891_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/12/21/image_05012025_12_21_02_967340_0003.jpg
/home/pi/Desktop/images/05012025/12/22/image_05012025_12_22_02_194891_0000.jpg
/home/pi/Desktop/images/05012025/12/22/image_05012025_12_22_02_194891_0001.jpg
/home/pi/Desktop/images/05012025/12/22/image_05012025_12_22_02_194891_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.977859497070312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 12:22:41.888098
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/21/image_05012025_12_21_02_967340_0003.jpg', '/home/pi/Desktop/images/05012025/12/22/image_05012025_12_22_02_194891_0000.jpg', '/home/pi/Desktop/images/05012025/12/22/image_05012025_12_22_02_194891_0001.jpg', '/home/pi/Desktop/images/05012025/12/22/image_05012025_12_22_02_194891_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/12/21/image_05012025_12_21_02_967340_0003.jpg
/home/pi/Desktop/images/05012025/12/22/image_05012025_12_22_02_194891_0000.jpg
/home/pi/Desktop/images/05012025/12/22/image_05012025_12_22_02_194891_0001.jpg
/home/pi/Desktop/images/05012025/12/22/image_05012025_12_22_02_194891_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877158","1326877163","1326877160","1326877159"],"photo_ids_order":["1326877158","1326877159","1326877160","1326877163"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/808b486bf3385ef8fcc97528ec4dae74.jpg","text":"TemporaryFile(/tmp/multipartBody4441344516002002921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076232296,"filename":"image_05012025_12_21_02_967340_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2eb25657cb75ed8d72cee3b9d4a81d12.jpg","text":"TemporaryFile(/tmp/multipartBody7371791499710012965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076232296,"filename":"image_05012025_12_22_02_194891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce5feaf8c922c75012daa39979e239c2.jpg","text":"TemporaryFile(/tmp/multipartBody7897193891324345868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076232296,"filename":"image_05012025_12_22_02_194891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4c72345958fafedfb73d458bffa0eae9.jpg","text":"TemporaryFile(/tmp/multipartBody6903159521726953529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076232296,"filename":"image_05012025_12_22_02_194891_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877160","file1":"1326877159","file0":"1326877158","file3":"1326877163"},"map_files_photo_id_array":[{"photo_id":"1326877160","filename":"file2"},{"photo_id":"1326877159","filename":"file1"},{"photo_id":"1326877158","filename":"file0"},{"photo_id":"1326877163","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877158":["hashtag1","hashtag2"]},{"1326877163":["hashtag1","hashtag2"]},{"1326877160":["hashtag1","hashtag2"]},{"1326877159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877158, 1326877163, 1326877160, 1326877159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.28494644165039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 12:23:32.065555
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/22/image_05012025_12_22_02_194891_0003.jpg', '/home/pi/Desktop/images/05012025/12/23/image_05012025_12_23_02_269856_0000.jpg', '/home/pi/Desktop/images/05012025/12/23/image_05012025_12_23_02_269856_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/12/22/image_05012025_12_22_02_194891_0003.jpg
/home/pi/Desktop/images/05012025/12/23/image_05012025_12_23_02_269856_0000.jpg
/home/pi/Desktop/images/05012025/12/23/image_05012025_12_23_02_269856_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.553721904754639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 12:23:42.178163
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/22/image_05012025_12_22_02_194891_0003.jpg', '/home/pi/Desktop/images/05012025/12/23/image_05012025_12_23_02_269856_0000.jpg', '/home/pi/Desktop/images/05012025/12/23/image_05012025_12_23_02_269856_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/12/22/image_05012025_12_22_02_194891_0003.jpg
/home/pi/Desktop/images/05012025/12/23/image_05012025_12_23_02_269856_0000.jpg
/home/pi/Desktop/images/05012025/12/23/image_05012025_12_23_02_269856_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":["1326877173","1326877172","1326877171"],"photo_ids_order":["1326877171","1326877172","1326877173"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1fa3486966060f0513c0bef110cf8e54.jpg","text":"TemporaryFile(/tmp/multipartBody5592755449689168954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076290140,"filename":"image_05012025_12_23_02_269856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ff2a452e1475db41128ae9a1ef89e8ad.jpg","text":"TemporaryFile(/tmp/multipartBody1129036210931989878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076290140,"filename":"image_05012025_12_23_02_269856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c9e52072102b36d55c72440a5786c873.jpg","text":"TemporaryFile(/tmp/multipartBody8001669058560284403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076290140,"filename":"image_05012025_12_22_02_194891_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877173","file1":"1326877172","file0":"1326877171"},"map_files_photo_id_array":[{"photo_id":"1326877173","filename":"file2"},{"photo_id":"1326877172","filename":"file1"},{"photo_id":"1326877171","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877173":["hashtag1","hashtag2"]},{"1326877172":["hashtag1","hashtag2"]},{"1326877171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877173, 1326877172, 1326877171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.92950105667114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:24:22.281196
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/23/image_05012025_12_23_02_269856_0003.jpg', '/home/pi/Desktop/images/05012025/12/24/image_05012025_12_24_02_450988_0000.jpg', '/home/pi/Desktop/images/05012025/12/24/image_05012025_12_24_02_450988_0001.jpg', '/home/pi/Desktop/images/05012025/12/24/image_05012025_12_24_02_450988_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/12/23/image_05012025_12_23_02_269856_0003.jpg
/home/pi/Desktop/images/05012025/12/24/image_05012025_12_24_02_450988_0000.jpg
/home/pi/Desktop/images/05012025/12/24/image_05012025_12_24_02_450988_0001.jpg
/home/pi/Desktop/images/05012025/12/24/image_05012025_12_24_02_450988_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877181","1326877184","1326877183","1326877185"],"photo_ids_order":["1326877181","1326877183","1326877184","1326877185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad5486316fdd2aa533cbc67ba3bb6bf0.jpg","text":"TemporaryFile(/tmp/multipartBody6700032680812289743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076332767,"filename":"image_05012025_12_23_02_269856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8a0de40e5328c767ab211d8d1931b2f1.jpg","text":"TemporaryFile(/tmp/multipartBody3214509809145350929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076332767,"filename":"image_05012025_12_24_02_450988_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/25c99e53bae321081ce8e34e5c3380e4.jpg","text":"TemporaryFile(/tmp/multipartBody4296370305709258667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076332767,"filename":"image_05012025_12_24_02_450988_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/97ee3d03b25e7f169d18989894372066.jpg","text":"TemporaryFile(/tmp/multipartBody6609027324191741803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076332767,"filename":"image_05012025_12_24_02_450988_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877184","file1":"1326877183","file0":"1326877181","file3":"1326877185"},"map_files_photo_id_array":[{"photo_id":"1326877184","filename":"file2"},{"photo_id":"1326877183","filename":"file1"},{"photo_id":"1326877181","filename":"file0"},{"photo_id":"1326877185","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877181":["hashtag1","hashtag2"]},{"1326877184":["hashtag1","hashtag2"]},{"1326877183":["hashtag1","hashtag2"]},{"1326877185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877181, 1326877184, 1326877183, 1326877185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.282501459121704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:25:22.521727
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/24/image_05012025_12_24_02_450988_0003.jpg', '/home/pi/Desktop/images/05012025/12/25/image_05012025_12_25_02_671020_0000.jpg', '/home/pi/Desktop/images/05012025/12/25/image_05012025_12_25_02_671020_0001.jpg', '/home/pi/Desktop/images/05012025/12/25/image_05012025_12_25_02_671020_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/12/24/image_05012025_12_24_02_450988_0003.jpg
/home/pi/Desktop/images/05012025/12/25/image_05012025_12_25_02_671020_0000.jpg
/home/pi/Desktop/images/05012025/12/25/image_05012025_12_25_02_671020_0001.jpg
/home/pi/Desktop/images/05012025/12/25/image_05012025_12_25_02_671020_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877193","1326877192","1326877195","1326877197"],"photo_ids_order":["1326877192","1326877193","1326877195","1326877197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a6b134f09a15b14232f5cf98a1732fcd.jpg","text":"TemporaryFile(/tmp/multipartBody3181620565091233641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076392994,"filename":"image_05012025_12_25_02_671020_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ea24824925e954c20122db4bd74b20ad.jpg","text":"TemporaryFile(/tmp/multipartBody8608085852320827649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076392994,"filename":"image_05012025_12_24_02_450988_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dfb04404083cc352f70ab06cf69931bf.jpg","text":"TemporaryFile(/tmp/multipartBody282558418157162039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076392994,"filename":"image_05012025_12_25_02_671020_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/caeeed780e34a08c5702849daeda7075.jpg","text":"TemporaryFile(/tmp/multipartBody6259055162654781666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076392994,"filename":"image_05012025_12_25_02_671020_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877195","file1":"1326877193","file0":"1326877192","file3":"1326877197"},"map_files_photo_id_array":[{"photo_id":"1326877195","filename":"file2"},{"photo_id":"1326877193","filename":"file1"},{"photo_id":"1326877192","filename":"file0"},{"photo_id":"1326877197","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877193":["hashtag1","hashtag2"]},{"1326877192":["hashtag1","hashtag2"]},{"1326877195":["hashtag1","hashtag2"]},{"1326877197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877193, 1326877192, 1326877195, 1326877197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.9098002910614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:26:22.734812
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/25/image_05012025_12_25_02_671020_0003.jpg', '/home/pi/Desktop/images/05012025/12/26/image_05012025_12_26_02_877419_0000.jpg', '/home/pi/Desktop/images/05012025/12/26/image_05012025_12_26_02_877419_0001.jpg', '/home/pi/Desktop/images/05012025/12/26/image_05012025_12_26_02_877419_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/12/25/image_05012025_12_25_02_671020_0003.jpg
/home/pi/Desktop/images/05012025/12/26/image_05012025_12_26_02_877419_0000.jpg
/home/pi/Desktop/images/05012025/12/26/image_05012025_12_26_02_877419_0001.jpg
/home/pi/Desktop/images/05012025/12/26/image_05012025_12_26_02_877419_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877212","1326877205","1326877210","1326877207"],"photo_ids_order":["1326877205","1326877207","1326877210","1326877212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3d9e178382b616f432004e62a62beb83.jpg","text":"TemporaryFile(/tmp/multipartBody8199375353037471756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076453003,"filename":"image_05012025_12_26_02_877419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/205448bfcf4f276acbd8a0fc1735fc72.jpg","text":"TemporaryFile(/tmp/multipartBody5303412553916117525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076453003,"filename":"image_05012025_12_25_02_671020_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a9fb8d425834b8de03f19ca194814f30.jpg","text":"TemporaryFile(/tmp/multipartBody4318559985393138293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076453003,"filename":"image_05012025_12_26_02_877419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5400e09a5cec96c90b116a8745bef8eb.jpg","text":"TemporaryFile(/tmp/multipartBody5694568124602903729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076453003,"filename":"image_05012025_12_26_02_877419_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877210","file1":"1326877207","file0":"1326877205","file3":"1326877212"},"map_files_photo_id_array":[{"photo_id":"1326877210","filename":"file2"},{"photo_id":"1326877207","filename":"file1"},{"photo_id":"1326877205","filename":"file0"},{"photo_id":"1326877212","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877212":["hashtag1","hashtag2"]},{"1326877205":["hashtag1","hashtag2"]},{"1326877210":["hashtag1","hashtag2"]},{"1326877207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877212, 1326877205, 1326877210, 1326877207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.177515745162964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:27:21.899854
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/26/image_05012025_12_26_02_877419_0003.jpg', '/home/pi/Desktop/images/05012025/12/27/image_05012025_12_27_03_075723_0000.jpg', '/home/pi/Desktop/images/05012025/12/27/image_05012025_12_27_03_075723_0001.jpg', '/home/pi/Desktop/images/05012025/12/27/image_05012025_12_27_03_075723_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/12/26/image_05012025_12_26_02_877419_0003.jpg
/home/pi/Desktop/images/05012025/12/27/image_05012025_12_27_03_075723_0000.jpg
/home/pi/Desktop/images/05012025/12/27/image_05012025_12_27_03_075723_0001.jpg
/home/pi/Desktop/images/05012025/12/27/image_05012025_12_27_03_075723_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877224","1326877227","1326877226","1326877222"],"photo_ids_order":["1326877222","1326877224","1326877226","1326877227"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/399dbe8cbf2d6b91105591dcaa42f77c.jpg","text":"TemporaryFile(/tmp/multipartBody3868545644337626363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076512187,"filename":"image_05012025_12_27_03_075723_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d3144b17cb5e4040a371e1bffd7520ef.jpg","text":"TemporaryFile(/tmp/multipartBody6458066885221239862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076512187,"filename":"image_05012025_12_27_03_075723_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e65c2c0ed1b7d9e45950d4d6ccdaedc5.jpg","text":"TemporaryFile(/tmp/multipartBody7463298965539044419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076512187,"filename":"image_05012025_12_27_03_075723_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d45175b3f9a8c2c46ac67be93405a4d9.jpg","text":"TemporaryFile(/tmp/multipartBody6536252658749686284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076512187,"filename":"image_05012025_12_26_02_877419_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877226","file1":"1326877224","file0":"1326877222","file3":"1326877227"},"map_files_photo_id_array":[{"photo_id":"1326877226","filename":"file2"},{"photo_id":"1326877224","filename":"file1"},{"photo_id":"1326877222","filename":"file0"},{"photo_id":"1326877227","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877224":["hashtag1","hashtag2"]},{"1326877227":["hashtag1","hashtag2"]},{"1326877226":["hashtag1","hashtag2"]},{"1326877222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877224, 1326877227, 1326877226, 1326877222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.315126180648804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:28:22.069441
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/27/image_05012025_12_27_03_075723_0003.jpg', '/home/pi/Desktop/images/05012025/12/28/image_05012025_12_28_02_274600_0000.jpg', '/home/pi/Desktop/images/05012025/12/28/image_05012025_12_28_02_274600_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/12/27/image_05012025_12_27_03_075723_0003.jpg
/home/pi/Desktop/images/05012025/12/28/image_05012025_12_28_02_274600_0000.jpg
/home/pi/Desktop/images/05012025/12/28/image_05012025_12_28_02_274600_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877239","1326877237","1326877234"],"photo_ids_order":["1326877234","1326877237","1326877239"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f902a8cafe56ff62ef840d52248663ca.jpg","text":"TemporaryFile(/tmp/multipartBody8718313029190947933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076570002,"filename":"image_05012025_12_28_02_274600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2cbc30fdbcebc271400da4cea4b50747.jpg","text":"TemporaryFile(/tmp/multipartBody3934240332205851037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076570002,"filename":"image_05012025_12_28_02_274600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1ebb3a992a636a90057c39b42e4eabca.jpg","text":"TemporaryFile(/tmp/multipartBody2990672542072176692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076570002,"filename":"image_05012025_12_27_03_075723_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877239","file1":"1326877237","file0":"1326877234"},"map_files_photo_id_array":[{"photo_id":"1326877239","filename":"file2"},{"photo_id":"1326877237","filename":"file1"},{"photo_id":"1326877234","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877239":["hashtag1","hashtag2"]},{"1326877237":["hashtag1","hashtag2"]},{"1326877234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877239, 1326877237, 1326877234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.17058515548706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 12:29:02.829002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:29:22.272853
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/28/image_05012025_12_28_02_274600_0003.jpg', '/home/pi/Desktop/images/05012025/12/29/image_05012025_12_29_02_442120_0000.jpg', '/home/pi/Desktop/images/05012025/12/29/image_05012025_12_29_02_442120_0001.jpg', '/home/pi/Desktop/images/05012025/12/29/image_05012025_12_29_02_442120_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/12/28/image_05012025_12_28_02_274600_0003.jpg
/home/pi/Desktop/images/05012025/12/29/image_05012025_12_29_02_442120_0000.jpg
/home/pi/Desktop/images/05012025/12/29/image_05012025_12_29_02_442120_0001.jpg
/home/pi/Desktop/images/05012025/12/29/image_05012025_12_29_02_442120_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877257","1326877259","1326877256","1326877258"],"photo_ids_order":["1326877256","1326877257","1326877258","1326877259"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/35f7877121765a76d312fe057d977926.jpg","text":"TemporaryFile(/tmp/multipartBody1881958406462391767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076632549,"filename":"image_05012025_12_29_02_442120_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88a669bd6160b64adf61f352552632fb.jpg","text":"TemporaryFile(/tmp/multipartBody6015224442340006947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076632549,"filename":"image_05012025_12_29_02_442120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b32f0cb9f51e052f27848094ef2cb63f.jpg","text":"TemporaryFile(/tmp/multipartBody3153140721466114397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076632549,"filename":"image_05012025_12_28_02_274600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7244c2660fa9a3e56187523a34b8bb2c.jpg","text":"TemporaryFile(/tmp/multipartBody8821637997989931115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076632549,"filename":"image_05012025_12_29_02_442120_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877258","file1":"1326877257","file0":"1326877256","file3":"1326877259"},"map_files_photo_id_array":[{"photo_id":"1326877258","filename":"file2"},{"photo_id":"1326877257","filename":"file1"},{"photo_id":"1326877256","filename":"file0"},{"photo_id":"1326877259","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877257":["hashtag1","hashtag2"]},{"1326877259":["hashtag1","hashtag2"]},{"1326877256":["hashtag1","hashtag2"]},{"1326877258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877257, 1326877259, 1326877256, 1326877258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09091901779175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:30:22.504468
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/29/image_05012025_12_29_02_442120_0003.jpg', '/home/pi/Desktop/images/05012025/12/30/image_05012025_12_30_02_583457_0000.jpg', '/home/pi/Desktop/images/05012025/12/30/image_05012025_12_30_02_583457_0001.jpg', '/home/pi/Desktop/images/05012025/12/30/image_05012025_12_30_02_583457_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/12/29/image_05012025_12_29_02_442120_0003.jpg
/home/pi/Desktop/images/05012025/12/30/image_05012025_12_30_02_583457_0000.jpg
/home/pi/Desktop/images/05012025/12/30/image_05012025_12_30_02_583457_0001.jpg
/home/pi/Desktop/images/05012025/12/30/image_05012025_12_30_02_583457_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877281","1326877274","1326877284","1326877278"],"photo_ids_order":["1326877274","1326877278","1326877281","1326877284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4d3dabc3352a34811a0959cd403d4eb4.jpg","text":"TemporaryFile(/tmp/multipartBody7225334760404504259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076692820,"filename":"image_05012025_12_30_02_583457_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0b842d5b0ed184200def18b088ea0613.jpg","text":"TemporaryFile(/tmp/multipartBody9208135563994966232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076692820,"filename":"image_05012025_12_29_02_442120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/35098e73cd1098d6722ba613e35f4409.jpg","text":"TemporaryFile(/tmp/multipartBody952989601084400178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076692820,"filename":"image_05012025_12_30_02_583457_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ba62380a912315db8f992f1147db2d50.jpg","text":"TemporaryFile(/tmp/multipartBody2029989405064701026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076692820,"filename":"image_05012025_12_30_02_583457_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877281","file1":"1326877278","file0":"1326877274","file3":"1326877284"},"map_files_photo_id_array":[{"photo_id":"1326877281","filename":"file2"},{"photo_id":"1326877278","filename":"file1"},{"photo_id":"1326877274","filename":"file0"},{"photo_id":"1326877284","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877281":["hashtag1","hashtag2"]},{"1326877274":["hashtag1","hashtag2"]},{"1326877284":["hashtag1","hashtag2"]},{"1326877278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877281, 1326877274, 1326877284, 1326877278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.15609645843506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:31:22.723874
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/30/image_05012025_12_30_02_583457_0003.jpg', '/home/pi/Desktop/images/05012025/12/31/image_05012025_12_31_02_815558_0000.jpg', '/home/pi/Desktop/images/05012025/12/31/image_05012025_12_31_02_815558_0001.jpg', '/home/pi/Desktop/images/05012025/12/31/image_05012025_12_31_02_815558_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/12/30/image_05012025_12_30_02_583457_0003.jpg
/home/pi/Desktop/images/05012025/12/31/image_05012025_12_31_02_815558_0000.jpg
/home/pi/Desktop/images/05012025/12/31/image_05012025_12_31_02_815558_0001.jpg
/home/pi/Desktop/images/05012025/12/31/image_05012025_12_31_02_815558_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877303","1326877298","1326877301","1326877299"],"photo_ids_order":["1326877298","1326877299","1326877301","1326877303"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/65e46a364d546dd5d94a9b7546d277c4.jpg","text":"TemporaryFile(/tmp/multipartBody8105490151020677498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076753119,"filename":"image_05012025_12_31_02_815558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3cdc94fdeeb4901f9718b9e607486fd4.jpg","text":"TemporaryFile(/tmp/multipartBody6468219438086406312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076753119,"filename":"image_05012025_12_30_02_583457_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/09ad36a010bb8601fc6e9c761feaf6b0.jpg","text":"TemporaryFile(/tmp/multipartBody3957314447982103780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076753119,"filename":"image_05012025_12_31_02_815558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f16c5258ced0f51e3dfd26f1935c8537.jpg","text":"TemporaryFile(/tmp/multipartBody1347274701302929000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076753119,"filename":"image_05012025_12_31_02_815558_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877301","file1":"1326877299","file0":"1326877298","file3":"1326877303"},"map_files_photo_id_array":[{"photo_id":"1326877301","filename":"file2"},{"photo_id":"1326877299","filename":"file1"},{"photo_id":"1326877298","filename":"file0"},{"photo_id":"1326877303","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877303":["hashtag1","hashtag2"]},{"1326877298":["hashtag1","hashtag2"]},{"1326877301":["hashtag1","hashtag2"]},{"1326877299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877303, 1326877298, 1326877301, 1326877299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.94683575630188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:32:21.845041
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/31/image_05012025_12_31_02_815558_0003.jpg', '/home/pi/Desktop/images/05012025/12/32/image_05012025_12_32_03_022244_0000.jpg', '/home/pi/Desktop/images/05012025/12/32/image_05012025_12_32_03_022244_0001.jpg', '/home/pi/Desktop/images/05012025/12/32/image_05012025_12_32_03_022244_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/12/31/image_05012025_12_31_02_815558_0003.jpg
/home/pi/Desktop/images/05012025/12/32/image_05012025_12_32_03_022244_0000.jpg
/home/pi/Desktop/images/05012025/12/32/image_05012025_12_32_03_022244_0001.jpg
/home/pi/Desktop/images/05012025/12/32/image_05012025_12_32_03_022244_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877311","1326877313","1326877310","1326877315"],"photo_ids_order":["1326877310","1326877311","1326877313","1326877315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d93fbc9c5d16182ebc3358d28c681e8f.jpg","text":"TemporaryFile(/tmp/multipartBody7867475270726402894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076812182,"filename":"image_05012025_12_32_03_022244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/15ff03f5486b0d606b7b50ba4e980404.jpg","text":"TemporaryFile(/tmp/multipartBody3953425359387238146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076812182,"filename":"image_05012025_12_32_03_022244_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/34faa5b9339598d496505560179b2840.jpg","text":"TemporaryFile(/tmp/multipartBody6541231066559989162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076812182,"filename":"image_05012025_12_31_02_815558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/481cf781d4bf3d70155c871ba4898d7f.jpg","text":"TemporaryFile(/tmp/multipartBody1400171758883568191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076812182,"filename":"image_05012025_12_32_03_022244_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877313","file1":"1326877311","file0":"1326877310","file3":"1326877315"},"map_files_photo_id_array":[{"photo_id":"1326877313","filename":"file2"},{"photo_id":"1326877311","filename":"file1"},{"photo_id":"1326877310","filename":"file0"},{"photo_id":"1326877315","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877311":["hashtag1","hashtag2"]},{"1326877313":["hashtag1","hashtag2"]},{"1326877310":["hashtag1","hashtag2"]},{"1326877315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877311, 1326877313, 1326877310, 1326877315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.07799577713013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:33:22.053854
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/32/image_05012025_12_32_03_022244_0003.jpg', '/home/pi/Desktop/images/05012025/12/33/image_05012025_12_33_02_270280_0000.jpg', '/home/pi/Desktop/images/05012025/12/33/image_05012025_12_33_02_270280_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/12/32/image_05012025_12_32_03_022244_0003.jpg
/home/pi/Desktop/images/05012025/12/33/image_05012025_12_33_02_270280_0000.jpg
/home/pi/Desktop/images/05012025/12/33/image_05012025_12_33_02_270280_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":["1326877332","1326877335","1326877334"],"photo_ids_order":["1326877332","1326877334","1326877335"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f7b1fee622955c2cb7f7d5ef66f927f.jpg","text":"TemporaryFile(/tmp/multipartBody7594691725475411873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076870157,"filename":"image_05012025_12_32_03_022244_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1b636a09f252ecd92a7ce7d020589a8d.jpg","text":"TemporaryFile(/tmp/multipartBody1674843926240532890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076870157,"filename":"image_05012025_12_33_02_270280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d7b2e2ec405c80d5e6700c60383c7f1c.jpg","text":"TemporaryFile(/tmp/multipartBody2810139790814480784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076870157,"filename":"image_05012025_12_33_02_270280_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877335","file1":"1326877334","file0":"1326877332"},"map_files_photo_id_array":[{"photo_id":"1326877335","filename":"file2"},{"photo_id":"1326877334","filename":"file1"},{"photo_id":"1326877332","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877332":["hashtag1","hashtag2"]},{"1326877335":["hashtag1","hashtag2"]},{"1326877334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877332, 1326877335, 1326877334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 38.036521434783936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 12:34:02.648045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:34:22.253514
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/33/image_05012025_12_33_02_270280_0002.jpg', '/home/pi/Desktop/images/05012025/12/34/image_05012025_12_34_02_433121_0000.jpg', '/home/pi/Desktop/images/05012025/12/34/image_05012025_12_34_02_433121_0001.jpg', '/home/pi/Desktop/images/05012025/12/34/image_05012025_12_34_02_433121_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/12/33/image_05012025_12_33_02_270280_0002.jpg
/home/pi/Desktop/images/05012025/12/34/image_05012025_12_34_02_433121_0000.jpg
/home/pi/Desktop/images/05012025/12/34/image_05012025_12_34_02_433121_0001.jpg
/home/pi/Desktop/images/05012025/12/34/image_05012025_12_34_02_433121_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877344","1326877343","1326877346","1326877345"],"photo_ids_order":["1326877343","1326877344","1326877345","1326877346"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d3feabd202ae2fae91b297953268903b.jpg","text":"TemporaryFile(/tmp/multipartBody2148560576511500381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076932655,"filename":"image_05012025_12_34_02_433121_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d610b000b0feda6ee6bada21cae4cee1.jpg","text":"TemporaryFile(/tmp/multipartBody8340534029264735331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076932655,"filename":"image_05012025_12_33_02_270280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/540a302349c6c9aee4a782a888746f07.jpg","text":"TemporaryFile(/tmp/multipartBody7812570699373309700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076932655,"filename":"image_05012025_12_34_02_433121_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e86cfc6d878d4634c95338549f874fac.jpg","text":"TemporaryFile(/tmp/multipartBody8616461262952859381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076932655,"filename":"image_05012025_12_34_02_433121_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877345","file1":"1326877344","file0":"1326877343","file3":"1326877346"},"map_files_photo_id_array":[{"photo_id":"1326877345","filename":"file2"},{"photo_id":"1326877344","filename":"file1"},{"photo_id":"1326877343","filename":"file0"},{"photo_id":"1326877346","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877344":["hashtag1","hashtag2"]},{"1326877343":["hashtag1","hashtag2"]},{"1326877346":["hashtag1","hashtag2"]},{"1326877345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877344, 1326877343, 1326877346, 1326877345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.14330720901489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 12:35:02.812350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:35:22.400888
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/34/image_05012025_12_34_02_433121_0003.jpg', '/home/pi/Desktop/images/05012025/12/35/image_05012025_12_35_02_558204_0000.jpg', '/home/pi/Desktop/images/05012025/12/35/image_05012025_12_35_02_558204_0001.jpg', '/home/pi/Desktop/images/05012025/12/35/image_05012025_12_35_02_558204_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/12/34/image_05012025_12_34_02_433121_0003.jpg
/home/pi/Desktop/images/05012025/12/35/image_05012025_12_35_02_558204_0000.jpg
/home/pi/Desktop/images/05012025/12/35/image_05012025_12_35_02_558204_0001.jpg
/home/pi/Desktop/images/05012025/12/35/image_05012025_12_35_02_558204_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877353","1326877352","1326877355","1326877357"],"photo_ids_order":["1326877352","1326877353","1326877355","1326877357"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/097f490e6d671e0a23cbc327e3226818.jpg","text":"TemporaryFile(/tmp/multipartBody5867075283035997353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076992719,"filename":"image_05012025_12_35_02_558204_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/913add531566ed97267f005613543e11.jpg","text":"TemporaryFile(/tmp/multipartBody9175550852802056030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076992719,"filename":"image_05012025_12_34_02_433121_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2aeedfe090f9a582eb43ab6915657bbc.jpg","text":"TemporaryFile(/tmp/multipartBody1232610153442967089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076992719,"filename":"image_05012025_12_35_02_558204_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/365bd6d209e208539fc3cb8ba08b55bd.jpg","text":"TemporaryFile(/tmp/multipartBody3577579397012929332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736076992719,"filename":"image_05012025_12_35_02_558204_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877355","file1":"1326877353","file0":"1326877352","file3":"1326877357"},"map_files_photo_id_array":[{"photo_id":"1326877355","filename":"file2"},{"photo_id":"1326877353","filename":"file1"},{"photo_id":"1326877352","filename":"file0"},{"photo_id":"1326877357","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877353":["hashtag1","hashtag2"]},{"1326877352":["hashtag1","hashtag2"]},{"1326877355":["hashtag1","hashtag2"]},{"1326877357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877353, 1326877352, 1326877355, 1326877357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.48239088058472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:36:22.620847
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/35/image_05012025_12_35_02_558204_0003.jpg', '/home/pi/Desktop/images/05012025/12/36/image_05012025_12_36_02_725375_0000.jpg', '/home/pi/Desktop/images/05012025/12/36/image_05012025_12_36_02_725375_0001.jpg', '/home/pi/Desktop/images/05012025/12/36/image_05012025_12_36_02_725375_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/12/35/image_05012025_12_35_02_558204_0003.jpg
/home/pi/Desktop/images/05012025/12/36/image_05012025_12_36_02_725375_0000.jpg
/home/pi/Desktop/images/05012025/12/36/image_05012025_12_36_02_725375_0001.jpg
/home/pi/Desktop/images/05012025/12/36/image_05012025_12_36_02_725375_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877368","1326877370","1326877367","1326877366"],"photo_ids_order":["1326877366","1326877367","1326877368","1326877370"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b0d4d001345d46ba2478c662045f9704.jpg","text":"TemporaryFile(/tmp/multipartBody217346061658905081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077053018,"filename":"image_05012025_12_36_02_725375_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f1d9beb9149cd0b99c05689f189ad047.jpg","text":"TemporaryFile(/tmp/multipartBody8110181011537310815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077053018,"filename":"image_05012025_12_36_02_725375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/486381f9caf7a424acf6833c3a20dde5.jpg","text":"TemporaryFile(/tmp/multipartBody2865406348689609693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077053018,"filename":"image_05012025_12_36_02_725375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f1c94ec986c97d869f26bb52ca2eb611.jpg","text":"TemporaryFile(/tmp/multipartBody9212521742401474843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077053018,"filename":"image_05012025_12_35_02_558204_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877368","file1":"1326877367","file0":"1326877366","file3":"1326877370"},"map_files_photo_id_array":[{"photo_id":"1326877368","filename":"file2"},{"photo_id":"1326877367","filename":"file1"},{"photo_id":"1326877366","filename":"file0"},{"photo_id":"1326877370","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877368":["hashtag1","hashtag2"]},{"1326877370":["hashtag1","hashtag2"]},{"1326877367":["hashtag1","hashtag2"]},{"1326877366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877368, 1326877370, 1326877367, 1326877366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.47411251068115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:37:22.793197
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/36/image_05012025_12_36_02_725375_0003.jpg', '/home/pi/Desktop/images/05012025/12/37/image_05012025_12_37_02_898124_0000.jpg', '/home/pi/Desktop/images/05012025/12/37/image_05012025_12_37_02_898124_0001.jpg', '/home/pi/Desktop/images/05012025/12/37/image_05012025_12_37_02_898124_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/12/36/image_05012025_12_36_02_725375_0003.jpg
/home/pi/Desktop/images/05012025/12/37/image_05012025_12_37_02_898124_0000.jpg
/home/pi/Desktop/images/05012025/12/37/image_05012025_12_37_02_898124_0001.jpg
/home/pi/Desktop/images/05012025/12/37/image_05012025_12_37_02_898124_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877386","1326877388","1326877387","1326877383"],"photo_ids_order":["1326877383","1326877386","1326877387","1326877388"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/845eb0b455ed53cded281ca088d76967.jpg","text":"TemporaryFile(/tmp/multipartBody262874333281238834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077112978,"filename":"image_05012025_12_37_02_898124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ee1623940b37f5b45055d1a8d66d52b1.jpg","text":"TemporaryFile(/tmp/multipartBody5885021538671207783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077112978,"filename":"image_05012025_12_37_02_898124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/712bbb491185dc10bd103e562b4cb766.jpg","text":"TemporaryFile(/tmp/multipartBody498430477634389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077112978,"filename":"image_05012025_12_37_02_898124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3791f044e541e260e2cd0a93d2bc7f81.jpg","text":"TemporaryFile(/tmp/multipartBody964896889104333456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077112978,"filename":"image_05012025_12_36_02_725375_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877387","file1":"1326877386","file0":"1326877383","file3":"1326877388"},"map_files_photo_id_array":[{"photo_id":"1326877387","filename":"file2"},{"photo_id":"1326877386","filename":"file1"},{"photo_id":"1326877383","filename":"file0"},{"photo_id":"1326877388","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877386":["hashtag1","hashtag2"]},{"1326877388":["hashtag1","hashtag2"]},{"1326877387":["hashtag1","hashtag2"]},{"1326877383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877386, 1326877388, 1326877387, 1326877383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.490243911743164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:38:21.999599
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/37/image_05012025_12_37_02_898124_0003.jpg', '/home/pi/Desktop/images/05012025/12/38/image_05012025_12_38_03_196544_0000.jpg', '/home/pi/Desktop/images/05012025/12/38/image_05012025_12_38_03_196544_0001.jpg', '/home/pi/Desktop/images/05012025/12/38/image_05012025_12_38_03_196544_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/12/37/image_05012025_12_37_02_898124_0003.jpg
/home/pi/Desktop/images/05012025/12/38/image_05012025_12_38_03_196544_0000.jpg
/home/pi/Desktop/images/05012025/12/38/image_05012025_12_38_03_196544_0001.jpg
/home/pi/Desktop/images/05012025/12/38/image_05012025_12_38_03_196544_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.90269947052002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 12:38:41.951291
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/37/image_05012025_12_37_02_898124_0003.jpg', '/home/pi/Desktop/images/05012025/12/38/image_05012025_12_38_03_196544_0000.jpg', '/home/pi/Desktop/images/05012025/12/38/image_05012025_12_38_03_196544_0001.jpg', '/home/pi/Desktop/images/05012025/12/38/image_05012025_12_38_03_196544_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/12/37/image_05012025_12_37_02_898124_0003.jpg
/home/pi/Desktop/images/05012025/12/38/image_05012025_12_38_03_196544_0000.jpg
/home/pi/Desktop/images/05012025/12/38/image_05012025_12_38_03_196544_0001.jpg
/home/pi/Desktop/images/05012025/12/38/image_05012025_12_38_03_196544_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877402","1326877404","1326877400","1326877399"],"photo_ids_order":["1326877399","1326877400","1326877402","1326877404"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6e7472b65539a90adef41d606c15333f.jpg","text":"TemporaryFile(/tmp/multipartBody4975415924298083633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077192245,"filename":"image_05012025_12_38_03_196544_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/55d509a11c6b8630f23fb78bb61b2f71.jpg","text":"TemporaryFile(/tmp/multipartBody7681131413915203329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077192245,"filename":"image_05012025_12_38_03_196544_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8074398120c51f61df1c53ef10dded96.jpg","text":"TemporaryFile(/tmp/multipartBody609690016139063580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077192245,"filename":"image_05012025_12_38_03_196544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8b45939f263f109ff58e2c25f06d0ece.jpg","text":"TemporaryFile(/tmp/multipartBody4436833700193212626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077192245,"filename":"image_05012025_12_37_02_898124_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877402","file1":"1326877400","file0":"1326877399","file3":"1326877404"},"map_files_photo_id_array":[{"photo_id":"1326877402","filename":"file2"},{"photo_id":"1326877400","filename":"file1"},{"photo_id":"1326877399","filename":"file0"},{"photo_id":"1326877404","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877402":["hashtag1","hashtag2"]},{"1326877404":["hashtag1","hashtag2"]},{"1326877400":["hashtag1","hashtag2"]},{"1326877399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877402, 1326877404, 1326877400, 1326877399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.42944121360779 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 12:39:32.118686
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/38/image_05012025_12_38_03_196544_0003.jpg', '/home/pi/Desktop/images/05012025/12/39/image_05012025_12_39_02_291078_0000.jpg', '/home/pi/Desktop/images/05012025/12/39/image_05012025_12_39_02_291078_0001.jpg', '/home/pi/Desktop/images/05012025/12/39/image_05012025_12_39_02_291078_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/12/38/image_05012025_12_38_03_196544_0003.jpg
/home/pi/Desktop/images/05012025/12/39/image_05012025_12_39_02_291078_0000.jpg
/home/pi/Desktop/images/05012025/12/39/image_05012025_12_39_02_291078_0001.jpg
/home/pi/Desktop/images/05012025/12/39/image_05012025_12_39_02_291078_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877413","1326877410","1326877412","1326877411"],"photo_ids_order":["1326877410","1326877411","1326877412","1326877413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/46b59089a9fb6001b80f3ac2a993296d.jpg","text":"TemporaryFile(/tmp/multipartBody6437459347127945950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077242276,"filename":"image_05012025_12_39_02_291078_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c6b95d3020c68bcc3e6cb11d8fa7d9dd.jpg","text":"TemporaryFile(/tmp/multipartBody4406513713436625559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077242276,"filename":"image_05012025_12_38_03_196544_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8f39218ef0c8eee051b9759cb4514117.jpg","text":"TemporaryFile(/tmp/multipartBody3615578131504834202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077242276,"filename":"image_05012025_12_39_02_291078_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9f0cdc9eae1a0f2af4252b8afc35bb4f.jpg","text":"TemporaryFile(/tmp/multipartBody1361308619106687191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077242276,"filename":"image_05012025_12_39_02_291078_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877412","file1":"1326877411","file0":"1326877410","file3":"1326877413"},"map_files_photo_id_array":[{"photo_id":"1326877412","filename":"file2"},{"photo_id":"1326877411","filename":"file1"},{"photo_id":"1326877410","filename":"file0"},{"photo_id":"1326877413","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877413":["hashtag1","hashtag2"]},{"1326877410":["hashtag1","hashtag2"]},{"1326877412":["hashtag1","hashtag2"]},{"1326877411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877413, 1326877410, 1326877412, 1326877411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.81044602394104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:40:22.340654
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/39/image_05012025_12_39_02_291078_0003.jpg', '/home/pi/Desktop/images/05012025/12/40/image_05012025_12_40_02_525870_0000.jpg', '/home/pi/Desktop/images/05012025/12/40/image_05012025_12_40_02_525870_0001.jpg', '/home/pi/Desktop/images/05012025/12/40/image_05012025_12_40_02_525870_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/12/39/image_05012025_12_39_02_291078_0003.jpg
/home/pi/Desktop/images/05012025/12/40/image_05012025_12_40_02_525870_0000.jpg
/home/pi/Desktop/images/05012025/12/40/image_05012025_12_40_02_525870_0001.jpg
/home/pi/Desktop/images/05012025/12/40/image_05012025_12_40_02_525870_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877422","1326877424","1326877418","1326877420"],"photo_ids_order":["1326877418","1326877420","1326877422","1326877424"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1a863d6dba41d5ad557f6ecbc46ba5f1.jpg","text":"TemporaryFile(/tmp/multipartBody8271952894772880472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077292492,"filename":"image_05012025_12_40_02_525870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad9015605886bfcbbaa0971f873ffabb.jpg","text":"TemporaryFile(/tmp/multipartBody8274529675448318374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077292492,"filename":"image_05012025_12_40_02_525870_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/12d15108fcfb6c4876bdd29162df3365.jpg","text":"TemporaryFile(/tmp/multipartBody3719823777513082754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077292492,"filename":"image_05012025_12_39_02_291078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a9d4ebcba4d584e5da5362f2f0dbf045.jpg","text":"TemporaryFile(/tmp/multipartBody6018543301650186412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077292492,"filename":"image_05012025_12_40_02_525870_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877422","file1":"1326877420","file0":"1326877418","file3":"1326877424"},"map_files_photo_id_array":[{"photo_id":"1326877422","filename":"file2"},{"photo_id":"1326877420","filename":"file1"},{"photo_id":"1326877418","filename":"file0"},{"photo_id":"1326877424","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877422":["hashtag1","hashtag2"]},{"1326877424":["hashtag1","hashtag2"]},{"1326877418":["hashtag1","hashtag2"]},{"1326877420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877422, 1326877424, 1326877418, 1326877420)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.74564599990845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:41:22.501389
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/40/image_05012025_12_40_02_525870_0003.jpg', '/home/pi/Desktop/images/05012025/12/41/image_05012025_12_41_02_674779_0000.jpg', '/home/pi/Desktop/images/05012025/12/41/image_05012025_12_41_02_674779_0001.jpg', '/home/pi/Desktop/images/05012025/12/41/image_05012025_12_41_02_674779_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/12/40/image_05012025_12_40_02_525870_0003.jpg
/home/pi/Desktop/images/05012025/12/41/image_05012025_12_41_02_674779_0000.jpg
/home/pi/Desktop/images/05012025/12/41/image_05012025_12_41_02_674779_0001.jpg
/home/pi/Desktop/images/05012025/12/41/image_05012025_12_41_02_674779_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877434","1326877437","1326877435","1326877432"],"photo_ids_order":["1326877432","1326877434","1326877435","1326877437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cc70b2e0b254cb1c28a94f36de28e2f0.jpg","text":"TemporaryFile(/tmp/multipartBody6817514311178365937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077352857,"filename":"image_05012025_12_41_02_674779_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bdabdc9df93b92cd88d6380d52fcf9e2.jpg","text":"TemporaryFile(/tmp/multipartBody5856773884159881569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077352857,"filename":"image_05012025_12_41_02_674779_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c04bae4e86e8b6bcbc35732a5cca6b45.jpg","text":"TemporaryFile(/tmp/multipartBody6947114364765367365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077352857,"filename":"image_05012025_12_41_02_674779_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2ec0786ba711c19a1b070b5260e3941e.jpg","text":"TemporaryFile(/tmp/multipartBody3733029128337532265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077352857,"filename":"image_05012025_12_40_02_525870_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877435","file1":"1326877434","file0":"1326877432","file3":"1326877437"},"map_files_photo_id_array":[{"photo_id":"1326877435","filename":"file2"},{"photo_id":"1326877434","filename":"file1"},{"photo_id":"1326877432","filename":"file0"},{"photo_id":"1326877437","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877434":["hashtag1","hashtag2"]},{"1326877437":["hashtag1","hashtag2"]},{"1326877435":["hashtag1","hashtag2"]},{"1326877432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877434, 1326877437, 1326877435, 1326877432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.3254554271698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:42:22.673179
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/41/image_05012025_12_41_02_674779_0003.jpg', '/home/pi/Desktop/images/05012025/12/42/image_05012025_12_42_02_900273_0000.jpg', '/home/pi/Desktop/images/05012025/12/42/image_05012025_12_42_02_900273_0001.jpg', '/home/pi/Desktop/images/05012025/12/42/image_05012025_12_42_02_900273_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/12/41/image_05012025_12_41_02_674779_0003.jpg
/home/pi/Desktop/images/05012025/12/42/image_05012025_12_42_02_900273_0000.jpg
/home/pi/Desktop/images/05012025/12/42/image_05012025_12_42_02_900273_0001.jpg
/home/pi/Desktop/images/05012025/12/42/image_05012025_12_42_02_900273_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877452","1326877446","1326877448","1326877450"],"photo_ids_order":["1326877446","1326877448","1326877450","1326877452"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/32dcbfcf2588e5967d84ff9ee032b26d.jpg","text":"TemporaryFile(/tmp/multipartBody2447508636777459569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077413015,"filename":"image_05012025_12_42_02_900273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b05ba519db25e338666c0445738b38f.jpg","text":"TemporaryFile(/tmp/multipartBody4134253668794932202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077413015,"filename":"image_05012025_12_41_02_674779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bf263034fe025672e24eb3d7e6403b86.jpg","text":"TemporaryFile(/tmp/multipartBody6852995921482000681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077413015,"filename":"image_05012025_12_42_02_900273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e6179c7d0354ca09b75dfd774cfa78bb.jpg","text":"TemporaryFile(/tmp/multipartBody6279161110637828072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077413015,"filename":"image_05012025_12_42_02_900273_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877450","file1":"1326877448","file0":"1326877446","file3":"1326877452"},"map_files_photo_id_array":[{"photo_id":"1326877450","filename":"file2"},{"photo_id":"1326877448","filename":"file1"},{"photo_id":"1326877446","filename":"file0"},{"photo_id":"1326877452","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877452":["hashtag1","hashtag2"]},{"1326877446":["hashtag1","hashtag2"]},{"1326877448":["hashtag1","hashtag2"]},{"1326877450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877452, 1326877446, 1326877448, 1326877450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.03083086013794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:43:21.840954
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/42/image_05012025_12_42_02_900273_0003.jpg', '/home/pi/Desktop/images/05012025/12/43/image_05012025_12_43_03_047853_0000.jpg', '/home/pi/Desktop/images/05012025/12/43/image_05012025_12_43_03_047853_0001.jpg', '/home/pi/Desktop/images/05012025/12/43/image_05012025_12_43_03_047853_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/12/42/image_05012025_12_42_02_900273_0003.jpg
/home/pi/Desktop/images/05012025/12/43/image_05012025_12_43_03_047853_0000.jpg
/home/pi/Desktop/images/05012025/12/43/image_05012025_12_43_03_047853_0001.jpg
/home/pi/Desktop/images/05012025/12/43/image_05012025_12_43_03_047853_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877464","1326877467","1326877466","1326877468"],"photo_ids_order":["1326877464","1326877466","1326877467","1326877468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bd04bdca8e887f4e21553ae5054c26dc.jpg","text":"TemporaryFile(/tmp/multipartBody2307608471258294898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077472270,"filename":"image_05012025_12_42_02_900273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b12b11aa6181ee769c1a242a8f9b604.jpg","text":"TemporaryFile(/tmp/multipartBody1915895243487918591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077472270,"filename":"image_05012025_12_43_03_047853_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8e339fd992c09d2a75c614ea7a7fba70.jpg","text":"TemporaryFile(/tmp/multipartBody1325412401910982574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077472270,"filename":"image_05012025_12_43_03_047853_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/093cda8b048ed36ff7095f83e3dceb48.jpg","text":"TemporaryFile(/tmp/multipartBody1283047520753368608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077472270,"filename":"image_05012025_12_43_03_047853_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877467","file1":"1326877466","file0":"1326877464","file3":"1326877468"},"map_files_photo_id_array":[{"photo_id":"1326877467","filename":"file2"},{"photo_id":"1326877466","filename":"file1"},{"photo_id":"1326877464","filename":"file0"},{"photo_id":"1326877468","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877464":["hashtag1","hashtag2"]},{"1326877467":["hashtag1","hashtag2"]},{"1326877466":["hashtag1","hashtag2"]},{"1326877468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877464, 1326877467, 1326877466, 1326877468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.24706697463989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:44:22.190529
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/43/image_05012025_12_43_03_047853_0003.jpg', '/home/pi/Desktop/images/05012025/12/44/image_05012025_12_44_02_305659_0000.jpg', '/home/pi/Desktop/images/05012025/12/44/image_05012025_12_44_02_305659_0001.jpg', '/home/pi/Desktop/images/05012025/12/44/image_05012025_12_44_02_305659_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/12/43/image_05012025_12_43_03_047853_0003.jpg
/home/pi/Desktop/images/05012025/12/44/image_05012025_12_44_02_305659_0000.jpg
/home/pi/Desktop/images/05012025/12/44/image_05012025_12_44_02_305659_0001.jpg
/home/pi/Desktop/images/05012025/12/44/image_05012025_12_44_02_305659_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877485","1326877488","1326877487","1326877486"],"photo_ids_order":["1326877485","1326877486","1326877487","1326877488"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e293ce235fa6cb0a9795ef945c936d7b.jpg","text":"TemporaryFile(/tmp/multipartBody580700707138950080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077532633,"filename":"image_05012025_12_43_03_047853_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a59fdfdbaf73a7764ae0f34bc7dc9da5.jpg","text":"TemporaryFile(/tmp/multipartBody2861160848902756922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077532633,"filename":"image_05012025_12_44_02_305659_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/148f16f35730d1cd94f3f9558c0daf8d.jpg","text":"TemporaryFile(/tmp/multipartBody4170201548813875198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077532633,"filename":"image_05012025_12_44_02_305659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d4c32bad18d64990faccbd0afe850fda.jpg","text":"TemporaryFile(/tmp/multipartBody3935649512640124406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077532633,"filename":"image_05012025_12_44_02_305659_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877487","file1":"1326877486","file0":"1326877485","file3":"1326877488"},"map_files_photo_id_array":[{"photo_id":"1326877487","filename":"file2"},{"photo_id":"1326877486","filename":"file1"},{"photo_id":"1326877485","filename":"file0"},{"photo_id":"1326877488","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877485":["hashtag1","hashtag2"]},{"1326877488":["hashtag1","hashtag2"]},{"1326877487":["hashtag1","hashtag2"]},{"1326877486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877485, 1326877488, 1326877487, 1326877486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.69516587257385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:45:22.431517
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/44/image_05012025_12_44_02_305659_0003.jpg', '/home/pi/Desktop/images/05012025/12/45/image_05012025_12_45_02_604175_0000.jpg', '/home/pi/Desktop/images/05012025/12/45/image_05012025_12_45_02_604175_0001.jpg', '/home/pi/Desktop/images/05012025/12/45/image_05012025_12_45_02_604175_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/12/44/image_05012025_12_44_02_305659_0003.jpg
/home/pi/Desktop/images/05012025/12/45/image_05012025_12_45_02_604175_0000.jpg
/home/pi/Desktop/images/05012025/12/45/image_05012025_12_45_02_604175_0001.jpg
/home/pi/Desktop/images/05012025/12/45/image_05012025_12_45_02_604175_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.957446098327637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 12:45:42.417176
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/44/image_05012025_12_44_02_305659_0003.jpg', '/home/pi/Desktop/images/05012025/12/45/image_05012025_12_45_02_604175_0000.jpg', '/home/pi/Desktop/images/05012025/12/45/image_05012025_12_45_02_604175_0001.jpg', '/home/pi/Desktop/images/05012025/12/45/image_05012025_12_45_02_604175_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/12/44/image_05012025_12_44_02_305659_0003.jpg
/home/pi/Desktop/images/05012025/12/45/image_05012025_12_45_02_604175_0000.jpg
/home/pi/Desktop/images/05012025/12/45/image_05012025_12_45_02_604175_0001.jpg
/home/pi/Desktop/images/05012025/12/45/image_05012025_12_45_02_604175_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877512","1326877514","1326877516","1326877510"],"photo_ids_order":["1326877510","1326877512","1326877514","1326877516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b0d210b8ad4725c37ae0ed61dad667b3.jpg","text":"TemporaryFile(/tmp/multipartBody7833965127590563456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077612809,"filename":"image_05012025_12_45_02_604175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/283c329363546d32f6ea28aa4ec066cb.jpg","text":"TemporaryFile(/tmp/multipartBody3151943929114990879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077612809,"filename":"image_05012025_12_45_02_604175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9cae7d1dc5b3fdb964efe8fafa093afb.jpg","text":"TemporaryFile(/tmp/multipartBody8556098518753872553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077612809,"filename":"image_05012025_12_45_02_604175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/325f36d0420e7cbc8b959d3eace8ddd7.jpg","text":"TemporaryFile(/tmp/multipartBody8457496089061055396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077612809,"filename":"image_05012025_12_44_02_305659_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877514","file1":"1326877512","file0":"1326877510","file3":"1326877516"},"map_files_photo_id_array":[{"photo_id":"1326877514","filename":"file2"},{"photo_id":"1326877512","filename":"file1"},{"photo_id":"1326877510","filename":"file0"},{"photo_id":"1326877516","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877512":["hashtag1","hashtag2"]},{"1326877514":["hashtag1","hashtag2"]},{"1326877516":["hashtag1","hashtag2"]},{"1326877510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877512, 1326877514, 1326877516, 1326877510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.9492301940918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 12:46:32.521400
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/45/image_05012025_12_45_02_604175_0003.jpg', '/home/pi/Desktop/images/05012025/12/46/image_05012025_12_46_02_687217_0000.jpg', '/home/pi/Desktop/images/05012025/12/46/image_05012025_12_46_02_687217_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/12/45/image_05012025_12_45_02_604175_0003.jpg
/home/pi/Desktop/images/05012025/12/46/image_05012025_12_46_02_687217_0000.jpg
/home/pi/Desktop/images/05012025/12/46/image_05012025_12_46_02_687217_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":["1326877527","1326877526","1326877525"],"photo_ids_order":["1326877525","1326877526","1326877527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dc2bbfcf4d8e83f9d2ebcec5825a6c11.jpg","text":"TemporaryFile(/tmp/multipartBody3013113499141160469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077660331,"filename":"image_05012025_12_46_02_687217_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/73106995a2ab654d77ffb4ee3f0345b3.jpg","text":"TemporaryFile(/tmp/multipartBody2252600641597706915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077660331,"filename":"image_05012025_12_46_02_687217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88047d5291749c62ebc9e9f4801d9228.jpg","text":"TemporaryFile(/tmp/multipartBody865523536634920343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077660331,"filename":"image_05012025_12_45_02_604175_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877527","file1":"1326877526","file0":"1326877525"},"map_files_photo_id_array":[{"photo_id":"1326877527","filename":"file2"},{"photo_id":"1326877526","filename":"file1"},{"photo_id":"1326877525","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877527":["hashtag1","hashtag2"]},{"1326877526":["hashtag1","hashtag2"]},{"1326877525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877527, 1326877526, 1326877525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.50012946128845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:47:22.753911
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/46/image_05012025_12_46_02_687217_0002.jpg', '/home/pi/Desktop/images/05012025/12/47/image_05012025_12_47_02_861126_0000.jpg', '/home/pi/Desktop/images/05012025/12/47/image_05012025_12_47_02_861126_0001.jpg', '/home/pi/Desktop/images/05012025/12/47/image_05012025_12_47_02_861126_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/12/46/image_05012025_12_46_02_687217_0002.jpg
/home/pi/Desktop/images/05012025/12/47/image_05012025_12_47_02_861126_0000.jpg
/home/pi/Desktop/images/05012025/12/47/image_05012025_12_47_02_861126_0001.jpg
/home/pi/Desktop/images/05012025/12/47/image_05012025_12_47_02_861126_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877536","1326877535","1326877534","1326877537"],"photo_ids_order":["1326877534","1326877535","1326877536","1326877537"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/659a7bfadf58dc19e76a57fa038e97a9.jpg","text":"TemporaryFile(/tmp/multipartBody560943250872209401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077712995,"filename":"image_05012025_12_47_02_861126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/68898e15655dc9818bd4207d4df49d91.jpg","text":"TemporaryFile(/tmp/multipartBody6253700996641795738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077712995,"filename":"image_05012025_12_47_02_861126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/18bbb717a33e68109ef058af3b284acc.jpg","text":"TemporaryFile(/tmp/multipartBody528051896237091697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077712995,"filename":"image_05012025_12_46_02_687217_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11ead796590053e5c04d71bfe5d5315f.jpg","text":"TemporaryFile(/tmp/multipartBody3730877786272582014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077712995,"filename":"image_05012025_12_47_02_861126_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877536","file1":"1326877535","file0":"1326877534","file3":"1326877537"},"map_files_photo_id_array":[{"photo_id":"1326877536","filename":"file2"},{"photo_id":"1326877535","filename":"file1"},{"photo_id":"1326877534","filename":"file0"},{"photo_id":"1326877537","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877536":["hashtag1","hashtag2"]},{"1326877535":["hashtag1","hashtag2"]},{"1326877534":["hashtag1","hashtag2"]},{"1326877537":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877536, 1326877535, 1326877534, 1326877537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.96274137496948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:48:21.838757
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/47/image_05012025_12_47_02_861126_0003.jpg', '/home/pi/Desktop/images/05012025/12/48/image_05012025_12_48_03_116406_0000.jpg', '/home/pi/Desktop/images/05012025/12/48/image_05012025_12_48_03_116406_0001.jpg', '/home/pi/Desktop/images/05012025/12/48/image_05012025_12_48_03_116406_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/12/47/image_05012025_12_47_02_861126_0003.jpg
/home/pi/Desktop/images/05012025/12/48/image_05012025_12_48_03_116406_0000.jpg
/home/pi/Desktop/images/05012025/12/48/image_05012025_12_48_03_116406_0001.jpg
/home/pi/Desktop/images/05012025/12/48/image_05012025_12_48_03_116406_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877545","1326877548","1326877547","1326877549"],"photo_ids_order":["1326877545","1326877547","1326877548","1326877549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/26cac17d24b9ffe18a821dd6ce23ac58.jpg","text":"TemporaryFile(/tmp/multipartBody6265400838206257419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077772120,"filename":"image_05012025_12_47_02_861126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ef5685c0b7948c678446d6a5c1d0d1c0.jpg","text":"TemporaryFile(/tmp/multipartBody3892773042905624249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077772120,"filename":"image_05012025_12_48_03_116406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/95c8751ac13f4a7c74b943188fada2ea.jpg","text":"TemporaryFile(/tmp/multipartBody7085464103353035357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077772120,"filename":"image_05012025_12_48_03_116406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0861a2e712622220992357b8109cf4de.jpg","text":"TemporaryFile(/tmp/multipartBody5410641159336138856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077772120,"filename":"image_05012025_12_48_03_116406_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877548","file1":"1326877547","file0":"1326877545","file3":"1326877549"},"map_files_photo_id_array":[{"photo_id":"1326877548","filename":"file2"},{"photo_id":"1326877547","filename":"file1"},{"photo_id":"1326877545","filename":"file0"},{"photo_id":"1326877549","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877545":["hashtag1","hashtag2"]},{"1326877548":["hashtag1","hashtag2"]},{"1326877547":["hashtag1","hashtag2"]},{"1326877549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877545, 1326877548, 1326877547, 1326877549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.08400893211365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 12:49:02.747130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:49:22.113635
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/48/image_05012025_12_48_03_116406_0003.jpg', '/home/pi/Desktop/images/05012025/12/49/image_05012025_12_49_02_260285_0000.jpg', '/home/pi/Desktop/images/05012025/12/49/image_05012025_12_49_02_260285_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/12/48/image_05012025_12_48_03_116406_0003.jpg
/home/pi/Desktop/images/05012025/12/49/image_05012025_12_49_02_260285_0000.jpg
/home/pi/Desktop/images/05012025/12/49/image_05012025_12_49_02_260285_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":["1326877557","1326877560","1326877559"],"photo_ids_order":["1326877557","1326877559","1326877560"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/36d79a72accc672eac7b18c2589da37b.jpg","text":"TemporaryFile(/tmp/multipartBody278616162860735577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077829996,"filename":"image_05012025_12_48_03_116406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/289375abca22cfa03a463b87e6c37a2d.jpg","text":"TemporaryFile(/tmp/multipartBody505370365918264077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077829996,"filename":"image_05012025_12_49_02_260285_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f17675056aafb496648683739632af8.jpg","text":"TemporaryFile(/tmp/multipartBody3425322379429599250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077829996,"filename":"image_05012025_12_49_02_260285_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877560","file1":"1326877559","file0":"1326877557"},"map_files_photo_id_array":[{"photo_id":"1326877560","filename":"file2"},{"photo_id":"1326877559","filename":"file1"},{"photo_id":"1326877557","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877557":["hashtag1","hashtag2"]},{"1326877560":["hashtag1","hashtag2"]},{"1326877559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877557, 1326877560, 1326877559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.318214416503906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 12:50:02.603104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:50:22.219494
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/49/image_05012025_12_49_02_260285_0003.jpg', '/home/pi/Desktop/images/05012025/12/50/image_05012025_12_50_02_426905_0000.jpg', '/home/pi/Desktop/images/05012025/12/50/image_05012025_12_50_02_426905_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/12/49/image_05012025_12_49_02_260285_0003.jpg
/home/pi/Desktop/images/05012025/12/50/image_05012025_12_50_02_426905_0000.jpg
/home/pi/Desktop/images/05012025/12/50/image_05012025_12_50_02_426905_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.446869373321533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 12:50:32.155409
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/49/image_05012025_12_49_02_260285_0003.jpg', '/home/pi/Desktop/images/05012025/12/50/image_05012025_12_50_02_426905_0000.jpg', '/home/pi/Desktop/images/05012025/12/50/image_05012025_12_50_02_426905_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/12/49/image_05012025_12_49_02_260285_0003.jpg
/home/pi/Desktop/images/05012025/12/50/image_05012025_12_50_02_426905_0000.jpg
/home/pi/Desktop/images/05012025/12/50/image_05012025_12_50_02_426905_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":["1326877572","1326877571","1326877573"],"photo_ids_order":["1326877571","1326877572","1326877573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7e082b35f2154090c038b9c8b755b63d.jpg","text":"TemporaryFile(/tmp/multipartBody4912183416686166177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077900026,"filename":"image_05012025_12_50_02_426905_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9f14616c7d5e3592ebabe1128baf31c3.jpg","text":"TemporaryFile(/tmp/multipartBody555045579256681559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077900026,"filename":"image_05012025_12_49_02_260285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f072dd19e308da2fbc3b96ccec1a7728.jpg","text":"TemporaryFile(/tmp/multipartBody8128733567595882490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077900026,"filename":"image_05012025_12_50_02_426905_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877573","file1":"1326877572","file0":"1326877571"},"map_files_photo_id_array":[{"photo_id":"1326877573","filename":"file2"},{"photo_id":"1326877572","filename":"file1"},{"photo_id":"1326877571","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877572":["hashtag1","hashtag2"]},{"1326877571":["hashtag1","hashtag2"]},{"1326877573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877572, 1326877571, 1326877573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.815303564071655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:51:22.402724
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/50/image_05012025_12_50_02_426905_0003.jpg', '/home/pi/Desktop/images/05012025/12/51/image_05012025_12_51_02_546703_0000.jpg', '/home/pi/Desktop/images/05012025/12/51/image_05012025_12_51_02_546703_0001.jpg', '/home/pi/Desktop/images/05012025/12/51/image_05012025_12_51_02_546703_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/12/50/image_05012025_12_50_02_426905_0003.jpg
/home/pi/Desktop/images/05012025/12/51/image_05012025_12_51_02_546703_0000.jpg
/home/pi/Desktop/images/05012025/12/51/image_05012025_12_51_02_546703_0001.jpg
/home/pi/Desktop/images/05012025/12/51/image_05012025_12_51_02_546703_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877584","1326877580","1326877583","1326877582"],"photo_ids_order":["1326877580","1326877582","1326877583","1326877584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e81b491eef95657bf8d8caffc5db52fe.jpg","text":"TemporaryFile(/tmp/multipartBody1944210711165401654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077952648,"filename":"image_05012025_12_51_02_546703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d579c76c6980be92566d58f2bff0d7ee.jpg","text":"TemporaryFile(/tmp/multipartBody443634992442112145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077952648,"filename":"image_05012025_12_50_02_426905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/43ea03f69c1a30a416038be1511bb618.jpg","text":"TemporaryFile(/tmp/multipartBody6344688987708997571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077952648,"filename":"image_05012025_12_51_02_546703_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/91273371ac34b5744ff8b7bc03b1a2e3.jpg","text":"TemporaryFile(/tmp/multipartBody8824847585644004505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736077952648,"filename":"image_05012025_12_51_02_546703_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877583","file1":"1326877582","file0":"1326877580","file3":"1326877584"},"map_files_photo_id_array":[{"photo_id":"1326877583","filename":"file2"},{"photo_id":"1326877582","filename":"file1"},{"photo_id":"1326877580","filename":"file0"},{"photo_id":"1326877584","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877584":["hashtag1","hashtag2"]},{"1326877580":["hashtag1","hashtag2"]},{"1326877583":["hashtag1","hashtag2"]},{"1326877582":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877584, 1326877580, 1326877583, 1326877582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.33013105392456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 12:52:02.978079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:52:22.570422
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/51/image_05012025_12_51_02_546703_0003.jpg', '/home/pi/Desktop/images/05012025/12/52/image_05012025_12_52_02_803449_0000.jpg', '/home/pi/Desktop/images/05012025/12/52/image_05012025_12_52_02_803449_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/12/51/image_05012025_12_51_02_546703_0003.jpg
/home/pi/Desktop/images/05012025/12/52/image_05012025_12_52_02_803449_0000.jpg
/home/pi/Desktop/images/05012025/12/52/image_05012025_12_52_02_803449_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":["1326877591","1326877594","1326877593"],"photo_ids_order":["1326877591","1326877593","1326877594"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b12c910e1d9ca3d5155045b3f8b2e04d.jpg","text":"TemporaryFile(/tmp/multipartBody1403375343922997185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078010374,"filename":"image_05012025_12_51_02_546703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4048e2ec1f23316328ad4466dbfdfc79.jpg","text":"TemporaryFile(/tmp/multipartBody4797559408526993369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078010374,"filename":"image_05012025_12_52_02_803449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/63af10bfc947cf0b7b9f5d021a9f878f.jpg","text":"TemporaryFile(/tmp/multipartBody9175451753595297152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078010374,"filename":"image_05012025_12_52_02_803449_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877594","file1":"1326877593","file0":"1326877591"},"map_files_photo_id_array":[{"photo_id":"1326877594","filename":"file2"},{"photo_id":"1326877593","filename":"file1"},{"photo_id":"1326877591","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877591":["hashtag1","hashtag2"]},{"1326877594":["hashtag1","hashtag2"]},{"1326877593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877591, 1326877594, 1326877593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.389976501464844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 12:53:02.419757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:53:21.811659
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/52/image_05012025_12_52_02_803449_0002.jpg', '/home/pi/Desktop/images/05012025/12/53/image_05012025_12_53_02_939357_0000.jpg', '/home/pi/Desktop/images/05012025/12/53/image_05012025_12_53_02_939357_0001.jpg', '/home/pi/Desktop/images/05012025/12/53/image_05012025_12_53_02_939357_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/12/52/image_05012025_12_52_02_803449_0002.jpg
/home/pi/Desktop/images/05012025/12/53/image_05012025_12_53_02_939357_0000.jpg
/home/pi/Desktop/images/05012025/12/53/image_05012025_12_53_02_939357_0001.jpg
/home/pi/Desktop/images/05012025/12/53/image_05012025_12_53_02_939357_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877605","1326877604","1326877601","1326877603"],"photo_ids_order":["1326877601","1326877603","1326877604","1326877605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2524ea0f77034ef70d8a4b38707db087.jpg","text":"TemporaryFile(/tmp/multipartBody547825093332484272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078071990,"filename":"image_05012025_12_53_02_939357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/00fd9b00f5043ce194bd531d31babcbb.jpg","text":"TemporaryFile(/tmp/multipartBody2988927844188302792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078071990,"filename":"image_05012025_12_53_02_939357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/68a8f3fbb5311a4d25e876b44f9e9997.jpg","text":"TemporaryFile(/tmp/multipartBody8223302588136198338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078071990,"filename":"image_05012025_12_52_02_803449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7b42c06f9c0a0d195d218c9b08c4e0a0.jpg","text":"TemporaryFile(/tmp/multipartBody1434836199294820514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078071990,"filename":"image_05012025_12_53_02_939357_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877604","file1":"1326877603","file0":"1326877601","file3":"1326877605"},"map_files_photo_id_array":[{"photo_id":"1326877604","filename":"file2"},{"photo_id":"1326877603","filename":"file1"},{"photo_id":"1326877601","filename":"file0"},{"photo_id":"1326877605","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877605":["hashtag1","hashtag2"]},{"1326877604":["hashtag1","hashtag2"]},{"1326877601":["hashtag1","hashtag2"]},{"1326877603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877605, 1326877604, 1326877601, 1326877603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.923328161239624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:54:22.043436
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/53/image_05012025_12_53_02_939357_0003.jpg', '/home/pi/Desktop/images/05012025/12/54/image_05012025_12_54_02_134883_0001.jpg', '/home/pi/Desktop/images/05012025/12/54/image_05012025_12_54_02_134883_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/12/53/image_05012025_12_53_02_939357_0003.jpg
/home/pi/Desktop/images/05012025/12/54/image_05012025_12_54_02_134883_0001.jpg
/home/pi/Desktop/images/05012025/12/54/image_05012025_12_54_02_134883_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.461146354675293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 12:54:31.901135
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/53/image_05012025_12_53_02_939357_0003.jpg', '/home/pi/Desktop/images/05012025/12/54/image_05012025_12_54_02_134883_0001.jpg', '/home/pi/Desktop/images/05012025/12/54/image_05012025_12_54_02_134883_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/12/53/image_05012025_12_53_02_939357_0003.jpg
/home/pi/Desktop/images/05012025/12/54/image_05012025_12_54_02_134883_0001.jpg
/home/pi/Desktop/images/05012025/12/54/image_05012025_12_54_02_134883_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877617","1326877616","1326877615"],"photo_ids_order":["1326877615","1326877616","1326877617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f023351e3357661d4fd8f57a8737c0a8.jpg","text":"TemporaryFile(/tmp/multipartBody7130972447353704780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078139691,"filename":"image_05012025_12_54_02_134883_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f14ee910f37a6ff1ad6b142b4182794.jpg","text":"TemporaryFile(/tmp/multipartBody3178581986554875563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078139691,"filename":"image_05012025_12_54_02_134883_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f154a8262ea5362e51086083aaade6b3.jpg","text":"TemporaryFile(/tmp/multipartBody5640989292131144178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078139691,"filename":"image_05012025_12_53_02_939357_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877617","file1":"1326877616","file0":"1326877615"},"map_files_photo_id_array":[{"photo_id":"1326877617","filename":"file2"},{"photo_id":"1326877616","filename":"file1"},{"photo_id":"1326877615","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877617":["hashtag1","hashtag2"]},{"1326877616":["hashtag1","hashtag2"]},{"1326877615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877617, 1326877616, 1326877615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.95883655548096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:55:22.168435
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/54/image_05012025_12_54_02_134883_0003.jpg', '/home/pi/Desktop/images/05012025/12/55/image_05012025_12_55_02_335768_0000.jpg', '/home/pi/Desktop/images/05012025/12/55/image_05012025_12_55_02_335768_0001.jpg', '/home/pi/Desktop/images/05012025/12/55/image_05012025_12_55_02_335768_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/12/54/image_05012025_12_54_02_134883_0003.jpg
/home/pi/Desktop/images/05012025/12/55/image_05012025_12_55_02_335768_0000.jpg
/home/pi/Desktop/images/05012025/12/55/image_05012025_12_55_02_335768_0001.jpg
/home/pi/Desktop/images/05012025/12/55/image_05012025_12_55_02_335768_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326877797","1326877799","1326877795","1326877798"],"photo_ids_order":["1326877795","1326877797","1326877798","1326877799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4105f07dd589e66be43f4224c35e53f9.jpg","text":"TemporaryFile(/tmp/multipartBody3211458070393903613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078192410,"filename":"image_05012025_12_55_02_335768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f0e1a8c3745a300d3347b2de098cc229.jpg","text":"TemporaryFile(/tmp/multipartBody4630026168838881955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078192410,"filename":"image_05012025_12_55_02_335768_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/608bb168aaf7aa59b083143bca921111.jpg","text":"TemporaryFile(/tmp/multipartBody6830362688617374593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078192410,"filename":"image_05012025_12_54_02_134883_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/978cc773b2a85e05cab9758af705bf60.jpg","text":"TemporaryFile(/tmp/multipartBody7619107802373168341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078192410,"filename":"image_05012025_12_55_02_335768_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326877798","file1":"1326877797","file0":"1326877795","file3":"1326877799"},"map_files_photo_id_array":[{"photo_id":"1326877798","filename":"file2"},{"photo_id":"1326877797","filename":"file1"},{"photo_id":"1326877795","filename":"file0"},{"photo_id":"1326877799","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877797":["hashtag1","hashtag2"]},{"1326877799":["hashtag1","hashtag2"]},{"1326877795":["hashtag1","hashtag2"]},{"1326877798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877797, 1326877799, 1326877795, 1326877798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.158411264419556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 12:56:02.621286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:56:22.261740
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/55/image_05012025_12_55_02_335768_0003.jpg', '/home/pi/Desktop/images/05012025/12/56/image_05012025_12_56_02_445731_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/12/55/image_05012025_12_55_02_335768_0003.jpg
/home/pi/Desktop/images/05012025/12/56/image_05012025_12_56_02_445731_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":["1326877806","1326877804"],"photo_ids_order":["1326877804","1326877806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f4d44147ebd9a1ba5b72bc3b96c0131.jpg","text":"TemporaryFile(/tmp/multipartBody7662337300122267652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078247684,"filename":"image_05012025_12_56_02_445731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dafffefa1c741ab81560f42e9196eec2.jpg","text":"TemporaryFile(/tmp/multipartBody6657679962166489975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078247684,"filename":"image_05012025_12_55_02_335768_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326877806","file0":"1326877804"},"map_files_photo_id_array":[{"photo_id":"1326877806","filename":"file1"},{"photo_id":"1326877804","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326877806":["hashtag1","hashtag2"]},{"1326877804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326877806, 1326877804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.955904483795166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 12:56:52.255019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 12:57:02.940245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 12:57:22.492635
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/56/image_05012025_12_56_02_445731_0002.jpg', '/home/pi/Desktop/images/05012025/12/57/image_05012025_12_57_02_665976_0000.jpg', '/home/pi/Desktop/images/05012025/12/57/image_05012025_12_57_02_665976_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/12/56/image_05012025_12_56_02_445731_0002.jpg
/home/pi/Desktop/images/05012025/12/57/image_05012025_12_57_02_665976_0000.jpg
/home/pi/Desktop/images/05012025/12/57/image_05012025_12_57_02_665976_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":["1326878353","1326878362","1326878338"],"photo_ids_order":["1326878338","1326878353","1326878362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5543e0daec739f74e72e240e9fdb3e10.jpg","text":"TemporaryFile(/tmp/multipartBody8194206318117862247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078310303,"filename":"image_05012025_12_57_02_665976_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6bfa4796a0fd157429664078af30e919.jpg","text":"TemporaryFile(/tmp/multipartBody2370238829257725445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078310303,"filename":"image_05012025_12_57_02_665976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dbd2b32cc3c8e79ea236f2bcd5df2027.jpg","text":"TemporaryFile(/tmp/multipartBody872117768347751927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078310303,"filename":"image_05012025_12_56_02_445731_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878362","file1":"1326878353","file0":"1326878338"},"map_files_photo_id_array":[{"photo_id":"1326878362","filename":"file2"},{"photo_id":"1326878353","filename":"file1"},{"photo_id":"1326878338","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878353":["hashtag1","hashtag2"]},{"1326878362":["hashtag1","hashtag2"]},{"1326878338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878353, 1326878362, 1326878338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.821442365646362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 12:59:02.448424
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/57/image_05012025_12_57_02_665976_0002.jpg', '/home/pi/Desktop/images/05012025/12/58/image_05012025_12_58_02_911886_0000.jpg', '/home/pi/Desktop/images/05012025/12/58/image_05012025_12_58_02_911886_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/12/57/image_05012025_12_57_02_665976_0002.jpg
/home/pi/Desktop/images/05012025/12/58/image_05012025_12_58_02_911886_0000.jpg
/home/pi/Desktop/images/05012025/12/58/image_05012025_12_58_02_911886_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":["1326878502","1326878510","1326878506"],"photo_ids_order":["1326878502","1326878506","1326878510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/db3bc1cc9ba79837d7cb7c1a8322ba79.jpg","text":"TemporaryFile(/tmp/multipartBody9168785610552940236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078410440,"filename":"image_05012025_12_57_02_665976_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/217990ec1988f797b76a3c3a5f5e4c52.jpg","text":"TemporaryFile(/tmp/multipartBody7120248758416112718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078410440,"filename":"image_05012025_12_58_02_911886_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dbfe43c21e08af8fa0af801dfbd02c0c.jpg","text":"TemporaryFile(/tmp/multipartBody2208859076014591463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078410440,"filename":"image_05012025_12_58_02_911886_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878510","file1":"1326878506","file0":"1326878502"},"map_files_photo_id_array":[{"photo_id":"1326878510","filename":"file2"},{"photo_id":"1326878506","filename":"file1"},{"photo_id":"1326878502","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878502":["hashtag1","hashtag2"]},{"1326878510":["hashtag1","hashtag2"]},{"1326878506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878502, 1326878510, 1326878506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.804664611816406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 12:59:41.830444
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/58/image_05012025_12_58_02_911886_0003.jpg', '/home/pi/Desktop/images/05012025/12/59/image_05012025_12_59_03_022182_0000.jpg', '/home/pi/Desktop/images/05012025/12/59/image_05012025_12_59_03_022182_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/12/58/image_05012025_12_58_02_911886_0003.jpg
/home/pi/Desktop/images/05012025/12/59/image_05012025_12_59_03_022182_0000.jpg
/home/pi/Desktop/images/05012025/12/59/image_05012025_12_59_03_022182_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":["1326878522","1326878525","1326878527"],"photo_ids_order":["1326878522","1326878525","1326878527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/50f863acb96a1b2cc629c25e5397f3c8.jpg","text":"TemporaryFile(/tmp/multipartBody2621700120177445045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078449672,"filename":"image_05012025_12_58_02_911886_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/747c9732f3795fda99e995c649515bcb.jpg","text":"TemporaryFile(/tmp/multipartBody1225056321129396027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078449672,"filename":"image_05012025_12_59_03_022182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a6ecc5a90c636661addb27c420c44c3.jpg","text":"TemporaryFile(/tmp/multipartBody6281069716424641921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078449672,"filename":"image_05012025_12_59_03_022182_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878527","file1":"1326878525","file0":"1326878522"},"map_files_photo_id_array":[{"photo_id":"1326878527","filename":"file2"},{"photo_id":"1326878525","filename":"file1"},{"photo_id":"1326878522","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878522":["hashtag1","hashtag2"]},{"1326878525":["hashtag1","hashtag2"]},{"1326878527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878522, 1326878525, 1326878527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.81368803977966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:00:22.040140
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/12/59/image_05012025_12_59_03_022182_0003.jpg', '/home/pi/Desktop/images/05012025/13/00/image_05012025_13_00_02_215703_0001.jpg', '/home/pi/Desktop/images/05012025/13/00/image_05012025_13_00_02_215703_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/12/59/image_05012025_12_59_03_022182_0003.jpg
/home/pi/Desktop/images/05012025/13/00/image_05012025_13_00_02_215703_0001.jpg
/home/pi/Desktop/images/05012025/13/00/image_05012025_13_00_02_215703_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878549","1326878540","1326878545"],"photo_ids_order":["1326878540","1326878545","1326878549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/46793af645ee465f31616632f7f79dee.jpg","text":"TemporaryFile(/tmp/multipartBody3142968886997396493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078489828,"filename":"image_05012025_13_00_02_215703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8870f11356ed6710e1dd1d7b80fea77e.jpg","text":"TemporaryFile(/tmp/multipartBody478632383382634637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078489828,"filename":"image_05012025_12_59_03_022182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02aa4c92fdd92ab8d8107c5ca16a85f5.jpg","text":"TemporaryFile(/tmp/multipartBody7124732750215819606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078489828,"filename":"image_05012025_13_00_02_215703_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878549","file1":"1326878545","file0":"1326878540"},"map_files_photo_id_array":[{"photo_id":"1326878549","filename":"file2"},{"photo_id":"1326878545","filename":"file1"},{"photo_id":"1326878540","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878549":["hashtag1","hashtag2"]},{"1326878540":["hashtag1","hashtag2"]},{"1326878545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878549, 1326878540, 1326878545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.33526277542114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 13:01:02.798311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:01:22.259474
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/00/image_05012025_13_00_02_215703_0003.jpg', '/home/pi/Desktop/images/05012025/13/01/image_05012025_13_01_02_362185_0000.jpg', '/home/pi/Desktop/images/05012025/13/01/image_05012025_13_01_02_362185_0001.jpg', '/home/pi/Desktop/images/05012025/13/01/image_05012025_13_01_02_362185_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/13/00/image_05012025_13_00_02_215703_0003.jpg
/home/pi/Desktop/images/05012025/13/01/image_05012025_13_01_02_362185_0000.jpg
/home/pi/Desktop/images/05012025/13/01/image_05012025_13_01_02_362185_0001.jpg
/home/pi/Desktop/images/05012025/13/01/image_05012025_13_01_02_362185_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878573","1326878576","1326878580","1326878577"],"photo_ids_order":["1326878573","1326878576","1326878577","1326878580"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f1a3d8185d487dd578680be52b6b0eed.jpg","text":"TemporaryFile(/tmp/multipartBody7349687595389552405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078552536,"filename":"image_05012025_13_00_02_215703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad3e9cc8e2ff8dfb8a1a697b14f284a0.jpg","text":"TemporaryFile(/tmp/multipartBody1555638796644158161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078552536,"filename":"image_05012025_13_01_02_362185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fef295921da792c62d4de2c12cd007b5.jpg","text":"TemporaryFile(/tmp/multipartBody2696765303160598648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078552536,"filename":"image_05012025_13_01_02_362185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b044982a648e7d08ab84bd4b29301d5e.jpg","text":"TemporaryFile(/tmp/multipartBody6630874742136755606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078552536,"filename":"image_05012025_13_01_02_362185_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878577","file1":"1326878576","file0":"1326878573","file3":"1326878580"},"map_files_photo_id_array":[{"photo_id":"1326878577","filename":"file2"},{"photo_id":"1326878576","filename":"file1"},{"photo_id":"1326878573","filename":"file0"},{"photo_id":"1326878580","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878573":["hashtag1","hashtag2"]},{"1326878576":["hashtag1","hashtag2"]},{"1326878580":["hashtag1","hashtag2"]},{"1326878577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878573, 1326878576, 1326878580, 1326878577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.96424460411072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:02:22.421026
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/01/image_05012025_13_01_02_362185_0003.jpg', '/home/pi/Desktop/images/05012025/13/02/image_05012025_13_02_02_597910_0000.jpg', '/home/pi/Desktop/images/05012025/13/02/image_05012025_13_02_02_597910_0001.jpg', '/home/pi/Desktop/images/05012025/13/02/image_05012025_13_02_02_597910_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/13/01/image_05012025_13_01_02_362185_0003.jpg
/home/pi/Desktop/images/05012025/13/02/image_05012025_13_02_02_597910_0000.jpg
/home/pi/Desktop/images/05012025/13/02/image_05012025_13_02_02_597910_0001.jpg
/home/pi/Desktop/images/05012025/13/02/image_05012025_13_02_02_597910_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878609","1326878603","1326878606","1326878605"],"photo_ids_order":["1326878603","1326878605","1326878606","1326878609"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0f8a126f7f2aa6e73446ae91f22246e9.jpg","text":"TemporaryFile(/tmp/multipartBody2913639079730847377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078612497,"filename":"image_05012025_13_02_02_597910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b50005ec760a007c23b15dc4e5a23daf.jpg","text":"TemporaryFile(/tmp/multipartBody1913447252879040127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078612497,"filename":"image_05012025_13_01_02_362185_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c09b1926177321988655d11de3dbf870.jpg","text":"TemporaryFile(/tmp/multipartBody7233780834120294783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078612497,"filename":"image_05012025_13_02_02_597910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4cf72e859f6c3bb650a893dde2be15a1.jpg","text":"TemporaryFile(/tmp/multipartBody5248452877253521189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078612497,"filename":"image_05012025_13_02_02_597910_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878606","file1":"1326878605","file0":"1326878603","file3":"1326878609"},"map_files_photo_id_array":[{"photo_id":"1326878606","filename":"file2"},{"photo_id":"1326878605","filename":"file1"},{"photo_id":"1326878603","filename":"file0"},{"photo_id":"1326878609","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878609":["hashtag1","hashtag2"]},{"1326878603":["hashtag1","hashtag2"]},{"1326878606":["hashtag1","hashtag2"]},{"1326878605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878609, 1326878603, 1326878606, 1326878605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.04756999015808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:03:22.562679
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/02/image_05012025_13_02_02_597910_0003.jpg', '/home/pi/Desktop/images/05012025/13/03/image_05012025_13_03_02_728064_0000.jpg', '/home/pi/Desktop/images/05012025/13/03/image_05012025_13_03_02_728064_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/13/02/image_05012025_13_02_02_597910_0003.jpg
/home/pi/Desktop/images/05012025/13/03/image_05012025_13_03_02_728064_0000.jpg
/home/pi/Desktop/images/05012025/13/03/image_05012025_13_03_02_728064_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":["1326878629","1326878634","1326878637"],"photo_ids_order":["1326878629","1326878634","1326878637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6ac873058b6764ef7ac39d04ca3e018c.jpg","text":"TemporaryFile(/tmp/multipartBody2417159070928325815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078670228,"filename":"image_05012025_13_02_02_597910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a46d08c6cd8cb93a83e2b3f24772bb49.jpg","text":"TemporaryFile(/tmp/multipartBody8914790234861224462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078670228,"filename":"image_05012025_13_03_02_728064_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/84c91fa45d0f6eb4bda655071abc4206.jpg","text":"TemporaryFile(/tmp/multipartBody5178189315878627358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078670228,"filename":"image_05012025_13_03_02_728064_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878637","file1":"1326878634","file0":"1326878629"},"map_files_photo_id_array":[{"photo_id":"1326878637","filename":"file2"},{"photo_id":"1326878634","filename":"file1"},{"photo_id":"1326878629","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878629":["hashtag1","hashtag2"]},{"1326878634":["hashtag1","hashtag2"]},{"1326878637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878629, 1326878634, 1326878637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.61668562889099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 13:04:03.225394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:04:22.751044
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/03/image_05012025_13_03_02_728064_0002.jpg', '/home/pi/Desktop/images/05012025/13/04/image_05012025_13_04_02_875344_0000.jpg', '/home/pi/Desktop/images/05012025/13/04/image_05012025_13_04_02_875344_0001.jpg', '/home/pi/Desktop/images/05012025/13/04/image_05012025_13_04_02_875344_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/13/03/image_05012025_13_03_02_728064_0002.jpg
/home/pi/Desktop/images/05012025/13/04/image_05012025_13_04_02_875344_0000.jpg
/home/pi/Desktop/images/05012025/13/04/image_05012025_13_04_02_875344_0001.jpg
/home/pi/Desktop/images/05012025/13/04/image_05012025_13_04_02_875344_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.594877481460571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 13:04:42.763298
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/03/image_05012025_13_03_02_728064_0002.jpg', '/home/pi/Desktop/images/05012025/13/04/image_05012025_13_04_02_875344_0000.jpg', '/home/pi/Desktop/images/05012025/13/04/image_05012025_13_04_02_875344_0001.jpg', '/home/pi/Desktop/images/05012025/13/04/image_05012025_13_04_02_875344_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/13/03/image_05012025_13_03_02_728064_0002.jpg
/home/pi/Desktop/images/05012025/13/04/image_05012025_13_04_02_875344_0000.jpg
/home/pi/Desktop/images/05012025/13/04/image_05012025_13_04_02_875344_0001.jpg
/home/pi/Desktop/images/05012025/13/04/image_05012025_13_04_02_875344_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":["1326878666","1326878668","1326878665","1326878664"],"photo_ids_order":["1326878664","1326878665","1326878666","1326878668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/46e17295451c9da2b8d45af30d695020.jpg","text":"TemporaryFile(/tmp/multipartBody7349515034856328872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078752761,"filename":"image_05012025_13_04_02_875344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fa1149996e0e8b35abb73f137401e400.jpg","text":"TemporaryFile(/tmp/multipartBody7688320530503427274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078752761,"filename":"image_05012025_13_04_02_875344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cca04aeb4a4fe318cfbf36e24b69bde1.jpg","text":"TemporaryFile(/tmp/multipartBody5266733186546197092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078752761,"filename":"image_05012025_13_04_02_875344_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b06aab9ed714fc497277fd7906bd7e67.jpg","text":"TemporaryFile(/tmp/multipartBody4274314467429949113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078752761,"filename":"image_05012025_13_03_02_728064_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878666","file1":"1326878665","file0":"1326878664","file3":"1326878668"},"map_files_photo_id_array":[{"photo_id":"1326878666","filename":"file2"},{"photo_id":"1326878665","filename":"file1"},{"photo_id":"1326878664","filename":"file0"},{"photo_id":"1326878668","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878666":["hashtag1","hashtag2"]},{"1326878668":["hashtag1","hashtag2"]},{"1326878665":["hashtag1","hashtag2"]},{"1326878664":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878666, 1326878668, 1326878665, 1326878664)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 38.66897201538086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 13:05:31.890639
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/04/image_05012025_13_04_02_875344_0003.jpg', '/home/pi/Desktop/images/05012025/13/05/image_05012025_13_05_03_079451_0000.jpg', '/home/pi/Desktop/images/05012025/13/05/image_05012025_13_05_03_079451_0001.jpg', '/home/pi/Desktop/images/05012025/13/05/image_05012025_13_05_03_079451_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/13/04/image_05012025_13_04_02_875344_0003.jpg
/home/pi/Desktop/images/05012025/13/05/image_05012025_13_05_03_079451_0000.jpg
/home/pi/Desktop/images/05012025/13/05/image_05012025_13_05_03_079451_0001.jpg
/home/pi/Desktop/images/05012025/13/05/image_05012025_13_05_03_079451_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878681","1326878680","1326878679","1326878682"],"photo_ids_order":["1326878679","1326878680","1326878681","1326878682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9466ff2e6a98be25aa141037cdee1dda.jpg","text":"TemporaryFile(/tmp/multipartBody7302002530808952462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078802062,"filename":"image_05012025_13_05_03_079451_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/610cba41515cad3d1fe654e8514f6afc.jpg","text":"TemporaryFile(/tmp/multipartBody2423266786899157940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078802062,"filename":"image_05012025_13_05_03_079451_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7593fcbc16479d85ee3cbc64843a1d6c.jpg","text":"TemporaryFile(/tmp/multipartBody7462737498080291278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078802062,"filename":"image_05012025_13_04_02_875344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d7640cc26c024876376db2a7d33cfbed.jpg","text":"TemporaryFile(/tmp/multipartBody7095121761083591747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078802062,"filename":"image_05012025_13_05_03_079451_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878681","file1":"1326878680","file0":"1326878679","file3":"1326878682"},"map_files_photo_id_array":[{"photo_id":"1326878681","filename":"file2"},{"photo_id":"1326878680","filename":"file1"},{"photo_id":"1326878679","filename":"file0"},{"photo_id":"1326878682","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878681":["hashtag1","hashtag2"]},{"1326878680":["hashtag1","hashtag2"]},{"1326878679":["hashtag1","hashtag2"]},{"1326878682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878681, 1326878680, 1326878679, 1326878682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.01004481315613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:06:22.105033
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/05/image_05012025_13_05_03_079451_0003.jpg', '/home/pi/Desktop/images/05012025/13/06/image_05012025_13_06_02_270970_0000.jpg', '/home/pi/Desktop/images/05012025/13/06/image_05012025_13_06_02_270970_0001.jpg', '/home/pi/Desktop/images/05012025/13/06/image_05012025_13_06_02_270970_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/13/05/image_05012025_13_05_03_079451_0003.jpg
/home/pi/Desktop/images/05012025/13/06/image_05012025_13_06_02_270970_0000.jpg
/home/pi/Desktop/images/05012025/13/06/image_05012025_13_06_02_270970_0001.jpg
/home/pi/Desktop/images/05012025/13/06/image_05012025_13_06_02_270970_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878696","1326878693","1326878692","1326878691"],"photo_ids_order":["1326878691","1326878692","1326878693","1326878696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fb1e1e3034767c74d047f557b00d36b7.jpg","text":"TemporaryFile(/tmp/multipartBody615186046914141766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078852636,"filename":"image_05012025_13_06_02_270970_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ebba4b4175c288b66324c332c540187.jpg","text":"TemporaryFile(/tmp/multipartBody1736029925561479555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078852636,"filename":"image_05012025_13_06_02_270970_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/69bdeaae280fc57c625e58208eac0970.jpg","text":"TemporaryFile(/tmp/multipartBody2244530318956725787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078852636,"filename":"image_05012025_13_06_02_270970_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6bec36fd7063a428b676f625b1f22b75.jpg","text":"TemporaryFile(/tmp/multipartBody2872077282772965293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078852636,"filename":"image_05012025_13_05_03_079451_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878693","file1":"1326878692","file0":"1326878691","file3":"1326878696"},"map_files_photo_id_array":[{"photo_id":"1326878693","filename":"file2"},{"photo_id":"1326878692","filename":"file1"},{"photo_id":"1326878691","filename":"file0"},{"photo_id":"1326878696","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878696":["hashtag1","hashtag2"]},{"1326878693":["hashtag1","hashtag2"]},{"1326878692":["hashtag1","hashtag2"]},{"1326878691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878696, 1326878693, 1326878692, 1326878691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.01418590545654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:07:22.267168
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/06/image_05012025_13_06_02_270970_0003.jpg', '/home/pi/Desktop/images/05012025/13/07/image_05012025_13_07_02_454408_0000.jpg', '/home/pi/Desktop/images/05012025/13/07/image_05012025_13_07_02_454408_0001.jpg', '/home/pi/Desktop/images/05012025/13/07/image_05012025_13_07_02_454408_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/13/06/image_05012025_13_06_02_270970_0003.jpg
/home/pi/Desktop/images/05012025/13/07/image_05012025_13_07_02_454408_0000.jpg
/home/pi/Desktop/images/05012025/13/07/image_05012025_13_07_02_454408_0001.jpg
/home/pi/Desktop/images/05012025/13/07/image_05012025_13_07_02_454408_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878709","1326878705","1326878707","1326878704"],"photo_ids_order":["1326878704","1326878705","1326878707","1326878709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/df8721bd456de619b9f3535205a16b53.jpg","text":"TemporaryFile(/tmp/multipartBody2215131770341324633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078912497,"filename":"image_05012025_13_07_02_454408_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f542d05fee36f13a005e968ba8659bb.jpg","text":"TemporaryFile(/tmp/multipartBody2710387460896057572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078912497,"filename":"image_05012025_13_07_02_454408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f2085cd92cca31b1eab8ddd3746c67d6.jpg","text":"TemporaryFile(/tmp/multipartBody8627160935029421557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078912497,"filename":"image_05012025_13_07_02_454408_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/511faec2d8cee0379481de3135272a7f.jpg","text":"TemporaryFile(/tmp/multipartBody307019312364244932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078912497,"filename":"image_05012025_13_06_02_270970_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878707","file1":"1326878705","file0":"1326878704","file3":"1326878709"},"map_files_photo_id_array":[{"photo_id":"1326878707","filename":"file2"},{"photo_id":"1326878705","filename":"file1"},{"photo_id":"1326878704","filename":"file0"},{"photo_id":"1326878709","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878709":["hashtag1","hashtag2"]},{"1326878705":["hashtag1","hashtag2"]},{"1326878707":["hashtag1","hashtag2"]},{"1326878704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878709, 1326878705, 1326878707, 1326878704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.002636432647705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:08:22.538742
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/07/image_05012025_13_07_02_454408_0003.jpg', '/home/pi/Desktop/images/05012025/13/08/image_05012025_13_08_02_606108_0000.jpg', '/home/pi/Desktop/images/05012025/13/08/image_05012025_13_08_02_606108_0001.jpg', '/home/pi/Desktop/images/05012025/13/08/image_05012025_13_08_02_606108_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/13/07/image_05012025_13_07_02_454408_0003.jpg
/home/pi/Desktop/images/05012025/13/08/image_05012025_13_08_02_606108_0000.jpg
/home/pi/Desktop/images/05012025/13/08/image_05012025_13_08_02_606108_0001.jpg
/home/pi/Desktop/images/05012025/13/08/image_05012025_13_08_02_606108_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878717","1326878719","1326878716","1326878721"],"photo_ids_order":["1326878716","1326878717","1326878719","1326878721"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9b9cc1f66b9c60976482a46b01fc7e0.jpg","text":"TemporaryFile(/tmp/multipartBody4467241167019052557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078972895,"filename":"image_05012025_13_08_02_606108_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c4c1425eef41255b917146dbc1f6989e.jpg","text":"TemporaryFile(/tmp/multipartBody903053704032472371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078972895,"filename":"image_05012025_13_08_02_606108_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f0a8e9ea012b5483759fe37c99651ae7.jpg","text":"TemporaryFile(/tmp/multipartBody4711327617122710550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078972895,"filename":"image_05012025_13_07_02_454408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b78330103df25b8a43eb5aa315dbc752.jpg","text":"TemporaryFile(/tmp/multipartBody3436302807527179437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736078972895,"filename":"image_05012025_13_08_02_606108_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878719","file1":"1326878717","file0":"1326878716","file3":"1326878721"},"map_files_photo_id_array":[{"photo_id":"1326878719","filename":"file2"},{"photo_id":"1326878717","filename":"file1"},{"photo_id":"1326878716","filename":"file0"},{"photo_id":"1326878721","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878717":["hashtag1","hashtag2"]},{"1326878719":["hashtag1","hashtag2"]},{"1326878716":["hashtag1","hashtag2"]},{"1326878721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878717, 1326878719, 1326878716, 1326878721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.753236532211304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:09:22.680157
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/08/image_05012025_13_08_02_606108_0003.jpg', '/home/pi/Desktop/images/05012025/13/09/image_05012025_13_09_02_857876_0000.jpg', '/home/pi/Desktop/images/05012025/13/09/image_05012025_13_09_02_857876_0001.jpg', '/home/pi/Desktop/images/05012025/13/09/image_05012025_13_09_02_857876_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/13/08/image_05012025_13_08_02_606108_0003.jpg
/home/pi/Desktop/images/05012025/13/09/image_05012025_13_09_02_857876_0000.jpg
/home/pi/Desktop/images/05012025/13/09/image_05012025_13_09_02_857876_0001.jpg
/home/pi/Desktop/images/05012025/13/09/image_05012025_13_09_02_857876_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878735","1326878731","1326878734","1326878733"],"photo_ids_order":["1326878731","1326878733","1326878734","1326878735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/53c989529e777a623cb540385ab7ed36.jpg","text":"TemporaryFile(/tmp/multipartBody3990149395941601176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079033028,"filename":"image_05012025_13_09_02_857876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d51a4d95115f5cc0f79e80185975c5fa.jpg","text":"TemporaryFile(/tmp/multipartBody3466279317010198280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079033028,"filename":"image_05012025_13_08_02_606108_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ae010452b9cf3f03a236978896bac9c3.jpg","text":"TemporaryFile(/tmp/multipartBody3447781948433197852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079033028,"filename":"image_05012025_13_09_02_857876_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/911475bb1a6dddf36e9a251a2b127345.jpg","text":"TemporaryFile(/tmp/multipartBody7239391037019907242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079033028,"filename":"image_05012025_13_09_02_857876_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878734","file1":"1326878733","file0":"1326878731","file3":"1326878735"},"map_files_photo_id_array":[{"photo_id":"1326878734","filename":"file2"},{"photo_id":"1326878733","filename":"file1"},{"photo_id":"1326878731","filename":"file0"},{"photo_id":"1326878735","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878735":["hashtag1","hashtag2"]},{"1326878731":["hashtag1","hashtag2"]},{"1326878734":["hashtag1","hashtag2"]},{"1326878733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878735, 1326878731, 1326878734, 1326878733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.13792061805725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:10:21.907087
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/09/image_05012025_13_09_02_857876_0003.jpg', '/home/pi/Desktop/images/05012025/13/10/image_05012025_13_10_02_999345_0000.jpg', '/home/pi/Desktop/images/05012025/13/10/image_05012025_13_10_02_999345_0001.jpg', '/home/pi/Desktop/images/05012025/13/10/image_05012025_13_10_02_999345_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/13/09/image_05012025_13_09_02_857876_0003.jpg
/home/pi/Desktop/images/05012025/13/10/image_05012025_13_10_02_999345_0000.jpg
/home/pi/Desktop/images/05012025/13/10/image_05012025_13_10_02_999345_0001.jpg
/home/pi/Desktop/images/05012025/13/10/image_05012025_13_10_02_999345_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878745","1326878747","1326878743","1326878746"],"photo_ids_order":["1326878743","1326878745","1326878746","1326878747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c7b88b33da7e0a74ae115966fee202ab.jpg","text":"TemporaryFile(/tmp/multipartBody8026183973714787845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079092401,"filename":"image_05012025_13_10_02_999345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1bedb045aa183bcc576b59f1f47031e3.jpg","text":"TemporaryFile(/tmp/multipartBody4031073840575901238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079092401,"filename":"image_05012025_13_10_02_999345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/40af9d4c570d1d2a24e0363d624eeae6.jpg","text":"TemporaryFile(/tmp/multipartBody6126920906251861850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079092401,"filename":"image_05012025_13_09_02_857876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a9440dcb9020f656d18742b0c8264e73.jpg","text":"TemporaryFile(/tmp/multipartBody2928143226428861298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079092401,"filename":"image_05012025_13_10_02_999345_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878746","file1":"1326878745","file0":"1326878743","file3":"1326878747"},"map_files_photo_id_array":[{"photo_id":"1326878746","filename":"file2"},{"photo_id":"1326878745","filename":"file1"},{"photo_id":"1326878743","filename":"file0"},{"photo_id":"1326878747","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878745":["hashtag1","hashtag2"]},{"1326878747":["hashtag1","hashtag2"]},{"1326878743":["hashtag1","hashtag2"]},{"1326878746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878745, 1326878747, 1326878743, 1326878746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.351311683654785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:11:22.156411
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/10/image_05012025_13_10_02_999345_0003.jpg', '/home/pi/Desktop/images/05012025/13/11/image_05012025_13_11_02_244763_0000.jpg', '/home/pi/Desktop/images/05012025/13/11/image_05012025_13_11_02_244763_0001.jpg', '/home/pi/Desktop/images/05012025/13/11/image_05012025_13_11_02_244763_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/13/10/image_05012025_13_10_02_999345_0003.jpg
/home/pi/Desktop/images/05012025/13/11/image_05012025_13_11_02_244763_0000.jpg
/home/pi/Desktop/images/05012025/13/11/image_05012025_13_11_02_244763_0001.jpg
/home/pi/Desktop/images/05012025/13/11/image_05012025_13_11_02_244763_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878759","1326878758","1326878760","1326878757"],"photo_ids_order":["1326878757","1326878758","1326878759","1326878760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/356607e4ca81c300357890ae22e11b07.jpg","text":"TemporaryFile(/tmp/multipartBody6123290023696749375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079152557,"filename":"image_05012025_13_11_02_244763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ac3a649be5c22332d11d2d539bca733e.jpg","text":"TemporaryFile(/tmp/multipartBody2278897615819961132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079152557,"filename":"image_05012025_13_11_02_244763_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6ccc95937c0837e12935022e422a4867.jpg","text":"TemporaryFile(/tmp/multipartBody6992446302607091971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079152557,"filename":"image_05012025_13_11_02_244763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8b66531a3011dc65d1ea8e32ef8baa3f.jpg","text":"TemporaryFile(/tmp/multipartBody7967837068334904894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079152557,"filename":"image_05012025_13_10_02_999345_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878759","file1":"1326878758","file0":"1326878757","file3":"1326878760"},"map_files_photo_id_array":[{"photo_id":"1326878759","filename":"file2"},{"photo_id":"1326878758","filename":"file1"},{"photo_id":"1326878757","filename":"file0"},{"photo_id":"1326878760","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878759":["hashtag1","hashtag2"]},{"1326878758":["hashtag1","hashtag2"]},{"1326878760":["hashtag1","hashtag2"]},{"1326878757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878759, 1326878758, 1326878760, 1326878757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.10162615776062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:12:22.310484
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/11/image_05012025_13_11_02_244763_0003.jpg', '/home/pi/Desktop/images/05012025/13/12/image_05012025_13_12_02_369698_0000.jpg', '/home/pi/Desktop/images/05012025/13/12/image_05012025_13_12_02_369698_0001.jpg', '/home/pi/Desktop/images/05012025/13/12/image_05012025_13_12_02_369698_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/13/11/image_05012025_13_11_02_244763_0003.jpg
/home/pi/Desktop/images/05012025/13/12/image_05012025_13_12_02_369698_0000.jpg
/home/pi/Desktop/images/05012025/13/12/image_05012025_13_12_02_369698_0001.jpg
/home/pi/Desktop/images/05012025/13/12/image_05012025_13_12_02_369698_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878771","1326878768","1326878773","1326878772"],"photo_ids_order":["1326878768","1326878771","1326878772","1326878773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb2d070f8f2e2e17a4b96f999ca1bc25.jpg","text":"TemporaryFile(/tmp/multipartBody3858260902422505841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079212695,"filename":"image_05012025_13_12_02_369698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eff14d8f2121fcc3f04364b7fef127a3.jpg","text":"TemporaryFile(/tmp/multipartBody3888482642188284195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079212695,"filename":"image_05012025_13_11_02_244763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b534bff227dacae9047b1f321359893.jpg","text":"TemporaryFile(/tmp/multipartBody7462188545112797271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079212695,"filename":"image_05012025_13_12_02_369698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/26a31e52996ec618badda3ef21eacb3e.jpg","text":"TemporaryFile(/tmp/multipartBody4727970159185672472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079212695,"filename":"image_05012025_13_12_02_369698_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878772","file1":"1326878771","file0":"1326878768","file3":"1326878773"},"map_files_photo_id_array":[{"photo_id":"1326878772","filename":"file2"},{"photo_id":"1326878771","filename":"file1"},{"photo_id":"1326878768","filename":"file0"},{"photo_id":"1326878773","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878771":["hashtag1","hashtag2"]},{"1326878768":["hashtag1","hashtag2"]},{"1326878773":["hashtag1","hashtag2"]},{"1326878772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878771, 1326878768, 1326878773, 1326878772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.85254693031311 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 13:13:02.973860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:13:22.430972
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/12/image_05012025_13_12_02_369698_0003.jpg', '/home/pi/Desktop/images/05012025/13/13/image_05012025_13_13_02_564985_0000.jpg', '/home/pi/Desktop/images/05012025/13/13/image_05012025_13_13_02_564985_0001.jpg', '/home/pi/Desktop/images/05012025/13/13/image_05012025_13_13_02_564985_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/13/12/image_05012025_13_12_02_369698_0003.jpg
/home/pi/Desktop/images/05012025/13/13/image_05012025_13_13_02_564985_0000.jpg
/home/pi/Desktop/images/05012025/13/13/image_05012025_13_13_02_564985_0001.jpg
/home/pi/Desktop/images/05012025/13/13/image_05012025_13_13_02_564985_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878783","1326878785","1326878784","1326878781"],"photo_ids_order":["1326878781","1326878783","1326878784","1326878785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9088ec37da1032dd00aa45d20a3e5e46.jpg","text":"TemporaryFile(/tmp/multipartBody8960129487032261592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079272851,"filename":"image_05012025_13_13_02_564985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/998c593d22ce93adf56601d72d331a2d.jpg","text":"TemporaryFile(/tmp/multipartBody4390396208718141780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079272851,"filename":"image_05012025_13_13_02_564985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6f540bcbfc74afccfbd71a2a9c5aaad2.jpg","text":"TemporaryFile(/tmp/multipartBody4210644028104782146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079272851,"filename":"image_05012025_13_13_02_564985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dbc6f05da2a372db3941d53ed3c5a32c.jpg","text":"TemporaryFile(/tmp/multipartBody1765125315786043987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079272851,"filename":"image_05012025_13_12_02_369698_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878784","file1":"1326878783","file0":"1326878781","file3":"1326878785"},"map_files_photo_id_array":[{"photo_id":"1326878784","filename":"file2"},{"photo_id":"1326878783","filename":"file1"},{"photo_id":"1326878781","filename":"file0"},{"photo_id":"1326878785","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878783":["hashtag1","hashtag2"]},{"1326878785":["hashtag1","hashtag2"]},{"1326878784":["hashtag1","hashtag2"]},{"1326878781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878783, 1326878785, 1326878784, 1326878781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.434016704559326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:14:22.704649
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/13/image_05012025_13_13_02_564985_0003.jpg', '/home/pi/Desktop/images/05012025/13/14/image_05012025_13_14_02_857645_0000.jpg', '/home/pi/Desktop/images/05012025/13/14/image_05012025_13_14_02_857645_0001.jpg', '/home/pi/Desktop/images/05012025/13/14/image_05012025_13_14_02_857645_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/13/13/image_05012025_13_13_02_564985_0003.jpg
/home/pi/Desktop/images/05012025/13/14/image_05012025_13_14_02_857645_0000.jpg
/home/pi/Desktop/images/05012025/13/14/image_05012025_13_14_02_857645_0001.jpg
/home/pi/Desktop/images/05012025/13/14/image_05012025_13_14_02_857645_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878802","1326878801","1326878803","1326878799"],"photo_ids_order":["1326878799","1326878801","1326878802","1326878803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/becaaca1cbeba0a16acd419fa7c0b5de.jpg","text":"TemporaryFile(/tmp/multipartBody5267322551863927682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079333004,"filename":"image_05012025_13_14_02_857645_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/733f64407c497f84d01eb2135dda0578.jpg","text":"TemporaryFile(/tmp/multipartBody294979920333208180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079333004,"filename":"image_05012025_13_14_02_857645_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb86f964601e701f1958931983dd6647.jpg","text":"TemporaryFile(/tmp/multipartBody474077885154873222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079333004,"filename":"image_05012025_13_14_02_857645_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f1e784640935a8b1a48ab3219988d143.jpg","text":"TemporaryFile(/tmp/multipartBody5061314957420670140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079333004,"filename":"image_05012025_13_13_02_564985_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878802","file1":"1326878801","file0":"1326878799","file3":"1326878803"},"map_files_photo_id_array":[{"photo_id":"1326878802","filename":"file2"},{"photo_id":"1326878801","filename":"file1"},{"photo_id":"1326878799","filename":"file0"},{"photo_id":"1326878803","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878802":["hashtag1","hashtag2"]},{"1326878801":["hashtag1","hashtag2"]},{"1326878803":["hashtag1","hashtag2"]},{"1326878799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878802, 1326878801, 1326878803, 1326878799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.930829763412476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:15:21.887810
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/14/image_05012025_13_14_02_857645_0003.jpg', '/home/pi/Desktop/images/05012025/13/15/image_05012025_13_15_03_112008_0000.jpg', '/home/pi/Desktop/images/05012025/13/15/image_05012025_13_15_03_112008_0001.jpg', '/home/pi/Desktop/images/05012025/13/15/image_05012025_13_15_03_112008_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/13/14/image_05012025_13_14_02_857645_0003.jpg
/home/pi/Desktop/images/05012025/13/15/image_05012025_13_15_03_112008_0000.jpg
/home/pi/Desktop/images/05012025/13/15/image_05012025_13_15_03_112008_0001.jpg
/home/pi/Desktop/images/05012025/13/15/image_05012025_13_15_03_112008_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878811","1326878813","1326878809","1326878814"],"photo_ids_order":["1326878809","1326878811","1326878813","1326878814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0166aec9dec80b3ccb82fc94d7bba44c.jpg","text":"TemporaryFile(/tmp/multipartBody7705140583649380323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079392119,"filename":"image_05012025_13_15_03_112008_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce135bed578cc81fb5a89770adc9e693.jpg","text":"TemporaryFile(/tmp/multipartBody2756228330819688083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079392119,"filename":"image_05012025_13_15_03_112008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a8a618d4114a77946ada546ff6e2dcbe.jpg","text":"TemporaryFile(/tmp/multipartBody7918918295308127754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079392119,"filename":"image_05012025_13_14_02_857645_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0811eb34be524d375dfe748292c3892c.jpg","text":"TemporaryFile(/tmp/multipartBody6244744411519929996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079392119,"filename":"image_05012025_13_15_03_112008_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878813","file1":"1326878811","file0":"1326878809","file3":"1326878814"},"map_files_photo_id_array":[{"photo_id":"1326878813","filename":"file2"},{"photo_id":"1326878811","filename":"file1"},{"photo_id":"1326878809","filename":"file0"},{"photo_id":"1326878814","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878811":["hashtag1","hashtag2"]},{"1326878813":["hashtag1","hashtag2"]},{"1326878809":["hashtag1","hashtag2"]},{"1326878814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878811, 1326878813, 1326878809, 1326878814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.749555349349976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:16:22.025265
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/15/image_05012025_13_15_03_112008_0003.jpg', '/home/pi/Desktop/images/05012025/13/16/image_05012025_13_16_02_172445_0001.jpg', '/home/pi/Desktop/images/05012025/13/16/image_05012025_13_16_02_172445_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/13/15/image_05012025_13_15_03_112008_0003.jpg
/home/pi/Desktop/images/05012025/13/16/image_05012025_13_16_02_172445_0001.jpg
/home/pi/Desktop/images/05012025/13/16/image_05012025_13_16_02_172445_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878823","1326878822","1326878824"],"photo_ids_order":["1326878822","1326878823","1326878824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/72827089f1e9d2bd26f5115a0650597a.jpg","text":"TemporaryFile(/tmp/multipartBody8623312094634637296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079449952,"filename":"image_05012025_13_16_02_172445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/80515e147a012891851cac3ae01f3746.jpg","text":"TemporaryFile(/tmp/multipartBody4393407979505537846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079449952,"filename":"image_05012025_13_15_03_112008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/615f2414d68cd959e594b52891db0079.jpg","text":"TemporaryFile(/tmp/multipartBody6537230691706454980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079449952,"filename":"image_05012025_13_16_02_172445_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878824","file1":"1326878823","file0":"1326878822"},"map_files_photo_id_array":[{"photo_id":"1326878824","filename":"file2"},{"photo_id":"1326878823","filename":"file1"},{"photo_id":"1326878822","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878823":["hashtag1","hashtag2"]},{"1326878822":["hashtag1","hashtag2"]},{"1326878824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878823, 1326878822, 1326878824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.789236068725586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 13:17:02.805285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:17:22.180234
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/16/image_05012025_13_16_02_172445_0003.jpg', '/home/pi/Desktop/images/05012025/13/17/image_05012025_13_17_02_480291_0000.jpg', '/home/pi/Desktop/images/05012025/13/17/image_05012025_13_17_02_480291_0001.jpg', '/home/pi/Desktop/images/05012025/13/17/image_05012025_13_17_02_480291_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/13/16/image_05012025_13_16_02_172445_0003.jpg
/home/pi/Desktop/images/05012025/13/17/image_05012025_13_17_02_480291_0000.jpg
/home/pi/Desktop/images/05012025/13/17/image_05012025_13_17_02_480291_0001.jpg
/home/pi/Desktop/images/05012025/13/17/image_05012025_13_17_02_480291_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878837","1326878831","1326878832","1326878835"],"photo_ids_order":["1326878831","1326878832","1326878835","1326878837"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8c68742eb6a2b767203a1e9f6bf40bdd.jpg","text":"TemporaryFile(/tmp/multipartBody8991607755655732620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079512618,"filename":"image_05012025_13_17_02_480291_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9d53babba685c686e40faffa82e87206.jpg","text":"TemporaryFile(/tmp/multipartBody3446568671975066848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079512618,"filename":"image_05012025_13_16_02_172445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c3424955fae45006eaf61247751bca44.jpg","text":"TemporaryFile(/tmp/multipartBody7750179927580217847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079512618,"filename":"image_05012025_13_17_02_480291_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9a7ce0891ad3a6b28c129f72dde691b8.jpg","text":"TemporaryFile(/tmp/multipartBody7748358380330609415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079512618,"filename":"image_05012025_13_17_02_480291_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878835","file1":"1326878832","file0":"1326878831","file3":"1326878837"},"map_files_photo_id_array":[{"photo_id":"1326878835","filename":"file2"},{"photo_id":"1326878832","filename":"file1"},{"photo_id":"1326878831","filename":"file0"},{"photo_id":"1326878837","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878837":["hashtag1","hashtag2"]},{"1326878831":["hashtag1","hashtag2"]},{"1326878832":["hashtag1","hashtag2"]},{"1326878835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878837, 1326878831, 1326878832, 1326878835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.76995301246643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:18:22.399469
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/17/image_05012025_13_17_02_480291_0003.jpg', '/home/pi/Desktop/images/05012025/13/18/image_05012025_13_18_02_576641_0000.jpg', '/home/pi/Desktop/images/05012025/13/18/image_05012025_13_18_02_576641_0001.jpg', '/home/pi/Desktop/images/05012025/13/18/image_05012025_13_18_02_576641_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/13/17/image_05012025_13_17_02_480291_0003.jpg
/home/pi/Desktop/images/05012025/13/18/image_05012025_13_18_02_576641_0000.jpg
/home/pi/Desktop/images/05012025/13/18/image_05012025_13_18_02_576641_0001.jpg
/home/pi/Desktop/images/05012025/13/18/image_05012025_13_18_02_576641_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878846","1326878848","1326878845","1326878850"],"photo_ids_order":["1326878845","1326878846","1326878848","1326878850"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/747938b9c82106b207407330ed4281b6.jpg","text":"TemporaryFile(/tmp/multipartBody9088813846503181455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079573131,"filename":"image_05012025_13_18_02_576641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/99b9b1a1ee03e101d1e177b8c7d5dcbe.jpg","text":"TemporaryFile(/tmp/multipartBody219377252947647924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079573131,"filename":"image_05012025_13_18_02_576641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0bdd17e2908e8936ae0eabe74b217f97.jpg","text":"TemporaryFile(/tmp/multipartBody4087681391132792230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079573131,"filename":"image_05012025_13_17_02_480291_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d522ec7de8782093a14d8d243b1cf72a.jpg","text":"TemporaryFile(/tmp/multipartBody7586467088900745917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079573131,"filename":"image_05012025_13_18_02_576641_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878848","file1":"1326878846","file0":"1326878845","file3":"1326878850"},"map_files_photo_id_array":[{"photo_id":"1326878848","filename":"file2"},{"photo_id":"1326878846","filename":"file1"},{"photo_id":"1326878845","filename":"file0"},{"photo_id":"1326878850","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878846":["hashtag1","hashtag2"]},{"1326878848":["hashtag1","hashtag2"]},{"1326878845":["hashtag1","hashtag2"]},{"1326878850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878846, 1326878848, 1326878845, 1326878850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.927207231521606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:19:22.524403
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/18/image_05012025_13_18_02_576641_0003.jpg', '/home/pi/Desktop/images/05012025/13/19/image_05012025_13_19_02_761335_0000.jpg', '/home/pi/Desktop/images/05012025/13/19/image_05012025_13_19_02_761335_0001.jpg', '/home/pi/Desktop/images/05012025/13/19/image_05012025_13_19_02_761335_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/13/18/image_05012025_13_18_02_576641_0003.jpg
/home/pi/Desktop/images/05012025/13/19/image_05012025_13_19_02_761335_0000.jpg
/home/pi/Desktop/images/05012025/13/19/image_05012025_13_19_02_761335_0001.jpg
/home/pi/Desktop/images/05012025/13/19/image_05012025_13_19_02_761335_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878864","1326878860","1326878863","1326878862"],"photo_ids_order":["1326878860","1326878862","1326878863","1326878864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/50c4e45cb780c3d0a7952d42afff3961.jpg","text":"TemporaryFile(/tmp/multipartBody1234296650983780994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079632804,"filename":"image_05012025_13_19_02_761335_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/05baef86a7d71e28e9d98f857f4988eb.jpg","text":"TemporaryFile(/tmp/multipartBody888593846145069741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079632804,"filename":"image_05012025_13_18_02_576641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/49899dfe640e752cc0b31bf3e7486520.jpg","text":"TemporaryFile(/tmp/multipartBody5043182582268028265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079632804,"filename":"image_05012025_13_19_02_761335_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88e1410a4e89eb63dae2e1e7139c0219.jpg","text":"TemporaryFile(/tmp/multipartBody9087894452298347511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079632804,"filename":"image_05012025_13_19_02_761335_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878863","file1":"1326878862","file0":"1326878860","file3":"1326878864"},"map_files_photo_id_array":[{"photo_id":"1326878863","filename":"file2"},{"photo_id":"1326878862","filename":"file1"},{"photo_id":"1326878860","filename":"file0"},{"photo_id":"1326878864","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878864":["hashtag1","hashtag2"]},{"1326878860":["hashtag1","hashtag2"]},{"1326878863":["hashtag1","hashtag2"]},{"1326878862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878864, 1326878860, 1326878863, 1326878862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32369136810303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 13:20:02.899705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:20:22.672197
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/19/image_05012025_13_19_02_761335_0003.jpg', '/home/pi/Desktop/images/05012025/13/20/image_05012025_13_20_02_957803_0000.jpg', '/home/pi/Desktop/images/05012025/13/20/image_05012025_13_20_02_957803_0001.jpg', '/home/pi/Desktop/images/05012025/13/20/image_05012025_13_20_02_957803_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/13/19/image_05012025_13_19_02_761335_0003.jpg
/home/pi/Desktop/images/05012025/13/20/image_05012025_13_20_02_957803_0000.jpg
/home/pi/Desktop/images/05012025/13/20/image_05012025_13_20_02_957803_0001.jpg
/home/pi/Desktop/images/05012025/13/20/image_05012025_13_20_02_957803_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.204726934432983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 13:20:42.606729
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/19/image_05012025_13_19_02_761335_0003.jpg', '/home/pi/Desktop/images/05012025/13/20/image_05012025_13_20_02_957803_0000.jpg', '/home/pi/Desktop/images/05012025/13/20/image_05012025_13_20_02_957803_0001.jpg', '/home/pi/Desktop/images/05012025/13/20/image_05012025_13_20_02_957803_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/13/19/image_05012025_13_19_02_761335_0003.jpg
/home/pi/Desktop/images/05012025/13/20/image_05012025_13_20_02_957803_0000.jpg
/home/pi/Desktop/images/05012025/13/20/image_05012025_13_20_02_957803_0001.jpg
/home/pi/Desktop/images/05012025/13/20/image_05012025_13_20_02_957803_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878876","1326878878","1326878877","1326878880"],"photo_ids_order":["1326878876","1326878877","1326878878","1326878880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7e328d806d61d138f8d7c73d0638bbd7.jpg","text":"TemporaryFile(/tmp/multipartBody5257641837648587197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079713210,"filename":"image_05012025_13_19_02_761335_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1bd0a09aef9e5223f9ae5a85843cbe6b.jpg","text":"TemporaryFile(/tmp/multipartBody6421772902196038106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079713210,"filename":"image_05012025_13_20_02_957803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/47750a0d9a9165e91d288d25105367f7.jpg","text":"TemporaryFile(/tmp/multipartBody7006113465567084202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079713210,"filename":"image_05012025_13_20_02_957803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3cda0ae28052502869fdf090ad6e2d12.jpg","text":"TemporaryFile(/tmp/multipartBody6555667921271214729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079713210,"filename":"image_05012025_13_20_02_957803_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878878","file1":"1326878877","file0":"1326878876","file3":"1326878880"},"map_files_photo_id_array":[{"photo_id":"1326878878","filename":"file2"},{"photo_id":"1326878877","filename":"file1"},{"photo_id":"1326878876","filename":"file0"},{"photo_id":"1326878880","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878876":["hashtag1","hashtag2"]},{"1326878878":["hashtag1","hashtag2"]},{"1326878877":["hashtag1","hashtag2"]},{"1326878880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878876, 1326878878, 1326878877, 1326878880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.383065938949585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 13:21:31.846530
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/20/image_05012025_13_20_02_957803_0003.jpg', '/home/pi/Desktop/images/05012025/13/21/image_05012025_13_21_03_015133_0000.jpg', '/home/pi/Desktop/images/05012025/13/21/image_05012025_13_21_03_015133_0001.jpg', '/home/pi/Desktop/images/05012025/13/21/image_05012025_13_21_03_015133_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/13/20/image_05012025_13_20_02_957803_0003.jpg
/home/pi/Desktop/images/05012025/13/21/image_05012025_13_21_03_015133_0000.jpg
/home/pi/Desktop/images/05012025/13/21/image_05012025_13_21_03_015133_0001.jpg
/home/pi/Desktop/images/05012025/13/21/image_05012025_13_21_03_015133_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.067270755767822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 13:21:51.761296
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/20/image_05012025_13_20_02_957803_0003.jpg', '/home/pi/Desktop/images/05012025/13/21/image_05012025_13_21_03_015133_0000.jpg', '/home/pi/Desktop/images/05012025/13/21/image_05012025_13_21_03_015133_0001.jpg', '/home/pi/Desktop/images/05012025/13/21/image_05012025_13_21_03_015133_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/13/20/image_05012025_13_20_02_957803_0003.jpg
/home/pi/Desktop/images/05012025/13/21/image_05012025_13_21_03_015133_0000.jpg
/home/pi/Desktop/images/05012025/13/21/image_05012025_13_21_03_015133_0001.jpg
/home/pi/Desktop/images/05012025/13/21/image_05012025_13_21_03_015133_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":["1326878891","1326878897","1326878893","1326878895"],"photo_ids_order":["1326878891","1326878893","1326878895","1326878897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8a6053b26801e011a4de714e83051fb1.jpg","text":"TemporaryFile(/tmp/multipartBody889907110302459452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079782259,"filename":"image_05012025_13_20_02_957803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c2f5d24fb0a8deca2589cd7c40045f40.jpg","text":"TemporaryFile(/tmp/multipartBody6974084763470075283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079782259,"filename":"image_05012025_13_21_03_015133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/463c384d96aba7cee6fc3fc3a57cd43c.jpg","text":"TemporaryFile(/tmp/multipartBody6772230529013435346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079782259,"filename":"image_05012025_13_21_03_015133_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/75784a970f266531cb9e7672bbabdc1d.jpg","text":"TemporaryFile(/tmp/multipartBody699749192721347276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079782259,"filename":"image_05012025_13_21_03_015133_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878895","file1":"1326878893","file0":"1326878891","file3":"1326878897"},"map_files_photo_id_array":[{"photo_id":"1326878895","filename":"file2"},{"photo_id":"1326878893","filename":"file1"},{"photo_id":"1326878891","filename":"file0"},{"photo_id":"1326878897","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878891":["hashtag1","hashtag2"]},{"1326878897":["hashtag1","hashtag2"]},{"1326878893":["hashtag1","hashtag2"]},{"1326878895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878891, 1326878897, 1326878893, 1326878895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74412536621094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 13:22:31.952384
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/21/image_05012025_13_21_03_015133_0003.jpg', '/home/pi/Desktop/images/05012025/13/22/image_05012025_13_22_02_159730_0000.jpg', '/home/pi/Desktop/images/05012025/13/22/image_05012025_13_22_02_159730_0001.jpg', '/home/pi/Desktop/images/05012025/13/22/image_05012025_13_22_02_159730_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/13/21/image_05012025_13_21_03_015133_0003.jpg
/home/pi/Desktop/images/05012025/13/22/image_05012025_13_22_02_159730_0000.jpg
/home/pi/Desktop/images/05012025/13/22/image_05012025_13_22_02_159730_0001.jpg
/home/pi/Desktop/images/05012025/13/22/image_05012025_13_22_02_159730_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878904","1326878906","1326878903","1326878905"],"photo_ids_order":["1326878903","1326878904","1326878905","1326878906"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e64ca861d24dd9a67622401aba062305.jpg","text":"TemporaryFile(/tmp/multipartBody1459836036883131140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079822321,"filename":"image_05012025_13_22_02_159730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad956f25dce1e3165b70af6dfe6c3d39.jpg","text":"TemporaryFile(/tmp/multipartBody6661934848786542537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079822321,"filename":"image_05012025_13_22_02_159730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/587822af3f798be8ff149775130dc867.jpg","text":"TemporaryFile(/tmp/multipartBody1892361460713735106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079822321,"filename":"image_05012025_13_21_03_015133_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7c3bbd274877d8d9095161797066fec7.jpg","text":"TemporaryFile(/tmp/multipartBody5707145120220021096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079822321,"filename":"image_05012025_13_22_02_159730_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878905","file1":"1326878904","file0":"1326878903","file3":"1326878906"},"map_files_photo_id_array":[{"photo_id":"1326878905","filename":"file2"},{"photo_id":"1326878904","filename":"file1"},{"photo_id":"1326878903","filename":"file0"},{"photo_id":"1326878906","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878904":["hashtag1","hashtag2"]},{"1326878906":["hashtag1","hashtag2"]},{"1326878903":["hashtag1","hashtag2"]},{"1326878905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878904, 1326878906, 1326878903, 1326878905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.76335096359253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:23:22.141246
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/22/image_05012025_13_22_02_159730_0003.jpg', '/home/pi/Desktop/images/05012025/13/23/image_05012025_13_23_02_308153_0000.jpg', '/home/pi/Desktop/images/05012025/13/23/image_05012025_13_23_02_308153_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/13/22/image_05012025_13_22_02_159730_0003.jpg
/home/pi/Desktop/images/05012025/13/23/image_05012025_13_23_02_308153_0000.jpg
/home/pi/Desktop/images/05012025/13/23/image_05012025_13_23_02_308153_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":["1326878915","1326878911","1326878913"],"photo_ids_order":["1326878911","1326878913","1326878915"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad8893408ba5cb904c59bcf22d432273.jpg","text":"TemporaryFile(/tmp/multipartBody6013998684830934452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079869879,"filename":"image_05012025_13_23_02_308153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e294ca8c220910806cb612b90c645fd6.jpg","text":"TemporaryFile(/tmp/multipartBody6902900882670544762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079869879,"filename":"image_05012025_13_22_02_159730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/65be325bcf265a4726029c0c92f6145d.jpg","text":"TemporaryFile(/tmp/multipartBody4220247282220805987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079869879,"filename":"image_05012025_13_23_02_308153_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878915","file1":"1326878913","file0":"1326878911"},"map_files_photo_id_array":[{"photo_id":"1326878915","filename":"file2"},{"photo_id":"1326878913","filename":"file1"},{"photo_id":"1326878911","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878915":["hashtag1","hashtag2"]},{"1326878911":["hashtag1","hashtag2"]},{"1326878913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878915, 1326878911, 1326878913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.45760488510132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 13:24:02.687441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:24:22.254765
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/23/image_05012025_13_23_02_308153_0002.jpg', '/home/pi/Desktop/images/05012025/13/24/image_05012025_13_24_02_505314_0000.jpg', '/home/pi/Desktop/images/05012025/13/24/image_05012025_13_24_02_505314_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/13/23/image_05012025_13_23_02_308153_0002.jpg
/home/pi/Desktop/images/05012025/13/24/image_05012025_13_24_02_505314_0000.jpg
/home/pi/Desktop/images/05012025/13/24/image_05012025_13_24_02_505314_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":["1326878925","1326878921","1326878923"],"photo_ids_order":["1326878921","1326878923","1326878925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1775b3e91cee63edae39019a2ed8bf09.jpg","text":"TemporaryFile(/tmp/multipartBody8444142687526001412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079929975,"filename":"image_05012025_13_24_02_505314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d7dea4f6725970dad3d7f2ccdeef577d.jpg","text":"TemporaryFile(/tmp/multipartBody2330358267857904669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079929975,"filename":"image_05012025_13_23_02_308153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/adef825086e6031f123a78f2f4b6b50b.jpg","text":"TemporaryFile(/tmp/multipartBody1792666301396982807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079929975,"filename":"image_05012025_13_24_02_505314_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878925","file1":"1326878923","file0":"1326878921"},"map_files_photo_id_array":[{"photo_id":"1326878925","filename":"file2"},{"photo_id":"1326878923","filename":"file1"},{"photo_id":"1326878921","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878925":["hashtag1","hashtag2"]},{"1326878921":["hashtag1","hashtag2"]},{"1326878923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878925, 1326878921, 1326878923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.394277334213257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 13:25:03.028177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:25:22.458149
SELECT 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/13/24/image_05012025_13_24_02_505314_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/13/24/image_05012025_13_24_02_505314_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878931"],"photo_id":"1326878931","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/156209f9fd71df0d90ac932ea326669e.jpg","text":"TemporaryFile(/tmp/multipartBody8725503541080717257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736079985446,"filename":"image_05012025_13_24_02_505314_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326878931"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326878931"}],"hashtags":[],"portfolio_id":"19417920","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.043325901031494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 13:25:42.524033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 13:25:52.434332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 13:26:03.072755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:26:22.659508
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/25/image_05012025_13_25_02_797882_0001.jpg', '/home/pi/Desktop/images/05012025/13/26/image_05012025_13_26_02_871827_0000.jpg', '/home/pi/Desktop/images/05012025/13/26/image_05012025_13_26_02_871827_0001.jpg', '/home/pi/Desktop/images/05012025/13/26/image_05012025_13_26_02_871827_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/13/25/image_05012025_13_25_02_797882_0001.jpg
/home/pi/Desktop/images/05012025/13/26/image_05012025_13_26_02_871827_0000.jpg
/home/pi/Desktop/images/05012025/13/26/image_05012025_13_26_02_871827_0001.jpg
/home/pi/Desktop/images/05012025/13/26/image_05012025_13_26_02_871827_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878943","1326878942","1326878945","1326878947"],"photo_ids_order":["1326878942","1326878943","1326878945","1326878947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c468235755ab43cb415fea397ff2c47.jpg","text":"TemporaryFile(/tmp/multipartBody1349554005061311964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080052692,"filename":"image_05012025_13_26_02_871827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/03bf34c0dbd0d6530f15970c0bb43dd6.jpg","text":"TemporaryFile(/tmp/multipartBody8549467154929611030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080052692,"filename":"image_05012025_13_25_02_797882_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b440cb48bf298dafdc2139eaa4d72fc.jpg","text":"TemporaryFile(/tmp/multipartBody2835552556975211251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080052692,"filename":"image_05012025_13_26_02_871827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f2553fb7759e13642208992750d214c3.jpg","text":"TemporaryFile(/tmp/multipartBody1849930388034924879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080052692,"filename":"image_05012025_13_26_02_871827_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878945","file1":"1326878943","file0":"1326878942","file3":"1326878947"},"map_files_photo_id_array":[{"photo_id":"1326878945","filename":"file2"},{"photo_id":"1326878943","filename":"file1"},{"photo_id":"1326878942","filename":"file0"},{"photo_id":"1326878947","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878943":["hashtag1","hashtag2"]},{"1326878942":["hashtag1","hashtag2"]},{"1326878945":["hashtag1","hashtag2"]},{"1326878947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878943, 1326878942, 1326878945, 1326878947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.12423920631409 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:27:21.787122
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/26/image_05012025_13_26_02_871827_0003.jpg', '/home/pi/Desktop/images/05012025/13/27/image_05012025_13_27_02_946259_0000.jpg', '/home/pi/Desktop/images/05012025/13/27/image_05012025_13_27_02_946259_0001.jpg', '/home/pi/Desktop/images/05012025/13/27/image_05012025_13_27_02_946259_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/13/26/image_05012025_13_26_02_871827_0003.jpg
/home/pi/Desktop/images/05012025/13/27/image_05012025_13_27_02_946259_0000.jpg
/home/pi/Desktop/images/05012025/13/27/image_05012025_13_27_02_946259_0001.jpg
/home/pi/Desktop/images/05012025/13/27/image_05012025_13_27_02_946259_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878957","1326878953","1326878952","1326878955"],"photo_ids_order":["1326878952","1326878953","1326878955","1326878957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7c817bd289316700bf4ed671e3ae0ed3.jpg","text":"TemporaryFile(/tmp/multipartBody6522126684452104039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080111696,"filename":"image_05012025_13_27_02_946259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/04e6d5828a2236df208c68b04d40e527.jpg","text":"TemporaryFile(/tmp/multipartBody5290520506329905941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080111696,"filename":"image_05012025_13_27_02_946259_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f7830df643a28eceba6f0aededfecb3.jpg","text":"TemporaryFile(/tmp/multipartBody6713297796352049765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080111696,"filename":"image_05012025_13_26_02_871827_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/51d8b8a404a9d0ffb0f5bfc6355381c5.jpg","text":"TemporaryFile(/tmp/multipartBody6203034891635209499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080111696,"filename":"image_05012025_13_27_02_946259_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878955","file1":"1326878953","file0":"1326878952","file3":"1326878957"},"map_files_photo_id_array":[{"photo_id":"1326878955","filename":"file2"},{"photo_id":"1326878953","filename":"file1"},{"photo_id":"1326878952","filename":"file0"},{"photo_id":"1326878957","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878957":["hashtag1","hashtag2"]},{"1326878953":["hashtag1","hashtag2"]},{"1326878952":["hashtag1","hashtag2"]},{"1326878955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878957, 1326878953, 1326878952, 1326878955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.730406761169434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:28:22.041762
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/27/image_05012025_13_27_02_946259_0003.jpg', '/home/pi/Desktop/images/05012025/13/28/image_05012025_13_28_02_237830_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/13/27/image_05012025_13_27_02_946259_0003.jpg
/home/pi/Desktop/images/05012025/13/28/image_05012025_13_28_02_237830_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: 5.018835544586182 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 13:28:32.044273
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/27/image_05012025_13_27_02_946259_0003.jpg', '/home/pi/Desktop/images/05012025/13/28/image_05012025_13_28_02_237830_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/13/27/image_05012025_13_27_02_946259_0003.jpg
/home/pi/Desktop/images/05012025/13/28/image_05012025_13_28_02_237830_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":["1326878966","1326878964"],"photo_ids_order":["1326878964","1326878966"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/20f177a53020938968d55953e587df5a.jpg","text":"TemporaryFile(/tmp/multipartBody3570428034304051402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080177462,"filename":"image_05012025_13_28_02_237830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b2a96f477ba22d1775ad01246a98153.jpg","text":"TemporaryFile(/tmp/multipartBody981837073696044395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080177462,"filename":"image_05012025_13_27_02_946259_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326878966","file0":"1326878964"},"map_files_photo_id_array":[{"photo_id":"1326878966","filename":"file1"},{"photo_id":"1326878964","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878966":["hashtag1","hashtag2"]},{"1326878964":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878966, 1326878964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.195223569869995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 13:29:03.008490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:29:22.271067
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/28/image_05012025_13_28_02_237830_0003.jpg', '/home/pi/Desktop/images/05012025/13/29/image_05012025_13_29_02_391330_0000.jpg', '/home/pi/Desktop/images/05012025/13/29/image_05012025_13_29_02_391330_0001.jpg', '/home/pi/Desktop/images/05012025/13/29/image_05012025_13_29_02_391330_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/13/28/image_05012025_13_28_02_237830_0003.jpg
/home/pi/Desktop/images/05012025/13/29/image_05012025_13_29_02_391330_0000.jpg
/home/pi/Desktop/images/05012025/13/29/image_05012025_13_29_02_391330_0001.jpg
/home/pi/Desktop/images/05012025/13/29/image_05012025_13_29_02_391330_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326878987","1326878981","1326878984","1326878982"],"photo_ids_order":["1326878981","1326878982","1326878984","1326878987"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3915fc3c9cc9be92ca20770233f8b47f.jpg","text":"TemporaryFile(/tmp/multipartBody2786018706406829711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080232733,"filename":"image_05012025_13_29_02_391330_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a045cf7b953003ffe585e841910056bb.jpg","text":"TemporaryFile(/tmp/multipartBody1722935350615414559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080232733,"filename":"image_05012025_13_28_02_237830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f45ea84ebef180e3c6397b504aaa6275.jpg","text":"TemporaryFile(/tmp/multipartBody702310113469264547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080232733,"filename":"image_05012025_13_29_02_391330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f77b77e5a05565db045bf2ee69856720.jpg","text":"TemporaryFile(/tmp/multipartBody4953552537064504317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080232733,"filename":"image_05012025_13_29_02_391330_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326878984","file1":"1326878982","file0":"1326878981","file3":"1326878987"},"map_files_photo_id_array":[{"photo_id":"1326878984","filename":"file2"},{"photo_id":"1326878982","filename":"file1"},{"photo_id":"1326878981","filename":"file0"},{"photo_id":"1326878987","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326878987":["hashtag1","hashtag2"]},{"1326878981":["hashtag1","hashtag2"]},{"1326878984":["hashtag1","hashtag2"]},{"1326878982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326878987, 1326878981, 1326878984, 1326878982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.055419921875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:30:22.439225
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/29/image_05012025_13_29_02_391330_0003.jpg', '/home/pi/Desktop/images/05012025/13/30/image_05012025_13_30_02_624061_0000.jpg', '/home/pi/Desktop/images/05012025/13/30/image_05012025_13_30_02_624061_0001.jpg', '/home/pi/Desktop/images/05012025/13/30/image_05012025_13_30_02_624061_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/13/29/image_05012025_13_29_02_391330_0003.jpg
/home/pi/Desktop/images/05012025/13/30/image_05012025_13_30_02_624061_0000.jpg
/home/pi/Desktop/images/05012025/13/30/image_05012025_13_30_02_624061_0001.jpg
/home/pi/Desktop/images/05012025/13/30/image_05012025_13_30_02_624061_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879006","1326879001","1326879010","1326879003"],"photo_ids_order":["1326879001","1326879003","1326879006","1326879010"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a9203ea984bf502a4ca76ebc0b206231.jpg","text":"TemporaryFile(/tmp/multipartBody8069211566178601598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080293023,"filename":"image_05012025_13_30_02_624061_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/03f0786eb4ebb5e6523c1fcf59846ba3.jpg","text":"TemporaryFile(/tmp/multipartBody4548054443343489063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080293023,"filename":"image_05012025_13_29_02_391330_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/59791c604679f4e872813aea6923e9d0.jpg","text":"TemporaryFile(/tmp/multipartBody2613154500582027002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080293023,"filename":"image_05012025_13_30_02_624061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b938cbea5a303bae19a86e997a8bfcd.jpg","text":"TemporaryFile(/tmp/multipartBody8989436371984901608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080293023,"filename":"image_05012025_13_30_02_624061_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879006","file1":"1326879003","file0":"1326879001","file3":"1326879010"},"map_files_photo_id_array":[{"photo_id":"1326879006","filename":"file2"},{"photo_id":"1326879003","filename":"file1"},{"photo_id":"1326879001","filename":"file0"},{"photo_id":"1326879010","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879006":["hashtag1","hashtag2"]},{"1326879001":["hashtag1","hashtag2"]},{"1326879010":["hashtag1","hashtag2"]},{"1326879003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879006, 1326879001, 1326879010, 1326879003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.082594871520996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 13:31:03.072350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:31:22.550310
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/30/image_05012025_13_30_02_624061_0003.jpg', '/home/pi/Desktop/images/05012025/13/31/image_05012025_13_31_02_785370_0000.jpg', '/home/pi/Desktop/images/05012025/13/31/image_05012025_13_31_02_785370_0001.jpg', '/home/pi/Desktop/images/05012025/13/31/image_05012025_13_31_02_785370_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/13/30/image_05012025_13_30_02_624061_0003.jpg
/home/pi/Desktop/images/05012025/13/31/image_05012025_13_31_02_785370_0000.jpg
/home/pi/Desktop/images/05012025/13/31/image_05012025_13_31_02_785370_0001.jpg
/home/pi/Desktop/images/05012025/13/31/image_05012025_13_31_02_785370_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879023","1326879026","1326879022","1326879024"],"photo_ids_order":["1326879022","1326879023","1326879024","1326879026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce7fc9bf4180c7230bd4dadafbacb018.jpg","text":"TemporaryFile(/tmp/multipartBody43101242429231268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080353061,"filename":"image_05012025_13_31_02_785370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc38f524be9cddb24be917955fc121c3.jpg","text":"TemporaryFile(/tmp/multipartBody8320909990039267187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080353061,"filename":"image_05012025_13_31_02_785370_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c763ccbdd3ed9381bf552343444eb15c.jpg","text":"TemporaryFile(/tmp/multipartBody4305762035497756539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080353061,"filename":"image_05012025_13_30_02_624061_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7466783da20993c90904e0dbb04aa585.jpg","text":"TemporaryFile(/tmp/multipartBody5437946383371275863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080353061,"filename":"image_05012025_13_31_02_785370_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879024","file1":"1326879023","file0":"1326879022","file3":"1326879026"},"map_files_photo_id_array":[{"photo_id":"1326879024","filename":"file2"},{"photo_id":"1326879023","filename":"file1"},{"photo_id":"1326879022","filename":"file0"},{"photo_id":"1326879026","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879023":["hashtag1","hashtag2"]},{"1326879026":["hashtag1","hashtag2"]},{"1326879022":["hashtag1","hashtag2"]},{"1326879024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879023, 1326879026, 1326879022, 1326879024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.85466909408569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:32:21.801585
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/31/image_05012025_13_31_02_785370_0003.jpg', '/home/pi/Desktop/images/05012025/13/32/image_05012025_13_32_02_901500_0000.jpg', '/home/pi/Desktop/images/05012025/13/32/image_05012025_13_32_02_901500_0001.jpg', '/home/pi/Desktop/images/05012025/13/32/image_05012025_13_32_02_901500_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/13/31/image_05012025_13_31_02_785370_0003.jpg
/home/pi/Desktop/images/05012025/13/32/image_05012025_13_32_02_901500_0000.jpg
/home/pi/Desktop/images/05012025/13/32/image_05012025_13_32_02_901500_0001.jpg
/home/pi/Desktop/images/05012025/13/32/image_05012025_13_32_02_901500_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.036638259887695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 13:32:41.809760
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/31/image_05012025_13_31_02_785370_0003.jpg', '/home/pi/Desktop/images/05012025/13/32/image_05012025_13_32_02_901500_0000.jpg', '/home/pi/Desktop/images/05012025/13/32/image_05012025_13_32_02_901500_0001.jpg', '/home/pi/Desktop/images/05012025/13/32/image_05012025_13_32_02_901500_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/13/31/image_05012025_13_31_02_785370_0003.jpg
/home/pi/Desktop/images/05012025/13/32/image_05012025_13_32_02_901500_0000.jpg
/home/pi/Desktop/images/05012025/13/32/image_05012025_13_32_02_901500_0001.jpg
/home/pi/Desktop/images/05012025/13/32/image_05012025_13_32_02_901500_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":["1326879053","1326879056","1326879058","1326879060"],"photo_ids_order":["1326879053","1326879056","1326879058","1326879060"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/26b01226d66b8b10493f1259869b2772.jpg","text":"TemporaryFile(/tmp/multipartBody4907647801179025955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080432249,"filename":"image_05012025_13_31_02_785370_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c571f978ee4e7b03ab718ac5f443dd54.jpg","text":"TemporaryFile(/tmp/multipartBody9010102659270569837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080432249,"filename":"image_05012025_13_32_02_901500_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/584828393a178fda1141ce68557fd054.jpg","text":"TemporaryFile(/tmp/multipartBody1123156535045754204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080432249,"filename":"image_05012025_13_32_02_901500_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/53994bd0556fe0efcad17efbef85f73e.jpg","text":"TemporaryFile(/tmp/multipartBody765463431239971628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080432249,"filename":"image_05012025_13_32_02_901500_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879058","file1":"1326879056","file0":"1326879053","file3":"1326879060"},"map_files_photo_id_array":[{"photo_id":"1326879058","filename":"file2"},{"photo_id":"1326879056","filename":"file1"},{"photo_id":"1326879053","filename":"file0"},{"photo_id":"1326879060","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879053":["hashtag1","hashtag2"]},{"1326879056":["hashtag1","hashtag2"]},{"1326879058":["hashtag1","hashtag2"]},{"1326879060":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879053, 1326879056, 1326879058, 1326879060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63641977310181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:33:21.980928
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/32/image_05012025_13_32_02_901500_0003.jpg', '/home/pi/Desktop/images/05012025/13/33/image_05012025_13_33_02_103814_0000.jpg', '/home/pi/Desktop/images/05012025/13/33/image_05012025_13_33_02_103814_0001.jpg', '/home/pi/Desktop/images/05012025/13/33/image_05012025_13_33_02_103814_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/13/32/image_05012025_13_32_02_901500_0003.jpg
/home/pi/Desktop/images/05012025/13/33/image_05012025_13_33_02_103814_0000.jpg
/home/pi/Desktop/images/05012025/13/33/image_05012025_13_33_02_103814_0001.jpg
/home/pi/Desktop/images/05012025/13/33/image_05012025_13_33_02_103814_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879062","1326879065","1326879067","1326879063"],"photo_ids_order":["1326879062","1326879063","1326879065","1326879067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b2db4e0279a7c171708154a3550ab9dd.jpg","text":"TemporaryFile(/tmp/multipartBody4476264134687480526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080472439,"filename":"image_05012025_13_32_02_901500_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8c93ab171941d190e649461b0d57f244.jpg","text":"TemporaryFile(/tmp/multipartBody632777057287890821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080472439,"filename":"image_05012025_13_33_02_103814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ef0293b6ab0c643f9264742972f1a111.jpg","text":"TemporaryFile(/tmp/multipartBody2950318250591786803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080472439,"filename":"image_05012025_13_33_02_103814_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f1441baca62dad564dec78d9399e0e8.jpg","text":"TemporaryFile(/tmp/multipartBody8432983112307021939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080472439,"filename":"image_05012025_13_33_02_103814_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879065","file1":"1326879063","file0":"1326879062","file3":"1326879067"},"map_files_photo_id_array":[{"photo_id":"1326879065","filename":"file2"},{"photo_id":"1326879063","filename":"file1"},{"photo_id":"1326879062","filename":"file0"},{"photo_id":"1326879067","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879062":["hashtag1","hashtag2"]},{"1326879065":["hashtag1","hashtag2"]},{"1326879067":["hashtag1","hashtag2"]},{"1326879063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879062, 1326879065, 1326879067, 1326879063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.087801456451416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:34:22.125215
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/33/image_05012025_13_33_02_103814_0003.jpg', '/home/pi/Desktop/images/05012025/13/34/image_05012025_13_34_02_307681_0000.jpg', '/home/pi/Desktop/images/05012025/13/34/image_05012025_13_34_02_307681_0001.jpg', '/home/pi/Desktop/images/05012025/13/34/image_05012025_13_34_02_307681_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/13/33/image_05012025_13_33_02_103814_0003.jpg
/home/pi/Desktop/images/05012025/13/34/image_05012025_13_34_02_307681_0000.jpg
/home/pi/Desktop/images/05012025/13/34/image_05012025_13_34_02_307681_0001.jpg
/home/pi/Desktop/images/05012025/13/34/image_05012025_13_34_02_307681_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879077","1326879073","1326879075","1326879072"],"photo_ids_order":["1326879072","1326879073","1326879075","1326879077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6d2fea15f9438dc483007f1b886eea7d.jpg","text":"TemporaryFile(/tmp/multipartBody3623384459855576949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080532483,"filename":"image_05012025_13_34_02_307681_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/87771f19bcfc3376da7860fa493e0366.jpg","text":"TemporaryFile(/tmp/multipartBody7532142823974025796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080532483,"filename":"image_05012025_13_34_02_307681_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/95f47ee0ad3a16ecbc0459a1057f616a.jpg","text":"TemporaryFile(/tmp/multipartBody5537245494153170184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080532483,"filename":"image_05012025_13_34_02_307681_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/45159e2d6d8fc52b5c351e79027c6c23.jpg","text":"TemporaryFile(/tmp/multipartBody2012994600129000620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080532483,"filename":"image_05012025_13_33_02_103814_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879075","file1":"1326879073","file0":"1326879072","file3":"1326879077"},"map_files_photo_id_array":[{"photo_id":"1326879075","filename":"file2"},{"photo_id":"1326879073","filename":"file1"},{"photo_id":"1326879072","filename":"file0"},{"photo_id":"1326879077","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879077":["hashtag1","hashtag2"]},{"1326879073":["hashtag1","hashtag2"]},{"1326879075":["hashtag1","hashtag2"]},{"1326879072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879077, 1326879073, 1326879075, 1326879072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.604655027389526 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:35:22.316905
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/34/image_05012025_13_34_02_307681_0003.jpg', '/home/pi/Desktop/images/05012025/13/35/image_05012025_13_35_02_449167_0000.jpg', '/home/pi/Desktop/images/05012025/13/35/image_05012025_13_35_02_449167_0001.jpg', '/home/pi/Desktop/images/05012025/13/35/image_05012025_13_35_02_449167_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/13/34/image_05012025_13_34_02_307681_0003.jpg
/home/pi/Desktop/images/05012025/13/35/image_05012025_13_35_02_449167_0000.jpg
/home/pi/Desktop/images/05012025/13/35/image_05012025_13_35_02_449167_0001.jpg
/home/pi/Desktop/images/05012025/13/35/image_05012025_13_35_02_449167_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879089","1326879085","1326879087","1326879084"],"photo_ids_order":["1326879084","1326879085","1326879087","1326879089"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7de9729fc9fabaf71c2c9970d7d04f89.jpg","text":"TemporaryFile(/tmp/multipartBody7817982822581279377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080592690,"filename":"image_05012025_13_35_02_449167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/472c6c698ddeddef89daa4e028335fad.jpg","text":"TemporaryFile(/tmp/multipartBody6975160224141891681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080592690,"filename":"image_05012025_13_35_02_449167_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/12f77a380f82c1e6fb49b59d2402183a.jpg","text":"TemporaryFile(/tmp/multipartBody4594254808789857780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080592690,"filename":"image_05012025_13_35_02_449167_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4d436b80d44668143ca913eb35895e59.jpg","text":"TemporaryFile(/tmp/multipartBody4844416327634075304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080592690,"filename":"image_05012025_13_34_02_307681_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879087","file1":"1326879085","file0":"1326879084","file3":"1326879089"},"map_files_photo_id_array":[{"photo_id":"1326879087","filename":"file2"},{"photo_id":"1326879085","filename":"file1"},{"photo_id":"1326879084","filename":"file0"},{"photo_id":"1326879089","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879089":["hashtag1","hashtag2"]},{"1326879085":["hashtag1","hashtag2"]},{"1326879087":["hashtag1","hashtag2"]},{"1326879084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879089, 1326879085, 1326879087, 1326879084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.66439747810364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:36:22.511595
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/35/image_05012025_13_35_02_449167_0003.jpg', '/home/pi/Desktop/images/05012025/13/36/image_05012025_13_36_02_693223_0000.jpg', '/home/pi/Desktop/images/05012025/13/36/image_05012025_13_36_02_693223_0001.jpg', '/home/pi/Desktop/images/05012025/13/36/image_05012025_13_36_02_693223_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/13/35/image_05012025_13_35_02_449167_0003.jpg
/home/pi/Desktop/images/05012025/13/36/image_05012025_13_36_02_693223_0000.jpg
/home/pi/Desktop/images/05012025/13/36/image_05012025_13_36_02_693223_0001.jpg
/home/pi/Desktop/images/05012025/13/36/image_05012025_13_36_02_693223_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879095","1326879100","1326879096","1326879098"],"photo_ids_order":["1326879095","1326879096","1326879098","1326879100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e1c8e8ad01e96e017266435865831f79.jpg","text":"TemporaryFile(/tmp/multipartBody7879324249226161206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080653004,"filename":"image_05012025_13_35_02_449167_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/48a479da8fdd71e00c56f71733a4178d.jpg","text":"TemporaryFile(/tmp/multipartBody4599024606447500945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080653004,"filename":"image_05012025_13_36_02_693223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/01fe476268e84aa977b4536567edded5.jpg","text":"TemporaryFile(/tmp/multipartBody3906965311763740905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080653004,"filename":"image_05012025_13_36_02_693223_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/869b4cf0af0614e7ba675bdea0947a44.jpg","text":"TemporaryFile(/tmp/multipartBody2918690192552973135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080653004,"filename":"image_05012025_13_36_02_693223_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879098","file1":"1326879096","file0":"1326879095","file3":"1326879100"},"map_files_photo_id_array":[{"photo_id":"1326879098","filename":"file2"},{"photo_id":"1326879096","filename":"file1"},{"photo_id":"1326879095","filename":"file0"},{"photo_id":"1326879100","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879095":["hashtag1","hashtag2"]},{"1326879100":["hashtag1","hashtag2"]},{"1326879096":["hashtag1","hashtag2"]},{"1326879098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879095, 1326879100, 1326879096, 1326879098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.96694374084473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:37:22.740385
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/36/image_05012025_13_36_02_693223_0003.jpg', '/home/pi/Desktop/images/05012025/13/37/image_05012025_13_37_02_887541_0000.jpg', '/home/pi/Desktop/images/05012025/13/37/image_05012025_13_37_02_887541_0001.jpg', '/home/pi/Desktop/images/05012025/13/37/image_05012025_13_37_02_887541_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/13/36/image_05012025_13_36_02_693223_0003.jpg
/home/pi/Desktop/images/05012025/13/37/image_05012025_13_37_02_887541_0000.jpg
/home/pi/Desktop/images/05012025/13/37/image_05012025_13_37_02_887541_0001.jpg
/home/pi/Desktop/images/05012025/13/37/image_05012025_13_37_02_887541_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879105","1326879110","1326879106","1326879108"],"photo_ids_order":["1326879105","1326879106","1326879108","1326879110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2c9c1bac2dd26552ef3d74833337a560.jpg","text":"TemporaryFile(/tmp/multipartBody2582079624968155528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080713135,"filename":"image_05012025_13_36_02_693223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0cff2ffeb60f3121b1ee96936f9b2225.jpg","text":"TemporaryFile(/tmp/multipartBody5627852021918229359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080713135,"filename":"image_05012025_13_37_02_887541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ae27449f783c9691fc5b448716fcdab4.jpg","text":"TemporaryFile(/tmp/multipartBody3888044838673663989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080713135,"filename":"image_05012025_13_37_02_887541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f565fc04fe1e9f24210f0d74fa60f4e1.jpg","text":"TemporaryFile(/tmp/multipartBody2563021434885916047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080713135,"filename":"image_05012025_13_37_02_887541_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879108","file1":"1326879106","file0":"1326879105","file3":"1326879110"},"map_files_photo_id_array":[{"photo_id":"1326879108","filename":"file2"},{"photo_id":"1326879106","filename":"file1"},{"photo_id":"1326879105","filename":"file0"},{"photo_id":"1326879110","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879105":["hashtag1","hashtag2"]},{"1326879110":["hashtag1","hashtag2"]},{"1326879106":["hashtag1","hashtag2"]},{"1326879108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879105, 1326879110, 1326879106, 1326879108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.11454367637634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:38:21.921210
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/37/image_05012025_13_37_02_887541_0003.jpg', '/home/pi/Desktop/images/05012025/13/38/image_05012025_13_38_03_145047_0000.jpg', '/home/pi/Desktop/images/05012025/13/38/image_05012025_13_38_03_145047_0001.jpg', '/home/pi/Desktop/images/05012025/13/38/image_05012025_13_38_03_145047_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/13/37/image_05012025_13_37_02_887541_0003.jpg
/home/pi/Desktop/images/05012025/13/38/image_05012025_13_38_03_145047_0000.jpg
/home/pi/Desktop/images/05012025/13/38/image_05012025_13_38_03_145047_0001.jpg
/home/pi/Desktop/images/05012025/13/38/image_05012025_13_38_03_145047_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.027482271194458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 13:38:41.919435
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/37/image_05012025_13_37_02_887541_0003.jpg', '/home/pi/Desktop/images/05012025/13/38/image_05012025_13_38_03_145047_0000.jpg', '/home/pi/Desktop/images/05012025/13/38/image_05012025_13_38_03_145047_0001.jpg', '/home/pi/Desktop/images/05012025/13/38/image_05012025_13_38_03_145047_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/13/37/image_05012025_13_37_02_887541_0003.jpg
/home/pi/Desktop/images/05012025/13/38/image_05012025_13_38_03_145047_0000.jpg
/home/pi/Desktop/images/05012025/13/38/image_05012025_13_38_03_145047_0001.jpg
/home/pi/Desktop/images/05012025/13/38/image_05012025_13_38_03_145047_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":["1326879122","1326879124","1326879126","1326879120"],"photo_ids_order":["1326879120","1326879122","1326879124","1326879126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2466be8c741676d1a92bace4d7cfc999.jpg","text":"TemporaryFile(/tmp/multipartBody4876654645501682372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080792349,"filename":"image_05012025_13_38_03_145047_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1cb283587dcfb851a1423682ddb89558.jpg","text":"TemporaryFile(/tmp/multipartBody4906699853727763124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080792349,"filename":"image_05012025_13_38_03_145047_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1543ca1f249537288392b639c0a9d4d8.jpg","text":"TemporaryFile(/tmp/multipartBody798590748605560584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080792349,"filename":"image_05012025_13_38_03_145047_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c375ea1427c2aab71e6a24d572e3490e.jpg","text":"TemporaryFile(/tmp/multipartBody8948845518003205349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080792349,"filename":"image_05012025_13_37_02_887541_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879124","file1":"1326879122","file0":"1326879120","file3":"1326879126"},"map_files_photo_id_array":[{"photo_id":"1326879124","filename":"file2"},{"photo_id":"1326879122","filename":"file1"},{"photo_id":"1326879120","filename":"file0"},{"photo_id":"1326879126","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879122":["hashtag1","hashtag2"]},{"1326879124":["hashtag1","hashtag2"]},{"1326879126":["hashtag1","hashtag2"]},{"1326879120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879122, 1326879124, 1326879126, 1326879120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.286027908325195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:39:22.109862
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/38/image_05012025_13_38_03_145047_0003.jpg', '/home/pi/Desktop/images/05012025/13/39/image_05012025_13_39_02_233602_0000.jpg', '/home/pi/Desktop/images/05012025/13/39/image_05012025_13_39_02_233602_0001.jpg', '/home/pi/Desktop/images/05012025/13/39/image_05012025_13_39_02_233602_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/13/38/image_05012025_13_38_03_145047_0003.jpg
/home/pi/Desktop/images/05012025/13/39/image_05012025_13_39_02_233602_0000.jpg
/home/pi/Desktop/images/05012025/13/39/image_05012025_13_39_02_233602_0001.jpg
/home/pi/Desktop/images/05012025/13/39/image_05012025_13_39_02_233602_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879131","1326879133","1326879130","1326879135"],"photo_ids_order":["1326879130","1326879131","1326879133","1326879135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2e60afcd17e3fade7adde8d92c10db54.jpg","text":"TemporaryFile(/tmp/multipartBody2521769028981763407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080832527,"filename":"image_05012025_13_39_02_233602_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cdb675d5511659a5cdb2670a37671128.jpg","text":"TemporaryFile(/tmp/multipartBody8389750499520943915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080832527,"filename":"image_05012025_13_39_02_233602_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a8a542b7f2a43b4fdc5b48f26de931c7.jpg","text":"TemporaryFile(/tmp/multipartBody3581285012007610303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080832527,"filename":"image_05012025_13_38_03_145047_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/15844eed4bdd586f4ec08b1513909933.jpg","text":"TemporaryFile(/tmp/multipartBody7596181245212273116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080832527,"filename":"image_05012025_13_39_02_233602_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879133","file1":"1326879131","file0":"1326879130","file3":"1326879135"},"map_files_photo_id_array":[{"photo_id":"1326879133","filename":"file2"},{"photo_id":"1326879131","filename":"file1"},{"photo_id":"1326879130","filename":"file0"},{"photo_id":"1326879135","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879131":["hashtag1","hashtag2"]},{"1326879133":["hashtag1","hashtag2"]},{"1326879130":["hashtag1","hashtag2"]},{"1326879135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879131, 1326879133, 1326879130, 1326879135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.499589681625366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:40:22.313749
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/39/image_05012025_13_39_02_233602_0003.jpg', '/home/pi/Desktop/images/05012025/13/40/image_05012025_13_40_02_520107_0000.jpg', '/home/pi/Desktop/images/05012025/13/40/image_05012025_13_40_02_520107_0001.jpg', '/home/pi/Desktop/images/05012025/13/40/image_05012025_13_40_02_520107_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/13/39/image_05012025_13_39_02_233602_0003.jpg
/home/pi/Desktop/images/05012025/13/40/image_05012025_13_40_02_520107_0000.jpg
/home/pi/Desktop/images/05012025/13/40/image_05012025_13_40_02_520107_0001.jpg
/home/pi/Desktop/images/05012025/13/40/image_05012025_13_40_02_520107_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879146","1326879142","1326879144","1326879141"],"photo_ids_order":["1326879141","1326879142","1326879144","1326879146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b3438e2e7f007995c5e37ceee804dc4b.jpg","text":"TemporaryFile(/tmp/multipartBody6288530917523510951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080892787,"filename":"image_05012025_13_40_02_520107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/36adbd0958ab98ff605cfffb41af43e0.jpg","text":"TemporaryFile(/tmp/multipartBody6842404830724921115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080892787,"filename":"image_05012025_13_40_02_520107_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/609f141c3516f566705e2ddc9a461c70.jpg","text":"TemporaryFile(/tmp/multipartBody6609342448427320062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080892787,"filename":"image_05012025_13_40_02_520107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c54e0f880e0fe78e56c68cb2680f0063.jpg","text":"TemporaryFile(/tmp/multipartBody3618036606236621461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080892787,"filename":"image_05012025_13_39_02_233602_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879144","file1":"1326879142","file0":"1326879141","file3":"1326879146"},"map_files_photo_id_array":[{"photo_id":"1326879144","filename":"file2"},{"photo_id":"1326879142","filename":"file1"},{"photo_id":"1326879141","filename":"file0"},{"photo_id":"1326879146","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879146":["hashtag1","hashtag2"]},{"1326879142":["hashtag1","hashtag2"]},{"1326879144":["hashtag1","hashtag2"]},{"1326879141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879146, 1326879142, 1326879144, 1326879141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.81602954864502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:41:22.525326
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/40/image_05012025_13_40_02_520107_0003.jpg', '/home/pi/Desktop/images/05012025/13/41/image_05012025_13_41_02_638820_0000.jpg', '/home/pi/Desktop/images/05012025/13/41/image_05012025_13_41_02_638820_0001.jpg', '/home/pi/Desktop/images/05012025/13/41/image_05012025_13_41_02_638820_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/13/40/image_05012025_13_40_02_520107_0003.jpg
/home/pi/Desktop/images/05012025/13/41/image_05012025_13_41_02_638820_0000.jpg
/home/pi/Desktop/images/05012025/13/41/image_05012025_13_41_02_638820_0001.jpg
/home/pi/Desktop/images/05012025/13/41/image_05012025_13_41_02_638820_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879152","1326879155","1326879157","1326879153"],"photo_ids_order":["1326879152","1326879153","1326879155","1326879157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc2b18fc0c0d9b5440a30e14f202793b.jpg","text":"TemporaryFile(/tmp/multipartBody880224061034990930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080952935,"filename":"image_05012025_13_40_02_520107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/592fb4afc4eb977f78696b0bc3a0bf1c.jpg","text":"TemporaryFile(/tmp/multipartBody7607633102474717149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080952935,"filename":"image_05012025_13_41_02_638820_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/36e92f539d6cf363f82cbac40ac309a4.jpg","text":"TemporaryFile(/tmp/multipartBody3167988082477221973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080952935,"filename":"image_05012025_13_41_02_638820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8079db6a1a6cfe9804ef73e55339f1ac.jpg","text":"TemporaryFile(/tmp/multipartBody7613219813290519499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736080952935,"filename":"image_05012025_13_41_02_638820_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879155","file1":"1326879153","file0":"1326879152","file3":"1326879157"},"map_files_photo_id_array":[{"photo_id":"1326879155","filename":"file2"},{"photo_id":"1326879153","filename":"file1"},{"photo_id":"1326879152","filename":"file0"},{"photo_id":"1326879157","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879152":["hashtag1","hashtag2"]},{"1326879155":["hashtag1","hashtag2"]},{"1326879157":["hashtag1","hashtag2"]},{"1326879153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879152, 1326879155, 1326879157, 1326879153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.853150844573975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:42:22.612808
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/41/image_05012025_13_41_02_638820_0003.jpg', '/home/pi/Desktop/images/05012025/13/42/image_05012025_13_42_02_838077_0000.jpg', '/home/pi/Desktop/images/05012025/13/42/image_05012025_13_42_02_838077_0001.jpg', '/home/pi/Desktop/images/05012025/13/42/image_05012025_13_42_02_838077_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/13/41/image_05012025_13_41_02_638820_0003.jpg
/home/pi/Desktop/images/05012025/13/42/image_05012025_13_42_02_838077_0000.jpg
/home/pi/Desktop/images/05012025/13/42/image_05012025_13_42_02_838077_0001.jpg
/home/pi/Desktop/images/05012025/13/42/image_05012025_13_42_02_838077_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879164","1326879163","1326879166","1326879168"],"photo_ids_order":["1326879163","1326879164","1326879166","1326879168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0da840eae069d0df6a617027c0baadb2.jpg","text":"TemporaryFile(/tmp/multipartBody7824932420521182806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081012957,"filename":"image_05012025_13_42_02_838077_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6e419d48ab21b30a447f8f08909f76ec.jpg","text":"TemporaryFile(/tmp/multipartBody7879358106671492157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081012957,"filename":"image_05012025_13_41_02_638820_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/37a89e75f8670ccecdb5e468cb0a5529.jpg","text":"TemporaryFile(/tmp/multipartBody2298357507741102558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081012957,"filename":"image_05012025_13_42_02_838077_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9dbd37060d3a227fcdb511b74be5cda1.jpg","text":"TemporaryFile(/tmp/multipartBody3410742322017423428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081012957,"filename":"image_05012025_13_42_02_838077_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879166","file1":"1326879164","file0":"1326879163","file3":"1326879168"},"map_files_photo_id_array":[{"photo_id":"1326879166","filename":"file2"},{"photo_id":"1326879164","filename":"file1"},{"photo_id":"1326879163","filename":"file0"},{"photo_id":"1326879168","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879164":["hashtag1","hashtag2"]},{"1326879163":["hashtag1","hashtag2"]},{"1326879166":["hashtag1","hashtag2"]},{"1326879168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879164, 1326879163, 1326879166, 1326879168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.255380392074585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:43:21.914942
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/42/image_05012025_13_42_02_838077_0003.jpg', '/home/pi/Desktop/images/05012025/13/43/image_05012025_13_43_02_981884_0000.jpg', '/home/pi/Desktop/images/05012025/13/43/image_05012025_13_43_02_981884_0001.jpg', '/home/pi/Desktop/images/05012025/13/43/image_05012025_13_43_02_981884_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/13/42/image_05012025_13_42_02_838077_0003.jpg
/home/pi/Desktop/images/05012025/13/43/image_05012025_13_43_02_981884_0000.jpg
/home/pi/Desktop/images/05012025/13/43/image_05012025_13_43_02_981884_0001.jpg
/home/pi/Desktop/images/05012025/13/43/image_05012025_13_43_02_981884_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879176","1326879181","1326879177","1326879179"],"photo_ids_order":["1326879176","1326879177","1326879179","1326879181"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0bf35bfe4261a0cc824113f9732e3d89.jpg","text":"TemporaryFile(/tmp/multipartBody2185327563420544339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081072327,"filename":"image_05012025_13_42_02_838077_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3c880a1866e26573626dd994cb3d1233.jpg","text":"TemporaryFile(/tmp/multipartBody4181377685387505095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081072327,"filename":"image_05012025_13_43_02_981884_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f84b4f09e6c5cd317447c42a0665e0ae.jpg","text":"TemporaryFile(/tmp/multipartBody4461308708801057193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081072327,"filename":"image_05012025_13_43_02_981884_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a35c9c1b75884210f0d6a43f782db655.jpg","text":"TemporaryFile(/tmp/multipartBody1106198912451109233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081072327,"filename":"image_05012025_13_43_02_981884_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879179","file1":"1326879177","file0":"1326879176","file3":"1326879181"},"map_files_photo_id_array":[{"photo_id":"1326879179","filename":"file2"},{"photo_id":"1326879177","filename":"file1"},{"photo_id":"1326879176","filename":"file0"},{"photo_id":"1326879181","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879176":["hashtag1","hashtag2"]},{"1326879181":["hashtag1","hashtag2"]},{"1326879177":["hashtag1","hashtag2"]},{"1326879179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879176, 1326879181, 1326879177, 1326879179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.294809341430664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:44:21.993846
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/43/image_05012025_13_43_02_981884_0003.jpg', '/home/pi/Desktop/images/05012025/13/44/image_05012025_13_44_02_151093_0000.jpg', '/home/pi/Desktop/images/05012025/13/44/image_05012025_13_44_02_151093_0001.jpg', '/home/pi/Desktop/images/05012025/13/44/image_05012025_13_44_02_151093_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/13/43/image_05012025_13_43_02_981884_0003.jpg
/home/pi/Desktop/images/05012025/13/44/image_05012025_13_44_02_151093_0000.jpg
/home/pi/Desktop/images/05012025/13/44/image_05012025_13_44_02_151093_0001.jpg
/home/pi/Desktop/images/05012025/13/44/image_05012025_13_44_02_151093_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879203","1326879196","1326879200","1326879198"],"photo_ids_order":["1326879196","1326879198","1326879200","1326879203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/730f13d5ce10abd2a0be29baed6c032c.jpg","text":"TemporaryFile(/tmp/multipartBody7359666487556682096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081132242,"filename":"image_05012025_13_44_02_151093_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11b6cde8cae49029011229a798cc404e.jpg","text":"TemporaryFile(/tmp/multipartBody5947346343670089730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081132242,"filename":"image_05012025_13_43_02_981884_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/70634fcb9dcb7d8da080a669cefe5778.jpg","text":"TemporaryFile(/tmp/multipartBody2955827876526010773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081132242,"filename":"image_05012025_13_44_02_151093_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8666ff8caf929803b5b562605111db3a.jpg","text":"TemporaryFile(/tmp/multipartBody251579194432982521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081132242,"filename":"image_05012025_13_44_02_151093_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879200","file1":"1326879198","file0":"1326879196","file3":"1326879203"},"map_files_photo_id_array":[{"photo_id":"1326879200","filename":"file2"},{"photo_id":"1326879198","filename":"file1"},{"photo_id":"1326879196","filename":"file0"},{"photo_id":"1326879203","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879203":["hashtag1","hashtag2"]},{"1326879196":["hashtag1","hashtag2"]},{"1326879200":["hashtag1","hashtag2"]},{"1326879198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879203, 1326879196, 1326879200, 1326879198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.05096626281738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:45:22.191397
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/44/image_05012025_13_44_02_151093_0003.jpg', '/home/pi/Desktop/images/05012025/13/45/image_05012025_13_45_02_390835_0000.jpg', '/home/pi/Desktop/images/05012025/13/45/image_05012025_13_45_02_390835_0001.jpg', '/home/pi/Desktop/images/05012025/13/45/image_05012025_13_45_02_390835_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/13/44/image_05012025_13_44_02_151093_0003.jpg
/home/pi/Desktop/images/05012025/13/45/image_05012025_13_45_02_390835_0000.jpg
/home/pi/Desktop/images/05012025/13/45/image_05012025_13_45_02_390835_0001.jpg
/home/pi/Desktop/images/05012025/13/45/image_05012025_13_45_02_390835_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879218","1326879214","1326879213","1326879216"],"photo_ids_order":["1326879213","1326879214","1326879216","1326879218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cf5b8cb685ef47164ddcea37973432b4.jpg","text":"TemporaryFile(/tmp/multipartBody3506076470319388723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081192720,"filename":"image_05012025_13_45_02_390835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e8ed43f49ff94a13dd858030719c54e7.jpg","text":"TemporaryFile(/tmp/multipartBody9020801649288281727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081192720,"filename":"image_05012025_13_45_02_390835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/edb49d197f6fa94ba49e9640c4ae2e3c.jpg","text":"TemporaryFile(/tmp/multipartBody5805438901651634170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081192720,"filename":"image_05012025_13_44_02_151093_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a912972ba9c3b5f37a2b88d58369c4e0.jpg","text":"TemporaryFile(/tmp/multipartBody3917841392806308611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081192720,"filename":"image_05012025_13_45_02_390835_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879216","file1":"1326879214","file0":"1326879213","file3":"1326879218"},"map_files_photo_id_array":[{"photo_id":"1326879216","filename":"file2"},{"photo_id":"1326879214","filename":"file1"},{"photo_id":"1326879213","filename":"file0"},{"photo_id":"1326879218","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879218":["hashtag1","hashtag2"]},{"1326879214":["hashtag1","hashtag2"]},{"1326879213":["hashtag1","hashtag2"]},{"1326879216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879218, 1326879214, 1326879213, 1326879216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.52969932556152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:46:22.432183
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/45/image_05012025_13_45_02_390835_0003.jpg', '/home/pi/Desktop/images/05012025/13/46/image_05012025_13_46_02_534770_0000.jpg', '/home/pi/Desktop/images/05012025/13/46/image_05012025_13_46_02_534770_0001.jpg', '/home/pi/Desktop/images/05012025/13/46/image_05012025_13_46_02_534770_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/13/45/image_05012025_13_45_02_390835_0003.jpg
/home/pi/Desktop/images/05012025/13/46/image_05012025_13_46_02_534770_0000.jpg
/home/pi/Desktop/images/05012025/13/46/image_05012025_13_46_02_534770_0001.jpg
/home/pi/Desktop/images/05012025/13/46/image_05012025_13_46_02_534770_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.9860360622406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 13:46:42.340140
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/45/image_05012025_13_45_02_390835_0003.jpg', '/home/pi/Desktop/images/05012025/13/46/image_05012025_13_46_02_534770_0000.jpg', '/home/pi/Desktop/images/05012025/13/46/image_05012025_13_46_02_534770_0001.jpg', '/home/pi/Desktop/images/05012025/13/46/image_05012025_13_46_02_534770_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/13/45/image_05012025_13_45_02_390835_0003.jpg
/home/pi/Desktop/images/05012025/13/46/image_05012025_13_46_02_534770_0000.jpg
/home/pi/Desktop/images/05012025/13/46/image_05012025_13_46_02_534770_0001.jpg
/home/pi/Desktop/images/05012025/13/46/image_05012025_13_46_02_534770_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879240","1326879237","1326879231","1326879234"],"photo_ids_order":["1326879231","1326879234","1326879237","1326879240"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/80c47725d39328ab9cf2e1a1ee4a2a3d.jpg","text":"TemporaryFile(/tmp/multipartBody2164470965138204574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081272722,"filename":"image_05012025_13_46_02_534770_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4445f3022f1532df4305b95f9805c6e3.jpg","text":"TemporaryFile(/tmp/multipartBody2473746079479893386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081272722,"filename":"image_05012025_13_46_02_534770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/456eb9dd5edcef66208de8ccf247a47b.jpg","text":"TemporaryFile(/tmp/multipartBody8961687483658277808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081272722,"filename":"image_05012025_13_45_02_390835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0aa6c09f8200e62298414e54f8cb3539.jpg","text":"TemporaryFile(/tmp/multipartBody5228244317682533928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081272722,"filename":"image_05012025_13_46_02_534770_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879237","file1":"1326879234","file0":"1326879231","file3":"1326879240"},"map_files_photo_id_array":[{"photo_id":"1326879237","filename":"file2"},{"photo_id":"1326879234","filename":"file1"},{"photo_id":"1326879231","filename":"file0"},{"photo_id":"1326879240","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879240":["hashtag1","hashtag2"]},{"1326879237":["hashtag1","hashtag2"]},{"1326879231":["hashtag1","hashtag2"]},{"1326879234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879240, 1326879237, 1326879231, 1326879234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.527535915374756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 13:47:32.554293
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/46/image_05012025_13_46_02_534770_0003.jpg', '/home/pi/Desktop/images/05012025/13/47/image_05012025_13_47_02_756714_0000.jpg', '/home/pi/Desktop/images/05012025/13/47/image_05012025_13_47_02_756714_0001.jpg', '/home/pi/Desktop/images/05012025/13/47/image_05012025_13_47_02_756714_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/13/46/image_05012025_13_46_02_534770_0003.jpg
/home/pi/Desktop/images/05012025/13/47/image_05012025_13_47_02_756714_0000.jpg
/home/pi/Desktop/images/05012025/13/47/image_05012025_13_47_02_756714_0001.jpg
/home/pi/Desktop/images/05012025/13/47/image_05012025_13_47_02_756714_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879251","1326879253","1326879249","1326879246"],"photo_ids_order":["1326879246","1326879249","1326879251","1326879253"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe6a148ca7c930587260f31b70159498.jpg","text":"TemporaryFile(/tmp/multipartBody1067082738061013134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081323038,"filename":"image_05012025_13_47_02_756714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a2e4ec0b452f421a69d5b15ed14433a3.jpg","text":"TemporaryFile(/tmp/multipartBody3656978811742542302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081323038,"filename":"image_05012025_13_47_02_756714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8545c6d3b3c7893efd25e08261f6a878.jpg","text":"TemporaryFile(/tmp/multipartBody4373726610505905914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081323038,"filename":"image_05012025_13_47_02_756714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/971658575846f0de898f659f9df6ee2b.jpg","text":"TemporaryFile(/tmp/multipartBody1974470949647514397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081323038,"filename":"image_05012025_13_46_02_534770_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879251","file1":"1326879249","file0":"1326879246","file3":"1326879253"},"map_files_photo_id_array":[{"photo_id":"1326879251","filename":"file2"},{"photo_id":"1326879249","filename":"file1"},{"photo_id":"1326879246","filename":"file0"},{"photo_id":"1326879253","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879251":["hashtag1","hashtag2"]},{"1326879253":["hashtag1","hashtag2"]},{"1326879249":["hashtag1","hashtag2"]},{"1326879246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879251, 1326879253, 1326879249, 1326879246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.95994687080383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:48:22.762408
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/47/image_05012025_13_47_02_756714_0003.jpg', '/home/pi/Desktop/images/05012025/13/48/image_05012025_13_48_02_899956_0000.jpg', '/home/pi/Desktop/images/05012025/13/48/image_05012025_13_48_02_899956_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/13/47/image_05012025_13_47_02_756714_0003.jpg
/home/pi/Desktop/images/05012025/13/48/image_05012025_13_48_02_899956_0000.jpg
/home/pi/Desktop/images/05012025/13/48/image_05012025_13_48_02_899956_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":["1326879262","1326879265","1326879264"],"photo_ids_order":["1326879262","1326879264","1326879265"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fec01076ee46aaeb06884930af086213.jpg","text":"TemporaryFile(/tmp/multipartBody7355024511139117688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081370697,"filename":"image_05012025_13_47_02_756714_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/92227fd30dc49a7c9515baef61cfba98.jpg","text":"TemporaryFile(/tmp/multipartBody1256383189535265864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081370697,"filename":"image_05012025_13_48_02_899956_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b30a7d2fc8adf94fe5ab8573b5892219.jpg","text":"TemporaryFile(/tmp/multipartBody5264912507744967931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081370697,"filename":"image_05012025_13_48_02_899956_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879265","file1":"1326879264","file0":"1326879262"},"map_files_photo_id_array":[{"photo_id":"1326879265","filename":"file2"},{"photo_id":"1326879264","filename":"file1"},{"photo_id":"1326879262","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879262":["hashtag1","hashtag2"]},{"1326879265":["hashtag1","hashtag2"]},{"1326879264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879262, 1326879265, 1326879264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.342652797698975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 13:49:02.466754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:49:21.989029
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/48/image_05012025_13_48_02_899956_0002.jpg', '/home/pi/Desktop/images/05012025/13/49/image_05012025_13_49_03_154505_0000.jpg', '/home/pi/Desktop/images/05012025/13/49/image_05012025_13_49_03_154505_0001.jpg', '/home/pi/Desktop/images/05012025/13/49/image_05012025_13_49_03_154505_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/13/48/image_05012025_13_48_02_899956_0002.jpg
/home/pi/Desktop/images/05012025/13/49/image_05012025_13_49_03_154505_0000.jpg
/home/pi/Desktop/images/05012025/13/49/image_05012025_13_49_03_154505_0001.jpg
/home/pi/Desktop/images/05012025/13/49/image_05012025_13_49_03_154505_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879275","1326879277","1326879274","1326879279"],"photo_ids_order":["1326879274","1326879275","1326879277","1326879279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b6e0a82ac33b1524ba3051f353dbe81d.jpg","text":"TemporaryFile(/tmp/multipartBody1517994445411778397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081432265,"filename":"image_05012025_13_49_03_154505_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/56890ed913c44454ee25ebac5e995014.jpg","text":"TemporaryFile(/tmp/multipartBody3708193098370716915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081432265,"filename":"image_05012025_13_49_03_154505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7891db13bdb785614cc7b5a039b006df.jpg","text":"TemporaryFile(/tmp/multipartBody1165705324466008213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081432265,"filename":"image_05012025_13_48_02_899956_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/27c2edfea1f4cccf4184f1fd05cd1ceb.jpg","text":"TemporaryFile(/tmp/multipartBody798495697531779081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081432265,"filename":"image_05012025_13_49_03_154505_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879277","file1":"1326879275","file0":"1326879274","file3":"1326879279"},"map_files_photo_id_array":[{"photo_id":"1326879277","filename":"file2"},{"photo_id":"1326879275","filename":"file1"},{"photo_id":"1326879274","filename":"file0"},{"photo_id":"1326879279","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879275":["hashtag1","hashtag2"]},{"1326879277":["hashtag1","hashtag2"]},{"1326879274":["hashtag1","hashtag2"]},{"1326879279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879275, 1326879277, 1326879274, 1326879279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.33224320411682 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:50:22.090557
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/49/image_05012025_13_49_03_154505_0003.jpg', '/home/pi/Desktop/images/05012025/13/50/image_05012025_13_50_02_264089_0001.jpg', '/home/pi/Desktop/images/05012025/13/50/image_05012025_13_50_02_264089_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/13/49/image_05012025_13_49_03_154505_0003.jpg
/home/pi/Desktop/images/05012025/13/50/image_05012025_13_50_02_264089_0001.jpg
/home/pi/Desktop/images/05012025/13/50/image_05012025_13_50_02_264089_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879289","1326879286","1326879288"],"photo_ids_order":["1326879286","1326879288","1326879289"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9a4be17ed960095a669f440153ddd10e.jpg","text":"TemporaryFile(/tmp/multipartBody5217645688672997501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081489714,"filename":"image_05012025_13_50_02_264089_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fc0d5ae900d1f16d076ddbe320ed7d29.jpg","text":"TemporaryFile(/tmp/multipartBody956341922523953668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081489714,"filename":"image_05012025_13_49_03_154505_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/95178d64092e919db68fd0418905cc6a.jpg","text":"TemporaryFile(/tmp/multipartBody4577188730460200882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081489714,"filename":"image_05012025_13_50_02_264089_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879289","file1":"1326879288","file0":"1326879286"},"map_files_photo_id_array":[{"photo_id":"1326879289","filename":"file2"},{"photo_id":"1326879288","filename":"file1"},{"photo_id":"1326879286","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879289":["hashtag1","hashtag2"]},{"1326879286":["hashtag1","hashtag2"]},{"1326879288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879289, 1326879286, 1326879288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.345163106918335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 13:51:02.870679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:51:22.310478
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/50/image_05012025_13_50_02_264089_0003.jpg', '/home/pi/Desktop/images/05012025/13/51/image_05012025_13_51_02_431547_0000.jpg', '/home/pi/Desktop/images/05012025/13/51/image_05012025_13_51_02_431547_0001.jpg', '/home/pi/Desktop/images/05012025/13/51/image_05012025_13_51_02_431547_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/13/50/image_05012025_13_50_02_264089_0003.jpg
/home/pi/Desktop/images/05012025/13/51/image_05012025_13_51_02_431547_0000.jpg
/home/pi/Desktop/images/05012025/13/51/image_05012025_13_51_02_431547_0001.jpg
/home/pi/Desktop/images/05012025/13/51/image_05012025_13_51_02_431547_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879305","1326879301","1326879304","1326879303"],"photo_ids_order":["1326879301","1326879303","1326879304","1326879305"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a0ab1096b5c33833325eeb54675835c8.jpg","text":"TemporaryFile(/tmp/multipartBody6511981711906388286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081552350,"filename":"image_05012025_13_51_02_431547_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd2a16435ee405417029ac25af5e2ab5.jpg","text":"TemporaryFile(/tmp/multipartBody5402571772139849478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081552350,"filename":"image_05012025_13_50_02_264089_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab9bd41cc7f24ce6d51ffd88d8ed01e6.jpg","text":"TemporaryFile(/tmp/multipartBody839400806741035538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081552350,"filename":"image_05012025_13_51_02_431547_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3ed9fd8dcbb02f5a2cd9b77c30c2242f.jpg","text":"TemporaryFile(/tmp/multipartBody6039222570000979004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081552350,"filename":"image_05012025_13_51_02_431547_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879304","file1":"1326879303","file0":"1326879301","file3":"1326879305"},"map_files_photo_id_array":[{"photo_id":"1326879304","filename":"file2"},{"photo_id":"1326879303","filename":"file1"},{"photo_id":"1326879301","filename":"file0"},{"photo_id":"1326879305","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879305":["hashtag1","hashtag2"]},{"1326879301":["hashtag1","hashtag2"]},{"1326879304":["hashtag1","hashtag2"]},{"1326879303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879305, 1326879301, 1326879304, 1326879303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.36999583244324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:52:22.490413
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/51/image_05012025_13_51_02_431547_0003.jpg', '/home/pi/Desktop/images/05012025/13/52/image_05012025_13_52_02_757836_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/13/51/image_05012025_13_51_02_431547_0003.jpg
/home/pi/Desktop/images/05012025/13/52/image_05012025_13_52_02_757836_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: 5.009782791137695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 13:52:32.395889
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/51/image_05012025_13_51_02_431547_0003.jpg', '/home/pi/Desktop/images/05012025/13/52/image_05012025_13_52_02_757836_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/13/51/image_05012025_13_51_02_431547_0003.jpg
/home/pi/Desktop/images/05012025/13/52/image_05012025_13_52_02_757836_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":["1326879316","1326879315"],"photo_ids_order":["1326879315","1326879316"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4e9d3321790ace7a064ec77fbb07ef47.jpg","text":"TemporaryFile(/tmp/multipartBody1177323582864296242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081617808,"filename":"image_05012025_13_52_02_757836_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/75df866fed3dac04e43426658e4534ef.jpg","text":"TemporaryFile(/tmp/multipartBody812635823539774183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081617808,"filename":"image_05012025_13_51_02_431547_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326879316","file0":"1326879315"},"map_files_photo_id_array":[{"photo_id":"1326879316","filename":"file1"},{"photo_id":"1326879315","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879316":["hashtag1","hashtag2"]},{"1326879315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879316, 1326879315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.979042530059814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 13:53:03.233535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:53:22.651339
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/52/image_05012025_13_52_02_757836_0003.jpg', '/home/pi/Desktop/images/05012025/13/53/image_05012025_13_53_02_863248_0000.jpg', '/home/pi/Desktop/images/05012025/13/53/image_05012025_13_53_02_863248_0001.jpg', '/home/pi/Desktop/images/05012025/13/53/image_05012025_13_53_02_863248_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/13/52/image_05012025_13_52_02_757836_0003.jpg
/home/pi/Desktop/images/05012025/13/53/image_05012025_13_53_02_863248_0000.jpg
/home/pi/Desktop/images/05012025/13/53/image_05012025_13_53_02_863248_0001.jpg
/home/pi/Desktop/images/05012025/13/53/image_05012025_13_53_02_863248_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879329","1326879325","1326879328","1326879327"],"photo_ids_order":["1326879325","1326879327","1326879328","1326879329"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a18c54e6621c5f0c117d36dde4e92a29.jpg","text":"TemporaryFile(/tmp/multipartBody5866118397129786354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081673147,"filename":"image_05012025_13_53_02_863248_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b55c30b8358cc91c1489959f8417d843.jpg","text":"TemporaryFile(/tmp/multipartBody5009155747478507312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081673147,"filename":"image_05012025_13_52_02_757836_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f1a07939f3c491a9e66a294072a73483.jpg","text":"TemporaryFile(/tmp/multipartBody7998322286136849217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081673147,"filename":"image_05012025_13_53_02_863248_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ec1a702885e053bfe8916f853d020652.jpg","text":"TemporaryFile(/tmp/multipartBody5051366228995885410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081673147,"filename":"image_05012025_13_53_02_863248_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879328","file1":"1326879327","file0":"1326879325","file3":"1326879329"},"map_files_photo_id_array":[{"photo_id":"1326879328","filename":"file2"},{"photo_id":"1326879327","filename":"file1"},{"photo_id":"1326879325","filename":"file0"},{"photo_id":"1326879329","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879329":["hashtag1","hashtag2"]},{"1326879325":["hashtag1","hashtag2"]},{"1326879328":["hashtag1","hashtag2"]},{"1326879327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879329, 1326879325, 1326879328, 1326879327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.826767683029175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:54:22.791250
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/53/image_05012025_13_53_02_863248_0003.jpg', '/home/pi/Desktop/images/05012025/13/54/image_05012025_13_54_02_938530_0000.jpg', '/home/pi/Desktop/images/05012025/13/54/image_05012025_13_54_02_938530_0001.jpg', '/home/pi/Desktop/images/05012025/13/54/image_05012025_13_54_02_938530_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/13/53/image_05012025_13_53_02_863248_0003.jpg
/home/pi/Desktop/images/05012025/13/54/image_05012025_13_54_02_938530_0000.jpg
/home/pi/Desktop/images/05012025/13/54/image_05012025_13_54_02_938530_0001.jpg
/home/pi/Desktop/images/05012025/13/54/image_05012025_13_54_02_938530_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326879335","1326879338","1326879337","1326879339"],"photo_ids_order":["1326879335","1326879337","1326879338","1326879339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0bfc9296d4fdbe0869ece79669eda0b1.jpg","text":"TemporaryFile(/tmp/multipartBody2172820706418462133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081733073,"filename":"image_05012025_13_53_02_863248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2c6ddaa5530d71eae5109db9212d1af.jpg","text":"TemporaryFile(/tmp/multipartBody2200208807449198089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081733073,"filename":"image_05012025_13_54_02_938530_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a7053ac5ba5989f31bb26b490142650.jpg","text":"TemporaryFile(/tmp/multipartBody7620058303357772739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081733073,"filename":"image_05012025_13_54_02_938530_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cce741a798f369a2ce7db63058cdeb70.jpg","text":"TemporaryFile(/tmp/multipartBody6133114052669693724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081733073,"filename":"image_05012025_13_54_02_938530_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879338","file1":"1326879337","file0":"1326879335","file3":"1326879339"},"map_files_photo_id_array":[{"photo_id":"1326879338","filename":"file2"},{"photo_id":"1326879337","filename":"file1"},{"photo_id":"1326879335","filename":"file0"},{"photo_id":"1326879339","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879335":["hashtag1","hashtag2"]},{"1326879338":["hashtag1","hashtag2"]},{"1326879337":["hashtag1","hashtag2"]},{"1326879339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879335, 1326879338, 1326879337, 1326879339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.34600520133972 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:55:21.913438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 13:55:31.905668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 13:55:41.922599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 13:55:51.906898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 13:56:02.504616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 13:56:22.178524
SELECT 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/13/54/image_05012025_13_54_02_938530_0003.jpg', '/home/pi/Desktop/images/05012025/13/55/image_05012025_13_55_03_131945_0000.jpg', '/home/pi/Desktop/images/05012025/13/55/image_05012025_13_55_03_131945_0002.jpg', '/home/pi/Desktop/images/05012025/13/55/image_05012025_13_55_03_131945_0003.jpg', '/home/pi/Desktop/images/05012025/13/56/image_05012025_13_56_02_357345_0000.jpg', '/home/pi/Desktop/images/05012025/13/56/image_05012025_13_56_02_357345_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/13/54/image_05012025_13_54_02_938530_0003.jpg
/home/pi/Desktop/images/05012025/13/55/image_05012025_13_55_03_131945_0000.jpg
/home/pi/Desktop/images/05012025/13/55/image_05012025_13_55_03_131945_0002.jpg
/home/pi/Desktop/images/05012025/13/55/image_05012025_13_55_03_131945_0003.jpg
/home/pi/Desktop/images/05012025/13/56/image_05012025_13_56_02_357345_0000.jpg
/home/pi/Desktop/images/05012025/13/56/image_05012025_13_56_02_357345_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.990772485733032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 13:56:42.145861
SELECT 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/13/54/image_05012025_13_54_02_938530_0003.jpg', '/home/pi/Desktop/images/05012025/13/55/image_05012025_13_55_03_131945_0000.jpg', '/home/pi/Desktop/images/05012025/13/55/image_05012025_13_55_03_131945_0002.jpg', '/home/pi/Desktop/images/05012025/13/55/image_05012025_13_55_03_131945_0003.jpg', '/home/pi/Desktop/images/05012025/13/56/image_05012025_13_56_02_357345_0000.jpg', '/home/pi/Desktop/images/05012025/13/56/image_05012025_13_56_02_357345_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/13/54/image_05012025_13_54_02_938530_0003.jpg
/home/pi/Desktop/images/05012025/13/55/image_05012025_13_55_03_131945_0000.jpg
/home/pi/Desktop/images/05012025/13/55/image_05012025_13_55_03_131945_0002.jpg
/home/pi/Desktop/images/05012025/13/55/image_05012025_13_55_03_131945_0003.jpg
/home/pi/Desktop/images/05012025/13/56/image_05012025_13_56_02_357345_0000.jpg
/home/pi/Desktop/images/05012025/13/56/image_05012025_13_56_02_357345_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":["1326879863","1326879859","1326879937","1326879861","1326879921","1326879804"],"photo_ids_order":["1326879804","1326879859","1326879861","1326879863","1326879921","1326879937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f483a02ee5d9f17154b683c1250503e4.jpg","text":"TemporaryFile(/tmp/multipartBody1884566494431343320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081877553,"filename":"image_05012025_13_55_03_131945_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b4e087bcdda7dc9b3cfe3bbee614283.jpg","text":"TemporaryFile(/tmp/multipartBody2006256175514041652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081877553,"filename":"image_05012025_13_55_03_131945_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/70be6796da8cec2d03a487a05d9c3171.jpg","text":"TemporaryFile(/tmp/multipartBody7271528393972303311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081877553,"filename":"image_05012025_13_56_02_357345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c1e5becf0824c6bd38f41abfb75c2fda.jpg","text":"TemporaryFile(/tmp/multipartBody6879263081515125840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081877553,"filename":"image_05012025_13_55_03_131945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8b8bb8fe4d40991210a90e1130abdd8b.jpg","text":"TemporaryFile(/tmp/multipartBody845536067428611621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081877553,"filename":"image_05012025_13_56_02_357345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/be181fbf0f9cc457d151a20777fd0ca4.jpg","text":"TemporaryFile(/tmp/multipartBody2158498559764139109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736081877553,"filename":"image_05012025_13_54_02_938530_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326879861","file1":"1326879859","file0":"1326879804","file4":"1326879921","file5":"1326879937","file3":"1326879863"},"map_files_photo_id_array":[{"photo_id":"1326879937","filename":"file5"},{"photo_id":"1326879861","filename":"file2"},{"photo_id":"1326879921","filename":"file4"},{"photo_id":"1326879859","filename":"file1"},{"photo_id":"1326879804","filename":"file0"},{"photo_id":"1326879863","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326879863":["hashtag1","hashtag2"]},{"1326879859":["hashtag1","hashtag2"]},{"1326879937":["hashtag1","hashtag2"]},{"1326879861":["hashtag1","hashtag2"]},{"1326879921":["hashtag1","hashtag2"]},{"1326879804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326879863, 1326879859, 1326879937, 1326879861, 1326879921, 1326879804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.06453776359558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 13:57:42.346279
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/56/image_05012025_13_56_02_357345_0002.jpg', '/home/pi/Desktop/images/05012025/13/56/image_05012025_13_56_02_357345_0003.jpg', '/home/pi/Desktop/images/05012025/13/57/image_05012025_13_57_02_544235_0000.jpg', '/home/pi/Desktop/images/05012025/13/57/image_05012025_13_57_02_544235_0001.jpg', '/home/pi/Desktop/images/05012025/13/57/image_05012025_13_57_02_544235_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/13/56/image_05012025_13_56_02_357345_0002.jpg
/home/pi/Desktop/images/05012025/13/56/image_05012025_13_56_02_357345_0003.jpg
/home/pi/Desktop/images/05012025/13/57/image_05012025_13_57_02_544235_0000.jpg
/home/pi/Desktop/images/05012025/13/57/image_05012025_13_57_02_544235_0001.jpg
/home/pi/Desktop/images/05012025/13/57/image_05012025_13_57_02_544235_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-05 13:59:03.355984
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/13/56/image_05012025_13_56_02_357345_0002.jpg', '/home/pi/Desktop/images/05012025/13/56/image_05012025_13_56_02_357345_0003.jpg', '/home/pi/Desktop/images/05012025/13/57/image_05012025_13_57_02_544235_0000.jpg', '/home/pi/Desktop/images/05012025/13/57/image_05012025_13_57_02_544235_0001.jpg', '/home/pi/Desktop/images/05012025/13/57/image_05012025_13_57_02_544235_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/13/56/image_05012025_13_56_02_357345_0002.jpg
/home/pi/Desktop/images/05012025/13/56/image_05012025_13_56_02_357345_0003.jpg
/home/pi/Desktop/images/05012025/13/57/image_05012025_13_57_02_544235_0000.jpg
/home/pi/Desktop/images/05012025/13/57/image_05012025_13_57_02_544235_0001.jpg
/home/pi/Desktop/images/05012025/13/57/image_05012025_13_57_02_544235_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880292","1326880288","1326880276","1326880296","1326880281"],"photo_ids_order":["1326880276","1326880281","1326880288","1326880292","1326880296"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/608bac82ff19f7a0512730802d970b94.jpg","text":"TemporaryFile(/tmp/multipartBody4951644016892957701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082016219,"filename":"image_05012025_13_57_02_544235_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f4614051fc4769244885da88e8657ba1.jpg","text":"TemporaryFile(/tmp/multipartBody8510428275676977438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082016219,"filename":"image_05012025_13_57_02_544235_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a82730dc923d5714323b9f7e4701dd9.jpg","text":"TemporaryFile(/tmp/multipartBody3001489656684444266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082016219,"filename":"image_05012025_13_56_02_357345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6538059d8810f1e6e873ebbf8b517ad4.jpg","text":"TemporaryFile(/tmp/multipartBody4082085244771493454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082016219,"filename":"image_05012025_13_57_02_544235_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc8b3cc2c839c4c45f9cc05f29511598.jpg","text":"TemporaryFile(/tmp/multipartBody2384991912966530693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082016219,"filename":"image_05012025_13_56_02_357345_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880288","file1":"1326880281","file0":"1326880276","file4":"1326880296","file3":"1326880292"},"map_files_photo_id_array":[{"photo_id":"1326880288","filename":"file2"},{"photo_id":"1326880296","filename":"file4"},{"photo_id":"1326880281","filename":"file1"},{"photo_id":"1326880276","filename":"file0"},{"photo_id":"1326880292","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880292":["hashtag1","hashtag2"]},{"1326880288":["hashtag1","hashtag2"]},{"1326880276":["hashtag1","hashtag2"]},{"1326880296":["hashtag1","hashtag2"]},{"1326880281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880292, 1326880288, 1326880276, 1326880296, 1326880281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 51.33827781677246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 14:00:02.267617
SELECT 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/13/57/image_05012025_13_57_02_544235_0003.jpg', '/home/pi/Desktop/images/05012025/13/58/image_05012025_13_58_02_638779_0000.jpg', '/home/pi/Desktop/images/05012025/13/58/image_05012025_13_58_02_638779_0001.jpg', '/home/pi/Desktop/images/05012025/13/58/image_05012025_13_58_02_638779_0002.jpg', '/home/pi/Desktop/images/05012025/13/58/image_05012025_13_58_02_638779_0003.jpg', '/home/pi/Desktop/images/05012025/13/59/image_05012025_13_59_02_863947_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/13/57/image_05012025_13_57_02_544235_0003.jpg
/home/pi/Desktop/images/05012025/13/58/image_05012025_13_58_02_638779_0000.jpg
/home/pi/Desktop/images/05012025/13/58/image_05012025_13_58_02_638779_0001.jpg
/home/pi/Desktop/images/05012025/13/58/image_05012025_13_58_02_638779_0002.jpg
/home/pi/Desktop/images/05012025/13/58/image_05012025_13_58_02_638779_0003.jpg
/home/pi/Desktop/images/05012025/13/59/image_05012025_13_59_02_863947_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":["1326880317","1326880314","1326880308","1326880328","1326880324","1326880321"],"photo_ids_order":["1326880308","1326880314","1326880317","1326880321","1326880324","1326880328"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/985d4c70c9bd6089f3e7d6bd45cc4fa9.jpg","text":"TemporaryFile(/tmp/multipartBody8264322883616754842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082077606,"filename":"image_05012025_13_58_02_638779_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/72b6dc0453fa81536ef327f7caff2b0d.jpg","text":"TemporaryFile(/tmp/multipartBody7273675733336548145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082077606,"filename":"image_05012025_13_58_02_638779_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4b31259718121af429ed078752b5d787.jpg","text":"TemporaryFile(/tmp/multipartBody8071720784617697179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082077606,"filename":"image_05012025_13_57_02_544235_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2298355f20437fb703e5bc8c99b5eeaf.jpg","text":"TemporaryFile(/tmp/multipartBody7435395063110506116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082077606,"filename":"image_05012025_13_59_02_863947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0c41e835f74fca747e6c96708a39c9ae.jpg","text":"TemporaryFile(/tmp/multipartBody2532201146465622954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082077606,"filename":"image_05012025_13_58_02_638779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/351bf317858524efefe8770f8a754416.jpg","text":"TemporaryFile(/tmp/multipartBody5659977485336207161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082077606,"filename":"image_05012025_13_58_02_638779_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880317","file1":"1326880314","file0":"1326880308","file4":"1326880324","file5":"1326880328","file3":"1326880321"},"map_files_photo_id_array":[{"photo_id":"1326880328","filename":"file5"},{"photo_id":"1326880317","filename":"file2"},{"photo_id":"1326880324","filename":"file4"},{"photo_id":"1326880314","filename":"file1"},{"photo_id":"1326880308","filename":"file0"},{"photo_id":"1326880321","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880317":["hashtag1","hashtag2"]},{"1326880314":["hashtag1","hashtag2"]},{"1326880308":["hashtag1","hashtag2"]},{"1326880328":["hashtag1","hashtag2"]},{"1326880324":["hashtag1","hashtag2"]},{"1326880321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880317, 1326880314, 1326880308, 1326880328, 1326880324, 1326880321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.353612661361694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 14:01:02.609911
SELECT 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/13/59/image_05012025_13_59_02_863947_0001.jpg', '/home/pi/Desktop/images/05012025/13/59/image_05012025_13_59_02_863947_0002.jpg', '/home/pi/Desktop/images/05012025/13/59/image_05012025_13_59_02_863947_0003.jpg', '/home/pi/Desktop/images/05012025/14/00/image_05012025_14_00_03_023907_0000.jpg', '/home/pi/Desktop/images/05012025/14/00/image_05012025_14_00_03_023907_0001.jpg', '/home/pi/Desktop/images/05012025/14/00/image_05012025_14_00_03_023907_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/13/59/image_05012025_13_59_02_863947_0001.jpg
/home/pi/Desktop/images/05012025/13/59/image_05012025_13_59_02_863947_0002.jpg
/home/pi/Desktop/images/05012025/13/59/image_05012025_13_59_02_863947_0003.jpg
/home/pi/Desktop/images/05012025/14/00/image_05012025_14_00_03_023907_0000.jpg
/home/pi/Desktop/images/05012025/14/00/image_05012025_14_00_03_023907_0001.jpg
/home/pi/Desktop/images/05012025/14/00/image_05012025_14_00_03_023907_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880343","1326880349","1326880360","1326880354","1326880357","1326880339"],"photo_ids_order":["1326880339","1326880343","1326880349","1326880354","1326880357","1326880360"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7a6ef3f40954dbbf60e2f7604f1f8ee1.jpg","text":"TemporaryFile(/tmp/multipartBody604763330170579354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082138002,"filename":"image_05012025_13_59_02_863947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/372b24c8912fd13c5515b73e7335d535.jpg","text":"TemporaryFile(/tmp/multipartBody9086244943727972583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082138002,"filename":"image_05012025_13_59_02_863947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/12304e2b723983d29f98c299c8df1115.jpg","text":"TemporaryFile(/tmp/multipartBody3855209446658109986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082138002,"filename":"image_05012025_14_00_03_023907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c68c84cc82e3946fd3ecae923283c0f4.jpg","text":"TemporaryFile(/tmp/multipartBody8668498015291748142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082138002,"filename":"image_05012025_14_00_03_023907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a6e2b9ba15237806a7254f74b3cae8c6.jpg","text":"TemporaryFile(/tmp/multipartBody3301969983838934622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082138002,"filename":"image_05012025_14_00_03_023907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8149ae8aae4202f4863cbded9d32b3eb.jpg","text":"TemporaryFile(/tmp/multipartBody7031932893259272912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082138002,"filename":"image_05012025_13_59_02_863947_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880349","file1":"1326880343","file0":"1326880339","file4":"1326880357","file5":"1326880360","file3":"1326880354"},"map_files_photo_id_array":[{"photo_id":"1326880360","filename":"file5"},{"photo_id":"1326880349","filename":"file2"},{"photo_id":"1326880357","filename":"file4"},{"photo_id":"1326880343","filename":"file1"},{"photo_id":"1326880339","filename":"file0"},{"photo_id":"1326880354","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880343":["hashtag1","hashtag2"]},{"1326880349":["hashtag1","hashtag2"]},{"1326880360":["hashtag1","hashtag2"]},{"1326880354":["hashtag1","hashtag2"]},{"1326880357":["hashtag1","hashtag2"]},{"1326880339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880343, 1326880349, 1326880360, 1326880354, 1326880357, 1326880339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.62426519393921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 14:02:02.627180
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/00/image_05012025_14_00_03_023907_0003.jpg', '/home/pi/Desktop/images/05012025/14/01/image_05012025_14_01_02_151714_0000.jpg', '/home/pi/Desktop/images/05012025/14/01/image_05012025_14_01_02_151714_0001.jpg', '/home/pi/Desktop/images/05012025/14/01/image_05012025_14_01_02_151714_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/14/00/image_05012025_14_00_03_023907_0003.jpg
/home/pi/Desktop/images/05012025/14/01/image_05012025_14_01_02_151714_0000.jpg
/home/pi/Desktop/images/05012025/14/01/image_05012025_14_01_02_151714_0001.jpg
/home/pi/Desktop/images/05012025/14/01/image_05012025_14_01_02_151714_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880367","1326880377","1326880371","1326880374"],"photo_ids_order":["1326880367","1326880371","1326880374","1326880377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/68822fddcd5b46947dee9ef2ed1cbf11.jpg","text":"TemporaryFile(/tmp/multipartBody6329774759429349848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082193111,"filename":"image_05012025_14_00_03_023907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6f7d3323e7551a145315145de5bdde15.jpg","text":"TemporaryFile(/tmp/multipartBody3420776624310013479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082193111,"filename":"image_05012025_14_01_02_151714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e5c1021c3dc93cbe2e36ad931ea85c6f.jpg","text":"TemporaryFile(/tmp/multipartBody1754161983491387284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082193111,"filename":"image_05012025_14_01_02_151714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f21ed851852723da7ea22dcbab76c33b.jpg","text":"TemporaryFile(/tmp/multipartBody1440213605665101860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082193111,"filename":"image_05012025_14_01_02_151714_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880374","file1":"1326880371","file0":"1326880367","file3":"1326880377"},"map_files_photo_id_array":[{"photo_id":"1326880374","filename":"file2"},{"photo_id":"1326880371","filename":"file1"},{"photo_id":"1326880367","filename":"file0"},{"photo_id":"1326880377","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880367":["hashtag1","hashtag2"]},{"1326880377":["hashtag1","hashtag2"]},{"1326880371":["hashtag1","hashtag2"]},{"1326880374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880367, 1326880377, 1326880371, 1326880374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.33034086227417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 14:02:52.194104
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/01/image_05012025_14_01_02_151714_0003.jpg', '/home/pi/Desktop/images/05012025/14/02/image_05012025_14_02_02_383369_0000.jpg', '/home/pi/Desktop/images/05012025/14/02/image_05012025_14_02_02_383369_0001.jpg', '/home/pi/Desktop/images/05012025/14/02/image_05012025_14_02_02_383369_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/14/01/image_05012025_14_01_02_151714_0003.jpg
/home/pi/Desktop/images/05012025/14/02/image_05012025_14_02_02_383369_0000.jpg
/home/pi/Desktop/images/05012025/14/02/image_05012025_14_02_02_383369_0001.jpg
/home/pi/Desktop/images/05012025/14/02/image_05012025_14_02_02_383369_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880385","1326880390","1326880393","1326880387"],"photo_ids_order":["1326880385","1326880387","1326880390","1326880393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66802959b3d9059314fa64e3b4681ee2.jpg","text":"TemporaryFile(/tmp/multipartBody5580082885583859147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082242642,"filename":"image_05012025_14_01_02_151714_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2e85a7f560de7682ab18e037010af65d.jpg","text":"TemporaryFile(/tmp/multipartBody4332225433180636893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082242642,"filename":"image_05012025_14_02_02_383369_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0ce9d4d2b0daab11f7284a6b669e3a88.jpg","text":"TemporaryFile(/tmp/multipartBody6317484293104103554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082242642,"filename":"image_05012025_14_02_02_383369_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c5304081b993d1bb7685f2f926c175d1.jpg","text":"TemporaryFile(/tmp/multipartBody9158223449686775275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082242642,"filename":"image_05012025_14_02_02_383369_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880390","file1":"1326880387","file0":"1326880385","file3":"1326880393"},"map_files_photo_id_array":[{"photo_id":"1326880390","filename":"file2"},{"photo_id":"1326880387","filename":"file1"},{"photo_id":"1326880385","filename":"file0"},{"photo_id":"1326880393","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880385":["hashtag1","hashtag2"]},{"1326880390":["hashtag1","hashtag2"]},{"1326880393":["hashtag1","hashtag2"]},{"1326880387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880385, 1326880390, 1326880393, 1326880387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.14254808425903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 14:03:42.423591
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/02/image_05012025_14_02_02_383369_0003.jpg', '/home/pi/Desktop/images/05012025/14/03/image_05012025_14_03_02_578114_0000.jpg', '/home/pi/Desktop/images/05012025/14/03/image_05012025_14_03_02_578114_0001.jpg', '/home/pi/Desktop/images/05012025/14/03/image_05012025_14_03_02_578114_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/14/02/image_05012025_14_02_02_383369_0003.jpg
/home/pi/Desktop/images/05012025/14/03/image_05012025_14_03_02_578114_0000.jpg
/home/pi/Desktop/images/05012025/14/03/image_05012025_14_03_02_578114_0001.jpg
/home/pi/Desktop/images/05012025/14/03/image_05012025_14_03_02_578114_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880401","1326880407","1326880403","1326880405"],"photo_ids_order":["1326880401","1326880403","1326880405","1326880407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/71fb551eed96e133e3e0bdbf1c7ed0ac.jpg","text":"TemporaryFile(/tmp/multipartBody3446408368883524062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082293096,"filename":"image_05012025_14_02_02_383369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f43f7e166ea7227ef703f2e2255fb6ba.jpg","text":"TemporaryFile(/tmp/multipartBody1173877556867922326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082293096,"filename":"image_05012025_14_03_02_578114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e62b17da9237aa607c99383af5f54bff.jpg","text":"TemporaryFile(/tmp/multipartBody3669422998065717771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082293096,"filename":"image_05012025_14_03_02_578114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6548fb6436715ca5fa880887a4be8df5.jpg","text":"TemporaryFile(/tmp/multipartBody1731728888955753190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082293096,"filename":"image_05012025_14_03_02_578114_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880405","file1":"1326880403","file0":"1326880401","file3":"1326880407"},"map_files_photo_id_array":[{"photo_id":"1326880405","filename":"file2"},{"photo_id":"1326880403","filename":"file1"},{"photo_id":"1326880401","filename":"file0"},{"photo_id":"1326880407","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880401":["hashtag1","hashtag2"]},{"1326880407":["hashtag1","hashtag2"]},{"1326880403":["hashtag1","hashtag2"]},{"1326880405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880401, 1326880407, 1326880403, 1326880405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.654017210006714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 14:04:32.523764
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/03/image_05012025_14_03_02_578114_0003.jpg', '/home/pi/Desktop/images/05012025/14/04/image_05012025_14_04_02_767021_0000.jpg', '/home/pi/Desktop/images/05012025/14/04/image_05012025_14_04_02_767021_0001.jpg', '/home/pi/Desktop/images/05012025/14/04/image_05012025_14_04_02_767021_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/14/03/image_05012025_14_03_02_578114_0003.jpg
/home/pi/Desktop/images/05012025/14/04/image_05012025_14_04_02_767021_0000.jpg
/home/pi/Desktop/images/05012025/14/04/image_05012025_14_04_02_767021_0001.jpg
/home/pi/Desktop/images/05012025/14/04/image_05012025_14_04_02_767021_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880415","1326880409","1326880411","1326880413"],"photo_ids_order":["1326880409","1326880411","1326880413","1326880415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e4b1b6f2f2721007bfb7fc1484246328.jpg","text":"TemporaryFile(/tmp/multipartBody6098990451943486405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082342994,"filename":"image_05012025_14_04_02_767021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/93edca1b568249611ba70e6ba0362f5d.jpg","text":"TemporaryFile(/tmp/multipartBody2359785564369535351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082342994,"filename":"image_05012025_14_03_02_578114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/84503195ec04fc9785d833de156a378f.jpg","text":"TemporaryFile(/tmp/multipartBody5839177658129137876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082342994,"filename":"image_05012025_14_04_02_767021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9f153c0680cc8bfa0dd7fb9ae24a976a.jpg","text":"TemporaryFile(/tmp/multipartBody8877412696626113066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082342994,"filename":"image_05012025_14_04_02_767021_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880413","file1":"1326880411","file0":"1326880409","file3":"1326880415"},"map_files_photo_id_array":[{"photo_id":"1326880413","filename":"file2"},{"photo_id":"1326880411","filename":"file1"},{"photo_id":"1326880409","filename":"file0"},{"photo_id":"1326880415","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880415":["hashtag1","hashtag2"]},{"1326880409":["hashtag1","hashtag2"]},{"1326880411":["hashtag1","hashtag2"]},{"1326880413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880415, 1326880409, 1326880411, 1326880413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.41079497337341 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:05:22.802180
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/04/image_05012025_14_04_02_767021_0003.jpg', '/home/pi/Desktop/images/05012025/14/05/image_05012025_14_05_02_914385_0000.jpg', '/home/pi/Desktop/images/05012025/14/05/image_05012025_14_05_02_914385_0001.jpg', '/home/pi/Desktop/images/05012025/14/05/image_05012025_14_05_02_914385_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/14/04/image_05012025_14_04_02_767021_0003.jpg
/home/pi/Desktop/images/05012025/14/05/image_05012025_14_05_02_914385_0000.jpg
/home/pi/Desktop/images/05012025/14/05/image_05012025_14_05_02_914385_0001.jpg
/home/pi/Desktop/images/05012025/14/05/image_05012025_14_05_02_914385_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880425","1326880427","1326880423","1326880426"],"photo_ids_order":["1326880423","1326880425","1326880426","1326880427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7843333df0dcb51fa4138c7da9599e58.jpg","text":"TemporaryFile(/tmp/multipartBody5773363531615978219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082393310,"filename":"image_05012025_14_05_02_914385_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9a87ef2c2069b38cde04a7dfd0532fe1.jpg","text":"TemporaryFile(/tmp/multipartBody2406263436925243386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082393310,"filename":"image_05012025_14_05_02_914385_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/85ee2b201a4fbcf26122be7dcbecac53.jpg","text":"TemporaryFile(/tmp/multipartBody600770960655451597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082393310,"filename":"image_05012025_14_04_02_767021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9249609794a3a0672daa5638e49ae2a6.jpg","text":"TemporaryFile(/tmp/multipartBody8193398068276211476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082393310,"filename":"image_05012025_14_05_02_914385_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880426","file1":"1326880425","file0":"1326880423","file3":"1326880427"},"map_files_photo_id_array":[{"photo_id":"1326880426","filename":"file2"},{"photo_id":"1326880425","filename":"file1"},{"photo_id":"1326880423","filename":"file0"},{"photo_id":"1326880427","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880425":["hashtag1","hashtag2"]},{"1326880427":["hashtag1","hashtag2"]},{"1326880423":["hashtag1","hashtag2"]},{"1326880426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880425, 1326880427, 1326880423, 1326880426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.86750364303589 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:06:21.924102
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/05/image_05012025_14_05_02_914385_0003.jpg', '/home/pi/Desktop/images/05012025/14/06/image_05012025_14_06_03_170780_0000.jpg', '/home/pi/Desktop/images/05012025/14/06/image_05012025_14_06_03_170780_0001.jpg', '/home/pi/Desktop/images/05012025/14/06/image_05012025_14_06_03_170780_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/14/05/image_05012025_14_05_02_914385_0003.jpg
/home/pi/Desktop/images/05012025/14/06/image_05012025_14_06_03_170780_0000.jpg
/home/pi/Desktop/images/05012025/14/06/image_05012025_14_06_03_170780_0001.jpg
/home/pi/Desktop/images/05012025/14/06/image_05012025_14_06_03_170780_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.009219408035278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 14:06:41.863704
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/05/image_05012025_14_05_02_914385_0003.jpg', '/home/pi/Desktop/images/05012025/14/06/image_05012025_14_06_03_170780_0000.jpg', '/home/pi/Desktop/images/05012025/14/06/image_05012025_14_06_03_170780_0001.jpg', '/home/pi/Desktop/images/05012025/14/06/image_05012025_14_06_03_170780_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/14/05/image_05012025_14_05_02_914385_0003.jpg
/home/pi/Desktop/images/05012025/14/06/image_05012025_14_06_03_170780_0000.jpg
/home/pi/Desktop/images/05012025/14/06/image_05012025_14_06_03_170780_0001.jpg
/home/pi/Desktop/images/05012025/14/06/image_05012025_14_06_03_170780_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880437","1326880439","1326880441","1326880438"],"photo_ids_order":["1326880437","1326880438","1326880439","1326880441"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ee1506e7df4a7401959bf8e3b797fb50.jpg","text":"TemporaryFile(/tmp/multipartBody4870654792658953902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082472275,"filename":"image_05012025_14_05_02_914385_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e4b22ac071ff5dee9f9354ccbbbb43c7.jpg","text":"TemporaryFile(/tmp/multipartBody2854117683236385848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082472275,"filename":"image_05012025_14_06_03_170780_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/39116d5a66b1937a2f8b46a2dae53130.jpg","text":"TemporaryFile(/tmp/multipartBody5086771625286273630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082472275,"filename":"image_05012025_14_06_03_170780_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8f91f2bda82f2902bb4cb7a1e159f702.jpg","text":"TemporaryFile(/tmp/multipartBody6428431558410354445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082472275,"filename":"image_05012025_14_06_03_170780_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880439","file1":"1326880438","file0":"1326880437","file3":"1326880441"},"map_files_photo_id_array":[{"photo_id":"1326880439","filename":"file2"},{"photo_id":"1326880438","filename":"file1"},{"photo_id":"1326880437","filename":"file0"},{"photo_id":"1326880441","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880437":["hashtag1","hashtag2"]},{"1326880439":["hashtag1","hashtag2"]},{"1326880441":["hashtag1","hashtag2"]},{"1326880438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880437, 1326880439, 1326880441, 1326880438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.688681840896606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 14:07:31.990170
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/06/image_05012025_14_06_03_170780_0003.jpg', '/home/pi/Desktop/images/05012025/14/07/image_05012025_14_07_02_275820_0000.jpg', '/home/pi/Desktop/images/05012025/14/07/image_05012025_14_07_02_275820_0001.jpg', '/home/pi/Desktop/images/05012025/14/07/image_05012025_14_07_02_275820_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/14/06/image_05012025_14_06_03_170780_0003.jpg
/home/pi/Desktop/images/05012025/14/07/image_05012025_14_07_02_275820_0000.jpg
/home/pi/Desktop/images/05012025/14/07/image_05012025_14_07_02_275820_0001.jpg
/home/pi/Desktop/images/05012025/14/07/image_05012025_14_07_02_275820_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880448","1326880450","1326880447","1326880449"],"photo_ids_order":["1326880447","1326880448","1326880449","1326880450"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3582befe22994d037e6e3c2fa4a53518.jpg","text":"TemporaryFile(/tmp/multipartBody2477300154848068075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082522331,"filename":"image_05012025_14_07_02_275820_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9e68e6edf4fb40425324ce99698eaca4.jpg","text":"TemporaryFile(/tmp/multipartBody4336474795167595014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082522331,"filename":"image_05012025_14_07_02_275820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/56f837ede25aac51f1d9fa1d71d91cb5.jpg","text":"TemporaryFile(/tmp/multipartBody6541017889050743131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082522331,"filename":"image_05012025_14_06_03_170780_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/49be398729310a9b73831b6efb68121d.jpg","text":"TemporaryFile(/tmp/multipartBody3845023392447784079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082522331,"filename":"image_05012025_14_07_02_275820_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880449","file1":"1326880448","file0":"1326880447","file3":"1326880450"},"map_files_photo_id_array":[{"photo_id":"1326880449","filename":"file2"},{"photo_id":"1326880448","filename":"file1"},{"photo_id":"1326880447","filename":"file0"},{"photo_id":"1326880450","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880448":["hashtag1","hashtag2"]},{"1326880450":["hashtag1","hashtag2"]},{"1326880447":["hashtag1","hashtag2"]},{"1326880449":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880448, 1326880450, 1326880447, 1326880449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92615628242493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:08:22.220847
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/07/image_05012025_14_07_02_275820_0003.jpg', '/home/pi/Desktop/images/05012025/14/08/image_05012025_14_08_02_391385_0000.jpg', '/home/pi/Desktop/images/05012025/14/08/image_05012025_14_08_02_391385_0001.jpg', '/home/pi/Desktop/images/05012025/14/08/image_05012025_14_08_02_391385_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/14/07/image_05012025_14_07_02_275820_0003.jpg
/home/pi/Desktop/images/05012025/14/08/image_05012025_14_08_02_391385_0000.jpg
/home/pi/Desktop/images/05012025/14/08/image_05012025_14_08_02_391385_0001.jpg
/home/pi/Desktop/images/05012025/14/08/image_05012025_14_08_02_391385_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880460","1326880456","1326880459","1326880458"],"photo_ids_order":["1326880456","1326880458","1326880459","1326880460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9a11caca6ac0cc08e90d8ad9598e29a8.jpg","text":"TemporaryFile(/tmp/multipartBody7714911040496768781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082572694,"filename":"image_05012025_14_08_02_391385_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/844b6ef09f4b2d055ed5d2ddedb52f09.jpg","text":"TemporaryFile(/tmp/multipartBody2083198744222360321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082572694,"filename":"image_05012025_14_07_02_275820_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/461994a4eb7aa5fade81a65d81fa6e38.jpg","text":"TemporaryFile(/tmp/multipartBody5665187973606682382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082572694,"filename":"image_05012025_14_08_02_391385_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b3b8fe46d6ac514f4c152aa4d21ceb29.jpg","text":"TemporaryFile(/tmp/multipartBody1785908703259362162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082572694,"filename":"image_05012025_14_08_02_391385_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880459","file1":"1326880458","file0":"1326880456","file3":"1326880460"},"map_files_photo_id_array":[{"photo_id":"1326880459","filename":"file2"},{"photo_id":"1326880458","filename":"file1"},{"photo_id":"1326880456","filename":"file0"},{"photo_id":"1326880460","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880460":["hashtag1","hashtag2"]},{"1326880456":["hashtag1","hashtag2"]},{"1326880459":["hashtag1","hashtag2"]},{"1326880458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880460, 1326880456, 1326880459, 1326880458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.17771363258362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:09:22.487343
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/08/image_05012025_14_08_02_391385_0003.jpg', '/home/pi/Desktop/images/05012025/14/09/image_05012025_14_09_02_584465_0000.jpg', '/home/pi/Desktop/images/05012025/14/09/image_05012025_14_09_02_584465_0001.jpg', '/home/pi/Desktop/images/05012025/14/09/image_05012025_14_09_02_584465_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/14/08/image_05012025_14_08_02_391385_0003.jpg
/home/pi/Desktop/images/05012025/14/09/image_05012025_14_09_02_584465_0000.jpg
/home/pi/Desktop/images/05012025/14/09/image_05012025_14_09_02_584465_0001.jpg
/home/pi/Desktop/images/05012025/14/09/image_05012025_14_09_02_584465_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880469","1326880466","1326880468","1326880470"],"photo_ids_order":["1326880466","1326880468","1326880469","1326880470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a196260092903698f267913f5b3b95d1.jpg","text":"TemporaryFile(/tmp/multipartBody2930691287230631540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082632968,"filename":"image_05012025_14_09_02_584465_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/98eacc5d5f0c527faa3e99fd1bb143d4.jpg","text":"TemporaryFile(/tmp/multipartBody8116767394705892693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082632968,"filename":"image_05012025_14_08_02_391385_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dcceefa3ade5c214b7b2eeb376c4a5b4.jpg","text":"TemporaryFile(/tmp/multipartBody2412054418672298825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082632968,"filename":"image_05012025_14_09_02_584465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b007b289912915bc35666e34bd254314.jpg","text":"TemporaryFile(/tmp/multipartBody5183088184100273768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082632968,"filename":"image_05012025_14_09_02_584465_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880469","file1":"1326880468","file0":"1326880466","file3":"1326880470"},"map_files_photo_id_array":[{"photo_id":"1326880469","filename":"file2"},{"photo_id":"1326880468","filename":"file1"},{"photo_id":"1326880466","filename":"file0"},{"photo_id":"1326880470","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880469":["hashtag1","hashtag2"]},{"1326880466":["hashtag1","hashtag2"]},{"1326880468":["hashtag1","hashtag2"]},{"1326880470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880469, 1326880466, 1326880468, 1326880470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.01790165901184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:10:22.629925
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/09/image_05012025_14_09_02_584465_0003.jpg', '/home/pi/Desktop/images/05012025/14/10/image_05012025_14_10_02_755160_0000.jpg', '/home/pi/Desktop/images/05012025/14/10/image_05012025_14_10_02_755160_0001.jpg', '/home/pi/Desktop/images/05012025/14/10/image_05012025_14_10_02_755160_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/14/09/image_05012025_14_09_02_584465_0003.jpg
/home/pi/Desktop/images/05012025/14/10/image_05012025_14_10_02_755160_0000.jpg
/home/pi/Desktop/images/05012025/14/10/image_05012025_14_10_02_755160_0001.jpg
/home/pi/Desktop/images/05012025/14/10/image_05012025_14_10_02_755160_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880481","1326880480","1326880477","1326880479"],"photo_ids_order":["1326880477","1326880479","1326880480","1326880481"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ac5bd1ec31b8461c3bae099fa16ba904.jpg","text":"TemporaryFile(/tmp/multipartBody8024944678832641554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082693083,"filename":"image_05012025_14_10_02_755160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bdc90534f4e831dd32e0267b8e8f2c28.jpg","text":"TemporaryFile(/tmp/multipartBody7431809581328892911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082693083,"filename":"image_05012025_14_10_02_755160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6f9d2646a39d5de8d7c53aa3509ace86.jpg","text":"TemporaryFile(/tmp/multipartBody6138047190506407925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082693083,"filename":"image_05012025_14_09_02_584465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fdce170ab206aee5523c18ec38f07541.jpg","text":"TemporaryFile(/tmp/multipartBody5925144679741260831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082693083,"filename":"image_05012025_14_10_02_755160_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880480","file1":"1326880479","file0":"1326880477","file3":"1326880481"},"map_files_photo_id_array":[{"photo_id":"1326880480","filename":"file2"},{"photo_id":"1326880479","filename":"file1"},{"photo_id":"1326880477","filename":"file0"},{"photo_id":"1326880481","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880481":["hashtag1","hashtag2"]},{"1326880480":["hashtag1","hashtag2"]},{"1326880477":["hashtag1","hashtag2"]},{"1326880479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880481, 1326880480, 1326880477, 1326880479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55377745628357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:11:21.839288
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/10/image_05012025_14_10_02_755160_0003.jpg', '/home/pi/Desktop/images/05012025/14/11/image_05012025_14_11_02_953164_0000.jpg', '/home/pi/Desktop/images/05012025/14/11/image_05012025_14_11_02_953164_0001.jpg', '/home/pi/Desktop/images/05012025/14/11/image_05012025_14_11_02_953164_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/14/10/image_05012025_14_10_02_755160_0003.jpg
/home/pi/Desktop/images/05012025/14/11/image_05012025_14_11_02_953164_0000.jpg
/home/pi/Desktop/images/05012025/14/11/image_05012025_14_11_02_953164_0001.jpg
/home/pi/Desktop/images/05012025/14/11/image_05012025_14_11_02_953164_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880487","1326880490","1326880489","1326880491"],"photo_ids_order":["1326880487","1326880489","1326880490","1326880491"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7a391a34b75bc77b18f2afa076ac0131.jpg","text":"TemporaryFile(/tmp/multipartBody7524988018683944719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082752415,"filename":"image_05012025_14_10_02_755160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aedd918c45af3f14c8bfd1258a3b68fe.jpg","text":"TemporaryFile(/tmp/multipartBody3654814912773127032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082752415,"filename":"image_05012025_14_11_02_953164_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1d6742e6bcb76c3b52f9552c6069a46a.jpg","text":"TemporaryFile(/tmp/multipartBody1262448564303990953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082752415,"filename":"image_05012025_14_11_02_953164_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/34cd882f5550a37d7b6204deba85288e.jpg","text":"TemporaryFile(/tmp/multipartBody7395401134227396152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082752415,"filename":"image_05012025_14_11_02_953164_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880490","file1":"1326880489","file0":"1326880487","file3":"1326880491"},"map_files_photo_id_array":[{"photo_id":"1326880490","filename":"file2"},{"photo_id":"1326880489","filename":"file1"},{"photo_id":"1326880487","filename":"file0"},{"photo_id":"1326880491","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880487":["hashtag1","hashtag2"]},{"1326880490":["hashtag1","hashtag2"]},{"1326880489":["hashtag1","hashtag2"]},{"1326880491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880487, 1326880490, 1326880489, 1326880491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.0950083732605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:12:22.002454
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/11/image_05012025_14_11_02_953164_0003.jpg', '/home/pi/Desktop/images/05012025/14/12/image_05012025_14_12_02_174218_0000.jpg', '/home/pi/Desktop/images/05012025/14/12/image_05012025_14_12_02_174218_0001.jpg', '/home/pi/Desktop/images/05012025/14/12/image_05012025_14_12_02_174218_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/14/11/image_05012025_14_11_02_953164_0003.jpg
/home/pi/Desktop/images/05012025/14/12/image_05012025_14_12_02_174218_0000.jpg
/home/pi/Desktop/images/05012025/14/12/image_05012025_14_12_02_174218_0001.jpg
/home/pi/Desktop/images/05012025/14/12/image_05012025_14_12_02_174218_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880500","1326880503","1326880502","1326880504"],"photo_ids_order":["1326880500","1326880502","1326880503","1326880504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/af44a343a7fb35d2425a02702e63602a.jpg","text":"TemporaryFile(/tmp/multipartBody8385879968373404281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082812413,"filename":"image_05012025_14_11_02_953164_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5a79ca61aa8b2a4fff4ea444d5123933.jpg","text":"TemporaryFile(/tmp/multipartBody8847086208929834214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082812413,"filename":"image_05012025_14_12_02_174218_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2f081447707cdcec8479bce67014f11b.jpg","text":"TemporaryFile(/tmp/multipartBody5279323412721419424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082812413,"filename":"image_05012025_14_12_02_174218_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/383fb02228b4e5b3110c2814e2eb3248.jpg","text":"TemporaryFile(/tmp/multipartBody8723859817926946597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082812413,"filename":"image_05012025_14_12_02_174218_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880503","file1":"1326880502","file0":"1326880500","file3":"1326880504"},"map_files_photo_id_array":[{"photo_id":"1326880503","filename":"file2"},{"photo_id":"1326880502","filename":"file1"},{"photo_id":"1326880500","filename":"file0"},{"photo_id":"1326880504","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880500":["hashtag1","hashtag2"]},{"1326880503":["hashtag1","hashtag2"]},{"1326880502":["hashtag1","hashtag2"]},{"1326880504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880500, 1326880503, 1326880502, 1326880504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.01364874839783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:13:22.212774
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/12/image_05012025_14_12_02_174218_0003.jpg', '/home/pi/Desktop/images/05012025/14/13/image_05012025_14_13_02_365993_0000.jpg', '/home/pi/Desktop/images/05012025/14/13/image_05012025_14_13_02_365993_0001.jpg', '/home/pi/Desktop/images/05012025/14/13/image_05012025_14_13_02_365993_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/14/12/image_05012025_14_12_02_174218_0003.jpg
/home/pi/Desktop/images/05012025/14/13/image_05012025_14_13_02_365993_0000.jpg
/home/pi/Desktop/images/05012025/14/13/image_05012025_14_13_02_365993_0001.jpg
/home/pi/Desktop/images/05012025/14/13/image_05012025_14_13_02_365993_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880509","1326880511","1326880514","1326880516"],"photo_ids_order":["1326880509","1326880511","1326880514","1326880516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c17424d33bfe59a43487d92c56f20096.jpg","text":"TemporaryFile(/tmp/multipartBody348696444360141804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082872506,"filename":"image_05012025_14_12_02_174218_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ba09182471a3bd77a276ec9d7284709e.jpg","text":"TemporaryFile(/tmp/multipartBody1079596738103301000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082872506,"filename":"image_05012025_14_13_02_365993_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a54ad6bc7f930efc16c73a7456c08016.jpg","text":"TemporaryFile(/tmp/multipartBody2590765528955168679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082872506,"filename":"image_05012025_14_13_02_365993_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/72e6bfcc2524084ca9e1cfe086cef1b6.jpg","text":"TemporaryFile(/tmp/multipartBody3406875582968882754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082872506,"filename":"image_05012025_14_13_02_365993_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880514","file1":"1326880511","file0":"1326880509","file3":"1326880516"},"map_files_photo_id_array":[{"photo_id":"1326880514","filename":"file2"},{"photo_id":"1326880511","filename":"file1"},{"photo_id":"1326880509","filename":"file0"},{"photo_id":"1326880516","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880509":["hashtag1","hashtag2"]},{"1326880511":["hashtag1","hashtag2"]},{"1326880514":["hashtag1","hashtag2"]},{"1326880516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880509, 1326880511, 1326880514, 1326880516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.33434844017029 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:14:22.335106
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/13/image_05012025_14_13_02_365993_0003.jpg', '/home/pi/Desktop/images/05012025/14/14/image_05012025_14_14_02_586741_0000.jpg', '/home/pi/Desktop/images/05012025/14/14/image_05012025_14_14_02_586741_0001.jpg', '/home/pi/Desktop/images/05012025/14/14/image_05012025_14_14_02_586741_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/14/13/image_05012025_14_13_02_365993_0003.jpg
/home/pi/Desktop/images/05012025/14/14/image_05012025_14_14_02_586741_0000.jpg
/home/pi/Desktop/images/05012025/14/14/image_05012025_14_14_02_586741_0001.jpg
/home/pi/Desktop/images/05012025/14/14/image_05012025_14_14_02_586741_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880536","1326880532","1326880534","1326880531"],"photo_ids_order":["1326880531","1326880532","1326880534","1326880536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bdfab5fabe540a4833feb076c5f94c83.jpg","text":"TemporaryFile(/tmp/multipartBody3350604624796118626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082932745,"filename":"image_05012025_14_14_02_586741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ef189377b2bbce65154016b4b4caf924.jpg","text":"TemporaryFile(/tmp/multipartBody560888065612189895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082932745,"filename":"image_05012025_14_14_02_586741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/08c157490f735a746a598da3185af3bf.jpg","text":"TemporaryFile(/tmp/multipartBody6240834741793629000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082932745,"filename":"image_05012025_14_14_02_586741_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0523d87bacee109ed64f96cb31789631.jpg","text":"TemporaryFile(/tmp/multipartBody171605777872090894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082932745,"filename":"image_05012025_14_13_02_365993_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880534","file1":"1326880532","file0":"1326880531","file3":"1326880536"},"map_files_photo_id_array":[{"photo_id":"1326880534","filename":"file2"},{"photo_id":"1326880532","filename":"file1"},{"photo_id":"1326880531","filename":"file0"},{"photo_id":"1326880536","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880536":["hashtag1","hashtag2"]},{"1326880532":["hashtag1","hashtag2"]},{"1326880534":["hashtag1","hashtag2"]},{"1326880531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880536, 1326880532, 1326880534, 1326880531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.757365465164185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 14:15:03.054188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:15:22.575040
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/14/image_05012025_14_14_02_586741_0003.jpg', '/home/pi/Desktop/images/05012025/14/15/image_05012025_14_15_02_743627_0000.jpg', '/home/pi/Desktop/images/05012025/14/15/image_05012025_14_15_02_743627_0001.jpg', '/home/pi/Desktop/images/05012025/14/15/image_05012025_14_15_02_743627_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/14/14/image_05012025_14_14_02_586741_0003.jpg
/home/pi/Desktop/images/05012025/14/15/image_05012025_14_15_02_743627_0000.jpg
/home/pi/Desktop/images/05012025/14/15/image_05012025_14_15_02_743627_0001.jpg
/home/pi/Desktop/images/05012025/14/15/image_05012025_14_15_02_743627_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880553","1326880552","1326880555","1326880557"],"photo_ids_order":["1326880552","1326880553","1326880555","1326880557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6ae4beae64686142f6a2d519e0b72067.jpg","text":"TemporaryFile(/tmp/multipartBody8748207850037125953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082992938,"filename":"image_05012025_14_15_02_743627_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/199a22c3ca6f940df21ca4ce5e87732b.jpg","text":"TemporaryFile(/tmp/multipartBody1192577016210833703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082992938,"filename":"image_05012025_14_14_02_586741_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/daa383c3f680ca7dac49863abb1b14eb.jpg","text":"TemporaryFile(/tmp/multipartBody6119155141582187421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082992938,"filename":"image_05012025_14_15_02_743627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a87739fd344aa6a07acac41888cb8970.jpg","text":"TemporaryFile(/tmp/multipartBody4019394248920577187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736082992938,"filename":"image_05012025_14_15_02_743627_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880555","file1":"1326880553","file0":"1326880552","file3":"1326880557"},"map_files_photo_id_array":[{"photo_id":"1326880555","filename":"file2"},{"photo_id":"1326880553","filename":"file1"},{"photo_id":"1326880552","filename":"file0"},{"photo_id":"1326880557","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880553":["hashtag1","hashtag2"]},{"1326880552":["hashtag1","hashtag2"]},{"1326880555":["hashtag1","hashtag2"]},{"1326880557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880553, 1326880552, 1326880555, 1326880557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.529478788375854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:16:22.702077
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/15/image_05012025_14_15_02_743627_0003.jpg', '/home/pi/Desktop/images/05012025/14/16/image_05012025_14_16_02_901277_0000.jpg', '/home/pi/Desktop/images/05012025/14/16/image_05012025_14_16_02_901277_0001.jpg', '/home/pi/Desktop/images/05012025/14/16/image_05012025_14_16_02_901277_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/14/15/image_05012025_14_15_02_743627_0003.jpg
/home/pi/Desktop/images/05012025/14/16/image_05012025_14_16_02_901277_0000.jpg
/home/pi/Desktop/images/05012025/14/16/image_05012025_14_16_02_901277_0001.jpg
/home/pi/Desktop/images/05012025/14/16/image_05012025_14_16_02_901277_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880568","1326880564","1326880563","1326880566"],"photo_ids_order":["1326880563","1326880564","1326880566","1326880568"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3c1c435361ad14f8033f4caafaa98437.jpg","text":"TemporaryFile(/tmp/multipartBody8935598965072480779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083052986,"filename":"image_05012025_14_16_02_901277_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ac06491c6113e9c1d0493e3864c07ba.jpg","text":"TemporaryFile(/tmp/multipartBody39035200286093288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083052986,"filename":"image_05012025_14_16_02_901277_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e93338cf73829bdcbe6a87bf181196e5.jpg","text":"TemporaryFile(/tmp/multipartBody1251808363986116144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083052986,"filename":"image_05012025_14_15_02_743627_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/63a0ac222f9df0a7519838357ab75c77.jpg","text":"TemporaryFile(/tmp/multipartBody8850287062383637329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083052986,"filename":"image_05012025_14_16_02_901277_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880566","file1":"1326880564","file0":"1326880563","file3":"1326880568"},"map_files_photo_id_array":[{"photo_id":"1326880566","filename":"file2"},{"photo_id":"1326880564","filename":"file1"},{"photo_id":"1326880563","filename":"file0"},{"photo_id":"1326880568","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880568":["hashtag1","hashtag2"]},{"1326880564":["hashtag1","hashtag2"]},{"1326880563":["hashtag1","hashtag2"]},{"1326880566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880568, 1326880564, 1326880563, 1326880566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.226911306381226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:17:22.071591
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/16/image_05012025_14_16_02_901277_0003.jpg', '/home/pi/Desktop/images/05012025/14/17/image_05012025_14_17_03_093557_0000.jpg', '/home/pi/Desktop/images/05012025/14/17/image_05012025_14_17_03_093557_0001.jpg', '/home/pi/Desktop/images/05012025/14/17/image_05012025_14_17_03_093557_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/14/16/image_05012025_14_16_02_901277_0003.jpg
/home/pi/Desktop/images/05012025/14/17/image_05012025_14_17_03_093557_0000.jpg
/home/pi/Desktop/images/05012025/14/17/image_05012025_14_17_03_093557_0001.jpg
/home/pi/Desktop/images/05012025/14/17/image_05012025_14_17_03_093557_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880574","1326880577","1326880579","1326880573"],"photo_ids_order":["1326880573","1326880574","1326880577","1326880579"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/13a3d27a62e3f31ef299c28702c8ec08.jpg","text":"TemporaryFile(/tmp/multipartBody6588131114552495286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083112554,"filename":"image_05012025_14_17_03_093557_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/32fff8569b1d57c2b0553f401f2988cf.jpg","text":"TemporaryFile(/tmp/multipartBody9183127934819526224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083112554,"filename":"image_05012025_14_17_03_093557_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d11f517237975596ecdff3b52f724ca3.jpg","text":"TemporaryFile(/tmp/multipartBody1905961129604333151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083112554,"filename":"image_05012025_14_17_03_093557_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ef6e768c4cce343c558564073d800345.jpg","text":"TemporaryFile(/tmp/multipartBody1478285562064756093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083112554,"filename":"image_05012025_14_16_02_901277_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880577","file1":"1326880574","file0":"1326880573","file3":"1326880579"},"map_files_photo_id_array":[{"photo_id":"1326880577","filename":"file2"},{"photo_id":"1326880574","filename":"file1"},{"photo_id":"1326880573","filename":"file0"},{"photo_id":"1326880579","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880574":["hashtag1","hashtag2"]},{"1326880577":["hashtag1","hashtag2"]},{"1326880579":["hashtag1","hashtag2"]},{"1326880573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880574, 1326880577, 1326880579, 1326880573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.46332311630249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:18:22.164521
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/17/image_05012025_14_17_03_093557_0003.jpg', '/home/pi/Desktop/images/05012025/14/18/image_05012025_14_18_02_324336_0000.jpg', '/home/pi/Desktop/images/05012025/14/18/image_05012025_14_18_02_324336_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/14/17/image_05012025_14_17_03_093557_0003.jpg
/home/pi/Desktop/images/05012025/14/18/image_05012025_14_18_02_324336_0000.jpg
/home/pi/Desktop/images/05012025/14/18/image_05012025_14_18_02_324336_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.703262567520142 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 14:18:32.092215
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/17/image_05012025_14_17_03_093557_0003.jpg', '/home/pi/Desktop/images/05012025/14/18/image_05012025_14_18_02_324336_0000.jpg', '/home/pi/Desktop/images/05012025/14/18/image_05012025_14_18_02_324336_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/14/17/image_05012025_14_17_03_093557_0003.jpg
/home/pi/Desktop/images/05012025/14/18/image_05012025_14_18_02_324336_0000.jpg
/home/pi/Desktop/images/05012025/14/18/image_05012025_14_18_02_324336_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880589","1326880591","1326880587"],"photo_ids_order":["1326880587","1326880589","1326880591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0f4994b8e490066757b7d7c7f4e04862.jpg","text":"TemporaryFile(/tmp/multipartBody1768676375837338415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083180208,"filename":"image_05012025_14_18_02_324336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/952a12a4dca3bf99c7763144ff65b4f6.jpg","text":"TemporaryFile(/tmp/multipartBody5946116386280719933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083180208,"filename":"image_05012025_14_18_02_324336_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f592fb649061fee8b99b11964c85fb7d.jpg","text":"TemporaryFile(/tmp/multipartBody1846369471300886569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083180208,"filename":"image_05012025_14_17_03_093557_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880591","file1":"1326880589","file0":"1326880587"},"map_files_photo_id_array":[{"photo_id":"1326880591","filename":"file2"},{"photo_id":"1326880589","filename":"file1"},{"photo_id":"1326880587","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880589":["hashtag1","hashtag2"]},{"1326880591":["hashtag1","hashtag2"]},{"1326880587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880589, 1326880591, 1326880587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.045180559158325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:19:22.389926
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/18/image_05012025_14_18_02_324336_0003.jpg', '/home/pi/Desktop/images/05012025/14/19/image_05012025_14_19_02_462209_0000.jpg', '/home/pi/Desktop/images/05012025/14/19/image_05012025_14_19_02_462209_0001.jpg', '/home/pi/Desktop/images/05012025/14/19/image_05012025_14_19_02_462209_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/14/18/image_05012025_14_18_02_324336_0003.jpg
/home/pi/Desktop/images/05012025/14/19/image_05012025_14_19_02_462209_0000.jpg
/home/pi/Desktop/images/05012025/14/19/image_05012025_14_19_02_462209_0001.jpg
/home/pi/Desktop/images/05012025/14/19/image_05012025_14_19_02_462209_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880602","1326880604","1326880600","1326880599"],"photo_ids_order":["1326880599","1326880600","1326880602","1326880604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fded87b933fe1f677c2004b45879c5ef.jpg","text":"TemporaryFile(/tmp/multipartBody7285048447414650256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083232668,"filename":"image_05012025_14_19_02_462209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7dacfc9e119b42a80573affa21e8bd4b.jpg","text":"TemporaryFile(/tmp/multipartBody4017128422955817870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083232668,"filename":"image_05012025_14_19_02_462209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b9c250a6ff8e5969587e6ff8f5505854.jpg","text":"TemporaryFile(/tmp/multipartBody8431814998610380003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083232668,"filename":"image_05012025_14_19_02_462209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ef3efffdfe3da5af33ca1ba9513c7457.jpg","text":"TemporaryFile(/tmp/multipartBody7085837560982751554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083232668,"filename":"image_05012025_14_18_02_324336_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880602","file1":"1326880600","file0":"1326880599","file3":"1326880604"},"map_files_photo_id_array":[{"photo_id":"1326880602","filename":"file2"},{"photo_id":"1326880600","filename":"file1"},{"photo_id":"1326880599","filename":"file0"},{"photo_id":"1326880604","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880602":["hashtag1","hashtag2"]},{"1326880604":["hashtag1","hashtag2"]},{"1326880600":["hashtag1","hashtag2"]},{"1326880599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880602, 1326880604, 1326880600, 1326880599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.06034183502197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:20:22.465789
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/19/image_05012025_14_19_02_462209_0003.jpg', '/home/pi/Desktop/images/05012025/14/20/image_05012025_14_20_02_712066_0000.jpg', '/home/pi/Desktop/images/05012025/14/20/image_05012025_14_20_02_712066_0001.jpg', '/home/pi/Desktop/images/05012025/14/20/image_05012025_14_20_02_712066_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/14/19/image_05012025_14_19_02_462209_0003.jpg
/home/pi/Desktop/images/05012025/14/20/image_05012025_14_20_02_712066_0000.jpg
/home/pi/Desktop/images/05012025/14/20/image_05012025_14_20_02_712066_0001.jpg
/home/pi/Desktop/images/05012025/14/20/image_05012025_14_20_02_712066_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880610","1326880613","1326880615","1326880611"],"photo_ids_order":["1326880610","1326880611","1326880613","1326880615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e0576d9815f018f3abadcc7d08f77545.jpg","text":"TemporaryFile(/tmp/multipartBody2103347241056722443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083292910,"filename":"image_05012025_14_19_02_462209_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/451b70867203866104884cd4d041bdb7.jpg","text":"TemporaryFile(/tmp/multipartBody7373680693838529077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083292910,"filename":"image_05012025_14_20_02_712066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b3e4e5162ba6ffc298c2da3f4d5ed91b.jpg","text":"TemporaryFile(/tmp/multipartBody7801332950050268595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083292910,"filename":"image_05012025_14_20_02_712066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2dd532051bb33105ac86eb046ac2dd4e.jpg","text":"TemporaryFile(/tmp/multipartBody5915834818389471314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083292910,"filename":"image_05012025_14_20_02_712066_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880613","file1":"1326880611","file0":"1326880610","file3":"1326880615"},"map_files_photo_id_array":[{"photo_id":"1326880613","filename":"file2"},{"photo_id":"1326880611","filename":"file1"},{"photo_id":"1326880610","filename":"file0"},{"photo_id":"1326880615","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880610":["hashtag1","hashtag2"]},{"1326880613":["hashtag1","hashtag2"]},{"1326880615":["hashtag1","hashtag2"]},{"1326880611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880610, 1326880613, 1326880615, 1326880611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.49566435813904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:21:22.612835
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/20/image_05012025_14_20_02_712066_0003.jpg', '/home/pi/Desktop/images/05012025/14/21/image_05012025_14_21_02_800337_0000.jpg', '/home/pi/Desktop/images/05012025/14/21/image_05012025_14_21_02_800337_0001.jpg', '/home/pi/Desktop/images/05012025/14/21/image_05012025_14_21_02_800337_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/14/20/image_05012025_14_20_02_712066_0003.jpg
/home/pi/Desktop/images/05012025/14/21/image_05012025_14_21_02_800337_0000.jpg
/home/pi/Desktop/images/05012025/14/21/image_05012025_14_21_02_800337_0001.jpg
/home/pi/Desktop/images/05012025/14/21/image_05012025_14_21_02_800337_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880622","1326880621","1326880624","1326880626"],"photo_ids_order":["1326880621","1326880622","1326880624","1326880626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3fa440c754ec173cab464253621ec087.jpg","text":"TemporaryFile(/tmp/multipartBody7364398868491099742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083353014,"filename":"image_05012025_14_21_02_800337_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7d9cef86faf33eb13d9da3353a8143ef.jpg","text":"TemporaryFile(/tmp/multipartBody4143652364630619378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083353014,"filename":"image_05012025_14_20_02_712066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/121906f4a6bf6545f823831b48c77bd1.jpg","text":"TemporaryFile(/tmp/multipartBody5703416462548928194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083353014,"filename":"image_05012025_14_21_02_800337_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5da4b5eb5ce97d478df1c500387ec75f.jpg","text":"TemporaryFile(/tmp/multipartBody6691552139889404852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083353014,"filename":"image_05012025_14_21_02_800337_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880624","file1":"1326880622","file0":"1326880621","file3":"1326880626"},"map_files_photo_id_array":[{"photo_id":"1326880624","filename":"file2"},{"photo_id":"1326880622","filename":"file1"},{"photo_id":"1326880621","filename":"file0"},{"photo_id":"1326880626","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880622":["hashtag1","hashtag2"]},{"1326880621":["hashtag1","hashtag2"]},{"1326880624":["hashtag1","hashtag2"]},{"1326880626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880622, 1326880621, 1326880624, 1326880626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.82598853111267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:22:21.906661
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/21/image_05012025_14_21_02_800337_0003.jpg', '/home/pi/Desktop/images/05012025/14/22/image_05012025_14_22_03_001410_0000.jpg', '/home/pi/Desktop/images/05012025/14/22/image_05012025_14_22_03_001410_0001.jpg', '/home/pi/Desktop/images/05012025/14/22/image_05012025_14_22_03_001410_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/14/21/image_05012025_14_21_02_800337_0003.jpg
/home/pi/Desktop/images/05012025/14/22/image_05012025_14_22_03_001410_0000.jpg
/home/pi/Desktop/images/05012025/14/22/image_05012025_14_22_03_001410_0001.jpg
/home/pi/Desktop/images/05012025/14/22/image_05012025_14_22_03_001410_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880634","1326880633","1326880636","1326880638"],"photo_ids_order":["1326880633","1326880634","1326880636","1326880638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1ada2d60b979e5b533fe5c0af7f2f90c.jpg","text":"TemporaryFile(/tmp/multipartBody6050077568637419233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083412285,"filename":"image_05012025_14_22_03_001410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab5cf9700805837e35ce210e593ea8f9.jpg","text":"TemporaryFile(/tmp/multipartBody2056626880411610818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083412285,"filename":"image_05012025_14_21_02_800337_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e37a090fb85622eb5ddc60368d8df57.jpg","text":"TemporaryFile(/tmp/multipartBody6894507696326477581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083412285,"filename":"image_05012025_14_22_03_001410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/60ff475a5d55037de6f7eb9bd28008ce.jpg","text":"TemporaryFile(/tmp/multipartBody8837065053728666252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083412285,"filename":"image_05012025_14_22_03_001410_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880636","file1":"1326880634","file0":"1326880633","file3":"1326880638"},"map_files_photo_id_array":[{"photo_id":"1326880636","filename":"file2"},{"photo_id":"1326880634","filename":"file1"},{"photo_id":"1326880633","filename":"file0"},{"photo_id":"1326880638","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880634":["hashtag1","hashtag2"]},{"1326880633":["hashtag1","hashtag2"]},{"1326880636":["hashtag1","hashtag2"]},{"1326880638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880634, 1326880633, 1326880636, 1326880638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.58098006248474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:23:22.061010
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/22/image_05012025_14_22_03_001410_0003.jpg', '/home/pi/Desktop/images/05012025/14/23/image_05012025_14_23_02_260145_0000.jpg', '/home/pi/Desktop/images/05012025/14/23/image_05012025_14_23_02_260145_0001.jpg', '/home/pi/Desktop/images/05012025/14/23/image_05012025_14_23_02_260145_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/14/22/image_05012025_14_22_03_001410_0003.jpg
/home/pi/Desktop/images/05012025/14/23/image_05012025_14_23_02_260145_0000.jpg
/home/pi/Desktop/images/05012025/14/23/image_05012025_14_23_02_260145_0001.jpg
/home/pi/Desktop/images/05012025/14/23/image_05012025_14_23_02_260145_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880646","1326880645","1326880648","1326880650"],"photo_ids_order":["1326880645","1326880646","1326880648","1326880650"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9d71a92671762003cbd393c20225c6ef.jpg","text":"TemporaryFile(/tmp/multipartBody8268143602782452268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083472763,"filename":"image_05012025_14_23_02_260145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7d6de7aeac80ad2990051b94a9372fa6.jpg","text":"TemporaryFile(/tmp/multipartBody5494156632544672696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083472763,"filename":"image_05012025_14_22_03_001410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3565b6078676afc869c4cc771467909f.jpg","text":"TemporaryFile(/tmp/multipartBody6569093211074748762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083472763,"filename":"image_05012025_14_23_02_260145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f200bd8c76ba2435a49f7bdd59290b50.jpg","text":"TemporaryFile(/tmp/multipartBody2651932712896519616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083472763,"filename":"image_05012025_14_23_02_260145_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880648","file1":"1326880646","file0":"1326880645","file3":"1326880650"},"map_files_photo_id_array":[{"photo_id":"1326880648","filename":"file2"},{"photo_id":"1326880646","filename":"file1"},{"photo_id":"1326880645","filename":"file0"},{"photo_id":"1326880650","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880646":["hashtag1","hashtag2"]},{"1326880645":["hashtag1","hashtag2"]},{"1326880648":["hashtag1","hashtag2"]},{"1326880650":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880646, 1326880645, 1326880648, 1326880650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.341341495513916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:24:22.243986
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/23/image_05012025_14_23_02_260145_0003.jpg', '/home/pi/Desktop/images/05012025/14/24/image_05012025_14_24_02_424654_0000.jpg', '/home/pi/Desktop/images/05012025/14/24/image_05012025_14_24_02_424654_0001.jpg', '/home/pi/Desktop/images/05012025/14/24/image_05012025_14_24_02_424654_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/14/23/image_05012025_14_23_02_260145_0003.jpg
/home/pi/Desktop/images/05012025/14/24/image_05012025_14_24_02_424654_0000.jpg
/home/pi/Desktop/images/05012025/14/24/image_05012025_14_24_02_424654_0001.jpg
/home/pi/Desktop/images/05012025/14/24/image_05012025_14_24_02_424654_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880655","1326880657","1326880656","1326880659"],"photo_ids_order":["1326880655","1326880656","1326880657","1326880659"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c578ea5f27447c4e1926988ef4cf1f67.jpg","text":"TemporaryFile(/tmp/multipartBody1588986704709603729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083532697,"filename":"image_05012025_14_23_02_260145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/491324c82b23c3310dcce12300b80887.jpg","text":"TemporaryFile(/tmp/multipartBody8822829551348736338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083532697,"filename":"image_05012025_14_24_02_424654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4e3b99743369c3a29557bbbf6ac972ad.jpg","text":"TemporaryFile(/tmp/multipartBody5746681848889772405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083532697,"filename":"image_05012025_14_24_02_424654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6913034e02e203d28f72ed10176b029e.jpg","text":"TemporaryFile(/tmp/multipartBody1429634007579566210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083532697,"filename":"image_05012025_14_24_02_424654_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880657","file1":"1326880656","file0":"1326880655","file3":"1326880659"},"map_files_photo_id_array":[{"photo_id":"1326880657","filename":"file2"},{"photo_id":"1326880656","filename":"file1"},{"photo_id":"1326880655","filename":"file0"},{"photo_id":"1326880659","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880655":["hashtag1","hashtag2"]},{"1326880657":["hashtag1","hashtag2"]},{"1326880656":["hashtag1","hashtag2"]},{"1326880659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880655, 1326880657, 1326880656, 1326880659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.83169412612915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 14:25:03.014804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:25:22.495581
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/24/image_05012025_14_24_02_424654_0003.jpg', '/home/pi/Desktop/images/05012025/14/25/image_05012025_14_25_02_651121_0001.jpg', '/home/pi/Desktop/images/05012025/14/25/image_05012025_14_25_02_651121_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/14/24/image_05012025_14_24_02_424654_0003.jpg
/home/pi/Desktop/images/05012025/14/25/image_05012025_14_25_02_651121_0001.jpg
/home/pi/Desktop/images/05012025/14/25/image_05012025_14_25_02_651121_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880672","1326880669","1326880671"],"photo_ids_order":["1326880669","1326880671","1326880672"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/301c58a645a364be3464cb5d808e9706.jpg","text":"TemporaryFile(/tmp/multipartBody6271072979341680068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083590326,"filename":"image_05012025_14_25_02_651121_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4123650215f2e46707bc861562cfbb1c.jpg","text":"TemporaryFile(/tmp/multipartBody3265850211755356486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083590326,"filename":"image_05012025_14_24_02_424654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/164c5ec8c004d6fd480132da7f4e9790.jpg","text":"TemporaryFile(/tmp/multipartBody2989433920412445479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083590326,"filename":"image_05012025_14_25_02_651121_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880672","file1":"1326880671","file0":"1326880669"},"map_files_photo_id_array":[{"photo_id":"1326880672","filename":"file2"},{"photo_id":"1326880671","filename":"file1"},{"photo_id":"1326880669","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880672":["hashtag1","hashtag2"]},{"1326880669":["hashtag1","hashtag2"]},{"1326880671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880672, 1326880669, 1326880671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.61321449279785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 14:26:02.910225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:26:22.630500
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/25/image_05012025_14_25_02_651121_0003.jpg', '/home/pi/Desktop/images/05012025/14/26/image_05012025_14_26_02_794663_0000.jpg', '/home/pi/Desktop/images/05012025/14/26/image_05012025_14_26_02_794663_0001.jpg', '/home/pi/Desktop/images/05012025/14/26/image_05012025_14_26_02_794663_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/14/25/image_05012025_14_25_02_651121_0003.jpg
/home/pi/Desktop/images/05012025/14/26/image_05012025_14_26_02_794663_0000.jpg
/home/pi/Desktop/images/05012025/14/26/image_05012025_14_26_02_794663_0001.jpg
/home/pi/Desktop/images/05012025/14/26/image_05012025_14_26_02_794663_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.988871335983276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 14:26:42.602116
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/25/image_05012025_14_25_02_651121_0003.jpg', '/home/pi/Desktop/images/05012025/14/26/image_05012025_14_26_02_794663_0000.jpg', '/home/pi/Desktop/images/05012025/14/26/image_05012025_14_26_02_794663_0001.jpg', '/home/pi/Desktop/images/05012025/14/26/image_05012025_14_26_02_794663_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/14/25/image_05012025_14_25_02_651121_0003.jpg
/home/pi/Desktop/images/05012025/14/26/image_05012025_14_26_02_794663_0000.jpg
/home/pi/Desktop/images/05012025/14/26/image_05012025_14_26_02_794663_0001.jpg
/home/pi/Desktop/images/05012025/14/26/image_05012025_14_26_02_794663_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":["1326880685","1326880687","1326880689","1326880686"],"photo_ids_order":["1326880685","1326880686","1326880687","1326880689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/864f11903da165620f4339cc784ad1f2.jpg","text":"TemporaryFile(/tmp/multipartBody2357446534703260918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083673009,"filename":"image_05012025_14_25_02_651121_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a30741d0127417bcadcb79583dd5a06f.jpg","text":"TemporaryFile(/tmp/multipartBody2420200050765169455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083673009,"filename":"image_05012025_14_26_02_794663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7e0667613a0c44d74b200541999e847d.jpg","text":"TemporaryFile(/tmp/multipartBody736023970017509539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083673009,"filename":"image_05012025_14_26_02_794663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aa42b998f1e859e986dfd8cd6cc97d6c.jpg","text":"TemporaryFile(/tmp/multipartBody160872563030328034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083673009,"filename":"image_05012025_14_26_02_794663_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880687","file1":"1326880686","file0":"1326880685","file3":"1326880689"},"map_files_photo_id_array":[{"photo_id":"1326880687","filename":"file2"},{"photo_id":"1326880686","filename":"file1"},{"photo_id":"1326880685","filename":"file0"},{"photo_id":"1326880689","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880685":["hashtag1","hashtag2"]},{"1326880687":["hashtag1","hashtag2"]},{"1326880689":["hashtag1","hashtag2"]},{"1326880686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880685, 1326880687, 1326880689, 1326880686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.84903359413147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:27:22.729742
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/26/image_05012025_14_26_02_794663_0003.jpg', '/home/pi/Desktop/images/05012025/14/27/image_05012025_14_27_02_972726_0000.jpg', '/home/pi/Desktop/images/05012025/14/27/image_05012025_14_27_02_972726_0001.jpg', '/home/pi/Desktop/images/05012025/14/27/image_05012025_14_27_02_972726_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/14/26/image_05012025_14_26_02_794663_0003.jpg
/home/pi/Desktop/images/05012025/14/27/image_05012025_14_27_02_972726_0000.jpg
/home/pi/Desktop/images/05012025/14/27/image_05012025_14_27_02_972726_0001.jpg
/home/pi/Desktop/images/05012025/14/27/image_05012025_14_27_02_972726_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880697","1326880700","1326880699","1326880698"],"photo_ids_order":["1326880697","1326880698","1326880699","1326880700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0f8d4324de09749f4f243963a9cd37eb.jpg","text":"TemporaryFile(/tmp/multipartBody4290906069760344539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083713042,"filename":"image_05012025_14_26_02_794663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0fbb3a5a2672205eb549fdad7618aeb1.jpg","text":"TemporaryFile(/tmp/multipartBody9067348223882119215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083713042,"filename":"image_05012025_14_27_02_972726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/15ae69fe5d45741ed35ea070822f46ae.jpg","text":"TemporaryFile(/tmp/multipartBody1530812252224482286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083713042,"filename":"image_05012025_14_27_02_972726_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b91d0e1981f3b2e6e8d485eee2a0ccaa.jpg","text":"TemporaryFile(/tmp/multipartBody8612306578327443115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083713042,"filename":"image_05012025_14_27_02_972726_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880699","file1":"1326880698","file0":"1326880697","file3":"1326880700"},"map_files_photo_id_array":[{"photo_id":"1326880699","filename":"file2"},{"photo_id":"1326880698","filename":"file1"},{"photo_id":"1326880697","filename":"file0"},{"photo_id":"1326880700","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880697":["hashtag1","hashtag2"]},{"1326880700":["hashtag1","hashtag2"]},{"1326880699":["hashtag1","hashtag2"]},{"1326880698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880697, 1326880700, 1326880699, 1326880698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.43814039230347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:28:21.977499
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/27/image_05012025_14_27_02_972726_0003.jpg', '/home/pi/Desktop/images/05012025/14/28/image_05012025_14_28_03_226910_0000.jpg', '/home/pi/Desktop/images/05012025/14/28/image_05012025_14_28_03_226910_0001.jpg', '/home/pi/Desktop/images/05012025/14/28/image_05012025_14_28_03_226910_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/14/27/image_05012025_14_27_02_972726_0003.jpg
/home/pi/Desktop/images/05012025/14/28/image_05012025_14_28_03_226910_0000.jpg
/home/pi/Desktop/images/05012025/14/28/image_05012025_14_28_03_226910_0001.jpg
/home/pi/Desktop/images/05012025/14/28/image_05012025_14_28_03_226910_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880707","1326880709","1326880711","1326880710"],"photo_ids_order":["1326880707","1326880709","1326880710","1326880711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/510bde3e49b38c164088e1e83c7bd687.jpg","text":"TemporaryFile(/tmp/multipartBody1665155712911589971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083772289,"filename":"image_05012025_14_27_02_972726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/816e4bcbde795fce3212260249762a1d.jpg","text":"TemporaryFile(/tmp/multipartBody515780307816505232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083772289,"filename":"image_05012025_14_28_03_226910_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0d3e5372e10206eb8283c21fbece746e.jpg","text":"TemporaryFile(/tmp/multipartBody7836245349262573478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083772289,"filename":"image_05012025_14_28_03_226910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d0bcca80ea289b7de79841d7fff83a15.jpg","text":"TemporaryFile(/tmp/multipartBody5585475407305766509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083772289,"filename":"image_05012025_14_28_03_226910_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880710","file1":"1326880709","file0":"1326880707","file3":"1326880711"},"map_files_photo_id_array":[{"photo_id":"1326880710","filename":"file2"},{"photo_id":"1326880709","filename":"file1"},{"photo_id":"1326880707","filename":"file0"},{"photo_id":"1326880711","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880707":["hashtag1","hashtag2"]},{"1326880709":["hashtag1","hashtag2"]},{"1326880711":["hashtag1","hashtag2"]},{"1326880710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880707, 1326880709, 1326880711, 1326880710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.0047721862793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:29:22.109586
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/28/image_05012025_14_28_03_226910_0003.jpg', '/home/pi/Desktop/images/05012025/14/29/image_05012025_14_29_02_325779_0000.jpg', '/home/pi/Desktop/images/05012025/14/29/image_05012025_14_29_02_325779_0001.jpg', '/home/pi/Desktop/images/05012025/14/29/image_05012025_14_29_02_325779_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/14/28/image_05012025_14_28_03_226910_0003.jpg
/home/pi/Desktop/images/05012025/14/29/image_05012025_14_29_02_325779_0000.jpg
/home/pi/Desktop/images/05012025/14/29/image_05012025_14_29_02_325779_0001.jpg
/home/pi/Desktop/images/05012025/14/29/image_05012025_14_29_02_325779_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880730","1326880726","1326880729","1326880731"],"photo_ids_order":["1326880726","1326880729","1326880730","1326880731"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9bb4d73bcef3666962d30aa0d00a6abd.jpg","text":"TemporaryFile(/tmp/multipartBody4297437481696992229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083832509,"filename":"image_05012025_14_29_02_325779_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ca485284ac57afa000fdef4b32005bf8.jpg","text":"TemporaryFile(/tmp/multipartBody6426649287205594724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083832509,"filename":"image_05012025_14_28_03_226910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2896471d6adfbf303e34002b55646ab8.jpg","text":"TemporaryFile(/tmp/multipartBody3630418531945459062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083832509,"filename":"image_05012025_14_29_02_325779_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/52a10d79529781a0b9e50cc913d83b53.jpg","text":"TemporaryFile(/tmp/multipartBody8507906067284981910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083832509,"filename":"image_05012025_14_29_02_325779_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880730","file1":"1326880729","file0":"1326880726","file3":"1326880731"},"map_files_photo_id_array":[{"photo_id":"1326880730","filename":"file2"},{"photo_id":"1326880729","filename":"file1"},{"photo_id":"1326880726","filename":"file0"},{"photo_id":"1326880731","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880730":["hashtag1","hashtag2"]},{"1326880726":["hashtag1","hashtag2"]},{"1326880729":["hashtag1","hashtag2"]},{"1326880731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880730, 1326880726, 1326880729, 1326880731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.18983340263367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:30:22.321379
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/29/image_05012025_14_29_02_325779_0003.jpg', '/home/pi/Desktop/images/05012025/14/30/image_05012025_14_30_02_465303_0000.jpg', '/home/pi/Desktop/images/05012025/14/30/image_05012025_14_30_02_465303_0001.jpg', '/home/pi/Desktop/images/05012025/14/30/image_05012025_14_30_02_465303_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/14/29/image_05012025_14_29_02_325779_0003.jpg
/home/pi/Desktop/images/05012025/14/30/image_05012025_14_30_02_465303_0000.jpg
/home/pi/Desktop/images/05012025/14/30/image_05012025_14_30_02_465303_0001.jpg
/home/pi/Desktop/images/05012025/14/30/image_05012025_14_30_02_465303_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880742","1326880739","1326880741","1326880743"],"photo_ids_order":["1326880739","1326880741","1326880742","1326880743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/daffa3774ba60f37a7eca7aa8a55982b.jpg","text":"TemporaryFile(/tmp/multipartBody2036563661470747409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083892722,"filename":"image_05012025_14_30_02_465303_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/561b43e93ffea8c6dc3433dc81d9e338.jpg","text":"TemporaryFile(/tmp/multipartBody4613771403702612880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083892722,"filename":"image_05012025_14_29_02_325779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3b34423a0a1355079c5f530a2b44ffcc.jpg","text":"TemporaryFile(/tmp/multipartBody5651857777277363062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083892722,"filename":"image_05012025_14_30_02_465303_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7190a974634ebfdbd740b7384cca35d0.jpg","text":"TemporaryFile(/tmp/multipartBody3127016642642272657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083892722,"filename":"image_05012025_14_30_02_465303_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880742","file1":"1326880741","file0":"1326880739","file3":"1326880743"},"map_files_photo_id_array":[{"photo_id":"1326880742","filename":"file2"},{"photo_id":"1326880741","filename":"file1"},{"photo_id":"1326880739","filename":"file0"},{"photo_id":"1326880743","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880742":["hashtag1","hashtag2"]},{"1326880739":["hashtag1","hashtag2"]},{"1326880741":["hashtag1","hashtag2"]},{"1326880743":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880742, 1326880739, 1326880741, 1326880743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.64599275588989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:31:22.545763
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/30/image_05012025_14_30_02_465303_0003.jpg', '/home/pi/Desktop/images/05012025/14/31/image_05012025_14_31_02_672078_0000.jpg', '/home/pi/Desktop/images/05012025/14/31/image_05012025_14_31_02_672078_0001.jpg', '/home/pi/Desktop/images/05012025/14/31/image_05012025_14_31_02_672078_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/14/30/image_05012025_14_30_02_465303_0003.jpg
/home/pi/Desktop/images/05012025/14/31/image_05012025_14_31_02_672078_0000.jpg
/home/pi/Desktop/images/05012025/14/31/image_05012025_14_31_02_672078_0001.jpg
/home/pi/Desktop/images/05012025/14/31/image_05012025_14_31_02_672078_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880751","1326880750","1326880753","1326880755"],"photo_ids_order":["1326880750","1326880751","1326880753","1326880755"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2147e4975abbabb177a2fc6939b3883.jpg","text":"TemporaryFile(/tmp/multipartBody8926466501664482514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083952866,"filename":"image_05012025_14_31_02_672078_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e6d3ea2550632386a3cf9121c9dbc496.jpg","text":"TemporaryFile(/tmp/multipartBody513087851907174913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083952866,"filename":"image_05012025_14_30_02_465303_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fcc1ff824741f7a4f67027d36f64e3c1.jpg","text":"TemporaryFile(/tmp/multipartBody6688015360521659633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083952866,"filename":"image_05012025_14_31_02_672078_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/81bddfa1b8986f5cc2db3740f7f227bf.jpg","text":"TemporaryFile(/tmp/multipartBody3626350851175120280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736083952866,"filename":"image_05012025_14_31_02_672078_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880753","file1":"1326880751","file0":"1326880750","file3":"1326880755"},"map_files_photo_id_array":[{"photo_id":"1326880753","filename":"file2"},{"photo_id":"1326880751","filename":"file1"},{"photo_id":"1326880750","filename":"file0"},{"photo_id":"1326880755","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880751":["hashtag1","hashtag2"]},{"1326880750":["hashtag1","hashtag2"]},{"1326880753":["hashtag1","hashtag2"]},{"1326880755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880751, 1326880750, 1326880753, 1326880755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.01134514808655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:32:22.663923
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/31/image_05012025_14_31_02_672078_0003.jpg', '/home/pi/Desktop/images/05012025/14/32/image_05012025_14_32_02_875137_0000.jpg', '/home/pi/Desktop/images/05012025/14/32/image_05012025_14_32_02_875137_0001.jpg', '/home/pi/Desktop/images/05012025/14/32/image_05012025_14_32_02_875137_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/14/31/image_05012025_14_31_02_672078_0003.jpg
/home/pi/Desktop/images/05012025/14/32/image_05012025_14_32_02_875137_0000.jpg
/home/pi/Desktop/images/05012025/14/32/image_05012025_14_32_02_875137_0001.jpg
/home/pi/Desktop/images/05012025/14/32/image_05012025_14_32_02_875137_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880763","1326880762","1326880765","1326880767"],"photo_ids_order":["1326880762","1326880763","1326880765","1326880767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/16698a27a06ac62f382621820c3e253e.jpg","text":"TemporaryFile(/tmp/multipartBody4580490480182609992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084013039,"filename":"image_05012025_14_32_02_875137_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/51f4e707d40fbfb0712bd14fefe9ac61.jpg","text":"TemporaryFile(/tmp/multipartBody7345141486301855288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084013039,"filename":"image_05012025_14_31_02_672078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b8c4c3342bbf28f8335e6e85b96ab776.jpg","text":"TemporaryFile(/tmp/multipartBody1385468677847656372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084013039,"filename":"image_05012025_14_32_02_875137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2bc772c0e29f129eebec2b52a8b55cf9.jpg","text":"TemporaryFile(/tmp/multipartBody6140583970414677457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084013039,"filename":"image_05012025_14_32_02_875137_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880765","file1":"1326880763","file0":"1326880762","file3":"1326880767"},"map_files_photo_id_array":[{"photo_id":"1326880765","filename":"file2"},{"photo_id":"1326880763","filename":"file1"},{"photo_id":"1326880762","filename":"file0"},{"photo_id":"1326880767","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880763":["hashtag1","hashtag2"]},{"1326880762":["hashtag1","hashtag2"]},{"1326880765":["hashtag1","hashtag2"]},{"1326880767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880763, 1326880762, 1326880765, 1326880767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.73214054107666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:33:21.809888
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/32/image_05012025_14_32_02_875137_0003.jpg', '/home/pi/Desktop/images/05012025/14/33/image_05012025_14_33_03_039297_0000.jpg', '/home/pi/Desktop/images/05012025/14/33/image_05012025_14_33_03_039297_0001.jpg', '/home/pi/Desktop/images/05012025/14/33/image_05012025_14_33_03_039297_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/14/32/image_05012025_14_32_02_875137_0003.jpg
/home/pi/Desktop/images/05012025/14/33/image_05012025_14_33_03_039297_0000.jpg
/home/pi/Desktop/images/05012025/14/33/image_05012025_14_33_03_039297_0001.jpg
/home/pi/Desktop/images/05012025/14/33/image_05012025_14_33_03_039297_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.035090923309326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 14:33:41.878865
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/32/image_05012025_14_32_02_875137_0003.jpg', '/home/pi/Desktop/images/05012025/14/33/image_05012025_14_33_03_039297_0000.jpg', '/home/pi/Desktop/images/05012025/14/33/image_05012025_14_33_03_039297_0001.jpg', '/home/pi/Desktop/images/05012025/14/33/image_05012025_14_33_03_039297_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/14/32/image_05012025_14_32_02_875137_0003.jpg
/home/pi/Desktop/images/05012025/14/33/image_05012025_14_33_03_039297_0000.jpg
/home/pi/Desktop/images/05012025/14/33/image_05012025_14_33_03_039297_0001.jpg
/home/pi/Desktop/images/05012025/14/33/image_05012025_14_33_03_039297_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":["1326880784","1326880778","1326880780","1326880782"],"photo_ids_order":["1326880778","1326880780","1326880782","1326880784"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/93f8930a05b4c939e1ba7b62f021880b.jpg","text":"TemporaryFile(/tmp/multipartBody1040780476469974479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084092338,"filename":"image_05012025_14_33_03_039297_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d2e1a8e5f4e9a2af09bef3d8978e9612.jpg","text":"TemporaryFile(/tmp/multipartBody1345261513808049375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084092338,"filename":"image_05012025_14_32_02_875137_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e529a6341c1cfd4f90ea889439a80813.jpg","text":"TemporaryFile(/tmp/multipartBody2024462272289239728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084092338,"filename":"image_05012025_14_33_03_039297_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5e8ee0d3e0fb7a80ab351cf0e68f9761.jpg","text":"TemporaryFile(/tmp/multipartBody6242024781881450119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084092338,"filename":"image_05012025_14_33_03_039297_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880782","file1":"1326880780","file0":"1326880778","file3":"1326880784"},"map_files_photo_id_array":[{"photo_id":"1326880782","filename":"file2"},{"photo_id":"1326880780","filename":"file1"},{"photo_id":"1326880778","filename":"file0"},{"photo_id":"1326880784","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880784":["hashtag1","hashtag2"]},{"1326880778":["hashtag1","hashtag2"]},{"1326880780":["hashtag1","hashtag2"]},{"1326880782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880784, 1326880778, 1326880780, 1326880782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.325783014297485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:34:22.010106
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/33/image_05012025_14_33_03_039297_0003.jpg', '/home/pi/Desktop/images/05012025/14/34/image_05012025_14_34_02_231815_0000.jpg', '/home/pi/Desktop/images/05012025/14/34/image_05012025_14_34_02_231815_0001.jpg', '/home/pi/Desktop/images/05012025/14/34/image_05012025_14_34_02_231815_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/14/33/image_05012025_14_33_03_039297_0003.jpg
/home/pi/Desktop/images/05012025/14/34/image_05012025_14_34_02_231815_0000.jpg
/home/pi/Desktop/images/05012025/14/34/image_05012025_14_34_02_231815_0001.jpg
/home/pi/Desktop/images/05012025/14/34/image_05012025_14_34_02_231815_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880790","1326880787","1326880786","1326880788"],"photo_ids_order":["1326880786","1326880787","1326880788","1326880790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d97bd6dfd07f5f5ebb2b0b5b4e8bb553.jpg","text":"TemporaryFile(/tmp/multipartBody5105926546340939924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084132390,"filename":"image_05012025_14_34_02_231815_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/197f1e5cdd08d9062ecbf1ab8af7c252.jpg","text":"TemporaryFile(/tmp/multipartBody6376538259763718351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084132390,"filename":"image_05012025_14_34_02_231815_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f9a7b61f0e91f1b2e282eb3fee4d4ad.jpg","text":"TemporaryFile(/tmp/multipartBody1821511900609694889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084132390,"filename":"image_05012025_14_33_03_039297_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/18a5a70e8de486672d5f5a03ed5821f9.jpg","text":"TemporaryFile(/tmp/multipartBody3677009458810025444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084132390,"filename":"image_05012025_14_34_02_231815_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880788","file1":"1326880787","file0":"1326880786","file3":"1326880790"},"map_files_photo_id_array":[{"photo_id":"1326880788","filename":"file2"},{"photo_id":"1326880787","filename":"file1"},{"photo_id":"1326880786","filename":"file0"},{"photo_id":"1326880790","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880790":["hashtag1","hashtag2"]},{"1326880787":["hashtag1","hashtag2"]},{"1326880786":["hashtag1","hashtag2"]},{"1326880788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880790, 1326880787, 1326880786, 1326880788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.570984840393066 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-05 14:35:22.209464
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/34/image_05012025_14_34_02_231815_0003.jpg', '/home/pi/Desktop/images/05012025/14/35/image_05012025_14_35_02_440098_0000.jpg', '/home/pi/Desktop/images/05012025/14/35/image_05012025_14_35_02_440098_0001.jpg', '/home/pi/Desktop/images/05012025/14/35/image_05012025_14_35_02_440098_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/14/34/image_05012025_14_34_02_231815_0003.jpg
/home/pi/Desktop/images/05012025/14/35/image_05012025_14_35_02_440098_0000.jpg
/home/pi/Desktop/images/05012025/14/35/image_05012025_14_35_02_440098_0001.jpg
/home/pi/Desktop/images/05012025/14/35/image_05012025_14_35_02_440098_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880806","1326880802","1326880805","1326880804"],"photo_ids_order":["1326880802","1326880804","1326880805","1326880806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/152346f0b50ef3a7f4aee1575173fd14.jpg","text":"TemporaryFile(/tmp/multipartBody1137092581769396293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084192604,"filename":"image_05012025_14_35_02_440098_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aa99130de37b936173ce1072709623f0.jpg","text":"TemporaryFile(/tmp/multipartBody6528260267650575574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084192604,"filename":"image_05012025_14_34_02_231815_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d1fe328ada4f4722eecb435eaf01c6eb.jpg","text":"TemporaryFile(/tmp/multipartBody9221397071970093583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084192604,"filename":"image_05012025_14_35_02_440098_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c665fecb4b3c649b16111b9e513e0ce0.jpg","text":"TemporaryFile(/tmp/multipartBody8994315482915458797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084192604,"filename":"image_05012025_14_35_02_440098_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880805","file1":"1326880804","file0":"1326880802","file3":"1326880806"},"map_files_photo_id_array":[{"photo_id":"1326880805","filename":"file2"},{"photo_id":"1326880804","filename":"file1"},{"photo_id":"1326880802","filename":"file0"},{"photo_id":"1326880806","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880806":["hashtag1","hashtag2"]},{"1326880802":["hashtag1","hashtag2"]},{"1326880805":["hashtag1","hashtag2"]},{"1326880804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880806, 1326880802, 1326880805, 1326880804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.25926327705383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:36:22.479114
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/35/image_05012025_14_35_02_440098_0003.jpg', '/home/pi/Desktop/images/05012025/14/36/image_05012025_14_36_02_557135_0000.jpg', '/home/pi/Desktop/images/05012025/14/36/image_05012025_14_36_02_557135_0001.jpg', '/home/pi/Desktop/images/05012025/14/36/image_05012025_14_36_02_557135_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/14/35/image_05012025_14_35_02_440098_0003.jpg
/home/pi/Desktop/images/05012025/14/36/image_05012025_14_36_02_557135_0000.jpg
/home/pi/Desktop/images/05012025/14/36/image_05012025_14_36_02_557135_0001.jpg
/home/pi/Desktop/images/05012025/14/36/image_05012025_14_36_02_557135_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.915915966033936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 14:36:42.356877
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/35/image_05012025_14_35_02_440098_0003.jpg', '/home/pi/Desktop/images/05012025/14/36/image_05012025_14_36_02_557135_0000.jpg', '/home/pi/Desktop/images/05012025/14/36/image_05012025_14_36_02_557135_0001.jpg', '/home/pi/Desktop/images/05012025/14/36/image_05012025_14_36_02_557135_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/14/35/image_05012025_14_35_02_440098_0003.jpg
/home/pi/Desktop/images/05012025/14/36/image_05012025_14_36_02_557135_0000.jpg
/home/pi/Desktop/images/05012025/14/36/image_05012025_14_36_02_557135_0001.jpg
/home/pi/Desktop/images/05012025/14/36/image_05012025_14_36_02_557135_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880820","1326880817","1326880822","1326880818"],"photo_ids_order":["1326880817","1326880818","1326880820","1326880822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9cb7ebc3d74dff526d4152c99551ec2d.jpg","text":"TemporaryFile(/tmp/multipartBody6245009970687703405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084272709,"filename":"image_05012025_14_36_02_557135_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5cdbce1bb5e8c3e5945a6a7b10fe5b20.jpg","text":"TemporaryFile(/tmp/multipartBody8464134567951242829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084272709,"filename":"image_05012025_14_35_02_440098_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d10ee527c65212c9849141b650915f3e.jpg","text":"TemporaryFile(/tmp/multipartBody4337156821666137994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084272709,"filename":"image_05012025_14_36_02_557135_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b33ba84c8195d8de32e8f7fd7acdf7fa.jpg","text":"TemporaryFile(/tmp/multipartBody3636644619120902771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084272709,"filename":"image_05012025_14_36_02_557135_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880820","file1":"1326880818","file0":"1326880817","file3":"1326880822"},"map_files_photo_id_array":[{"photo_id":"1326880820","filename":"file2"},{"photo_id":"1326880818","filename":"file1"},{"photo_id":"1326880817","filename":"file0"},{"photo_id":"1326880822","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880820":["hashtag1","hashtag2"]},{"1326880817":["hashtag1","hashtag2"]},{"1326880822":["hashtag1","hashtag2"]},{"1326880818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880820, 1326880817, 1326880822, 1326880818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.10362100601196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 14:37:32.533681
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/36/image_05012025_14_36_02_557135_0003.jpg', '/home/pi/Desktop/images/05012025/14/37/image_05012025_14_37_02_730097_0000.jpg', '/home/pi/Desktop/images/05012025/14/37/image_05012025_14_37_02_730097_0001.jpg', '/home/pi/Desktop/images/05012025/14/37/image_05012025_14_37_02_730097_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/14/36/image_05012025_14_36_02_557135_0003.jpg
/home/pi/Desktop/images/05012025/14/37/image_05012025_14_37_02_730097_0000.jpg
/home/pi/Desktop/images/05012025/14/37/image_05012025_14_37_02_730097_0001.jpg
/home/pi/Desktop/images/05012025/14/37/image_05012025_14_37_02_730097_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880829","1326880831","1326880828","1326880830"],"photo_ids_order":["1326880828","1326880829","1326880830","1326880831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/99445b3e95b8621e63080a9d923cb536.jpg","text":"TemporaryFile(/tmp/multipartBody7427408654244402794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084322617,"filename":"image_05012025_14_37_02_730097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/051242d778b921800486327c4fa985a4.jpg","text":"TemporaryFile(/tmp/multipartBody2063175520847731241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084322617,"filename":"image_05012025_14_37_02_730097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9331d80e3ddff7f34c336a1f34e78d79.jpg","text":"TemporaryFile(/tmp/multipartBody4962466862711590393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084322617,"filename":"image_05012025_14_36_02_557135_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/452d499768bd027b4fb46a646e615296.jpg","text":"TemporaryFile(/tmp/multipartBody240719958048068977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084322617,"filename":"image_05012025_14_37_02_730097_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880830","file1":"1326880829","file0":"1326880828","file3":"1326880831"},"map_files_photo_id_array":[{"photo_id":"1326880830","filename":"file2"},{"photo_id":"1326880829","filename":"file1"},{"photo_id":"1326880828","filename":"file0"},{"photo_id":"1326880831","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880829":["hashtag1","hashtag2"]},{"1326880831":["hashtag1","hashtag2"]},{"1326880828":["hashtag1","hashtag2"]},{"1326880830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880829, 1326880831, 1326880828, 1326880830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.97352313995361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:38:22.783817
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/37/image_05012025_14_37_02_730097_0003.jpg', '/home/pi/Desktop/images/05012025/14/38/image_05012025_14_38_02_894600_0000.jpg', '/home/pi/Desktop/images/05012025/14/38/image_05012025_14_38_02_894600_0001.jpg', '/home/pi/Desktop/images/05012025/14/38/image_05012025_14_38_02_894600_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/14/37/image_05012025_14_37_02_730097_0003.jpg
/home/pi/Desktop/images/05012025/14/38/image_05012025_14_38_02_894600_0000.jpg
/home/pi/Desktop/images/05012025/14/38/image_05012025_14_38_02_894600_0001.jpg
/home/pi/Desktop/images/05012025/14/38/image_05012025_14_38_02_894600_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880841","1326880843","1326880840","1326880845"],"photo_ids_order":["1326880840","1326880841","1326880843","1326880845"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd019273f62dcc4bf916d0545e15604a.jpg","text":"TemporaryFile(/tmp/multipartBody4554604596378182393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084373106,"filename":"image_05012025_14_38_02_894600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/926328d903f9c80fae61b7ee8233f241.jpg","text":"TemporaryFile(/tmp/multipartBody9029840751581201649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084373106,"filename":"image_05012025_14_38_02_894600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3638f6f455debff124914f062f73e8c9.jpg","text":"TemporaryFile(/tmp/multipartBody3317212569850480619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084373106,"filename":"image_05012025_14_37_02_730097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f97b61b54f1720fb49876196430ab12.jpg","text":"TemporaryFile(/tmp/multipartBody1856217055888598265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084373106,"filename":"image_05012025_14_38_02_894600_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880843","file1":"1326880841","file0":"1326880840","file3":"1326880845"},"map_files_photo_id_array":[{"photo_id":"1326880843","filename":"file2"},{"photo_id":"1326880841","filename":"file1"},{"photo_id":"1326880840","filename":"file0"},{"photo_id":"1326880845","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880841":["hashtag1","hashtag2"]},{"1326880843":["hashtag1","hashtag2"]},{"1326880840":["hashtag1","hashtag2"]},{"1326880845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880841, 1326880843, 1326880840, 1326880845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.165751695632935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:39:22.051859
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/38/image_05012025_14_38_02_894600_0003.jpg', '/home/pi/Desktop/images/05012025/14/39/image_05012025_14_39_03_063032_0000.jpg', '/home/pi/Desktop/images/05012025/14/39/image_05012025_14_39_03_063032_0001.jpg', '/home/pi/Desktop/images/05012025/14/39/image_05012025_14_39_03_063032_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/14/38/image_05012025_14_38_02_894600_0003.jpg
/home/pi/Desktop/images/05012025/14/39/image_05012025_14_39_03_063032_0000.jpg
/home/pi/Desktop/images/05012025/14/39/image_05012025_14_39_03_063032_0001.jpg
/home/pi/Desktop/images/05012025/14/39/image_05012025_14_39_03_063032_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880853","1326880852","1326880855","1326880857"],"photo_ids_order":["1326880852","1326880853","1326880855","1326880857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/36a86a9cf690f45ee54062db2fd38c30.jpg","text":"TemporaryFile(/tmp/multipartBody2549737666830578093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084432718,"filename":"image_05012025_14_39_03_063032_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5a0fea85f0917602d1d96c92022143df.jpg","text":"TemporaryFile(/tmp/multipartBody4865677010315432666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084432718,"filename":"image_05012025_14_38_02_894600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/37a1340fefb9db6ec136882585461304.jpg","text":"TemporaryFile(/tmp/multipartBody7831067353201658486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084432718,"filename":"image_05012025_14_39_03_063032_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/15799a3ffea4f204cd526a5c9c929539.jpg","text":"TemporaryFile(/tmp/multipartBody7046277778256560394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084432718,"filename":"image_05012025_14_39_03_063032_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880855","file1":"1326880853","file0":"1326880852","file3":"1326880857"},"map_files_photo_id_array":[{"photo_id":"1326880855","filename":"file2"},{"photo_id":"1326880853","filename":"file1"},{"photo_id":"1326880852","filename":"file0"},{"photo_id":"1326880857","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880853":["hashtag1","hashtag2"]},{"1326880852":["hashtag1","hashtag2"]},{"1326880855":["hashtag1","hashtag2"]},{"1326880857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880853, 1326880852, 1326880855, 1326880857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.01179647445679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:40:22.169987
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/39/image_05012025_14_39_03_063032_0003.jpg', '/home/pi/Desktop/images/05012025/14/40/image_05012025_14_40_02_285120_0000.jpg', '/home/pi/Desktop/images/05012025/14/40/image_05012025_14_40_02_285120_0001.jpg', '/home/pi/Desktop/images/05012025/14/40/image_05012025_14_40_02_285120_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/14/39/image_05012025_14_39_03_063032_0003.jpg
/home/pi/Desktop/images/05012025/14/40/image_05012025_14_40_02_285120_0000.jpg
/home/pi/Desktop/images/05012025/14/40/image_05012025_14_40_02_285120_0001.jpg
/home/pi/Desktop/images/05012025/14/40/image_05012025_14_40_02_285120_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.145861148834229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 14:40:42.127207
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/39/image_05012025_14_39_03_063032_0003.jpg', '/home/pi/Desktop/images/05012025/14/40/image_05012025_14_40_02_285120_0000.jpg', '/home/pi/Desktop/images/05012025/14/40/image_05012025_14_40_02_285120_0001.jpg', '/home/pi/Desktop/images/05012025/14/40/image_05012025_14_40_02_285120_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/14/39/image_05012025_14_39_03_063032_0003.jpg
/home/pi/Desktop/images/05012025/14/40/image_05012025_14_40_02_285120_0000.jpg
/home/pi/Desktop/images/05012025/14/40/image_05012025_14_40_02_285120_0001.jpg
/home/pi/Desktop/images/05012025/14/40/image_05012025_14_40_02_285120_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880871","1326880874","1326880867","1326880869"],"photo_ids_order":["1326880867","1326880869","1326880871","1326880874"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/496db57d8a6ddc4362c540d60ec9554a.jpg","text":"TemporaryFile(/tmp/multipartBody1378602285888603079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084512684,"filename":"image_05012025_14_40_02_285120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ffc8843c836f04fd917e622a04111cf8.jpg","text":"TemporaryFile(/tmp/multipartBody7351848450213864132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084512684,"filename":"image_05012025_14_40_02_285120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1453a8b03e8821e833a691b999a4dead.jpg","text":"TemporaryFile(/tmp/multipartBody7407766622276845409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084512684,"filename":"image_05012025_14_39_03_063032_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/685337fb7f2064a4d471cb7e693b3b5d.jpg","text":"TemporaryFile(/tmp/multipartBody7351918808908355086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084512684,"filename":"image_05012025_14_40_02_285120_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880871","file1":"1326880869","file0":"1326880867","file3":"1326880874"},"map_files_photo_id_array":[{"photo_id":"1326880871","filename":"file2"},{"photo_id":"1326880869","filename":"file1"},{"photo_id":"1326880867","filename":"file0"},{"photo_id":"1326880874","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880871":["hashtag1","hashtag2"]},{"1326880874":["hashtag1","hashtag2"]},{"1326880867":["hashtag1","hashtag2"]},{"1326880869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880871, 1326880874, 1326880867, 1326880869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.70834803581238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 14:41:32.277964
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/40/image_05012025_14_40_02_285120_0003.jpg', '/home/pi/Desktop/images/05012025/14/41/image_05012025_14_41_02_551896_0000.jpg', '/home/pi/Desktop/images/05012025/14/41/image_05012025_14_41_02_551896_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/14/40/image_05012025_14_40_02_285120_0003.jpg
/home/pi/Desktop/images/05012025/14/41/image_05012025_14_41_02_551896_0000.jpg
/home/pi/Desktop/images/05012025/14/41/image_05012025_14_41_02_551896_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880885","1326880881","1326880878"],"photo_ids_order":["1326880878","1326880881","1326880885"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/807f0854b561a4c6ee33298bc3baa0e9.jpg","text":"TemporaryFile(/tmp/multipartBody1810147665526965588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084560232,"filename":"image_05012025_14_41_02_551896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ea31f02f91e47de6f17c82edbac6ac2e.jpg","text":"TemporaryFile(/tmp/multipartBody1880149285333115711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084560232,"filename":"image_05012025_14_41_02_551896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d20c322d4ea45b236d315b72d5e7683c.jpg","text":"TemporaryFile(/tmp/multipartBody4343667785034138386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084560232,"filename":"image_05012025_14_40_02_285120_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880885","file1":"1326880881","file0":"1326880878"},"map_files_photo_id_array":[{"photo_id":"1326880885","filename":"file2"},{"photo_id":"1326880881","filename":"file1"},{"photo_id":"1326880878","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880885":["hashtag1","hashtag2"]},{"1326880881":["hashtag1","hashtag2"]},{"1326880878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880885, 1326880881, 1326880878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.17918038368225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:42:22.465366
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/41/image_05012025_14_41_02_551896_0003.jpg', '/home/pi/Desktop/images/05012025/14/42/image_05012025_14_42_02_664548_0000.jpg', '/home/pi/Desktop/images/05012025/14/42/image_05012025_14_42_02_664548_0001.jpg', '/home/pi/Desktop/images/05012025/14/42/image_05012025_14_42_02_664548_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/14/41/image_05012025_14_41_02_551896_0003.jpg
/home/pi/Desktop/images/05012025/14/42/image_05012025_14_42_02_664548_0000.jpg
/home/pi/Desktop/images/05012025/14/42/image_05012025_14_42_02_664548_0001.jpg
/home/pi/Desktop/images/05012025/14/42/image_05012025_14_42_02_664548_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880898","1326880894","1326880899","1326880896"],"photo_ids_order":["1326880894","1326880896","1326880898","1326880899"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f618aba0b14a2a7199fb3cb93ad256ed.jpg","text":"TemporaryFile(/tmp/multipartBody1761535496597619899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084613036,"filename":"image_05012025_14_42_02_664548_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ac9a6b1c568f9142d6c715133fe63ce.jpg","text":"TemporaryFile(/tmp/multipartBody3354299302212677643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084613036,"filename":"image_05012025_14_41_02_551896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b2c599cb121bd01391ec429f1e9b283d.jpg","text":"TemporaryFile(/tmp/multipartBody1794457296633140258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084613036,"filename":"image_05012025_14_42_02_664548_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ae7b36aa680a7716b040110e3cb4a8f.jpg","text":"TemporaryFile(/tmp/multipartBody512530266446153511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084613036,"filename":"image_05012025_14_42_02_664548_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880898","file1":"1326880896","file0":"1326880894","file3":"1326880899"},"map_files_photo_id_array":[{"photo_id":"1326880898","filename":"file2"},{"photo_id":"1326880896","filename":"file1"},{"photo_id":"1326880894","filename":"file0"},{"photo_id":"1326880899","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880898":["hashtag1","hashtag2"]},{"1326880894":["hashtag1","hashtag2"]},{"1326880899":["hashtag1","hashtag2"]},{"1326880896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880898, 1326880894, 1326880899, 1326880896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.72080111503601 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:43:22.692312
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/42/image_05012025_14_42_02_664548_0003.jpg', '/home/pi/Desktop/images/05012025/14/43/image_05012025_14_43_02_861182_0000.jpg', '/home/pi/Desktop/images/05012025/14/43/image_05012025_14_43_02_861182_0001.jpg', '/home/pi/Desktop/images/05012025/14/43/image_05012025_14_43_02_861182_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/14/42/image_05012025_14_42_02_664548_0003.jpg
/home/pi/Desktop/images/05012025/14/43/image_05012025_14_43_02_861182_0000.jpg
/home/pi/Desktop/images/05012025/14/43/image_05012025_14_43_02_861182_0001.jpg
/home/pi/Desktop/images/05012025/14/43/image_05012025_14_43_02_861182_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880905","1326880908","1326880910","1326880906"],"photo_ids_order":["1326880905","1326880906","1326880908","1326880910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/db3d835608da8d568df8574f574275c0.jpg","text":"TemporaryFile(/tmp/multipartBody7356601328491138342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084673113,"filename":"image_05012025_14_42_02_664548_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/08d8924403b9151f971a0a637de1783c.jpg","text":"TemporaryFile(/tmp/multipartBody245532085346452663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084673113,"filename":"image_05012025_14_43_02_861182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/75c66ac02f3599c07233f5c199c39da3.jpg","text":"TemporaryFile(/tmp/multipartBody7320180524650690422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084673113,"filename":"image_05012025_14_43_02_861182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ca73dd5af3f91fbcbafb7f29529dedd8.jpg","text":"TemporaryFile(/tmp/multipartBody142745284368616665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084673113,"filename":"image_05012025_14_43_02_861182_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880908","file1":"1326880906","file0":"1326880905","file3":"1326880910"},"map_files_photo_id_array":[{"photo_id":"1326880908","filename":"file2"},{"photo_id":"1326880906","filename":"file1"},{"photo_id":"1326880905","filename":"file0"},{"photo_id":"1326880910","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880905":["hashtag1","hashtag2"]},{"1326880908":["hashtag1","hashtag2"]},{"1326880910":["hashtag1","hashtag2"]},{"1326880906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880905, 1326880908, 1326880910, 1326880906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.95277214050293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:44:21.877093
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/43/image_05012025_14_43_02_861182_0003.jpg', '/home/pi/Desktop/images/05012025/14/44/image_05012025_14_44_03_039565_0000.jpg', '/home/pi/Desktop/images/05012025/14/44/image_05012025_14_44_03_039565_0001.jpg', '/home/pi/Desktop/images/05012025/14/44/image_05012025_14_44_03_039565_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/14/43/image_05012025_14_43_02_861182_0003.jpg
/home/pi/Desktop/images/05012025/14/44/image_05012025_14_44_03_039565_0000.jpg
/home/pi/Desktop/images/05012025/14/44/image_05012025_14_44_03_039565_0001.jpg
/home/pi/Desktop/images/05012025/14/44/image_05012025_14_44_03_039565_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880926","1326880925","1326880924","1326880929"],"photo_ids_order":["1326880924","1326880925","1326880926","1326880929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1d1ed93993d58b99025515c10a028fb0.jpg","text":"TemporaryFile(/tmp/multipartBody1647962963784624994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084732319,"filename":"image_05012025_14_44_03_039565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bd49b807a775c092856db9408219bc3f.jpg","text":"TemporaryFile(/tmp/multipartBody8517500314221944283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084732319,"filename":"image_05012025_14_44_03_039565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d6211fef60546cecc651a87bbd5ea14e.jpg","text":"TemporaryFile(/tmp/multipartBody8383650847832228339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084732319,"filename":"image_05012025_14_43_02_861182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/760ee7e5ec48f120581a7a337c81fec6.jpg","text":"TemporaryFile(/tmp/multipartBody6881608678088441309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084732319,"filename":"image_05012025_14_44_03_039565_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880926","file1":"1326880925","file0":"1326880924","file3":"1326880929"},"map_files_photo_id_array":[{"photo_id":"1326880926","filename":"file2"},{"photo_id":"1326880925","filename":"file1"},{"photo_id":"1326880924","filename":"file0"},{"photo_id":"1326880929","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880926":["hashtag1","hashtag2"]},{"1326880925":["hashtag1","hashtag2"]},{"1326880924":["hashtag1","hashtag2"]},{"1326880929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880926, 1326880925, 1326880924, 1326880929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.81282353401184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:45:22.131332
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/44/image_05012025_14_44_03_039565_0003.jpg', '/home/pi/Desktop/images/05012025/14/45/image_05012025_14_45_02_194233_0000.jpg', '/home/pi/Desktop/images/05012025/14/45/image_05012025_14_45_02_194233_0001.jpg', '/home/pi/Desktop/images/05012025/14/45/image_05012025_14_45_02_194233_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/14/44/image_05012025_14_44_03_039565_0003.jpg
/home/pi/Desktop/images/05012025/14/45/image_05012025_14_45_02_194233_0000.jpg
/home/pi/Desktop/images/05012025/14/45/image_05012025_14_45_02_194233_0001.jpg
/home/pi/Desktop/images/05012025/14/45/image_05012025_14_45_02_194233_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880940","1326880942","1326880936","1326880938"],"photo_ids_order":["1326880936","1326880938","1326880940","1326880942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b24e0d07dbbb2febaddd9ff0891c5c6.jpg","text":"TemporaryFile(/tmp/multipartBody8133370953301662784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084792493,"filename":"image_05012025_14_45_02_194233_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/35f8461cbf95aa3af3acf256bf1d82d8.jpg","text":"TemporaryFile(/tmp/multipartBody1409752542408633624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084792493,"filename":"image_05012025_14_45_02_194233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9446cfa0bef804ae584e9cd44199677f.jpg","text":"TemporaryFile(/tmp/multipartBody2685308011883991252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084792493,"filename":"image_05012025_14_44_03_039565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e627aecff4b6e77a51f3169292f8b927.jpg","text":"TemporaryFile(/tmp/multipartBody8728918470297400290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084792493,"filename":"image_05012025_14_45_02_194233_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880940","file1":"1326880938","file0":"1326880936","file3":"1326880942"},"map_files_photo_id_array":[{"photo_id":"1326880940","filename":"file2"},{"photo_id":"1326880938","filename":"file1"},{"photo_id":"1326880936","filename":"file0"},{"photo_id":"1326880942","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880940":["hashtag1","hashtag2"]},{"1326880942":["hashtag1","hashtag2"]},{"1326880936":["hashtag1","hashtag2"]},{"1326880938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880940, 1326880942, 1326880936, 1326880938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.21954107284546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:46:22.217773
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/45/image_05012025_14_45_02_194233_0003.jpg', '/home/pi/Desktop/images/05012025/14/46/image_05012025_14_46_02_376806_0000.jpg', '/home/pi/Desktop/images/05012025/14/46/image_05012025_14_46_02_376806_0001.jpg', '/home/pi/Desktop/images/05012025/14/46/image_05012025_14_46_02_376806_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/14/45/image_05012025_14_45_02_194233_0003.jpg
/home/pi/Desktop/images/05012025/14/46/image_05012025_14_46_02_376806_0000.jpg
/home/pi/Desktop/images/05012025/14/46/image_05012025_14_46_02_376806_0001.jpg
/home/pi/Desktop/images/05012025/14/46/image_05012025_14_46_02_376806_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880952","1326880955","1326880954","1326880956"],"photo_ids_order":["1326880952","1326880954","1326880955","1326880956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2f4e30f6b183d0aedce4c5047dbbcb4d.jpg","text":"TemporaryFile(/tmp/multipartBody7661237366219323488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084852482,"filename":"image_05012025_14_45_02_194233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3ee364791c2c4b7cd9a5512c271c4d8f.jpg","text":"TemporaryFile(/tmp/multipartBody8070355387342682079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084852482,"filename":"image_05012025_14_46_02_376806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/60671c2ded150b17f90f900cf0ddc61d.jpg","text":"TemporaryFile(/tmp/multipartBody6041926158577104381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084852482,"filename":"image_05012025_14_46_02_376806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7d8901d492cfc23843b66df252bf6b10.jpg","text":"TemporaryFile(/tmp/multipartBody5424690853491692813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084852482,"filename":"image_05012025_14_46_02_376806_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880955","file1":"1326880954","file0":"1326880952","file3":"1326880956"},"map_files_photo_id_array":[{"photo_id":"1326880955","filename":"file2"},{"photo_id":"1326880954","filename":"file1"},{"photo_id":"1326880952","filename":"file0"},{"photo_id":"1326880956","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880952":["hashtag1","hashtag2"]},{"1326880955":["hashtag1","hashtag2"]},{"1326880954":["hashtag1","hashtag2"]},{"1326880956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880952, 1326880955, 1326880954, 1326880956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.54316711425781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:47:22.478259
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/46/image_05012025_14_46_02_376806_0003.jpg', '/home/pi/Desktop/images/05012025/14/47/image_05012025_14_47_02_568404_0000.jpg', '/home/pi/Desktop/images/05012025/14/47/image_05012025_14_47_02_568404_0001.jpg', '/home/pi/Desktop/images/05012025/14/47/image_05012025_14_47_02_568404_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/14/46/image_05012025_14_46_02_376806_0003.jpg
/home/pi/Desktop/images/05012025/14/47/image_05012025_14_47_02_568404_0000.jpg
/home/pi/Desktop/images/05012025/14/47/image_05012025_14_47_02_568404_0001.jpg
/home/pi/Desktop/images/05012025/14/47/image_05012025_14_47_02_568404_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880964","1326880967","1326880969","1326880965"],"photo_ids_order":["1326880964","1326880965","1326880967","1326880969"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fddebe6b943de2dcdbcec106440f12aa.jpg","text":"TemporaryFile(/tmp/multipartBody5238255607765344214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084912887,"filename":"image_05012025_14_46_02_376806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eadc99d9883ffe548f6c16d042760401.jpg","text":"TemporaryFile(/tmp/multipartBody3055960379671346441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084912887,"filename":"image_05012025_14_47_02_568404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/438d6980154159264218ecede4f7c450.jpg","text":"TemporaryFile(/tmp/multipartBody5994524355278611956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084912887,"filename":"image_05012025_14_47_02_568404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6656a066356aae40dbcf0f4a73dbc236.jpg","text":"TemporaryFile(/tmp/multipartBody516226211625654666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084912887,"filename":"image_05012025_14_47_02_568404_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880967","file1":"1326880965","file0":"1326880964","file3":"1326880969"},"map_files_photo_id_array":[{"photo_id":"1326880967","filename":"file2"},{"photo_id":"1326880965","filename":"file1"},{"photo_id":"1326880964","filename":"file0"},{"photo_id":"1326880969","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880964":["hashtag1","hashtag2"]},{"1326880967":["hashtag1","hashtag2"]},{"1326880969":["hashtag1","hashtag2"]},{"1326880965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880964, 1326880967, 1326880969, 1326880965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.05988121032715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:48:22.577541
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/47/image_05012025_14_47_02_568404_0003.jpg', '/home/pi/Desktop/images/05012025/14/48/image_05012025_14_48_02_682161_0000.jpg', '/home/pi/Desktop/images/05012025/14/48/image_05012025_14_48_02_682161_0001.jpg', '/home/pi/Desktop/images/05012025/14/48/image_05012025_14_48_02_682161_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/14/47/image_05012025_14_47_02_568404_0003.jpg
/home/pi/Desktop/images/05012025/14/48/image_05012025_14_48_02_682161_0000.jpg
/home/pi/Desktop/images/05012025/14/48/image_05012025_14_48_02_682161_0001.jpg
/home/pi/Desktop/images/05012025/14/48/image_05012025_14_48_02_682161_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880976","1326880975","1326880978","1326880980"],"photo_ids_order":["1326880975","1326880976","1326880978","1326880980"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cb647bae2d17d307335d5b742c15ba7c.jpg","text":"TemporaryFile(/tmp/multipartBody2366230787815817521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084973005,"filename":"image_05012025_14_48_02_682161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b9ac63fd2db0eb967dd5e78b1b32fd09.jpg","text":"TemporaryFile(/tmp/multipartBody97252993524146383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084973005,"filename":"image_05012025_14_47_02_568404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/15e63613939ade305e442ec8d3bd14e1.jpg","text":"TemporaryFile(/tmp/multipartBody1141601054241352878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084973005,"filename":"image_05012025_14_48_02_682161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce1924cc3ce17c7fbf224097157f604b.jpg","text":"TemporaryFile(/tmp/multipartBody1629124258814797378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736084973005,"filename":"image_05012025_14_48_02_682161_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880978","file1":"1326880976","file0":"1326880975","file3":"1326880980"},"map_files_photo_id_array":[{"photo_id":"1326880978","filename":"file2"},{"photo_id":"1326880976","filename":"file1"},{"photo_id":"1326880975","filename":"file0"},{"photo_id":"1326880980","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880976":["hashtag1","hashtag2"]},{"1326880975":["hashtag1","hashtag2"]},{"1326880978":["hashtag1","hashtag2"]},{"1326880980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880976, 1326880975, 1326880978, 1326880980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.57185935974121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:49:22.769976
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/48/image_05012025_14_48_02_682161_0003.jpg', '/home/pi/Desktop/images/05012025/14/49/image_05012025_14_49_02_879879_0001.jpg', '/home/pi/Desktop/images/05012025/14/49/image_05012025_14_49_02_879879_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/14/48/image_05012025_14_48_02_682161_0003.jpg
/home/pi/Desktop/images/05012025/14/49/image_05012025_14_49_02_879879_0001.jpg
/home/pi/Desktop/images/05012025/14/49/image_05012025_14_49_02_879879_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326880990","1326880992","1326880989"],"photo_ids_order":["1326880989","1326880990","1326880992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b478b774cfe91d1980059d4d20413e34.jpg","text":"TemporaryFile(/tmp/multipartBody2387892810794997016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085030789,"filename":"image_05012025_14_49_02_879879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7289cf32b629de59587d7d90436d3ffe.jpg","text":"TemporaryFile(/tmp/multipartBody2990854793787585318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085030789,"filename":"image_05012025_14_49_02_879879_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0652f0d03dcfcf744545d437bc888add.jpg","text":"TemporaryFile(/tmp/multipartBody3764271355857124778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085030789,"filename":"image_05012025_14_48_02_682161_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326880992","file1":"1326880990","file0":"1326880989"},"map_files_photo_id_array":[{"photo_id":"1326880992","filename":"file2"},{"photo_id":"1326880990","filename":"file1"},{"photo_id":"1326880989","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326880990":["hashtag1","hashtag2"]},{"1326880992":["hashtag1","hashtag2"]},{"1326880989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326880990, 1326880992, 1326880989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.23913908004761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 14:50:02.377477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:50:21.903236
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/49/image_05012025_14_49_02_879879_0003.jpg', '/home/pi/Desktop/images/05012025/14/50/image_05012025_14_50_03_056548_0000.jpg', '/home/pi/Desktop/images/05012025/14/50/image_05012025_14_50_03_056548_0001.jpg', '/home/pi/Desktop/images/05012025/14/50/image_05012025_14_50_03_056548_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/14/49/image_05012025_14_49_02_879879_0003.jpg
/home/pi/Desktop/images/05012025/14/50/image_05012025_14_50_03_056548_0000.jpg
/home/pi/Desktop/images/05012025/14/50/image_05012025_14_50_03_056548_0001.jpg
/home/pi/Desktop/images/05012025/14/50/image_05012025_14_50_03_056548_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.916961669921875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 14:50:41.905090
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/49/image_05012025_14_49_02_879879_0003.jpg', '/home/pi/Desktop/images/05012025/14/50/image_05012025_14_50_03_056548_0000.jpg', '/home/pi/Desktop/images/05012025/14/50/image_05012025_14_50_03_056548_0001.jpg', '/home/pi/Desktop/images/05012025/14/50/image_05012025_14_50_03_056548_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/14/49/image_05012025_14_49_02_879879_0003.jpg
/home/pi/Desktop/images/05012025/14/50/image_05012025_14_50_03_056548_0000.jpg
/home/pi/Desktop/images/05012025/14/50/image_05012025_14_50_03_056548_0001.jpg
/home/pi/Desktop/images/05012025/14/50/image_05012025_14_50_03_056548_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326881003","1326881002","1326881004","1326881007"],"photo_ids_order":["1326881002","1326881003","1326881004","1326881007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9a9d8cba47900d762c89a4481d24f9b0.jpg","text":"TemporaryFile(/tmp/multipartBody1968257873837855175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085112234,"filename":"image_05012025_14_50_03_056548_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3ed8a7d23019656c7daf0a91e6e6e8d4.jpg","text":"TemporaryFile(/tmp/multipartBody7098280500242130865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085112234,"filename":"image_05012025_14_49_02_879879_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6c0e1f679ea9584f94294097372f13f7.jpg","text":"TemporaryFile(/tmp/multipartBody546068880747873256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085112234,"filename":"image_05012025_14_50_03_056548_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cfa317868360253c013bd851c624c35c.jpg","text":"TemporaryFile(/tmp/multipartBody2855915839251554866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085112234,"filename":"image_05012025_14_50_03_056548_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326881004","file1":"1326881003","file0":"1326881002","file3":"1326881007"},"map_files_photo_id_array":[{"photo_id":"1326881004","filename":"file2"},{"photo_id":"1326881003","filename":"file1"},{"photo_id":"1326881002","filename":"file0"},{"photo_id":"1326881007","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326881003":["hashtag1","hashtag2"]},{"1326881002":["hashtag1","hashtag2"]},{"1326881004":["hashtag1","hashtag2"]},{"1326881007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326881003, 1326881002, 1326881004, 1326881007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.490710735321045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 14:51:32.072444
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/50/image_05012025_14_50_03_056548_0003.jpg', '/home/pi/Desktop/images/05012025/14/51/image_05012025_14_51_02_230295_0000.jpg', '/home/pi/Desktop/images/05012025/14/51/image_05012025_14_51_02_230295_0001.jpg', '/home/pi/Desktop/images/05012025/14/51/image_05012025_14_51_02_230295_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/14/50/image_05012025_14_50_03_056548_0003.jpg
/home/pi/Desktop/images/05012025/14/51/image_05012025_14_51_02_230295_0000.jpg
/home/pi/Desktop/images/05012025/14/51/image_05012025_14_51_02_230295_0001.jpg
/home/pi/Desktop/images/05012025/14/51/image_05012025_14_51_02_230295_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326881015","1326881014","1326881017","1326881013"],"photo_ids_order":["1326881013","1326881014","1326881015","1326881017"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/55525f75957bd5a2a27a4be2fcc71fca.jpg","text":"TemporaryFile(/tmp/multipartBody4823520737688022277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085162443,"filename":"image_05012025_14_51_02_230295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4e3312c0cc737aeeda3a1559495b6cc3.jpg","text":"TemporaryFile(/tmp/multipartBody1199569380508703100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085162443,"filename":"image_05012025_14_51_02_230295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0f0d4276ad9e4cad541c058f0c625a30.jpg","text":"TemporaryFile(/tmp/multipartBody2774238415101038880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085162443,"filename":"image_05012025_14_51_02_230295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bf954169230783b55581ba07f2e607da.jpg","text":"TemporaryFile(/tmp/multipartBody8795984512056907395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085162443,"filename":"image_05012025_14_50_03_056548_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326881015","file1":"1326881014","file0":"1326881013","file3":"1326881017"},"map_files_photo_id_array":[{"photo_id":"1326881015","filename":"file2"},{"photo_id":"1326881014","filename":"file1"},{"photo_id":"1326881013","filename":"file0"},{"photo_id":"1326881017","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326881015":["hashtag1","hashtag2"]},{"1326881014":["hashtag1","hashtag2"]},{"1326881017":["hashtag1","hashtag2"]},{"1326881013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326881015, 1326881014, 1326881017, 1326881013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.29849815368652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:52:22.276017
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/51/image_05012025_14_51_02_230295_0003.jpg', '/home/pi/Desktop/images/05012025/14/52/image_05012025_14_52_02_552866_0000.jpg', '/home/pi/Desktop/images/05012025/14/52/image_05012025_14_52_02_552866_0001.jpg', '/home/pi/Desktop/images/05012025/14/52/image_05012025_14_52_02_552866_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/14/51/image_05012025_14_51_02_230295_0003.jpg
/home/pi/Desktop/images/05012025/14/52/image_05012025_14_52_02_552866_0000.jpg
/home/pi/Desktop/images/05012025/14/52/image_05012025_14_52_02_552866_0001.jpg
/home/pi/Desktop/images/05012025/14/52/image_05012025_14_52_02_552866_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326881024","1326881023","1326881026","1326881028"],"photo_ids_order":["1326881023","1326881024","1326881026","1326881028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c365fcb7edecea8f552a0b939da0dba7.jpg","text":"TemporaryFile(/tmp/multipartBody6097806750329821385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085212731,"filename":"image_05012025_14_52_02_552866_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c000992d4da93dbd661fe7dcd91d12cc.jpg","text":"TemporaryFile(/tmp/multipartBody3792148997206531457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085212731,"filename":"image_05012025_14_51_02_230295_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b0158c14118a72be98a09276ed9e0c2b.jpg","text":"TemporaryFile(/tmp/multipartBody5760142079942881184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085212731,"filename":"image_05012025_14_52_02_552866_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e6a513696994c45cfc9f82c856b5e54f.jpg","text":"TemporaryFile(/tmp/multipartBody6951553949382237204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085212731,"filename":"image_05012025_14_52_02_552866_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326881026","file1":"1326881024","file0":"1326881023","file3":"1326881028"},"map_files_photo_id_array":[{"photo_id":"1326881026","filename":"file2"},{"photo_id":"1326881024","filename":"file1"},{"photo_id":"1326881023","filename":"file0"},{"photo_id":"1326881028","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326881024":["hashtag1","hashtag2"]},{"1326881023":["hashtag1","hashtag2"]},{"1326881026":["hashtag1","hashtag2"]},{"1326881028":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326881024, 1326881023, 1326881026, 1326881028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.55746054649353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:53:22.485565
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/52/image_05012025_14_52_02_552866_0003.jpg', '/home/pi/Desktop/images/05012025/14/53/image_05012025_14_53_02_573754_0000.jpg', '/home/pi/Desktop/images/05012025/14/53/image_05012025_14_53_02_573754_0001.jpg', '/home/pi/Desktop/images/05012025/14/53/image_05012025_14_53_02_573754_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/14/52/image_05012025_14_52_02_552866_0003.jpg
/home/pi/Desktop/images/05012025/14/53/image_05012025_14_53_02_573754_0000.jpg
/home/pi/Desktop/images/05012025/14/53/image_05012025_14_53_02_573754_0001.jpg
/home/pi/Desktop/images/05012025/14/53/image_05012025_14_53_02_573754_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326881036","1326881038","1326881035","1326881040"],"photo_ids_order":["1326881035","1326881036","1326881038","1326881040"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/998071698e3e920d3da60b93182eace4.jpg","text":"TemporaryFile(/tmp/multipartBody2023473455075080158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085272928,"filename":"image_05012025_14_53_02_573754_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/de2e62e2f8978c0c047b5b24e61a9fcc.jpg","text":"TemporaryFile(/tmp/multipartBody3001784778841547484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085272928,"filename":"image_05012025_14_53_02_573754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/99b027fc0711ec3a764dbf879cd0d43a.jpg","text":"TemporaryFile(/tmp/multipartBody4456829158409024675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085272928,"filename":"image_05012025_14_52_02_552866_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5181cbc363e053b6cca9a3103aa413bd.jpg","text":"TemporaryFile(/tmp/multipartBody1967951371989205803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085272928,"filename":"image_05012025_14_53_02_573754_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326881038","file1":"1326881036","file0":"1326881035","file3":"1326881040"},"map_files_photo_id_array":[{"photo_id":"1326881038","filename":"file2"},{"photo_id":"1326881036","filename":"file1"},{"photo_id":"1326881035","filename":"file0"},{"photo_id":"1326881040","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326881036":["hashtag1","hashtag2"]},{"1326881038":["hashtag1","hashtag2"]},{"1326881035":["hashtag1","hashtag2"]},{"1326881040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326881036, 1326881038, 1326881035, 1326881040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.38151955604553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:54:21.868813
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/53/image_05012025_14_53_02_573754_0003.jpg', '/home/pi/Desktop/images/05012025/14/54/image_05012025_14_54_02_902871_0000.jpg', '/home/pi/Desktop/images/05012025/14/54/image_05012025_14_54_02_902871_0001.jpg', '/home/pi/Desktop/images/05012025/14/54/image_05012025_14_54_02_902871_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/14/53/image_05012025_14_53_02_573754_0003.jpg
/home/pi/Desktop/images/05012025/14/54/image_05012025_14_54_02_902871_0000.jpg
/home/pi/Desktop/images/05012025/14/54/image_05012025_14_54_02_902871_0001.jpg
/home/pi/Desktop/images/05012025/14/54/image_05012025_14_54_02_902871_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326881050","1326881053","1326881047","1326881049"],"photo_ids_order":["1326881047","1326881049","1326881050","1326881053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1022b8f92a5a30713187d3d1995bb05e.jpg","text":"TemporaryFile(/tmp/multipartBody8793470580034136579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085332148,"filename":"image_05012025_14_54_02_902871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a4c9a63ce5229d275e40c7814e4e9879.jpg","text":"TemporaryFile(/tmp/multipartBody8936383798970774920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085332148,"filename":"image_05012025_14_54_02_902871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/20f16df874ba34ee75d339571eb0fafc.jpg","text":"TemporaryFile(/tmp/multipartBody4189821769903758612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085332148,"filename":"image_05012025_14_53_02_573754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5ad9f9264f5ceef3b0177dacdf14b4a6.jpg","text":"TemporaryFile(/tmp/multipartBody456572242361293717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085332148,"filename":"image_05012025_14_54_02_902871_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326881050","file1":"1326881049","file0":"1326881047","file3":"1326881053"},"map_files_photo_id_array":[{"photo_id":"1326881050","filename":"file2"},{"photo_id":"1326881049","filename":"file1"},{"photo_id":"1326881047","filename":"file0"},{"photo_id":"1326881053","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326881050":["hashtag1","hashtag2"]},{"1326881053":["hashtag1","hashtag2"]},{"1326881047":["hashtag1","hashtag2"]},{"1326881049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326881050, 1326881053, 1326881047, 1326881049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.714391231536865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:55:21.938130
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/54/image_05012025_14_54_02_902871_0003.jpg', '/home/pi/Desktop/images/05012025/14/55/image_05012025_14_55_02_190882_0000.jpg', '/home/pi/Desktop/images/05012025/14/55/image_05012025_14_55_02_190882_0001.jpg', '/home/pi/Desktop/images/05012025/14/55/image_05012025_14_55_02_190882_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/14/54/image_05012025_14_54_02_902871_0003.jpg
/home/pi/Desktop/images/05012025/14/55/image_05012025_14_55_02_190882_0000.jpg
/home/pi/Desktop/images/05012025/14/55/image_05012025_14_55_02_190882_0001.jpg
/home/pi/Desktop/images/05012025/14/55/image_05012025_14_55_02_190882_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326881066","1326881062","1326881064","1326881067"],"photo_ids_order":["1326881062","1326881064","1326881066","1326881067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/731afb49182c31423dc14f207ee9d011.jpg","text":"TemporaryFile(/tmp/multipartBody2665780338163300281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085392259,"filename":"image_05012025_14_55_02_190882_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/63a1ccc748f12da76177a932310d4ba7.jpg","text":"TemporaryFile(/tmp/multipartBody9044311755548400249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085392259,"filename":"image_05012025_14_54_02_902871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e728240e89f43d3320f6fb6a82faf896.jpg","text":"TemporaryFile(/tmp/multipartBody302158364801841570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085392259,"filename":"image_05012025_14_55_02_190882_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b33275116573747bda8ddab7e6cf4d63.jpg","text":"TemporaryFile(/tmp/multipartBody2048952293718956498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085392259,"filename":"image_05012025_14_55_02_190882_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326881066","file1":"1326881064","file0":"1326881062","file3":"1326881067"},"map_files_photo_id_array":[{"photo_id":"1326881066","filename":"file2"},{"photo_id":"1326881064","filename":"file1"},{"photo_id":"1326881062","filename":"file0"},{"photo_id":"1326881067","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326881066":["hashtag1","hashtag2"]},{"1326881062":["hashtag1","hashtag2"]},{"1326881064":["hashtag1","hashtag2"]},{"1326881067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326881066, 1326881062, 1326881064, 1326881067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20638346672058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 14:56:02.499386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:56:22.140365
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/55/image_05012025_14_55_02_190882_0003.jpg', '/home/pi/Desktop/images/05012025/14/56/image_05012025_14_56_02_356388_0000.jpg', '/home/pi/Desktop/images/05012025/14/56/image_05012025_14_56_02_356388_0001.jpg', '/home/pi/Desktop/images/05012025/14/56/image_05012025_14_56_02_356388_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/14/55/image_05012025_14_55_02_190882_0003.jpg
/home/pi/Desktop/images/05012025/14/56/image_05012025_14_56_02_356388_0000.jpg
/home/pi/Desktop/images/05012025/14/56/image_05012025_14_56_02_356388_0001.jpg
/home/pi/Desktop/images/05012025/14/56/image_05012025_14_56_02_356388_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.945109844207764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 14:56:42.095604
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/55/image_05012025_14_55_02_190882_0003.jpg', '/home/pi/Desktop/images/05012025/14/56/image_05012025_14_56_02_356388_0000.jpg', '/home/pi/Desktop/images/05012025/14/56/image_05012025_14_56_02_356388_0001.jpg', '/home/pi/Desktop/images/05012025/14/56/image_05012025_14_56_02_356388_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/14/55/image_05012025_14_55_02_190882_0003.jpg
/home/pi/Desktop/images/05012025/14/56/image_05012025_14_56_02_356388_0000.jpg
/home/pi/Desktop/images/05012025/14/56/image_05012025_14_56_02_356388_0001.jpg
/home/pi/Desktop/images/05012025/14/56/image_05012025_14_56_02_356388_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326881369","1326881354","1326881179","1326881397"],"photo_ids_order":["1326881179","1326881354","1326881369","1326881397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5572c48c7cc4d9c193d14796cca5522f.jpg","text":"TemporaryFile(/tmp/multipartBody8451727717298297960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085472448,"filename":"image_05012025_14_56_02_356388_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8d0ca94cd4764c25ceec170331792bc7.jpg","text":"TemporaryFile(/tmp/multipartBody4882185374391138369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085472448,"filename":"image_05012025_14_56_02_356388_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b796b7b8b5e35956a1681d2af86a5e82.jpg","text":"TemporaryFile(/tmp/multipartBody1516421471133922642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085472448,"filename":"image_05012025_14_55_02_190882_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b05e60f914a22a89fa9d2424ecee4555.jpg","text":"TemporaryFile(/tmp/multipartBody7888940459972831858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085472448,"filename":"image_05012025_14_56_02_356388_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326881369","file1":"1326881354","file0":"1326881179","file3":"1326881397"},"map_files_photo_id_array":[{"photo_id":"1326881369","filename":"file2"},{"photo_id":"1326881354","filename":"file1"},{"photo_id":"1326881179","filename":"file0"},{"photo_id":"1326881397","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326881369":["hashtag1","hashtag2"]},{"1326881354":["hashtag1","hashtag2"]},{"1326881179":["hashtag1","hashtag2"]},{"1326881397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326881369, 1326881354, 1326881179, 1326881397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.274205684661865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 14:57:32.286606
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/14/56/image_05012025_14_56_02_356388_0003.jpg', '/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0000.jpg', '/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0001.jpg', '/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_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/14/56/image_05012025_14_56_02_356388_0003.jpg
/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0000.jpg
/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0001.jpg
/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_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-05 14:59:03.381635
SELECT 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/14/56/image_05012025_14_56_02_356388_0003.jpg', '/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0000.jpg', '/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0001.jpg', '/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0002.jpg', '/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0003.jpg', '/home/pi/Desktop/images/05012025/14/58/image_05012025_14_58_02_686794_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/14/56/image_05012025_14_56_02_356388_0003.jpg
/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0000.jpg
/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0001.jpg
/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0002.jpg
/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0003.jpg
/home/pi/Desktop/images/05012025/14/58/image_05012025_14_58_02_686794_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: 15.045156955718994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 14:59:22.680560
SELECT 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/14/56/image_05012025_14_56_02_356388_0003.jpg', '/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0000.jpg', '/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0001.jpg', '/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0002.jpg', '/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0003.jpg', '/home/pi/Desktop/images/05012025/14/58/image_05012025_14_58_02_686794_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/14/56/image_05012025_14_56_02_356388_0003.jpg
/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0000.jpg
/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0001.jpg
/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0002.jpg
/home/pi/Desktop/images/05012025/14/57/image_05012025_14_57_02_451761_0003.jpg
/home/pi/Desktop/images/05012025/14/58/image_05012025_14_58_02_686794_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":["1326882127","1326882121","1326882130","1326882118","1326882120","1326882123"],"photo_ids_order":["1326882118","1326882120","1326882121","1326882123","1326882127","1326882130"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/26bca4a852e1b29c9ba802bcaf56f381.jpg","text":"TemporaryFile(/tmp/multipartBody1675950724458001736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085638111,"filename":"image_05012025_14_57_02_451761_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7ee24811077b39558cfea4f1b6e528c3.jpg","text":"TemporaryFile(/tmp/multipartBody2058038159928267790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085638111,"filename":"image_05012025_14_57_02_451761_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/13edd0d284c4429db8534c9977d8bf93.jpg","text":"TemporaryFile(/tmp/multipartBody7317565411293734902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085638111,"filename":"image_05012025_14_58_02_686794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/300afb54d5c57c16f2b25c67889f77d1.jpg","text":"TemporaryFile(/tmp/multipartBody8222532716477571378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085638111,"filename":"image_05012025_14_56_02_356388_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0a74a7148067e50d0bb7a4ff96e89bf6.jpg","text":"TemporaryFile(/tmp/multipartBody7770172938834348931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085638111,"filename":"image_05012025_14_57_02_451761_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fc8a8d133d25dac36b6ec6c198b5974a.jpg","text":"TemporaryFile(/tmp/multipartBody9114135008845519648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085638111,"filename":"image_05012025_14_57_02_451761_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882121","file1":"1326882120","file0":"1326882118","file4":"1326882127","file5":"1326882130","file3":"1326882123"},"map_files_photo_id_array":[{"photo_id":"1326882130","filename":"file5"},{"photo_id":"1326882121","filename":"file2"},{"photo_id":"1326882127","filename":"file4"},{"photo_id":"1326882120","filename":"file1"},{"photo_id":"1326882118","filename":"file0"},{"photo_id":"1326882123","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882127":["hashtag1","hashtag2"]},{"1326882121":["hashtag1","hashtag2"]},{"1326882130":["hashtag1","hashtag2"]},{"1326882118":["hashtag1","hashtag2"]},{"1326882120":["hashtag1","hashtag2"]},{"1326882123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882127, 1326882121, 1326882130, 1326882118, 1326882120, 1326882123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.262420415878296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:00:21.860561
SELECT 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/14/58/image_05012025_14_58_02_686794_0001.jpg', '/home/pi/Desktop/images/05012025/14/58/image_05012025_14_58_02_686794_0002.jpg', '/home/pi/Desktop/images/05012025/14/58/image_05012025_14_58_02_686794_0003.jpg', '/home/pi/Desktop/images/05012025/14/59/image_05012025_14_59_02_872641_0000.jpg', '/home/pi/Desktop/images/05012025/14/59/image_05012025_14_59_02_872641_0001.jpg', '/home/pi/Desktop/images/05012025/14/59/image_05012025_14_59_02_872641_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/14/58/image_05012025_14_58_02_686794_0001.jpg
/home/pi/Desktop/images/05012025/14/58/image_05012025_14_58_02_686794_0002.jpg
/home/pi/Desktop/images/05012025/14/58/image_05012025_14_58_02_686794_0003.jpg
/home/pi/Desktop/images/05012025/14/59/image_05012025_14_59_02_872641_0000.jpg
/home/pi/Desktop/images/05012025/14/59/image_05012025_14_59_02_872641_0001.jpg
/home/pi/Desktop/images/05012025/14/59/image_05012025_14_59_02_872641_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882148","1326882142","1326882139","1326882150","1326882144","1326882153"],"photo_ids_order":["1326882139","1326882142","1326882144","1326882148","1326882150","1326882153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d179fef9f1fd8eed1670c867eb3ca418.jpg","text":"TemporaryFile(/tmp/multipartBody8341180312236615666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085697372,"filename":"image_05012025_14_59_02_872641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c22f8ca218b255c999edef7533646f68.jpg","text":"TemporaryFile(/tmp/multipartBody9206315770592795309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085697372,"filename":"image_05012025_14_58_02_686794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/413575686c86fb9be4a62395db51dc4b.jpg","text":"TemporaryFile(/tmp/multipartBody6817167557111845084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085697372,"filename":"image_05012025_14_58_02_686794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6204942e2ae88c752dc422ac77ff387f.jpg","text":"TemporaryFile(/tmp/multipartBody8148496829510715773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085697372,"filename":"image_05012025_14_59_02_872641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3e46984e03f26a1f1fd4e9474e411853.jpg","text":"TemporaryFile(/tmp/multipartBody2584450813167120793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085697372,"filename":"image_05012025_14_58_02_686794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d45f1ad89f5bf197e0f028ce31be3048.jpg","text":"TemporaryFile(/tmp/multipartBody422799995375464185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085697372,"filename":"image_05012025_14_59_02_872641_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882144","file1":"1326882142","file0":"1326882139","file4":"1326882150","file5":"1326882153","file3":"1326882148"},"map_files_photo_id_array":[{"photo_id":"1326882153","filename":"file5"},{"photo_id":"1326882144","filename":"file2"},{"photo_id":"1326882150","filename":"file4"},{"photo_id":"1326882142","filename":"file1"},{"photo_id":"1326882139","filename":"file0"},{"photo_id":"1326882148","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882148":["hashtag1","hashtag2"]},{"1326882142":["hashtag1","hashtag2"]},{"1326882139":["hashtag1","hashtag2"]},{"1326882150":["hashtag1","hashtag2"]},{"1326882144":["hashtag1","hashtag2"]},{"1326882153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882148, 1326882142, 1326882139, 1326882150, 1326882144, 1326882153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.855300188064575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:01:22.038401
SELECT 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/14/59/image_05012025_14_59_02_872641_0003.jpg', '/home/pi/Desktop/images/05012025/15/00/image_05012025_15_00_03_060293_0000.jpg', '/home/pi/Desktop/images/05012025/15/00/image_05012025_15_00_03_060293_0001.jpg', '/home/pi/Desktop/images/05012025/15/00/image_05012025_15_00_03_060293_0002.jpg', '/home/pi/Desktop/images/05012025/15/00/image_05012025_15_00_03_060293_0003.jpg', '/home/pi/Desktop/images/05012025/15/01/image_05012025_15_01_02_272288_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/14/59/image_05012025_14_59_02_872641_0003.jpg
/home/pi/Desktop/images/05012025/15/00/image_05012025_15_00_03_060293_0000.jpg
/home/pi/Desktop/images/05012025/15/00/image_05012025_15_00_03_060293_0001.jpg
/home/pi/Desktop/images/05012025/15/00/image_05012025_15_00_03_060293_0002.jpg
/home/pi/Desktop/images/05012025/15/00/image_05012025_15_00_03_060293_0003.jpg
/home/pi/Desktop/images/05012025/15/01/image_05012025_15_01_02_272288_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":["1326882163","1326882166","1326882168","1326882165","1326882167","1326882164"],"photo_ids_order":["1326882163","1326882164","1326882165","1326882166","1326882167","1326882168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b720f8a1ae9b69138b40b9b48a681874.jpg","text":"TemporaryFile(/tmp/multipartBody6869721728091026890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085757494,"filename":"image_05012025_14_59_02_872641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/15ebba18cb47a1353d9bb1243036d363.jpg","text":"TemporaryFile(/tmp/multipartBody1290803373615735544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085757494,"filename":"image_05012025_15_00_03_060293_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/812e92d2500ed6d737d228410953206c.jpg","text":"TemporaryFile(/tmp/multipartBody923920844836217652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085757494,"filename":"image_05012025_15_01_02_272288_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/349313a9413457e0bb82260c98b449c5.jpg","text":"TemporaryFile(/tmp/multipartBody7985252506036351703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085757494,"filename":"image_05012025_15_00_03_060293_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/10a332c65b5b76a135d089e5ed4f4d83.jpg","text":"TemporaryFile(/tmp/multipartBody6731048598201608734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085757494,"filename":"image_05012025_15_00_03_060293_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a63a04bfc360ab5751fbd74805c500c7.jpg","text":"TemporaryFile(/tmp/multipartBody8035884632025967415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085757494,"filename":"image_05012025_15_00_03_060293_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882165","file1":"1326882164","file0":"1326882163","file4":"1326882167","file5":"1326882168","file3":"1326882166"},"map_files_photo_id_array":[{"photo_id":"1326882168","filename":"file5"},{"photo_id":"1326882165","filename":"file2"},{"photo_id":"1326882167","filename":"file4"},{"photo_id":"1326882164","filename":"file1"},{"photo_id":"1326882163","filename":"file0"},{"photo_id":"1326882166","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882163":["hashtag1","hashtag2"]},{"1326882166":["hashtag1","hashtag2"]},{"1326882168":["hashtag1","hashtag2"]},{"1326882165":["hashtag1","hashtag2"]},{"1326882167":["hashtag1","hashtag2"]},{"1326882164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882163, 1326882166, 1326882168, 1326882165, 1326882167, 1326882164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.00609588623047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:02:22.250319
SELECT 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/15/01/image_05012025_15_01_02_272288_0001.jpg', '/home/pi/Desktop/images/05012025/15/01/image_05012025_15_01_02_272288_0002.jpg', '/home/pi/Desktop/images/05012025/15/01/image_05012025_15_01_02_272288_0003.jpg', '/home/pi/Desktop/images/05012025/15/02/image_05012025_15_02_02_372667_0000.jpg', '/home/pi/Desktop/images/05012025/15/02/image_05012025_15_02_02_372667_0001.jpg', '/home/pi/Desktop/images/05012025/15/02/image_05012025_15_02_02_372667_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/15/01/image_05012025_15_01_02_272288_0001.jpg
/home/pi/Desktop/images/05012025/15/01/image_05012025_15_01_02_272288_0002.jpg
/home/pi/Desktop/images/05012025/15/01/image_05012025_15_01_02_272288_0003.jpg
/home/pi/Desktop/images/05012025/15/02/image_05012025_15_02_02_372667_0000.jpg
/home/pi/Desktop/images/05012025/15/02/image_05012025_15_02_02_372667_0001.jpg
/home/pi/Desktop/images/05012025/15/02/image_05012025_15_02_02_372667_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882181","1326882184","1326882186","1326882177","1326882179","1326882182"],"photo_ids_order":["1326882177","1326882179","1326882181","1326882182","1326882184","1326882186"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1406df8c644695d798066bc91de65882.jpg","text":"TemporaryFile(/tmp/multipartBody529651039972891890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085817600,"filename":"image_05012025_15_01_02_272288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/22fd1eb676f5d709050c9c2a343bd2d7.jpg","text":"TemporaryFile(/tmp/multipartBody7266874367089042305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085817600,"filename":"image_05012025_15_02_02_372667_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4de55218e4aacc0a83bb355c11831751.jpg","text":"TemporaryFile(/tmp/multipartBody5290105916624311722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085817600,"filename":"image_05012025_15_02_02_372667_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9169317bbd3bdd43c892c2e3b9c27f45.jpg","text":"TemporaryFile(/tmp/multipartBody1088937909414839838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085817600,"filename":"image_05012025_15_01_02_272288_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ecd7a32a9956896ddf0e1f3a46ae0f52.jpg","text":"TemporaryFile(/tmp/multipartBody1260057680450287595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085817600,"filename":"image_05012025_15_01_02_272288_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7336ef92ca53689d388617db5d8f3b5d.jpg","text":"TemporaryFile(/tmp/multipartBody1898960206492948904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085817600,"filename":"image_05012025_15_02_02_372667_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882181","file1":"1326882179","file0":"1326882177","file4":"1326882184","file5":"1326882186","file3":"1326882182"},"map_files_photo_id_array":[{"photo_id":"1326882186","filename":"file5"},{"photo_id":"1326882181","filename":"file2"},{"photo_id":"1326882184","filename":"file4"},{"photo_id":"1326882179","filename":"file1"},{"photo_id":"1326882177","filename":"file0"},{"photo_id":"1326882182","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882181":["hashtag1","hashtag2"]},{"1326882184":["hashtag1","hashtag2"]},{"1326882186":["hashtag1","hashtag2"]},{"1326882177":["hashtag1","hashtag2"]},{"1326882179":["hashtag1","hashtag2"]},{"1326882182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882181, 1326882184, 1326882186, 1326882177, 1326882179, 1326882182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.134318113327026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:03:22.429747
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/02/image_05012025_15_02_02_372667_0003.jpg', '/home/pi/Desktop/images/05012025/15/03/image_05012025_15_03_02_547684_0000.jpg', '/home/pi/Desktop/images/05012025/15/03/image_05012025_15_03_02_547684_0001.jpg', '/home/pi/Desktop/images/05012025/15/03/image_05012025_15_03_02_547684_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/15/02/image_05012025_15_02_02_372667_0003.jpg
/home/pi/Desktop/images/05012025/15/03/image_05012025_15_03_02_547684_0000.jpg
/home/pi/Desktop/images/05012025/15/03/image_05012025_15_03_02_547684_0001.jpg
/home/pi/Desktop/images/05012025/15/03/image_05012025_15_03_02_547684_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882190","1326882193","1326882195","1326882191"],"photo_ids_order":["1326882190","1326882191","1326882193","1326882195"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/22b3d7c4206e9e0e8e65e7dd095bd42e.jpg","text":"TemporaryFile(/tmp/multipartBody4695111804170126023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085872893,"filename":"image_05012025_15_02_02_372667_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/19a90869a5b82f911000cee65a8fbbc5.jpg","text":"TemporaryFile(/tmp/multipartBody3548593766998449714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085872893,"filename":"image_05012025_15_03_02_547684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6af1def53aadfffb4864abe4b34b3790.jpg","text":"TemporaryFile(/tmp/multipartBody6871614065334458981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085872893,"filename":"image_05012025_15_03_02_547684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c9baeff94d24936669ddfc0327c957fe.jpg","text":"TemporaryFile(/tmp/multipartBody9218651405812527586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085872893,"filename":"image_05012025_15_03_02_547684_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882193","file1":"1326882191","file0":"1326882190","file3":"1326882195"},"map_files_photo_id_array":[{"photo_id":"1326882193","filename":"file2"},{"photo_id":"1326882191","filename":"file1"},{"photo_id":"1326882190","filename":"file0"},{"photo_id":"1326882195","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882190":["hashtag1","hashtag2"]},{"1326882193":["hashtag1","hashtag2"]},{"1326882195":["hashtag1","hashtag2"]},{"1326882191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882190, 1326882193, 1326882195, 1326882191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.6214816570282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:04:22.495954
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/03/image_05012025_15_03_02_547684_0003.jpg', '/home/pi/Desktop/images/05012025/15/04/image_05012025_15_04_02_689452_0000.jpg', '/home/pi/Desktop/images/05012025/15/04/image_05012025_15_04_02_689452_0001.jpg', '/home/pi/Desktop/images/05012025/15/04/image_05012025_15_04_02_689452_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/15/03/image_05012025_15_03_02_547684_0003.jpg
/home/pi/Desktop/images/05012025/15/04/image_05012025_15_04_02_689452_0000.jpg
/home/pi/Desktop/images/05012025/15/04/image_05012025_15_04_02_689452_0001.jpg
/home/pi/Desktop/images/05012025/15/04/image_05012025_15_04_02_689452_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.99225926399231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 15:04:42.511174
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/03/image_05012025_15_03_02_547684_0003.jpg', '/home/pi/Desktop/images/05012025/15/04/image_05012025_15_04_02_689452_0000.jpg', '/home/pi/Desktop/images/05012025/15/04/image_05012025_15_04_02_689452_0001.jpg', '/home/pi/Desktop/images/05012025/15/04/image_05012025_15_04_02_689452_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/15/03/image_05012025_15_03_02_547684_0003.jpg
/home/pi/Desktop/images/05012025/15/04/image_05012025_15_04_02_689452_0000.jpg
/home/pi/Desktop/images/05012025/15/04/image_05012025_15_04_02_689452_0001.jpg
/home/pi/Desktop/images/05012025/15/04/image_05012025_15_04_02_689452_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882206","1326882208","1326882211","1326882205"],"photo_ids_order":["1326882205","1326882206","1326882208","1326882211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/781de333d31e82a6a9961a8a023e122a.jpg","text":"TemporaryFile(/tmp/multipartBody29335452788022495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085952924,"filename":"image_05012025_15_04_02_689452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5ea51808969f363b0313bde72a3c14a7.jpg","text":"TemporaryFile(/tmp/multipartBody8205443354416779334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085952924,"filename":"image_05012025_15_04_02_689452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/93b648fc7f2f2e9b9fcff602d1584291.jpg","text":"TemporaryFile(/tmp/multipartBody7312177149932541365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085952924,"filename":"image_05012025_15_04_02_689452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ac3185e24feb0462aeb24732f41203cf.jpg","text":"TemporaryFile(/tmp/multipartBody6461567169902775921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736085952924,"filename":"image_05012025_15_03_02_547684_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882208","file1":"1326882206","file0":"1326882205","file3":"1326882211"},"map_files_photo_id_array":[{"photo_id":"1326882208","filename":"file2"},{"photo_id":"1326882206","filename":"file1"},{"photo_id":"1326882205","filename":"file0"},{"photo_id":"1326882211","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882206":["hashtag1","hashtag2"]},{"1326882208":["hashtag1","hashtag2"]},{"1326882211":["hashtag1","hashtag2"]},{"1326882205":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882206, 1326882208, 1326882211, 1326882205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.077449798583984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 15:05:32.659390
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/04/image_05012025_15_04_02_689452_0003.jpg', '/home/pi/Desktop/images/05012025/15/05/image_05012025_15_05_02_878174_0000.jpg', '/home/pi/Desktop/images/05012025/15/05/image_05012025_15_05_02_878174_0001.jpg', '/home/pi/Desktop/images/05012025/15/05/image_05012025_15_05_02_878174_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/15/04/image_05012025_15_04_02_689452_0003.jpg
/home/pi/Desktop/images/05012025/15/05/image_05012025_15_05_02_878174_0000.jpg
/home/pi/Desktop/images/05012025/15/05/image_05012025_15_05_02_878174_0001.jpg
/home/pi/Desktop/images/05012025/15/05/image_05012025_15_05_02_878174_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882214","1326882217","1326882219","1326882221"],"photo_ids_order":["1326882214","1326882217","1326882219","1326882221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/61aaa94925092b8cbf10ff5cb9a62be6.jpg","text":"TemporaryFile(/tmp/multipartBody2451136540844722930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086003059,"filename":"image_05012025_15_04_02_689452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3ecea941ad4e7b26032ec43564574cba.jpg","text":"TemporaryFile(/tmp/multipartBody6301482850323854881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086003059,"filename":"image_05012025_15_05_02_878174_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b840c77be7dca9e18fa28f2ebe0c021f.jpg","text":"TemporaryFile(/tmp/multipartBody371288581484369881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086003059,"filename":"image_05012025_15_05_02_878174_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3ad9371a6c2d639cfd4c1b71f3a83ee4.jpg","text":"TemporaryFile(/tmp/multipartBody860104934347825097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086003059,"filename":"image_05012025_15_05_02_878174_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882219","file1":"1326882217","file0":"1326882214","file3":"1326882221"},"map_files_photo_id_array":[{"photo_id":"1326882219","filename":"file2"},{"photo_id":"1326882217","filename":"file1"},{"photo_id":"1326882214","filename":"file0"},{"photo_id":"1326882221","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882214":["hashtag1","hashtag2"]},{"1326882217":["hashtag1","hashtag2"]},{"1326882219":["hashtag1","hashtag2"]},{"1326882221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882214, 1326882217, 1326882219, 1326882221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.14671540260315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:06:21.807421
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/05/image_05012025_15_05_02_878174_0003.jpg', '/home/pi/Desktop/images/05012025/15/06/image_05012025_15_06_03_099770_0000.jpg', '/home/pi/Desktop/images/05012025/15/06/image_05012025_15_06_03_099770_0001.jpg', '/home/pi/Desktop/images/05012025/15/06/image_05012025_15_06_03_099770_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/15/05/image_05012025_15_05_02_878174_0003.jpg
/home/pi/Desktop/images/05012025/15/06/image_05012025_15_06_03_099770_0000.jpg
/home/pi/Desktop/images/05012025/15/06/image_05012025_15_06_03_099770_0001.jpg
/home/pi/Desktop/images/05012025/15/06/image_05012025_15_06_03_099770_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882230","1326882226","1326882225","1326882228"],"photo_ids_order":["1326882225","1326882226","1326882228","1326882230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cd8d2cead52398b8296d5df380c445f0.jpg","text":"TemporaryFile(/tmp/multipartBody888748336290972815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086052081,"filename":"image_05012025_15_06_03_099770_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/067c679bba609758ed62240d503d67d0.jpg","text":"TemporaryFile(/tmp/multipartBody6053815812081672786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086052081,"filename":"image_05012025_15_06_03_099770_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2e93dd68bf31bf1546656104fdfbedb6.jpg","text":"TemporaryFile(/tmp/multipartBody5795429751538917115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086052081,"filename":"image_05012025_15_05_02_878174_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1a83f4ed64b6da7ca49b5dc4413dc1a5.jpg","text":"TemporaryFile(/tmp/multipartBody2364028406408199721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086052081,"filename":"image_05012025_15_06_03_099770_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882228","file1":"1326882226","file0":"1326882225","file3":"1326882230"},"map_files_photo_id_array":[{"photo_id":"1326882228","filename":"file2"},{"photo_id":"1326882226","filename":"file1"},{"photo_id":"1326882225","filename":"file0"},{"photo_id":"1326882230","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882230":["hashtag1","hashtag2"]},{"1326882226":["hashtag1","hashtag2"]},{"1326882225":["hashtag1","hashtag2"]},{"1326882228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882230, 1326882226, 1326882225, 1326882228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.3460898399353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:07:22.029227
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/06/image_05012025_15_06_03_099770_0003.jpg', '/home/pi/Desktop/images/05012025/15/07/image_05012025_15_07_02_188771_0000.jpg', '/home/pi/Desktop/images/05012025/15/07/image_05012025_15_07_02_188771_0001.jpg', '/home/pi/Desktop/images/05012025/15/07/image_05012025_15_07_02_188771_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/15/06/image_05012025_15_06_03_099770_0003.jpg
/home/pi/Desktop/images/05012025/15/07/image_05012025_15_07_02_188771_0000.jpg
/home/pi/Desktop/images/05012025/15/07/image_05012025_15_07_02_188771_0001.jpg
/home/pi/Desktop/images/05012025/15/07/image_05012025_15_07_02_188771_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882239","1326882235","1326882237","1326882236"],"photo_ids_order":["1326882235","1326882236","1326882237","1326882239"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7db456962f2378416aba6b0f7abb419f.jpg","text":"TemporaryFile(/tmp/multipartBody4617858194199418630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086112474,"filename":"image_05012025_15_07_02_188771_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d98bddd9b848232fee6016e2e0af4dd1.jpg","text":"TemporaryFile(/tmp/multipartBody345990107243351185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086112474,"filename":"image_05012025_15_06_03_099770_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab1ca4f6487f537603a24538e0a32713.jpg","text":"TemporaryFile(/tmp/multipartBody5418887503090408953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086112474,"filename":"image_05012025_15_07_02_188771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9680efa4ffb3df5f737a932a3db1d1b9.jpg","text":"TemporaryFile(/tmp/multipartBody8987708933905452431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086112474,"filename":"image_05012025_15_07_02_188771_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882237","file1":"1326882236","file0":"1326882235","file3":"1326882239"},"map_files_photo_id_array":[{"photo_id":"1326882237","filename":"file2"},{"photo_id":"1326882236","filename":"file1"},{"photo_id":"1326882235","filename":"file0"},{"photo_id":"1326882239","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882239":["hashtag1","hashtag2"]},{"1326882235":["hashtag1","hashtag2"]},{"1326882237":["hashtag1","hashtag2"]},{"1326882236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882239, 1326882235, 1326882237, 1326882236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.20588755607605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:08:22.263090
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/07/image_05012025_15_07_02_188771_0003.jpg', '/home/pi/Desktop/images/05012025/15/08/image_05012025_15_08_02_378311_0000.jpg', '/home/pi/Desktop/images/05012025/15/08/image_05012025_15_08_02_378311_0001.jpg', '/home/pi/Desktop/images/05012025/15/08/image_05012025_15_08_02_378311_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/15/07/image_05012025_15_07_02_188771_0003.jpg
/home/pi/Desktop/images/05012025/15/08/image_05012025_15_08_02_378311_0000.jpg
/home/pi/Desktop/images/05012025/15/08/image_05012025_15_08_02_378311_0001.jpg
/home/pi/Desktop/images/05012025/15/08/image_05012025_15_08_02_378311_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882245","1326882250","1326882246","1326882248"],"photo_ids_order":["1326882245","1326882246","1326882248","1326882250"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8af7f8afb9f64adb72ccafcc7dabd1ef.jpg","text":"TemporaryFile(/tmp/multipartBody1511958399008426512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086172555,"filename":"image_05012025_15_07_02_188771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5ff7bf8da422e092ec9aad0ba592bc9b.jpg","text":"TemporaryFile(/tmp/multipartBody5248657528061356029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086172555,"filename":"image_05012025_15_08_02_378311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/58240b65a8d100995ca69b41a9177a19.jpg","text":"TemporaryFile(/tmp/multipartBody3857807118105263777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086172555,"filename":"image_05012025_15_08_02_378311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/210edba1181f4e3755120161f4346428.jpg","text":"TemporaryFile(/tmp/multipartBody5174415376572960647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086172555,"filename":"image_05012025_15_08_02_378311_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882248","file1":"1326882246","file0":"1326882245","file3":"1326882250"},"map_files_photo_id_array":[{"photo_id":"1326882248","filename":"file2"},{"photo_id":"1326882246","filename":"file1"},{"photo_id":"1326882245","filename":"file0"},{"photo_id":"1326882250","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882245":["hashtag1","hashtag2"]},{"1326882250":["hashtag1","hashtag2"]},{"1326882246":["hashtag1","hashtag2"]},{"1326882248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882245, 1326882250, 1326882246, 1326882248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.446094274520874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:09:22.459858
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/08/image_05012025_15_08_02_378311_0003.jpg', '/home/pi/Desktop/images/05012025/15/09/image_05012025_15_09_02_603973_0000.jpg', '/home/pi/Desktop/images/05012025/15/09/image_05012025_15_09_02_603973_0001.jpg', '/home/pi/Desktop/images/05012025/15/09/image_05012025_15_09_02_603973_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/15/08/image_05012025_15_08_02_378311_0003.jpg
/home/pi/Desktop/images/05012025/15/09/image_05012025_15_09_02_603973_0000.jpg
/home/pi/Desktop/images/05012025/15/09/image_05012025_15_09_02_603973_0001.jpg
/home/pi/Desktop/images/05012025/15/09/image_05012025_15_09_02_603973_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.99872899055481 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 15:09:42.417714
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/08/image_05012025_15_08_02_378311_0003.jpg', '/home/pi/Desktop/images/05012025/15/09/image_05012025_15_09_02_603973_0000.jpg', '/home/pi/Desktop/images/05012025/15/09/image_05012025_15_09_02_603973_0001.jpg', '/home/pi/Desktop/images/05012025/15/09/image_05012025_15_09_02_603973_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/15/08/image_05012025_15_08_02_378311_0003.jpg
/home/pi/Desktop/images/05012025/15/09/image_05012025_15_09_02_603973_0000.jpg
/home/pi/Desktop/images/05012025/15/09/image_05012025_15_09_02_603973_0001.jpg
/home/pi/Desktop/images/05012025/15/09/image_05012025_15_09_02_603973_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882268","1326882261","1326882266","1326882263"],"photo_ids_order":["1326882261","1326882263","1326882266","1326882268"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f46b5cbd61a8c23ca23d45a6e5cc6ab3.jpg","text":"TemporaryFile(/tmp/multipartBody7856249183283885458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086252803,"filename":"image_05012025_15_09_02_603973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f2c59378768302e73c0185405406bd39.jpg","text":"TemporaryFile(/tmp/multipartBody538583301058596017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086252803,"filename":"image_05012025_15_08_02_378311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bcd924014111f5d53b1f1a378a718730.jpg","text":"TemporaryFile(/tmp/multipartBody7547770978979963013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086252803,"filename":"image_05012025_15_09_02_603973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/45b68166a3b4f78702c0f9c6f3660ce6.jpg","text":"TemporaryFile(/tmp/multipartBody8377958150893079260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086252803,"filename":"image_05012025_15_09_02_603973_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882266","file1":"1326882263","file0":"1326882261","file3":"1326882268"},"map_files_photo_id_array":[{"photo_id":"1326882266","filename":"file2"},{"photo_id":"1326882263","filename":"file1"},{"photo_id":"1326882261","filename":"file0"},{"photo_id":"1326882268","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882268":["hashtag1","hashtag2"]},{"1326882261":["hashtag1","hashtag2"]},{"1326882266":["hashtag1","hashtag2"]},{"1326882263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882268, 1326882261, 1326882266, 1326882263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.866745948791504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 15:10:32.595782
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/09/image_05012025_15_09_02_603973_0003.jpg', '/home/pi/Desktop/images/05012025/15/10/image_05012025_15_10_02_781538_0000.jpg', '/home/pi/Desktop/images/05012025/15/10/image_05012025_15_10_02_781538_0001.jpg', '/home/pi/Desktop/images/05012025/15/10/image_05012025_15_10_02_781538_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/15/09/image_05012025_15_09_02_603973_0003.jpg
/home/pi/Desktop/images/05012025/15/10/image_05012025_15_10_02_781538_0000.jpg
/home/pi/Desktop/images/05012025/15/10/image_05012025_15_10_02_781538_0001.jpg
/home/pi/Desktop/images/05012025/15/10/image_05012025_15_10_02_781538_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882274","1326882276","1326882270","1326882272"],"photo_ids_order":["1326882270","1326882272","1326882274","1326882276"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c78c3f0f2141202680aa7d6b7ed7385.jpg","text":"TemporaryFile(/tmp/multipartBody2342819430755904414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086303012,"filename":"image_05012025_15_10_02_781538_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/830e66c3afa332055e215966e9758aaa.jpg","text":"TemporaryFile(/tmp/multipartBody2726205050240620577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086303012,"filename":"image_05012025_15_10_02_781538_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5bdd33dcb687c29a2a3170c3acccfe89.jpg","text":"TemporaryFile(/tmp/multipartBody3998053428998491868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086303012,"filename":"image_05012025_15_09_02_603973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6a293bfb240ec0b596e019bf8ab68582.jpg","text":"TemporaryFile(/tmp/multipartBody3988333937200534702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086303012,"filename":"image_05012025_15_10_02_781538_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882274","file1":"1326882272","file0":"1326882270","file3":"1326882276"},"map_files_photo_id_array":[{"photo_id":"1326882274","filename":"file2"},{"photo_id":"1326882272","filename":"file1"},{"photo_id":"1326882270","filename":"file0"},{"photo_id":"1326882276","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882274":["hashtag1","hashtag2"]},{"1326882276":["hashtag1","hashtag2"]},{"1326882270":["hashtag1","hashtag2"]},{"1326882272":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882274, 1326882276, 1326882270, 1326882272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.842976331710815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:11:22.780473
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/10/image_05012025_15_10_02_781538_0003.jpg', '/home/pi/Desktop/images/05012025/15/11/image_05012025_15_11_03_013826_0000.jpg', '/home/pi/Desktop/images/05012025/15/11/image_05012025_15_11_03_013826_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/15/10/image_05012025_15_10_02_781538_0003.jpg
/home/pi/Desktop/images/05012025/15/11/image_05012025_15_11_03_013826_0000.jpg
/home/pi/Desktop/images/05012025/15/11/image_05012025_15_11_03_013826_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":["1326882285","1326882288","1326882287"],"photo_ids_order":["1326882285","1326882287","1326882288"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5bc00c89a5e6a697656948a64eb4242a.jpg","text":"TemporaryFile(/tmp/multipartBody7790789213821259519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086350788,"filename":"image_05012025_15_10_02_781538_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ade357db03d4e4504cb4f81f79b45462.jpg","text":"TemporaryFile(/tmp/multipartBody1317302712502934507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086350788,"filename":"image_05012025_15_11_03_013826_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/45d980243f152a483f8542bbe4de362d.jpg","text":"TemporaryFile(/tmp/multipartBody4287655516805951140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086350788,"filename":"image_05012025_15_11_03_013826_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882288","file1":"1326882287","file0":"1326882285"},"map_files_photo_id_array":[{"photo_id":"1326882288","filename":"file2"},{"photo_id":"1326882287","filename":"file1"},{"photo_id":"1326882285","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882285":["hashtag1","hashtag2"]},{"1326882288":["hashtag1","hashtag2"]},{"1326882287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882285, 1326882288, 1326882287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.64525532722473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 15:12:02.340390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:12:22.014948
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/11/image_05012025_15_11_03_013826_0003.jpg', '/home/pi/Desktop/images/05012025/15/12/image_05012025_15_12_03_121470_0000.jpg', '/home/pi/Desktop/images/05012025/15/12/image_05012025_15_12_03_121470_0001.jpg', '/home/pi/Desktop/images/05012025/15/12/image_05012025_15_12_03_121470_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/15/11/image_05012025_15_11_03_013826_0003.jpg
/home/pi/Desktop/images/05012025/15/12/image_05012025_15_12_03_121470_0000.jpg
/home/pi/Desktop/images/05012025/15/12/image_05012025_15_12_03_121470_0001.jpg
/home/pi/Desktop/images/05012025/15/12/image_05012025_15_12_03_121470_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882298","1326882294","1326882297","1326882296"],"photo_ids_order":["1326882294","1326882296","1326882297","1326882298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cd044029b3a9e92e7e78658546d2c60c.jpg","text":"TemporaryFile(/tmp/multipartBody1480794652873966867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086412477,"filename":"image_05012025_15_12_03_121470_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/12a4b9bb32719ecce9c33ffed200fe3e.jpg","text":"TemporaryFile(/tmp/multipartBody3954244545981171482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086412477,"filename":"image_05012025_15_11_03_013826_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3e587fa57726b31b10ebede6b2ddcc7.jpg","text":"TemporaryFile(/tmp/multipartBody148587760048762026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086412477,"filename":"image_05012025_15_12_03_121470_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/33263d1cdc89346ea52880a8703b0161.jpg","text":"TemporaryFile(/tmp/multipartBody5178666074433958948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086412477,"filename":"image_05012025_15_12_03_121470_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882297","file1":"1326882296","file0":"1326882294","file3":"1326882298"},"map_files_photo_id_array":[{"photo_id":"1326882297","filename":"file2"},{"photo_id":"1326882296","filename":"file1"},{"photo_id":"1326882294","filename":"file0"},{"photo_id":"1326882298","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882298":["hashtag1","hashtag2"]},{"1326882294":["hashtag1","hashtag2"]},{"1326882297":["hashtag1","hashtag2"]},{"1326882296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882298, 1326882294, 1326882297, 1326882296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.978004455566406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:13:22.096533
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/12/image_05012025_15_12_03_121470_0003.jpg', '/home/pi/Desktop/images/05012025/15/13/image_05012025_15_13_02_362369_0000.jpg', '/home/pi/Desktop/images/05012025/15/13/image_05012025_15_13_02_362369_0001.jpg', '/home/pi/Desktop/images/05012025/15/13/image_05012025_15_13_02_362369_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/15/12/image_05012025_15_12_03_121470_0003.jpg
/home/pi/Desktop/images/05012025/15/13/image_05012025_15_13_02_362369_0000.jpg
/home/pi/Desktop/images/05012025/15/13/image_05012025_15_13_02_362369_0001.jpg
/home/pi/Desktop/images/05012025/15/13/image_05012025_15_13_02_362369_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882305","1326882308","1326882307","1326882306"],"photo_ids_order":["1326882305","1326882306","1326882307","1326882308"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/606dd35997f4680a71a2eb5453841ef7.jpg","text":"TemporaryFile(/tmp/multipartBody9153884747781953227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086472625,"filename":"image_05012025_15_12_03_121470_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e89e94f351eba437e81d12cc52bff6f.jpg","text":"TemporaryFile(/tmp/multipartBody1345405244540080582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086472625,"filename":"image_05012025_15_13_02_362369_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f5c7b973e1c7b39b63cecd58290a50a4.jpg","text":"TemporaryFile(/tmp/multipartBody5595251983248462109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086472625,"filename":"image_05012025_15_13_02_362369_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5401b03195f81d972b2ed485d7714bc4.jpg","text":"TemporaryFile(/tmp/multipartBody6460876010707605854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086472625,"filename":"image_05012025_15_13_02_362369_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882307","file1":"1326882306","file0":"1326882305","file3":"1326882308"},"map_files_photo_id_array":[{"photo_id":"1326882307","filename":"file2"},{"photo_id":"1326882306","filename":"file1"},{"photo_id":"1326882305","filename":"file0"},{"photo_id":"1326882308","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882305":["hashtag1","hashtag2"]},{"1326882308":["hashtag1","hashtag2"]},{"1326882307":["hashtag1","hashtag2"]},{"1326882306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882305, 1326882308, 1326882307, 1326882306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.57894277572632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:14:22.389860
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/13/image_05012025_15_13_02_362369_0003.jpg', '/home/pi/Desktop/images/05012025/15/14/image_05012025_15_14_02_497346_0000.jpg', '/home/pi/Desktop/images/05012025/15/14/image_05012025_15_14_02_497346_0001.jpg', '/home/pi/Desktop/images/05012025/15/14/image_05012025_15_14_02_497346_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/15/13/image_05012025_15_13_02_362369_0003.jpg
/home/pi/Desktop/images/05012025/15/14/image_05012025_15_14_02_497346_0000.jpg
/home/pi/Desktop/images/05012025/15/14/image_05012025_15_14_02_497346_0001.jpg
/home/pi/Desktop/images/05012025/15/14/image_05012025_15_14_02_497346_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.102039813995361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 15:14:42.291354
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/13/image_05012025_15_13_02_362369_0003.jpg', '/home/pi/Desktop/images/05012025/15/14/image_05012025_15_14_02_497346_0000.jpg', '/home/pi/Desktop/images/05012025/15/14/image_05012025_15_14_02_497346_0001.jpg', '/home/pi/Desktop/images/05012025/15/14/image_05012025_15_14_02_497346_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/15/13/image_05012025_15_13_02_362369_0003.jpg
/home/pi/Desktop/images/05012025/15/14/image_05012025_15_14_02_497346_0000.jpg
/home/pi/Desktop/images/05012025/15/14/image_05012025_15_14_02_497346_0001.jpg
/home/pi/Desktop/images/05012025/15/14/image_05012025_15_14_02_497346_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882331","1326882334","1326882337","1326882329"],"photo_ids_order":["1326882329","1326882331","1326882334","1326882337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f3f3e0da8614249be3e1eeeb677c56f1.jpg","text":"TemporaryFile(/tmp/multipartBody6104328369985608841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086552802,"filename":"image_05012025_15_14_02_497346_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d20b354ef05a45664e0e29cde53782f6.jpg","text":"TemporaryFile(/tmp/multipartBody7924353477574518280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086552802,"filename":"image_05012025_15_14_02_497346_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/28be6f416951b50d1051645d27fc3255.jpg","text":"TemporaryFile(/tmp/multipartBody6387490489445922126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086552802,"filename":"image_05012025_15_14_02_497346_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2f52a33406da871cbe25033d05e1b4fc.jpg","text":"TemporaryFile(/tmp/multipartBody601501599935079364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086552802,"filename":"image_05012025_15_13_02_362369_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882334","file1":"1326882331","file0":"1326882329","file3":"1326882337"},"map_files_photo_id_array":[{"photo_id":"1326882334","filename":"file2"},{"photo_id":"1326882331","filename":"file1"},{"photo_id":"1326882329","filename":"file0"},{"photo_id":"1326882337","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882331":["hashtag1","hashtag2"]},{"1326882334":["hashtag1","hashtag2"]},{"1326882337":["hashtag1","hashtag2"]},{"1326882329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882331, 1326882334, 1326882337, 1326882329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.28355884552002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 15:15:32.452431
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/14/image_05012025_15_14_02_497346_0003.jpg', '/home/pi/Desktop/images/05012025/15/15/image_05012025_15_15_02_653040_0000.jpg', '/home/pi/Desktop/images/05012025/15/15/image_05012025_15_15_02_653040_0001.jpg', '/home/pi/Desktop/images/05012025/15/15/image_05012025_15_15_02_653040_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/15/14/image_05012025_15_14_02_497346_0003.jpg
/home/pi/Desktop/images/05012025/15/15/image_05012025_15_15_02_653040_0000.jpg
/home/pi/Desktop/images/05012025/15/15/image_05012025_15_15_02_653040_0001.jpg
/home/pi/Desktop/images/05012025/15/15/image_05012025_15_15_02_653040_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882346","1326882348","1326882345","1326882347"],"photo_ids_order":["1326882345","1326882346","1326882347","1326882348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b7ff9a53c75e75f605a4824ad71ce56.jpg","text":"TemporaryFile(/tmp/multipartBody900433270912519855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086602940,"filename":"image_05012025_15_15_02_653040_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b9da1e90b988d3b4ca61f00baca0e81b.jpg","text":"TemporaryFile(/tmp/multipartBody7138528529708010433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086602940,"filename":"image_05012025_15_15_02_653040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a2802479466f1151c38e1ffae03d70e1.jpg","text":"TemporaryFile(/tmp/multipartBody5371811155487430834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086602940,"filename":"image_05012025_15_14_02_497346_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f3736ab03bb779d77fc74f402b91ca91.jpg","text":"TemporaryFile(/tmp/multipartBody839587362607800717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086602940,"filename":"image_05012025_15_15_02_653040_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882347","file1":"1326882346","file0":"1326882345","file3":"1326882348"},"map_files_photo_id_array":[{"photo_id":"1326882347","filename":"file2"},{"photo_id":"1326882346","filename":"file1"},{"photo_id":"1326882345","filename":"file0"},{"photo_id":"1326882348","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882346":["hashtag1","hashtag2"]},{"1326882348":["hashtag1","hashtag2"]},{"1326882345":["hashtag1","hashtag2"]},{"1326882347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882346, 1326882348, 1326882345, 1326882347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.971993923187256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:16:22.629518
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/15/image_05012025_15_15_02_653040_0003.jpg', '/home/pi/Desktop/images/05012025/15/16/image_05012025_15_16_02_761637_0000.jpg', '/home/pi/Desktop/images/05012025/15/16/image_05012025_15_16_02_761637_0001.jpg', '/home/pi/Desktop/images/05012025/15/16/image_05012025_15_16_02_761637_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/15/15/image_05012025_15_15_02_653040_0003.jpg
/home/pi/Desktop/images/05012025/15/16/image_05012025_15_16_02_761637_0000.jpg
/home/pi/Desktop/images/05012025/15/16/image_05012025_15_16_02_761637_0001.jpg
/home/pi/Desktop/images/05012025/15/16/image_05012025_15_16_02_761637_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882358","1326882355","1326882357","1326882359"],"photo_ids_order":["1326882355","1326882357","1326882358","1326882359"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b1bbabee17daa23ea087e98f95400693.jpg","text":"TemporaryFile(/tmp/multipartBody1717051859838345186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086652955,"filename":"image_05012025_15_16_02_761637_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/86843d839035ba2cb1ea70b811bb2d8a.jpg","text":"TemporaryFile(/tmp/multipartBody4062831597169476974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086652955,"filename":"image_05012025_15_15_02_653040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d21dfb5a0ab2ae3efb8cce249d77559b.jpg","text":"TemporaryFile(/tmp/multipartBody1460963384727005384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086652955,"filename":"image_05012025_15_16_02_761637_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7e8e9b7320b5f5ff0393fc8209be0f01.jpg","text":"TemporaryFile(/tmp/multipartBody1284855893846599610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086652955,"filename":"image_05012025_15_16_02_761637_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882358","file1":"1326882357","file0":"1326882355","file3":"1326882359"},"map_files_photo_id_array":[{"photo_id":"1326882358","filename":"file2"},{"photo_id":"1326882357","filename":"file1"},{"photo_id":"1326882355","filename":"file0"},{"photo_id":"1326882359","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882358":["hashtag1","hashtag2"]},{"1326882355":["hashtag1","hashtag2"]},{"1326882357":["hashtag1","hashtag2"]},{"1326882359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882358, 1326882355, 1326882357, 1326882359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.03915882110596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:17:21.825969
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/16/image_05012025_15_16_02_761637_0003.jpg', '/home/pi/Desktop/images/05012025/15/17/image_05012025_15_17_02_988094_0000.jpg', '/home/pi/Desktop/images/05012025/15/17/image_05012025_15_17_02_988094_0001.jpg', '/home/pi/Desktop/images/05012025/15/17/image_05012025_15_17_02_988094_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/15/16/image_05012025_15_16_02_761637_0003.jpg
/home/pi/Desktop/images/05012025/15/17/image_05012025_15_17_02_988094_0000.jpg
/home/pi/Desktop/images/05012025/15/17/image_05012025_15_17_02_988094_0001.jpg
/home/pi/Desktop/images/05012025/15/17/image_05012025_15_17_02_988094_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882367","1326882372","1326882369","1326882371"],"photo_ids_order":["1326882367","1326882369","1326882371","1326882372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1388d81eb99bcfa9aebf629efec920d1.jpg","text":"TemporaryFile(/tmp/multipartBody2028236808116408954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086712112,"filename":"image_05012025_15_16_02_761637_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/53b2887dd8fa5bc21859414d9b5da19f.jpg","text":"TemporaryFile(/tmp/multipartBody5851525732353189627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086712112,"filename":"image_05012025_15_17_02_988094_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/677dfa090a22238a483ec8f2bc3ed387.jpg","text":"TemporaryFile(/tmp/multipartBody2438255268902912862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086712112,"filename":"image_05012025_15_17_02_988094_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/630e9d6b35decbcc1d2299958b76db70.jpg","text":"TemporaryFile(/tmp/multipartBody3995596473611701040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086712112,"filename":"image_05012025_15_17_02_988094_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882371","file1":"1326882369","file0":"1326882367","file3":"1326882372"},"map_files_photo_id_array":[{"photo_id":"1326882371","filename":"file2"},{"photo_id":"1326882369","filename":"file1"},{"photo_id":"1326882367","filename":"file0"},{"photo_id":"1326882372","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882367":["hashtag1","hashtag2"]},{"1326882372":["hashtag1","hashtag2"]},{"1326882369":["hashtag1","hashtag2"]},{"1326882371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882367, 1326882372, 1326882369, 1326882371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67920970916748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 15:18:02.376146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:18:22.025955
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/17/image_05012025_15_17_02_988094_0003.jpg', '/home/pi/Desktop/images/05012025/15/18/image_05012025_15_18_02_140272_0000.jpg', '/home/pi/Desktop/images/05012025/15/18/image_05012025_15_18_02_140272_0001.jpg', '/home/pi/Desktop/images/05012025/15/18/image_05012025_15_18_02_140272_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/15/17/image_05012025_15_17_02_988094_0003.jpg
/home/pi/Desktop/images/05012025/15/18/image_05012025_15_18_02_140272_0000.jpg
/home/pi/Desktop/images/05012025/15/18/image_05012025_15_18_02_140272_0001.jpg
/home/pi/Desktop/images/05012025/15/18/image_05012025_15_18_02_140272_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.83827543258667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 15:18:41.991345
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/17/image_05012025_15_17_02_988094_0003.jpg', '/home/pi/Desktop/images/05012025/15/18/image_05012025_15_18_02_140272_0000.jpg', '/home/pi/Desktop/images/05012025/15/18/image_05012025_15_18_02_140272_0001.jpg', '/home/pi/Desktop/images/05012025/15/18/image_05012025_15_18_02_140272_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/15/17/image_05012025_15_17_02_988094_0003.jpg
/home/pi/Desktop/images/05012025/15/18/image_05012025_15_18_02_140272_0000.jpg
/home/pi/Desktop/images/05012025/15/18/image_05012025_15_18_02_140272_0001.jpg
/home/pi/Desktop/images/05012025/15/18/image_05012025_15_18_02_140272_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882385","1326882384","1326882387","1326882389"],"photo_ids_order":["1326882384","1326882385","1326882387","1326882389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/049561810529617be306122932855975.jpg","text":"TemporaryFile(/tmp/multipartBody393987966159765812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086792233,"filename":"image_05012025_15_18_02_140272_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/91f9311c6b10dbc2f908f763d96a8d78.jpg","text":"TemporaryFile(/tmp/multipartBody5845887252164757438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086792233,"filename":"image_05012025_15_17_02_988094_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bdcd6d69879bf5249b16f397c1f11a4c.jpg","text":"TemporaryFile(/tmp/multipartBody4059603300216352412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086792233,"filename":"image_05012025_15_18_02_140272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cb63e0b95bf37ee15d6a00042d76e5d4.jpg","text":"TemporaryFile(/tmp/multipartBody5374746701325405738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086792233,"filename":"image_05012025_15_18_02_140272_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882387","file1":"1326882385","file0":"1326882384","file3":"1326882389"},"map_files_photo_id_array":[{"photo_id":"1326882387","filename":"file2"},{"photo_id":"1326882385","filename":"file1"},{"photo_id":"1326882384","filename":"file0"},{"photo_id":"1326882389","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882385":["hashtag1","hashtag2"]},{"1326882384":["hashtag1","hashtag2"]},{"1326882387":["hashtag1","hashtag2"]},{"1326882389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882385, 1326882384, 1326882387, 1326882389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.29349327087402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 15:19:32.141999
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/18/image_05012025_15_18_02_140272_0003.jpg', '/home/pi/Desktop/images/05012025/15/19/image_05012025_15_19_02_344675_0000.jpg', '/home/pi/Desktop/images/05012025/15/19/image_05012025_15_19_02_344675_0001.jpg', '/home/pi/Desktop/images/05012025/15/19/image_05012025_15_19_02_344675_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/15/18/image_05012025_15_18_02_140272_0003.jpg
/home/pi/Desktop/images/05012025/15/19/image_05012025_15_19_02_344675_0000.jpg
/home/pi/Desktop/images/05012025/15/19/image_05012025_15_19_02_344675_0001.jpg
/home/pi/Desktop/images/05012025/15/19/image_05012025_15_19_02_344675_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882397","1326882399","1326882396","1326882398"],"photo_ids_order":["1326882396","1326882397","1326882398","1326882399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5168f94bb207a9b42fb3d6c386a5dbae.jpg","text":"TemporaryFile(/tmp/multipartBody8533432513427804107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086842521,"filename":"image_05012025_15_19_02_344675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/76a40fab3b512fa8123775b5b676763a.jpg","text":"TemporaryFile(/tmp/multipartBody6024777263734608572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086842521,"filename":"image_05012025_15_19_02_344675_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/67695343170e728c3cccdd9cf19916b1.jpg","text":"TemporaryFile(/tmp/multipartBody8872387989356239071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086842521,"filename":"image_05012025_15_18_02_140272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f78ed54b408513e6f154383291de64de.jpg","text":"TemporaryFile(/tmp/multipartBody5666749667013943586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086842521,"filename":"image_05012025_15_19_02_344675_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882398","file1":"1326882397","file0":"1326882396","file3":"1326882399"},"map_files_photo_id_array":[{"photo_id":"1326882398","filename":"file2"},{"photo_id":"1326882397","filename":"file1"},{"photo_id":"1326882396","filename":"file0"},{"photo_id":"1326882399","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882397":["hashtag1","hashtag2"]},{"1326882399":["hashtag1","hashtag2"]},{"1326882396":["hashtag1","hashtag2"]},{"1326882398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882397, 1326882399, 1326882396, 1326882398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.882551431655884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:20:22.378300
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/19/image_05012025_15_19_02_344675_0003.jpg', '/home/pi/Desktop/images/05012025/15/20/image_05012025_15_20_02_610134_0000.jpg', '/home/pi/Desktop/images/05012025/15/20/image_05012025_15_20_02_610134_0001.jpg', '/home/pi/Desktop/images/05012025/15/20/image_05012025_15_20_02_610134_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/15/19/image_05012025_15_19_02_344675_0003.jpg
/home/pi/Desktop/images/05012025/15/20/image_05012025_15_20_02_610134_0000.jpg
/home/pi/Desktop/images/05012025/15/20/image_05012025_15_20_02_610134_0001.jpg
/home/pi/Desktop/images/05012025/15/20/image_05012025_15_20_02_610134_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882410","1326882406","1326882409","1326882408"],"photo_ids_order":["1326882406","1326882408","1326882409","1326882410"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e22b278a92cd9a6daf57128acbfb86d8.jpg","text":"TemporaryFile(/tmp/multipartBody1401024120544401779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086892722,"filename":"image_05012025_15_20_02_610134_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8d6a82c88033286f85e89561650f5dea.jpg","text":"TemporaryFile(/tmp/multipartBody832173656200682833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086892722,"filename":"image_05012025_15_19_02_344675_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/84845075d68b91a1069349cbc815ea5c.jpg","text":"TemporaryFile(/tmp/multipartBody2435086663694496516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086892722,"filename":"image_05012025_15_20_02_610134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/54b23df0b757bba58c62d9ff5192e15b.jpg","text":"TemporaryFile(/tmp/multipartBody4540475826193011241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086892722,"filename":"image_05012025_15_20_02_610134_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882409","file1":"1326882408","file0":"1326882406","file3":"1326882410"},"map_files_photo_id_array":[{"photo_id":"1326882409","filename":"file2"},{"photo_id":"1326882408","filename":"file1"},{"photo_id":"1326882406","filename":"file0"},{"photo_id":"1326882410","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882410":["hashtag1","hashtag2"]},{"1326882406":["hashtag1","hashtag2"]},{"1326882409":["hashtag1","hashtag2"]},{"1326882408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882410, 1326882406, 1326882409, 1326882408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.819854497909546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:21:22.577900
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/20/image_05012025_15_20_02_610134_0003.jpg', '/home/pi/Desktop/images/05012025/15/21/image_05012025_15_21_02_709302_0000.jpg', '/home/pi/Desktop/images/05012025/15/21/image_05012025_15_21_02_709302_0001.jpg', '/home/pi/Desktop/images/05012025/15/21/image_05012025_15_21_02_709302_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/15/20/image_05012025_15_20_02_610134_0003.jpg
/home/pi/Desktop/images/05012025/15/21/image_05012025_15_21_02_709302_0000.jpg
/home/pi/Desktop/images/05012025/15/21/image_05012025_15_21_02_709302_0001.jpg
/home/pi/Desktop/images/05012025/15/21/image_05012025_15_21_02_709302_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882425","1326882418","1326882421","1326882423"],"photo_ids_order":["1326882418","1326882421","1326882423","1326882425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a12bd0800bf17cb31bb463ab9348a0d4.jpg","text":"TemporaryFile(/tmp/multipartBody675145759380249443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086952996,"filename":"image_05012025_15_21_02_709302_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fac72c196da06b8731bad400c77a88c8.jpg","text":"TemporaryFile(/tmp/multipartBody6917703664864597674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086952996,"filename":"image_05012025_15_20_02_610134_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/78a4cccf905a5e43f299e8fadb3781dd.jpg","text":"TemporaryFile(/tmp/multipartBody3518451827627422542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086952996,"filename":"image_05012025_15_21_02_709302_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/63501e3c233d473efa9b9c918d51891e.jpg","text":"TemporaryFile(/tmp/multipartBody1845074493452211186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736086952996,"filename":"image_05012025_15_21_02_709302_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882423","file1":"1326882421","file0":"1326882418","file3":"1326882425"},"map_files_photo_id_array":[{"photo_id":"1326882423","filename":"file2"},{"photo_id":"1326882421","filename":"file1"},{"photo_id":"1326882418","filename":"file0"},{"photo_id":"1326882425","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882425":["hashtag1","hashtag2"]},{"1326882418":["hashtag1","hashtag2"]},{"1326882421":["hashtag1","hashtag2"]},{"1326882423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882425, 1326882418, 1326882421, 1326882423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.74833869934082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:22:22.819256
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/21/image_05012025_15_21_02_709302_0003.jpg', '/home/pi/Desktop/images/05012025/15/22/image_05012025_15_22_02_927515_0000.jpg', '/home/pi/Desktop/images/05012025/15/22/image_05012025_15_22_02_927515_0001.jpg', '/home/pi/Desktop/images/05012025/15/22/image_05012025_15_22_02_927515_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/15/21/image_05012025_15_21_02_709302_0003.jpg
/home/pi/Desktop/images/05012025/15/22/image_05012025_15_22_02_927515_0000.jpg
/home/pi/Desktop/images/05012025/15/22/image_05012025_15_22_02_927515_0001.jpg
/home/pi/Desktop/images/05012025/15/22/image_05012025_15_22_02_927515_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882436","1326882433","1326882432","1326882431"],"photo_ids_order":["1326882431","1326882432","1326882433","1326882436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6380aa2ec884a81b612f758be3461bed.jpg","text":"TemporaryFile(/tmp/multipartBody3458689747289639011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087013250,"filename":"image_05012025_15_22_02_927515_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2151fb2a2cb7e7c79c39a4d2e2f764da.jpg","text":"TemporaryFile(/tmp/multipartBody2726429861695786296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087013250,"filename":"image_05012025_15_22_02_927515_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5bb0751146a5a081373dce8e67192679.jpg","text":"TemporaryFile(/tmp/multipartBody4453551192627767685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087013250,"filename":"image_05012025_15_22_02_927515_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/28d89ded1bc784a893c3ce7746c06312.jpg","text":"TemporaryFile(/tmp/multipartBody8295150238479609125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087013250,"filename":"image_05012025_15_21_02_709302_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882433","file1":"1326882432","file0":"1326882431","file3":"1326882436"},"map_files_photo_id_array":[{"photo_id":"1326882433","filename":"file2"},{"photo_id":"1326882432","filename":"file1"},{"photo_id":"1326882431","filename":"file0"},{"photo_id":"1326882436","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882436":["hashtag1","hashtag2"]},{"1326882433":["hashtag1","hashtag2"]},{"1326882432":["hashtag1","hashtag2"]},{"1326882431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882436, 1326882433, 1326882432, 1326882431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.979522705078125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:23:21.955339
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/22/image_05012025_15_22_02_927515_0003.jpg', '/home/pi/Desktop/images/05012025/15/23/image_05012025_15_23_03_127621_0000.jpg', '/home/pi/Desktop/images/05012025/15/23/image_05012025_15_23_03_127621_0001.jpg', '/home/pi/Desktop/images/05012025/15/23/image_05012025_15_23_03_127621_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/15/22/image_05012025_15_22_02_927515_0003.jpg
/home/pi/Desktop/images/05012025/15/23/image_05012025_15_23_03_127621_0000.jpg
/home/pi/Desktop/images/05012025/15/23/image_05012025_15_23_03_127621_0001.jpg
/home/pi/Desktop/images/05012025/15/23/image_05012025_15_23_03_127621_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882451","1326882447","1326882450","1326882449"],"photo_ids_order":["1326882447","1326882449","1326882450","1326882451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7cb7d5f1354e0a09618ee29307e10e51.jpg","text":"TemporaryFile(/tmp/multipartBody1828914337834869891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087072410,"filename":"image_05012025_15_23_03_127621_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b65baf78f01e26953fb8f95458b852f.jpg","text":"TemporaryFile(/tmp/multipartBody8430638384680407080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087072410,"filename":"image_05012025_15_22_02_927515_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/04674fa756855290eb540487299f0f5b.jpg","text":"TemporaryFile(/tmp/multipartBody2496436048434929719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087072410,"filename":"image_05012025_15_23_03_127621_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cc9b47d45422a5e7d83bc68d5ef221d1.jpg","text":"TemporaryFile(/tmp/multipartBody5419142441021049891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087072410,"filename":"image_05012025_15_23_03_127621_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882450","file1":"1326882449","file0":"1326882447","file3":"1326882451"},"map_files_photo_id_array":[{"photo_id":"1326882450","filename":"file2"},{"photo_id":"1326882449","filename":"file1"},{"photo_id":"1326882447","filename":"file0"},{"photo_id":"1326882451","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882451":["hashtag1","hashtag2"]},{"1326882447":["hashtag1","hashtag2"]},{"1326882450":["hashtag1","hashtag2"]},{"1326882449":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882451, 1326882447, 1326882450, 1326882449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36560893058777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 15:24:02.513063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:24:22.114261
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/23/image_05012025_15_23_03_127621_0003.jpg', '/home/pi/Desktop/images/05012025/15/24/image_05012025_15_24_02_318204_0000.jpg', '/home/pi/Desktop/images/05012025/15/24/image_05012025_15_24_02_318204_0001.jpg', '/home/pi/Desktop/images/05012025/15/24/image_05012025_15_24_02_318204_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/15/23/image_05012025_15_23_03_127621_0003.jpg
/home/pi/Desktop/images/05012025/15/24/image_05012025_15_24_02_318204_0000.jpg
/home/pi/Desktop/images/05012025/15/24/image_05012025_15_24_02_318204_0001.jpg
/home/pi/Desktop/images/05012025/15/24/image_05012025_15_24_02_318204_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882463","1326882462","1326882459","1326882461"],"photo_ids_order":["1326882459","1326882461","1326882462","1326882463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1bca9b2a0ad1a2aad71ac2e5022cb657.jpg","text":"TemporaryFile(/tmp/multipartBody448392181823015931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087132481,"filename":"image_05012025_15_24_02_318204_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f15dcd3f9ac984b728d72fa8baf41bc.jpg","text":"TemporaryFile(/tmp/multipartBody4190360073140726026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087132481,"filename":"image_05012025_15_24_02_318204_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b06bf1e25a3e617532d98bd81c772e96.jpg","text":"TemporaryFile(/tmp/multipartBody1011272278023210833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087132481,"filename":"image_05012025_15_23_03_127621_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/717cfcb4c8dc6360210e7ed1722f550d.jpg","text":"TemporaryFile(/tmp/multipartBody1663577353327526460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087132481,"filename":"image_05012025_15_24_02_318204_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882462","file1":"1326882461","file0":"1326882459","file3":"1326882463"},"map_files_photo_id_array":[{"photo_id":"1326882462","filename":"file2"},{"photo_id":"1326882461","filename":"file1"},{"photo_id":"1326882459","filename":"file0"},{"photo_id":"1326882463","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882463":["hashtag1","hashtag2"]},{"1326882462":["hashtag1","hashtag2"]},{"1326882459":["hashtag1","hashtag2"]},{"1326882461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882463, 1326882462, 1326882459, 1326882461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.00917720794678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 15:25:02.812391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:25:22.228476
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/24/image_05012025_15_24_02_318204_0003.jpg', '/home/pi/Desktop/images/05012025/15/25/image_05012025_15_25_02_450042_0000.jpg', '/home/pi/Desktop/images/05012025/15/25/image_05012025_15_25_02_450042_0001.jpg', '/home/pi/Desktop/images/05012025/15/25/image_05012025_15_25_02_450042_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/15/24/image_05012025_15_24_02_318204_0003.jpg
/home/pi/Desktop/images/05012025/15/25/image_05012025_15_25_02_450042_0000.jpg
/home/pi/Desktop/images/05012025/15/25/image_05012025_15_25_02_450042_0001.jpg
/home/pi/Desktop/images/05012025/15/25/image_05012025_15_25_02_450042_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882472","1326882469","1326882471","1326882473"],"photo_ids_order":["1326882469","1326882471","1326882472","1326882473"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d6e31442135782d7c02a9959d962723f.jpg","text":"TemporaryFile(/tmp/multipartBody6268376252020705374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087192789,"filename":"image_05012025_15_25_02_450042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bfc5f6063e9237cf93c67a77e79caee7.jpg","text":"TemporaryFile(/tmp/multipartBody6645320287637181435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087192789,"filename":"image_05012025_15_24_02_318204_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/23c755607446bc640a6f8cef0e360b21.jpg","text":"TemporaryFile(/tmp/multipartBody6263566631995969797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087192789,"filename":"image_05012025_15_25_02_450042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/17c0f5e5d705e3495958f1d03d3c4bac.jpg","text":"TemporaryFile(/tmp/multipartBody2753164256712846326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087192789,"filename":"image_05012025_15_25_02_450042_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882472","file1":"1326882471","file0":"1326882469","file3":"1326882473"},"map_files_photo_id_array":[{"photo_id":"1326882472","filename":"file2"},{"photo_id":"1326882471","filename":"file1"},{"photo_id":"1326882469","filename":"file0"},{"photo_id":"1326882473","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882472":["hashtag1","hashtag2"]},{"1326882469":["hashtag1","hashtag2"]},{"1326882471":["hashtag1","hashtag2"]},{"1326882473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882472, 1326882469, 1326882471, 1326882473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32567048072815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 15:26:02.759496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:26:22.399665
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/25/image_05012025_15_25_02_450042_0003.jpg', '/home/pi/Desktop/images/05012025/15/26/image_05012025_15_26_02_556007_0000.jpg', '/home/pi/Desktop/images/05012025/15/26/image_05012025_15_26_02_556007_0001.jpg', '/home/pi/Desktop/images/05012025/15/26/image_05012025_15_26_02_556007_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/15/25/image_05012025_15_25_02_450042_0003.jpg
/home/pi/Desktop/images/05012025/15/26/image_05012025_15_26_02_556007_0000.jpg
/home/pi/Desktop/images/05012025/15/26/image_05012025_15_26_02_556007_0001.jpg
/home/pi/Desktop/images/05012025/15/26/image_05012025_15_26_02_556007_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882481","1326882483","1326882482","1326882479"],"photo_ids_order":["1326882479","1326882481","1326882482","1326882483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ffbfa877726a108e2a81d60ac4a7b1f6.jpg","text":"TemporaryFile(/tmp/multipartBody3622364417445677540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087252892,"filename":"image_05012025_15_26_02_556007_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b65f3cda3daa0c3b7174229fd94bc70.jpg","text":"TemporaryFile(/tmp/multipartBody6251062210518992940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087252892,"filename":"image_05012025_15_26_02_556007_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/13c2ebf8efffe5f850bd2422d40ef5ab.jpg","text":"TemporaryFile(/tmp/multipartBody6385073233296869430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087252892,"filename":"image_05012025_15_26_02_556007_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c0f8e173d128dbe958236d638fa77aaa.jpg","text":"TemporaryFile(/tmp/multipartBody8760264653813536537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087252892,"filename":"image_05012025_15_25_02_450042_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882482","file1":"1326882481","file0":"1326882479","file3":"1326882483"},"map_files_photo_id_array":[{"photo_id":"1326882482","filename":"file2"},{"photo_id":"1326882481","filename":"file1"},{"photo_id":"1326882479","filename":"file0"},{"photo_id":"1326882483","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882481":["hashtag1","hashtag2"]},{"1326882483":["hashtag1","hashtag2"]},{"1326882482":["hashtag1","hashtag2"]},{"1326882479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882481, 1326882483, 1326882482, 1326882479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.91319155693054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:27:22.639171
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/26/image_05012025_15_26_02_556007_0003.jpg', '/home/pi/Desktop/images/05012025/15/27/image_05012025_15_27_02_761695_0000.jpg', '/home/pi/Desktop/images/05012025/15/27/image_05012025_15_27_02_761695_0001.jpg', '/home/pi/Desktop/images/05012025/15/27/image_05012025_15_27_02_761695_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/15/26/image_05012025_15_26_02_556007_0003.jpg
/home/pi/Desktop/images/05012025/15/27/image_05012025_15_27_02_761695_0000.jpg
/home/pi/Desktop/images/05012025/15/27/image_05012025_15_27_02_761695_0001.jpg
/home/pi/Desktop/images/05012025/15/27/image_05012025_15_27_02_761695_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882493","1326882495","1326882494","1326882491"],"photo_ids_order":["1326882491","1326882493","1326882494","1326882495"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/339dbec22bde4a8d3ebfc6c23f2798f7.jpg","text":"TemporaryFile(/tmp/multipartBody8968121684059566013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087312981,"filename":"image_05012025_15_27_02_761695_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ebfcc734f55247a7faca384216f90271.jpg","text":"TemporaryFile(/tmp/multipartBody7038877834581903448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087312981,"filename":"image_05012025_15_27_02_761695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0dbfc244bd0a4db7787a2112c0411574.jpg","text":"TemporaryFile(/tmp/multipartBody4756946524550186097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087312981,"filename":"image_05012025_15_27_02_761695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b4f1066fac8a19ae7800a092d901dac2.jpg","text":"TemporaryFile(/tmp/multipartBody1170131946306537661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087312981,"filename":"image_05012025_15_26_02_556007_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882494","file1":"1326882493","file0":"1326882491","file3":"1326882495"},"map_files_photo_id_array":[{"photo_id":"1326882494","filename":"file2"},{"photo_id":"1326882493","filename":"file1"},{"photo_id":"1326882491","filename":"file0"},{"photo_id":"1326882495","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882493":["hashtag1","hashtag2"]},{"1326882495":["hashtag1","hashtag2"]},{"1326882494":["hashtag1","hashtag2"]},{"1326882491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882493, 1326882495, 1326882494, 1326882491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63545274734497 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-05 15:28:22.842772
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/27/image_05012025_15_27_02_761695_0003.jpg', '/home/pi/Desktop/images/05012025/15/28/image_05012025_15_28_02_998352_0000.jpg', '/home/pi/Desktop/images/05012025/15/28/image_05012025_15_28_02_998352_0001.jpg', '/home/pi/Desktop/images/05012025/15/28/image_05012025_15_28_02_998352_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/15/27/image_05012025_15_27_02_761695_0003.jpg
/home/pi/Desktop/images/05012025/15/28/image_05012025_15_28_02_998352_0000.jpg
/home/pi/Desktop/images/05012025/15/28/image_05012025_15_28_02_998352_0001.jpg
/home/pi/Desktop/images/05012025/15/28/image_05012025_15_28_02_998352_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882506","1326882508","1326882504","1326882507"],"photo_ids_order":["1326882504","1326882506","1326882507","1326882508"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/705e95d68b57dfedeae1fe218c201074.jpg","text":"TemporaryFile(/tmp/multipartBody7391573597667303445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087373314,"filename":"image_05012025_15_28_02_998352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/edaaa011daac7b57fa0c7926db14105a.jpg","text":"TemporaryFile(/tmp/multipartBody8386480580938213156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087373314,"filename":"image_05012025_15_28_02_998352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c1c96b21745abf0da8a44847ff5a62b7.jpg","text":"TemporaryFile(/tmp/multipartBody791737146724343185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087373314,"filename":"image_05012025_15_27_02_761695_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/864960a9447744ae405bc523e42e4cc5.jpg","text":"TemporaryFile(/tmp/multipartBody3113606541181161712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087373314,"filename":"image_05012025_15_28_02_998352_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882507","file1":"1326882506","file0":"1326882504","file3":"1326882508"},"map_files_photo_id_array":[{"photo_id":"1326882507","filename":"file2"},{"photo_id":"1326882506","filename":"file1"},{"photo_id":"1326882504","filename":"file0"},{"photo_id":"1326882508","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882506":["hashtag1","hashtag2"]},{"1326882508":["hashtag1","hashtag2"]},{"1326882504":["hashtag1","hashtag2"]},{"1326882507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882506, 1326882508, 1326882504, 1326882507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.94952964782715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:29:21.972731
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/28/image_05012025_15_28_02_998352_0003.jpg', '/home/pi/Desktop/images/05012025/15/29/image_05012025_15_29_03_102703_0000.jpg', '/home/pi/Desktop/images/05012025/15/29/image_05012025_15_29_03_102703_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/15/28/image_05012025_15_28_02_998352_0003.jpg
/home/pi/Desktop/images/05012025/15/29/image_05012025_15_29_03_102703_0000.jpg
/home/pi/Desktop/images/05012025/15/29/image_05012025_15_29_03_102703_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":["1326882524","1326882526","1326882527"],"photo_ids_order":["1326882524","1326882526","1326882527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bff2d737c62640f72af2169970312432.jpg","text":"TemporaryFile(/tmp/multipartBody1150959182143544868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087429954,"filename":"image_05012025_15_28_02_998352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d66326b4346961f4ba3139b2fb9fa058.jpg","text":"TemporaryFile(/tmp/multipartBody4321557882453039641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087429954,"filename":"image_05012025_15_29_03_102703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9d0ed4ff105be87260ef112b74b1374.jpg","text":"TemporaryFile(/tmp/multipartBody7888016905928673457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087429954,"filename":"image_05012025_15_29_03_102703_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882527","file1":"1326882526","file0":"1326882524"},"map_files_photo_id_array":[{"photo_id":"1326882527","filename":"file2"},{"photo_id":"1326882526","filename":"file1"},{"photo_id":"1326882524","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882524":["hashtag1","hashtag2"]},{"1326882526":["hashtag1","hashtag2"]},{"1326882527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882524, 1326882526, 1326882527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.129539728164673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 15:30:02.516473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:30:22.167718
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/29/image_05012025_15_29_03_102703_0002.jpg', '/home/pi/Desktop/images/05012025/15/30/image_05012025_15_30_02_292272_0000.jpg', '/home/pi/Desktop/images/05012025/15/30/image_05012025_15_30_02_292272_0001.jpg', '/home/pi/Desktop/images/05012025/15/30/image_05012025_15_30_02_292272_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/15/29/image_05012025_15_29_03_102703_0002.jpg
/home/pi/Desktop/images/05012025/15/30/image_05012025_15_30_02_292272_0000.jpg
/home/pi/Desktop/images/05012025/15/30/image_05012025_15_30_02_292272_0001.jpg
/home/pi/Desktop/images/05012025/15/30/image_05012025_15_30_02_292272_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882535","1326882538","1326882537","1326882539"],"photo_ids_order":["1326882535","1326882537","1326882538","1326882539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0358b7e54a1248dbaf846c885df786a3.jpg","text":"TemporaryFile(/tmp/multipartBody6394659567198728410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087492598,"filename":"image_05012025_15_29_03_102703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7644104f1b6181d6a066a98d10349cf2.jpg","text":"TemporaryFile(/tmp/multipartBody3017601543343339528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087492598,"filename":"image_05012025_15_30_02_292272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9d4f582f22153e370c1894ca61a06368.jpg","text":"TemporaryFile(/tmp/multipartBody2064172059184652492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087492598,"filename":"image_05012025_15_30_02_292272_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a174c2bac11830484838c4e37c713e7.jpg","text":"TemporaryFile(/tmp/multipartBody2864320986820060026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087492598,"filename":"image_05012025_15_30_02_292272_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882538","file1":"1326882537","file0":"1326882535","file3":"1326882539"},"map_files_photo_id_array":[{"photo_id":"1326882538","filename":"file2"},{"photo_id":"1326882537","filename":"file1"},{"photo_id":"1326882535","filename":"file0"},{"photo_id":"1326882539","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882535":["hashtag1","hashtag2"]},{"1326882538":["hashtag1","hashtag2"]},{"1326882537":["hashtag1","hashtag2"]},{"1326882539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882535, 1326882538, 1326882537, 1326882539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.68741798400879 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:31:22.324489
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/30/image_05012025_15_30_02_292272_0003.jpg', '/home/pi/Desktop/images/05012025/15/31/image_05012025_15_31_02_511465_0000.jpg', '/home/pi/Desktop/images/05012025/15/31/image_05012025_15_31_02_511465_0001.jpg', '/home/pi/Desktop/images/05012025/15/31/image_05012025_15_31_02_511465_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/15/30/image_05012025_15_30_02_292272_0003.jpg
/home/pi/Desktop/images/05012025/15/31/image_05012025_15_31_02_511465_0000.jpg
/home/pi/Desktop/images/05012025/15/31/image_05012025_15_31_02_511465_0001.jpg
/home/pi/Desktop/images/05012025/15/31/image_05012025_15_31_02_511465_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882547","1326882546","1326882549","1326882548"],"photo_ids_order":["1326882546","1326882547","1326882548","1326882549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7351223f2edea74009ff7c0fba72795c.jpg","text":"TemporaryFile(/tmp/multipartBody7904784758336341737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087552866,"filename":"image_05012025_15_31_02_511465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2eacc5fe958fd9191bff68c25724119.jpg","text":"TemporaryFile(/tmp/multipartBody7000730445506045343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087552866,"filename":"image_05012025_15_30_02_292272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/86e05ef5fcab82b67757683de91fc809.jpg","text":"TemporaryFile(/tmp/multipartBody8251915877079696741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087552866,"filename":"image_05012025_15_31_02_511465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7bf7e85429b256df372a5ff8aef1a1dc.jpg","text":"TemporaryFile(/tmp/multipartBody1498564111646751817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087552866,"filename":"image_05012025_15_31_02_511465_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882548","file1":"1326882547","file0":"1326882546","file3":"1326882549"},"map_files_photo_id_array":[{"photo_id":"1326882548","filename":"file2"},{"photo_id":"1326882547","filename":"file1"},{"photo_id":"1326882546","filename":"file0"},{"photo_id":"1326882549","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882547":["hashtag1","hashtag2"]},{"1326882546":["hashtag1","hashtag2"]},{"1326882549":["hashtag1","hashtag2"]},{"1326882548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882547, 1326882546, 1326882549, 1326882548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.6901695728302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:32:22.443211
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/31/image_05012025_15_31_02_511465_0003.jpg', '/home/pi/Desktop/images/05012025/15/32/image_05012025_15_32_02_658392_0000.jpg', '/home/pi/Desktop/images/05012025/15/32/image_05012025_15_32_02_658392_0001.jpg', '/home/pi/Desktop/images/05012025/15/32/image_05012025_15_32_02_658392_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/15/31/image_05012025_15_31_02_511465_0003.jpg
/home/pi/Desktop/images/05012025/15/32/image_05012025_15_32_02_658392_0000.jpg
/home/pi/Desktop/images/05012025/15/32/image_05012025_15_32_02_658392_0001.jpg
/home/pi/Desktop/images/05012025/15/32/image_05012025_15_32_02_658392_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882556","1326882559","1326882558","1326882554"],"photo_ids_order":["1326882554","1326882556","1326882558","1326882559"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d2867c4e2e714172ad211dbcad15e6b5.jpg","text":"TemporaryFile(/tmp/multipartBody463215763759942618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087612986,"filename":"image_05012025_15_32_02_658392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/65cd4d5c6c59f8517fdaaf77a158bfb1.jpg","text":"TemporaryFile(/tmp/multipartBody7797873417601390524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087612986,"filename":"image_05012025_15_32_02_658392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dcf3c4b19bb9aea185edb60651900a7a.jpg","text":"TemporaryFile(/tmp/multipartBody8183592073480582658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087612986,"filename":"image_05012025_15_32_02_658392_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6c341b0a4d70558298f817a43fdfee84.jpg","text":"TemporaryFile(/tmp/multipartBody4776031764567462221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087612986,"filename":"image_05012025_15_31_02_511465_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882558","file1":"1326882556","file0":"1326882554","file3":"1326882559"},"map_files_photo_id_array":[{"photo_id":"1326882558","filename":"file2"},{"photo_id":"1326882556","filename":"file1"},{"photo_id":"1326882554","filename":"file0"},{"photo_id":"1326882559","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882556":["hashtag1","hashtag2"]},{"1326882559":["hashtag1","hashtag2"]},{"1326882558":["hashtag1","hashtag2"]},{"1326882554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882556, 1326882559, 1326882558, 1326882554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.96189856529236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:33:22.718519
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/32/image_05012025_15_32_02_658392_0003.jpg', '/home/pi/Desktop/images/05012025/15/33/image_05012025_15_33_02_790680_0000.jpg', '/home/pi/Desktop/images/05012025/15/33/image_05012025_15_33_02_790680_0001.jpg', '/home/pi/Desktop/images/05012025/15/33/image_05012025_15_33_02_790680_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/15/32/image_05012025_15_32_02_658392_0003.jpg
/home/pi/Desktop/images/05012025/15/33/image_05012025_15_33_02_790680_0000.jpg
/home/pi/Desktop/images/05012025/15/33/image_05012025_15_33_02_790680_0001.jpg
/home/pi/Desktop/images/05012025/15/33/image_05012025_15_33_02_790680_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882568","1326882565","1326882567","1326882569"],"photo_ids_order":["1326882565","1326882567","1326882568","1326882569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a30a7fbf8e3fecc37bb89221ff1b1551.jpg","text":"TemporaryFile(/tmp/multipartBody39519783035473561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087673327,"filename":"image_05012025_15_33_02_790680_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3d5dd6173e9347c1c8d6562280c38f3a.jpg","text":"TemporaryFile(/tmp/multipartBody7870016906497549027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087673327,"filename":"image_05012025_15_32_02_658392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5a5f1e22ec6ad2b1509e513e1f7d4da8.jpg","text":"TemporaryFile(/tmp/multipartBody1749034176444471485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087673327,"filename":"image_05012025_15_33_02_790680_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/90473cf3be774bd7d1d25f509c9e4191.jpg","text":"TemporaryFile(/tmp/multipartBody4333356635032520823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087673327,"filename":"image_05012025_15_33_02_790680_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882568","file1":"1326882567","file0":"1326882565","file3":"1326882569"},"map_files_photo_id_array":[{"photo_id":"1326882568","filename":"file2"},{"photo_id":"1326882567","filename":"file1"},{"photo_id":"1326882565","filename":"file0"},{"photo_id":"1326882569","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882568":["hashtag1","hashtag2"]},{"1326882565":["hashtag1","hashtag2"]},{"1326882567":["hashtag1","hashtag2"]},{"1326882569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882568, 1326882565, 1326882567, 1326882569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.08781671524048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:34:21.889803
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/33/image_05012025_15_33_02_790680_0003.jpg', '/home/pi/Desktop/images/05012025/15/34/image_05012025_15_34_03_064343_0000.jpg', '/home/pi/Desktop/images/05012025/15/34/image_05012025_15_34_03_064343_0001.jpg', '/home/pi/Desktop/images/05012025/15/34/image_05012025_15_34_03_064343_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/15/33/image_05012025_15_33_02_790680_0003.jpg
/home/pi/Desktop/images/05012025/15/34/image_05012025_15_34_03_064343_0000.jpg
/home/pi/Desktop/images/05012025/15/34/image_05012025_15_34_03_064343_0001.jpg
/home/pi/Desktop/images/05012025/15/34/image_05012025_15_34_03_064343_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882577","1326882579","1326882575","1326882578"],"photo_ids_order":["1326882575","1326882577","1326882578","1326882579"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4ab46deda1c6a0a97608d99688acfe84.jpg","text":"TemporaryFile(/tmp/multipartBody551614306599147846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087732201,"filename":"image_05012025_15_34_03_064343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f040e757c23d1671cd109b23f1a3f2e.jpg","text":"TemporaryFile(/tmp/multipartBody7947084978672318252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087732201,"filename":"image_05012025_15_34_03_064343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a2aaa0dc17253a3f222ac008fd5e828.jpg","text":"TemporaryFile(/tmp/multipartBody1686396078007892404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087732201,"filename":"image_05012025_15_33_02_790680_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/056b5294096e2622ff23a8a0666d65d6.jpg","text":"TemporaryFile(/tmp/multipartBody3514822727003650483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087732201,"filename":"image_05012025_15_34_03_064343_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882578","file1":"1326882577","file0":"1326882575","file3":"1326882579"},"map_files_photo_id_array":[{"photo_id":"1326882578","filename":"file2"},{"photo_id":"1326882577","filename":"file1"},{"photo_id":"1326882575","filename":"file0"},{"photo_id":"1326882579","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882577":["hashtag1","hashtag2"]},{"1326882579":["hashtag1","hashtag2"]},{"1326882575":["hashtag1","hashtag2"]},{"1326882578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882577, 1326882579, 1326882575, 1326882578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.601566791534424 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-05 15:35:21.979053
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/34/image_05012025_15_34_03_064343_0003.jpg', '/home/pi/Desktop/images/05012025/15/35/image_05012025_15_35_02_196710_0000.jpg', '/home/pi/Desktop/images/05012025/15/35/image_05012025_15_35_02_196710_0001.jpg', '/home/pi/Desktop/images/05012025/15/35/image_05012025_15_35_02_196710_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/15/34/image_05012025_15_34_03_064343_0003.jpg
/home/pi/Desktop/images/05012025/15/35/image_05012025_15_35_02_196710_0000.jpg
/home/pi/Desktop/images/05012025/15/35/image_05012025_15_35_02_196710_0001.jpg
/home/pi/Desktop/images/05012025/15/35/image_05012025_15_35_02_196710_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882589","1326882591","1326882587","1326882590"],"photo_ids_order":["1326882587","1326882589","1326882590","1326882591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/78f8f8c23840f9076f6d39c7375326bc.jpg","text":"TemporaryFile(/tmp/multipartBody7255342409075659896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087792448,"filename":"image_05012025_15_35_02_196710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/481f4ce760a6f820c6988d6aa6510a25.jpg","text":"TemporaryFile(/tmp/multipartBody6368113354898410563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087792448,"filename":"image_05012025_15_35_02_196710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bf6a799f2f08929d75609ca2174e3426.jpg","text":"TemporaryFile(/tmp/multipartBody6613271725865574513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087792448,"filename":"image_05012025_15_34_03_064343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0f9672ad915b61e8144fee19307f39e4.jpg","text":"TemporaryFile(/tmp/multipartBody6536210031401658756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087792448,"filename":"image_05012025_15_35_02_196710_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882590","file1":"1326882589","file0":"1326882587","file3":"1326882591"},"map_files_photo_id_array":[{"photo_id":"1326882590","filename":"file2"},{"photo_id":"1326882589","filename":"file1"},{"photo_id":"1326882587","filename":"file0"},{"photo_id":"1326882591","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882589":["hashtag1","hashtag2"]},{"1326882591":["hashtag1","hashtag2"]},{"1326882587":["hashtag1","hashtag2"]},{"1326882590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882589, 1326882591, 1326882587, 1326882590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.90533971786499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:36:22.301422
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/35/image_05012025_15_35_02_196710_0003.jpg', '/home/pi/Desktop/images/05012025/15/36/image_05012025_15_36_02_462421_0000.jpg', '/home/pi/Desktop/images/05012025/15/36/image_05012025_15_36_02_462421_0001.jpg', '/home/pi/Desktop/images/05012025/15/36/image_05012025_15_36_02_462421_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/15/35/image_05012025_15_35_02_196710_0003.jpg
/home/pi/Desktop/images/05012025/15/36/image_05012025_15_36_02_462421_0000.jpg
/home/pi/Desktop/images/05012025/15/36/image_05012025_15_36_02_462421_0001.jpg
/home/pi/Desktop/images/05012025/15/36/image_05012025_15_36_02_462421_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882597","1326882601","1326882600","1326882599"],"photo_ids_order":["1326882597","1326882599","1326882600","1326882601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/47c00ebc6d2c05851914f67cabfe400f.jpg","text":"TemporaryFile(/tmp/multipartBody557678513741179221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087852750,"filename":"image_05012025_15_35_02_196710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/89c3106d1ec4eb561c31dc13f25b1657.jpg","text":"TemporaryFile(/tmp/multipartBody509795527681296996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087852750,"filename":"image_05012025_15_36_02_462421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/09e55029dc09cc04573196beef20381e.jpg","text":"TemporaryFile(/tmp/multipartBody1727262911871528869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087852750,"filename":"image_05012025_15_36_02_462421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/74290c5886bed5346023ae98083892d8.jpg","text":"TemporaryFile(/tmp/multipartBody5383126145290955954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087852750,"filename":"image_05012025_15_36_02_462421_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882600","file1":"1326882599","file0":"1326882597","file3":"1326882601"},"map_files_photo_id_array":[{"photo_id":"1326882600","filename":"file2"},{"photo_id":"1326882599","filename":"file1"},{"photo_id":"1326882597","filename":"file0"},{"photo_id":"1326882601","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882597":["hashtag1","hashtag2"]},{"1326882601":["hashtag1","hashtag2"]},{"1326882600":["hashtag1","hashtag2"]},{"1326882599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882597, 1326882601, 1326882600, 1326882599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.87349271774292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:37:22.607571
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/36/image_05012025_15_36_02_462421_0003.jpg', '/home/pi/Desktop/images/05012025/15/37/image_05012025_15_37_02_685695_0000.jpg', '/home/pi/Desktop/images/05012025/15/37/image_05012025_15_37_02_685695_0001.jpg', '/home/pi/Desktop/images/05012025/15/37/image_05012025_15_37_02_685695_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/15/36/image_05012025_15_36_02_462421_0003.jpg
/home/pi/Desktop/images/05012025/15/37/image_05012025_15_37_02_685695_0000.jpg
/home/pi/Desktop/images/05012025/15/37/image_05012025_15_37_02_685695_0001.jpg
/home/pi/Desktop/images/05012025/15/37/image_05012025_15_37_02_685695_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882608","1326882610","1326882612","1326882611"],"photo_ids_order":["1326882608","1326882610","1326882611","1326882612"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f2d56c1fbecad3013b1a775d6010099.jpg","text":"TemporaryFile(/tmp/multipartBody6833064974715494572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087913065,"filename":"image_05012025_15_36_02_462421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/44cdf67261b81ea676898acfc04c5715.jpg","text":"TemporaryFile(/tmp/multipartBody4177999593423709480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087913065,"filename":"image_05012025_15_37_02_685695_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7aeaf3ddcf3004af4c075d39d5db52f7.jpg","text":"TemporaryFile(/tmp/multipartBody1695517116968443978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087913065,"filename":"image_05012025_15_37_02_685695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/67cbe9f7f41753ee158f239953689281.jpg","text":"TemporaryFile(/tmp/multipartBody5501024076273443173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087913065,"filename":"image_05012025_15_37_02_685695_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882611","file1":"1326882610","file0":"1326882608","file3":"1326882612"},"map_files_photo_id_array":[{"photo_id":"1326882611","filename":"file2"},{"photo_id":"1326882610","filename":"file1"},{"photo_id":"1326882608","filename":"file0"},{"photo_id":"1326882612","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882608":["hashtag1","hashtag2"]},{"1326882610":["hashtag1","hashtag2"]},{"1326882612":["hashtag1","hashtag2"]},{"1326882611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882608, 1326882610, 1326882612, 1326882611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.04679250717163 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:38:22.756250
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/37/image_05012025_15_37_02_685695_0003.jpg', '/home/pi/Desktop/images/05012025/15/38/image_05012025_15_38_02_851134_0000.jpg', '/home/pi/Desktop/images/05012025/15/38/image_05012025_15_38_02_851134_0001.jpg', '/home/pi/Desktop/images/05012025/15/38/image_05012025_15_38_02_851134_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/15/37/image_05012025_15_37_02_685695_0003.jpg
/home/pi/Desktop/images/05012025/15/38/image_05012025_15_38_02_851134_0000.jpg
/home/pi/Desktop/images/05012025/15/38/image_05012025_15_38_02_851134_0001.jpg
/home/pi/Desktop/images/05012025/15/38/image_05012025_15_38_02_851134_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.009786128997803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 15:38:42.694422
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/37/image_05012025_15_37_02_685695_0003.jpg', '/home/pi/Desktop/images/05012025/15/38/image_05012025_15_38_02_851134_0000.jpg', '/home/pi/Desktop/images/05012025/15/38/image_05012025_15_38_02_851134_0001.jpg', '/home/pi/Desktop/images/05012025/15/38/image_05012025_15_38_02_851134_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/15/37/image_05012025_15_37_02_685695_0003.jpg
/home/pi/Desktop/images/05012025/15/38/image_05012025_15_38_02_851134_0000.jpg
/home/pi/Desktop/images/05012025/15/38/image_05012025_15_38_02_851134_0001.jpg
/home/pi/Desktop/images/05012025/15/38/image_05012025_15_38_02_851134_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882635","1326882640","1326882646","1326882644"],"photo_ids_order":["1326882635","1326882640","1326882644","1326882646"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e277abd467a9b94a39db9dbf9448bdbd.jpg","text":"TemporaryFile(/tmp/multipartBody7580378321576799900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087993101,"filename":"image_05012025_15_37_02_685695_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/faf23995c6d34a803d60a5b105f72f73.jpg","text":"TemporaryFile(/tmp/multipartBody4670658077757945658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087993101,"filename":"image_05012025_15_38_02_851134_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/519748d31f30633e2f3e60b6c78fd927.jpg","text":"TemporaryFile(/tmp/multipartBody8839775909591492041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087993101,"filename":"image_05012025_15_38_02_851134_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eabf9336bd8e657481c2e8643af9fccd.jpg","text":"TemporaryFile(/tmp/multipartBody3423294090037201636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736087993101,"filename":"image_05012025_15_38_02_851134_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882644","file1":"1326882640","file0":"1326882635","file3":"1326882646"},"map_files_photo_id_array":[{"photo_id":"1326882644","filename":"file2"},{"photo_id":"1326882640","filename":"file1"},{"photo_id":"1326882635","filename":"file0"},{"photo_id":"1326882646","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882635":["hashtag1","hashtag2"]},{"1326882640":["hashtag1","hashtag2"]},{"1326882646":["hashtag1","hashtag2"]},{"1326882644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882635, 1326882640, 1326882646, 1326882644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.6395058631897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 15:39:31.833461
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/38/image_05012025_15_38_02_851134_0003.jpg', '/home/pi/Desktop/images/05012025/15/39/image_05012025_15_39_03_045127_0000.jpg', '/home/pi/Desktop/images/05012025/15/39/image_05012025_15_39_03_045127_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/15/38/image_05012025_15_38_02_851134_0003.jpg
/home/pi/Desktop/images/05012025/15/39/image_05012025_15_39_03_045127_0000.jpg
/home/pi/Desktop/images/05012025/15/39/image_05012025_15_39_03_045127_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":["1326882679","1326882681","1326882680"],"photo_ids_order":["1326882679","1326882680","1326882681"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a17742acc92b00228f8251a1baa6b5a4.jpg","text":"TemporaryFile(/tmp/multipartBody2849347401829698815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088039740,"filename":"image_05012025_15_38_02_851134_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9990cdcf4b32d9b4a7e6daf505a667b9.jpg","text":"TemporaryFile(/tmp/multipartBody5401072391657933391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088039740,"filename":"image_05012025_15_39_03_045127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ede12e7587951a1bba0aae0d614a80e0.jpg","text":"TemporaryFile(/tmp/multipartBody6237481956503927550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088039740,"filename":"image_05012025_15_39_03_045127_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882681","file1":"1326882680","file0":"1326882679"},"map_files_photo_id_array":[{"photo_id":"1326882681","filename":"file2"},{"photo_id":"1326882680","filename":"file1"},{"photo_id":"1326882679","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882679":["hashtag1","hashtag2"]},{"1326882681":["hashtag1","hashtag2"]},{"1326882680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882679, 1326882681, 1326882680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.65094780921936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:40:22.061310
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/39/image_05012025_15_39_03_045127_0003.jpg', '/home/pi/Desktop/images/05012025/15/40/image_05012025_15_40_02_224773_0000.jpg', '/home/pi/Desktop/images/05012025/15/40/image_05012025_15_40_02_224773_0001.jpg', '/home/pi/Desktop/images/05012025/15/40/image_05012025_15_40_02_224773_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/15/39/image_05012025_15_39_03_045127_0003.jpg
/home/pi/Desktop/images/05012025/15/40/image_05012025_15_40_02_224773_0000.jpg
/home/pi/Desktop/images/05012025/15/40/image_05012025_15_40_02_224773_0001.jpg
/home/pi/Desktop/images/05012025/15/40/image_05012025_15_40_02_224773_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882694","1326882690","1326882693","1326882695"],"photo_ids_order":["1326882690","1326882693","1326882694","1326882695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62a747b0d5b46655a6613fe9c07d8abe.jpg","text":"TemporaryFile(/tmp/multipartBody1491963783185155014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088092480,"filename":"image_05012025_15_40_02_224773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2d24fefda82d6173e84d8cbb3836f186.jpg","text":"TemporaryFile(/tmp/multipartBody8084104194465845816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088092480,"filename":"image_05012025_15_39_03_045127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a16664eb02a49477f57feea81d8c8b4e.jpg","text":"TemporaryFile(/tmp/multipartBody722029402098792437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088092480,"filename":"image_05012025_15_40_02_224773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a2dd1887c4133a16d7409ee9afe53a9a.jpg","text":"TemporaryFile(/tmp/multipartBody2074506489084114141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088092480,"filename":"image_05012025_15_40_02_224773_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882694","file1":"1326882693","file0":"1326882690","file3":"1326882695"},"map_files_photo_id_array":[{"photo_id":"1326882694","filename":"file2"},{"photo_id":"1326882693","filename":"file1"},{"photo_id":"1326882690","filename":"file0"},{"photo_id":"1326882695","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882694":["hashtag1","hashtag2"]},{"1326882690":["hashtag1","hashtag2"]},{"1326882693":["hashtag1","hashtag2"]},{"1326882695":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882694, 1326882690, 1326882693, 1326882695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.08879280090332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:41:22.305602
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/40/image_05012025_15_40_02_224773_0003.jpg', '/home/pi/Desktop/images/05012025/15/41/image_05012025_15_41_02_349321_0000.jpg', '/home/pi/Desktop/images/05012025/15/41/image_05012025_15_41_02_349321_0001.jpg', '/home/pi/Desktop/images/05012025/15/41/image_05012025_15_41_02_349321_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/15/40/image_05012025_15_40_02_224773_0003.jpg
/home/pi/Desktop/images/05012025/15/41/image_05012025_15_41_02_349321_0000.jpg
/home/pi/Desktop/images/05012025/15/41/image_05012025_15_41_02_349321_0001.jpg
/home/pi/Desktop/images/05012025/15/41/image_05012025_15_41_02_349321_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882707","1326882709","1326882705","1326882704"],"photo_ids_order":["1326882704","1326882705","1326882707","1326882709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8dca9cd46d0a0597bb59695ac9527211.jpg","text":"TemporaryFile(/tmp/multipartBody4863821438986583508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088152738,"filename":"image_05012025_15_41_02_349321_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/67d262cd9bf2ea63de984c5a4af326b9.jpg","text":"TemporaryFile(/tmp/multipartBody4991234262705861546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088152738,"filename":"image_05012025_15_41_02_349321_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f57a995cec5fdb89e4d9d84e0a543cd.jpg","text":"TemporaryFile(/tmp/multipartBody4969453919007205122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088152738,"filename":"image_05012025_15_41_02_349321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/38cd79497c5c7a80b4b63523fb0e5767.jpg","text":"TemporaryFile(/tmp/multipartBody9023486158278971404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088152738,"filename":"image_05012025_15_40_02_224773_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882707","file1":"1326882705","file0":"1326882704","file3":"1326882709"},"map_files_photo_id_array":[{"photo_id":"1326882707","filename":"file2"},{"photo_id":"1326882705","filename":"file1"},{"photo_id":"1326882704","filename":"file0"},{"photo_id":"1326882709","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882707":["hashtag1","hashtag2"]},{"1326882709":["hashtag1","hashtag2"]},{"1326882705":["hashtag1","hashtag2"]},{"1326882704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882707, 1326882709, 1326882705, 1326882704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.20754051208496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:42:22.469103
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/41/image_05012025_15_41_02_349321_0003.jpg', '/home/pi/Desktop/images/05012025/15/42/image_05012025_15_42_02_602887_0000.jpg', '/home/pi/Desktop/images/05012025/15/42/image_05012025_15_42_02_602887_0001.jpg', '/home/pi/Desktop/images/05012025/15/42/image_05012025_15_42_02_602887_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/15/41/image_05012025_15_41_02_349321_0003.jpg
/home/pi/Desktop/images/05012025/15/42/image_05012025_15_42_02_602887_0000.jpg
/home/pi/Desktop/images/05012025/15/42/image_05012025_15_42_02_602887_0001.jpg
/home/pi/Desktop/images/05012025/15/42/image_05012025_15_42_02_602887_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882716","1326882721","1326882717","1326882719"],"photo_ids_order":["1326882716","1326882717","1326882719","1326882721"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/67003ebaf288ea31d136902aa3c19eaa.jpg","text":"TemporaryFile(/tmp/multipartBody2796789683558428916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088212755,"filename":"image_05012025_15_41_02_349321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2fdb99347fd8c19bdf8e3ca2bbbe88a0.jpg","text":"TemporaryFile(/tmp/multipartBody3473642447993050409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088212755,"filename":"image_05012025_15_42_02_602887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/22910426ef1a82dc54a70aaa58dd0362.jpg","text":"TemporaryFile(/tmp/multipartBody6296767993480220750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088212755,"filename":"image_05012025_15_42_02_602887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1ec1e3fab39dbfdf547baecda9edb262.jpg","text":"TemporaryFile(/tmp/multipartBody2393794366025384571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088212755,"filename":"image_05012025_15_42_02_602887_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882719","file1":"1326882717","file0":"1326882716","file3":"1326882721"},"map_files_photo_id_array":[{"photo_id":"1326882719","filename":"file2"},{"photo_id":"1326882717","filename":"file1"},{"photo_id":"1326882716","filename":"file0"},{"photo_id":"1326882721","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882716":["hashtag1","hashtag2"]},{"1326882721":["hashtag1","hashtag2"]},{"1326882717":["hashtag1","hashtag2"]},{"1326882719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882716, 1326882721, 1326882717, 1326882719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.606287479400635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:43:22.763429
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/42/image_05012025_15_42_02_602887_0003.jpg', '/home/pi/Desktop/images/05012025/15/43/image_05012025_15_43_02_768616_0000.jpg', '/home/pi/Desktop/images/05012025/15/43/image_05012025_15_43_02_768616_0001.jpg', '/home/pi/Desktop/images/05012025/15/43/image_05012025_15_43_02_768616_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/15/42/image_05012025_15_42_02_602887_0003.jpg
/home/pi/Desktop/images/05012025/15/43/image_05012025_15_43_02_768616_0000.jpg
/home/pi/Desktop/images/05012025/15/43/image_05012025_15_43_02_768616_0001.jpg
/home/pi/Desktop/images/05012025/15/43/image_05012025_15_43_02_768616_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882734","1326882733","1326882739","1326882731"],"photo_ids_order":["1326882731","1326882733","1326882734","1326882739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f06dc2eabd6097448217f0123b1dffb.jpg","text":"TemporaryFile(/tmp/multipartBody1955446174523575284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088273173,"filename":"image_05012025_15_43_02_768616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3ff97ec0dc938ea777f47ba88753bc11.jpg","text":"TemporaryFile(/tmp/multipartBody2659334970801693316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088273173,"filename":"image_05012025_15_43_02_768616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/072cd5948a9f20e43ad38ff4623be0b0.jpg","text":"TemporaryFile(/tmp/multipartBody8058721980013661362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088273173,"filename":"image_05012025_15_43_02_768616_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/644b1e3616131cd2c7b622690203ffce.jpg","text":"TemporaryFile(/tmp/multipartBody1642821419560982553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088273173,"filename":"image_05012025_15_42_02_602887_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882734","file1":"1326882733","file0":"1326882731","file3":"1326882739"},"map_files_photo_id_array":[{"photo_id":"1326882734","filename":"file2"},{"photo_id":"1326882733","filename":"file1"},{"photo_id":"1326882731","filename":"file0"},{"photo_id":"1326882739","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882734":["hashtag1","hashtag2"]},{"1326882733":["hashtag1","hashtag2"]},{"1326882739":["hashtag1","hashtag2"]},{"1326882731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882734, 1326882733, 1326882739, 1326882731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.99230599403381 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:44:21.858155
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/43/image_05012025_15_43_02_768616_0003.jpg', '/home/pi/Desktop/images/05012025/15/44/image_05012025_15_44_02_980296_0000.jpg', '/home/pi/Desktop/images/05012025/15/44/image_05012025_15_44_02_980296_0001.jpg', '/home/pi/Desktop/images/05012025/15/44/image_05012025_15_44_02_980296_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/15/43/image_05012025_15_43_02_768616_0003.jpg
/home/pi/Desktop/images/05012025/15/44/image_05012025_15_44_02_980296_0000.jpg
/home/pi/Desktop/images/05012025/15/44/image_05012025_15_44_02_980296_0001.jpg
/home/pi/Desktop/images/05012025/15/44/image_05012025_15_44_02_980296_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882784","1326882789","1326882786","1326882776"],"photo_ids_order":["1326882776","1326882784","1326882786","1326882789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8729abd1369e97339dffab23fc18e1a3.jpg","text":"TemporaryFile(/tmp/multipartBody5328774892777148652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088332294,"filename":"image_05012025_15_44_02_980296_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f62561f1b17eb991d09887ccc19fb77f.jpg","text":"TemporaryFile(/tmp/multipartBody3761297853061515753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088332294,"filename":"image_05012025_15_44_02_980296_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/643ee2f119aa4ff2496483d91fc87e35.jpg","text":"TemporaryFile(/tmp/multipartBody1544782022590410466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088332294,"filename":"image_05012025_15_44_02_980296_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a9e001591c24a0c15a644b3e4b0e0132.jpg","text":"TemporaryFile(/tmp/multipartBody1645521656128132313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088332294,"filename":"image_05012025_15_43_02_768616_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882786","file1":"1326882784","file0":"1326882776","file3":"1326882789"},"map_files_photo_id_array":[{"photo_id":"1326882786","filename":"file2"},{"photo_id":"1326882784","filename":"file1"},{"photo_id":"1326882776","filename":"file0"},{"photo_id":"1326882789","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882784":["hashtag1","hashtag2"]},{"1326882789":["hashtag1","hashtag2"]},{"1326882786":["hashtag1","hashtag2"]},{"1326882776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882784, 1326882789, 1326882786, 1326882776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.92272424697876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 15:45:02.652103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:45:22.113374
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/44/image_05012025_15_44_02_980296_0003.jpg', '/home/pi/Desktop/images/05012025/15/45/image_05012025_15_45_02_282482_0000.jpg', '/home/pi/Desktop/images/05012025/15/45/image_05012025_15_45_02_282482_0001.jpg', '/home/pi/Desktop/images/05012025/15/45/image_05012025_15_45_02_282482_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/15/44/image_05012025_15_44_02_980296_0003.jpg
/home/pi/Desktop/images/05012025/15/45/image_05012025_15_45_02_282482_0000.jpg
/home/pi/Desktop/images/05012025/15/45/image_05012025_15_45_02_282482_0001.jpg
/home/pi/Desktop/images/05012025/15/45/image_05012025_15_45_02_282482_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882809","1326882802","1326882807","1326882804"],"photo_ids_order":["1326882802","1326882804","1326882807","1326882809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c026cd518fb433c7a8a662f013bdde02.jpg","text":"TemporaryFile(/tmp/multipartBody4362975631115876968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088392540,"filename":"image_05012025_15_45_02_282482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fa2d707789880d19bdfca16c6d361e9e.jpg","text":"TemporaryFile(/tmp/multipartBody776835304986298227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088392540,"filename":"image_05012025_15_44_02_980296_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8209232b7a0787b3165adabab3b62def.jpg","text":"TemporaryFile(/tmp/multipartBody8293466280386151803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088392540,"filename":"image_05012025_15_45_02_282482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2db97fe3c16f36a22058b046d4812de0.jpg","text":"TemporaryFile(/tmp/multipartBody1762975780950036454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088392540,"filename":"image_05012025_15_45_02_282482_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882807","file1":"1326882804","file0":"1326882802","file3":"1326882809"},"map_files_photo_id_array":[{"photo_id":"1326882807","filename":"file2"},{"photo_id":"1326882804","filename":"file1"},{"photo_id":"1326882802","filename":"file0"},{"photo_id":"1326882809","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882809":["hashtag1","hashtag2"]},{"1326882802":["hashtag1","hashtag2"]},{"1326882807":["hashtag1","hashtag2"]},{"1326882804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882809, 1326882802, 1326882807, 1326882804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.62353801727295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:46:22.264264
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/45/image_05012025_15_45_02_282482_0003.jpg', '/home/pi/Desktop/images/05012025/15/46/image_05012025_15_46_02_401987_0000.jpg', '/home/pi/Desktop/images/05012025/15/46/image_05012025_15_46_02_401987_0001.jpg', '/home/pi/Desktop/images/05012025/15/46/image_05012025_15_46_02_401987_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/15/45/image_05012025_15_45_02_282482_0003.jpg
/home/pi/Desktop/images/05012025/15/46/image_05012025_15_46_02_401987_0000.jpg
/home/pi/Desktop/images/05012025/15/46/image_05012025_15_46_02_401987_0001.jpg
/home/pi/Desktop/images/05012025/15/46/image_05012025_15_46_02_401987_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882820","1326882822","1326882816","1326882824"],"photo_ids_order":["1326882816","1326882820","1326882822","1326882824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cb68c0c6c8dff11cef618952af5faa4c.jpg","text":"TemporaryFile(/tmp/multipartBody770954292904752791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088452565,"filename":"image_05012025_15_46_02_401987_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c1f8d63be1be7496bf84693415645e7c.jpg","text":"TemporaryFile(/tmp/multipartBody5266648584054524378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088452565,"filename":"image_05012025_15_46_02_401987_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/632d9ab641af52d88d2701d5cff5bef8.jpg","text":"TemporaryFile(/tmp/multipartBody7087355883587840485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088452565,"filename":"image_05012025_15_45_02_282482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a24926c0ef6ac1bd6a2ceb50e997759e.jpg","text":"TemporaryFile(/tmp/multipartBody7058413399397032297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088452565,"filename":"image_05012025_15_46_02_401987_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882822","file1":"1326882820","file0":"1326882816","file3":"1326882824"},"map_files_photo_id_array":[{"photo_id":"1326882822","filename":"file2"},{"photo_id":"1326882820","filename":"file1"},{"photo_id":"1326882816","filename":"file0"},{"photo_id":"1326882824","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882820":["hashtag1","hashtag2"]},{"1326882822":["hashtag1","hashtag2"]},{"1326882816":["hashtag1","hashtag2"]},{"1326882824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882820, 1326882822, 1326882816, 1326882824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.11735153198242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:47:22.442276
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/46/image_05012025_15_46_02_401987_0003.jpg', '/home/pi/Desktop/images/05012025/15/47/image_05012025_15_47_02_585696_0000.jpg', '/home/pi/Desktop/images/05012025/15/47/image_05012025_15_47_02_585696_0001.jpg', '/home/pi/Desktop/images/05012025/15/47/image_05012025_15_47_02_585696_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/15/46/image_05012025_15_46_02_401987_0003.jpg
/home/pi/Desktop/images/05012025/15/47/image_05012025_15_47_02_585696_0000.jpg
/home/pi/Desktop/images/05012025/15/47/image_05012025_15_47_02_585696_0001.jpg
/home/pi/Desktop/images/05012025/15/47/image_05012025_15_47_02_585696_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882835","1326882838","1326882837","1326882836"],"photo_ids_order":["1326882835","1326882836","1326882837","1326882838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/60f76bcceba6331748f3bad8cc69ccdc.jpg","text":"TemporaryFile(/tmp/multipartBody8560994466791716274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088512825,"filename":"image_05012025_15_46_02_401987_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fbed02144705573d15d1a38e60a10903.jpg","text":"TemporaryFile(/tmp/multipartBody8225229944294034899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088512825,"filename":"image_05012025_15_47_02_585696_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f44de9fb8cd5f17c4629365c54672473.jpg","text":"TemporaryFile(/tmp/multipartBody1236977317674251227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088512825,"filename":"image_05012025_15_47_02_585696_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6c9396ff462a77d69e4aaccba405ef4d.jpg","text":"TemporaryFile(/tmp/multipartBody9090583351765241263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088512825,"filename":"image_05012025_15_47_02_585696_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882837","file1":"1326882836","file0":"1326882835","file3":"1326882838"},"map_files_photo_id_array":[{"photo_id":"1326882837","filename":"file2"},{"photo_id":"1326882836","filename":"file1"},{"photo_id":"1326882835","filename":"file0"},{"photo_id":"1326882838","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882835":["hashtag1","hashtag2"]},{"1326882838":["hashtag1","hashtag2"]},{"1326882837":["hashtag1","hashtag2"]},{"1326882836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882835, 1326882838, 1326882837, 1326882836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.61699962615967 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:48:22.697361
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/47/image_05012025_15_47_02_585696_0003.jpg', '/home/pi/Desktop/images/05012025/15/48/image_05012025_15_48_02_800677_0000.jpg', '/home/pi/Desktop/images/05012025/15/48/image_05012025_15_48_02_800677_0001.jpg', '/home/pi/Desktop/images/05012025/15/48/image_05012025_15_48_02_800677_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/15/47/image_05012025_15_47_02_585696_0003.jpg
/home/pi/Desktop/images/05012025/15/48/image_05012025_15_48_02_800677_0000.jpg
/home/pi/Desktop/images/05012025/15/48/image_05012025_15_48_02_800677_0001.jpg
/home/pi/Desktop/images/05012025/15/48/image_05012025_15_48_02_800677_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.978920221328735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 15:48:42.652682
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/47/image_05012025_15_47_02_585696_0003.jpg', '/home/pi/Desktop/images/05012025/15/48/image_05012025_15_48_02_800677_0000.jpg', '/home/pi/Desktop/images/05012025/15/48/image_05012025_15_48_02_800677_0001.jpg', '/home/pi/Desktop/images/05012025/15/48/image_05012025_15_48_02_800677_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/15/47/image_05012025_15_47_02_585696_0003.jpg
/home/pi/Desktop/images/05012025/15/48/image_05012025_15_48_02_800677_0000.jpg
/home/pi/Desktop/images/05012025/15/48/image_05012025_15_48_02_800677_0001.jpg
/home/pi/Desktop/images/05012025/15/48/image_05012025_15_48_02_800677_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882850","1326882852","1326882854","1326882851"],"photo_ids_order":["1326882850","1326882851","1326882852","1326882854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/563a11e93d0f640ad14643fb2ac6bb46.jpg","text":"TemporaryFile(/tmp/multipartBody5393870322380868688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088593045,"filename":"image_05012025_15_47_02_585696_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/801b0ef803afe2035e63869819b9a949.jpg","text":"TemporaryFile(/tmp/multipartBody8539796168290223999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088593045,"filename":"image_05012025_15_48_02_800677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/243422d83f0c35ecd6d85a2470aa5787.jpg","text":"TemporaryFile(/tmp/multipartBody3257337841589339268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088593045,"filename":"image_05012025_15_48_02_800677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f53aa845bcf9e13652ad61462cc2f816.jpg","text":"TemporaryFile(/tmp/multipartBody7059392698340873830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088593045,"filename":"image_05012025_15_48_02_800677_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882852","file1":"1326882851","file0":"1326882850","file3":"1326882854"},"map_files_photo_id_array":[{"photo_id":"1326882852","filename":"file2"},{"photo_id":"1326882851","filename":"file1"},{"photo_id":"1326882850","filename":"file0"},{"photo_id":"1326882854","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882850":["hashtag1","hashtag2"]},{"1326882852":["hashtag1","hashtag2"]},{"1326882854":["hashtag1","hashtag2"]},{"1326882851":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882850, 1326882852, 1326882854, 1326882851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.73478651046753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 15:49:31.969106
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/48/image_05012025_15_48_02_800677_0003.jpg', '/home/pi/Desktop/images/05012025/15/49/image_05012025_15_49_03_061192_0000.jpg', '/home/pi/Desktop/images/05012025/15/49/image_05012025_15_49_03_061192_0001.jpg', '/home/pi/Desktop/images/05012025/15/49/image_05012025_15_49_03_061192_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/15/48/image_05012025_15_48_02_800677_0003.jpg
/home/pi/Desktop/images/05012025/15/49/image_05012025_15_49_03_061192_0000.jpg
/home/pi/Desktop/images/05012025/15/49/image_05012025_15_49_03_061192_0001.jpg
/home/pi/Desktop/images/05012025/15/49/image_05012025_15_49_03_061192_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882865","1326882864","1326882866","1326882863"],"photo_ids_order":["1326882863","1326882864","1326882865","1326882866"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f83d5c17c6b6bd5e58b8467a921d485e.jpg","text":"TemporaryFile(/tmp/multipartBody8256783503863469274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088641948,"filename":"image_05012025_15_49_03_061192_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d0da072174a4f59bdf678e9c2988ebe4.jpg","text":"TemporaryFile(/tmp/multipartBody850397536635262999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088641948,"filename":"image_05012025_15_49_03_061192_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/482bf1ef0ffb85a45e72dc94e382dcc9.jpg","text":"TemporaryFile(/tmp/multipartBody812094948308898051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088641948,"filename":"image_05012025_15_49_03_061192_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/af7d9c03c5a6d62eb74fb63b645adfa1.jpg","text":"TemporaryFile(/tmp/multipartBody9173075814977553224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088641948,"filename":"image_05012025_15_48_02_800677_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882865","file1":"1326882864","file0":"1326882863","file3":"1326882866"},"map_files_photo_id_array":[{"photo_id":"1326882865","filename":"file2"},{"photo_id":"1326882864","filename":"file1"},{"photo_id":"1326882863","filename":"file0"},{"photo_id":"1326882866","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882865":["hashtag1","hashtag2"]},{"1326882864":["hashtag1","hashtag2"]},{"1326882866":["hashtag1","hashtag2"]},{"1326882863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882865, 1326882864, 1326882866, 1326882863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.21518516540527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:50:22.146648
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/49/image_05012025_15_49_03_061192_0003.jpg', '/home/pi/Desktop/images/05012025/15/50/image_05012025_15_50_02_347143_0000.jpg', '/home/pi/Desktop/images/05012025/15/50/image_05012025_15_50_02_347143_0001.jpg', '/home/pi/Desktop/images/05012025/15/50/image_05012025_15_50_02_347143_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/15/49/image_05012025_15_49_03_061192_0003.jpg
/home/pi/Desktop/images/05012025/15/50/image_05012025_15_50_02_347143_0000.jpg
/home/pi/Desktop/images/05012025/15/50/image_05012025_15_50_02_347143_0001.jpg
/home/pi/Desktop/images/05012025/15/50/image_05012025_15_50_02_347143_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882874","1326882872","1326882875","1326882878"],"photo_ids_order":["1326882872","1326882874","1326882875","1326882878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b95f930331cbf70f2bca9c66103a94b6.jpg","text":"TemporaryFile(/tmp/multipartBody4310605758335992373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088691981,"filename":"image_05012025_15_50_02_347143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/12aa68c38042c97336203566306dd95d.jpg","text":"TemporaryFile(/tmp/multipartBody821153786882936197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088691981,"filename":"image_05012025_15_49_03_061192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c45930394420086fc5cf7b9e57734c30.jpg","text":"TemporaryFile(/tmp/multipartBody8407954788501820524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088691981,"filename":"image_05012025_15_50_02_347143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b63ab59dc975d8a8060f70282d77e83c.jpg","text":"TemporaryFile(/tmp/multipartBody2411420569599942106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088691981,"filename":"image_05012025_15_50_02_347143_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882875","file1":"1326882874","file0":"1326882872","file3":"1326882878"},"map_files_photo_id_array":[{"photo_id":"1326882875","filename":"file2"},{"photo_id":"1326882874","filename":"file1"},{"photo_id":"1326882872","filename":"file0"},{"photo_id":"1326882878","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882874":["hashtag1","hashtag2"]},{"1326882872":["hashtag1","hashtag2"]},{"1326882875":["hashtag1","hashtag2"]},{"1326882878":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882874, 1326882872, 1326882875, 1326882878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.29700589179993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 15:51:02.928484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:51:22.325145
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/50/image_05012025_15_50_02_347143_0003.jpg', '/home/pi/Desktop/images/05012025/15/51/image_05012025_15_51_02_565507_0000.jpg', '/home/pi/Desktop/images/05012025/15/51/image_05012025_15_51_02_565507_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/15/50/image_05012025_15_50_02_347143_0003.jpg
/home/pi/Desktop/images/05012025/15/51/image_05012025_15_51_02_565507_0000.jpg
/home/pi/Desktop/images/05012025/15/51/image_05012025_15_51_02_565507_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.118805646896362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 15:51:32.329438
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/50/image_05012025_15_50_02_347143_0003.jpg', '/home/pi/Desktop/images/05012025/15/51/image_05012025_15_51_02_565507_0000.jpg', '/home/pi/Desktop/images/05012025/15/51/image_05012025_15_51_02_565507_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/15/50/image_05012025_15_50_02_347143_0003.jpg
/home/pi/Desktop/images/05012025/15/51/image_05012025_15_51_02_565507_0000.jpg
/home/pi/Desktop/images/05012025/15/51/image_05012025_15_51_02_565507_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":["1326882886","1326882888","1326882890"],"photo_ids_order":["1326882886","1326882888","1326882890"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a3afb458067c7c30e7829d8e8f8c697b.jpg","text":"TemporaryFile(/tmp/multipartBody3446655674344032288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088759907,"filename":"image_05012025_15_50_02_347143_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/008f0298a766b666366bdd10c1d667c0.jpg","text":"TemporaryFile(/tmp/multipartBody669553382971000876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088759907,"filename":"image_05012025_15_51_02_565507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/537b7091fce13ab2b1a1243bd32ab5e7.jpg","text":"TemporaryFile(/tmp/multipartBody6644169132280482355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088759907,"filename":"image_05012025_15_51_02_565507_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882890","file1":"1326882888","file0":"1326882886"},"map_files_photo_id_array":[{"photo_id":"1326882890","filename":"file2"},{"photo_id":"1326882888","filename":"file1"},{"photo_id":"1326882886","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882886":["hashtag1","hashtag2"]},{"1326882888":["hashtag1","hashtag2"]},{"1326882890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882886, 1326882888, 1326882890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.51344656944275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:52:22.529987
SELECT 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/15/51/image_05012025_15_51_02_565507_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/15/51/image_05012025_15_51_02_565507_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882896"],"photo_id":"1326882896","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/58746d63916b08e61c5d8e3588a64266.jpg","text":"TemporaryFile(/tmp/multipartBody3374107334243741424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088805487,"filename":"image_05012025_15_51_02_565507_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1326882896"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1326882896"}],"hashtags":[],"portfolio_id":"19417920","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.95931339263916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 15:52:42.528735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 15:52:52.588165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 15:53:03.343657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:53:22.870471
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/52/image_05012025_15_52_02_796857_0002.jpg', '/home/pi/Desktop/images/05012025/15/53/image_05012025_15_53_02_933502_0000.jpg', '/home/pi/Desktop/images/05012025/15/53/image_05012025_15_53_02_933502_0001.jpg', '/home/pi/Desktop/images/05012025/15/53/image_05012025_15_53_02_933502_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/15/52/image_05012025_15_52_02_796857_0002.jpg
/home/pi/Desktop/images/05012025/15/53/image_05012025_15_53_02_933502_0000.jpg
/home/pi/Desktop/images/05012025/15/53/image_05012025_15_53_02_933502_0001.jpg
/home/pi/Desktop/images/05012025/15/53/image_05012025_15_53_02_933502_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882913","1326882916","1326882915","1326882917"],"photo_ids_order":["1326882913","1326882915","1326882916","1326882917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/602bc29bdffc8d9037ea4624419a93e1.jpg","text":"TemporaryFile(/tmp/multipartBody1710050147714131846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088872711,"filename":"image_05012025_15_52_02_796857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c9fb368ab47cf3dd18ccb65cb521f886.jpg","text":"TemporaryFile(/tmp/multipartBody4938600574422774107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088872711,"filename":"image_05012025_15_53_02_933502_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8bb1f97c89d1f30fb031c3b660e1baf1.jpg","text":"TemporaryFile(/tmp/multipartBody3786348054116809689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088872711,"filename":"image_05012025_15_53_02_933502_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f51e05fb3e3d3f5e13741d4bdc83c7f1.jpg","text":"TemporaryFile(/tmp/multipartBody5909149210405706879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088872711,"filename":"image_05012025_15_53_02_933502_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882916","file1":"1326882915","file0":"1326882913","file3":"1326882917"},"map_files_photo_id_array":[{"photo_id":"1326882916","filename":"file2"},{"photo_id":"1326882915","filename":"file1"},{"photo_id":"1326882913","filename":"file0"},{"photo_id":"1326882917","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882913":["hashtag1","hashtag2"]},{"1326882916":["hashtag1","hashtag2"]},{"1326882915":["hashtag1","hashtag2"]},{"1326882917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882913, 1326882916, 1326882915, 1326882917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.969170570373535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 15:54:02.237344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:54:21.900913
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/53/image_05012025_15_53_02_933502_0003.jpg', '/home/pi/Desktop/images/05012025/15/54/image_05012025_15_54_03_124083_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/15/53/image_05012025_15_53_02_933502_0003.jpg
/home/pi/Desktop/images/05012025/15/54/image_05012025_15_54_03_124083_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.829256772994995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 15:54:31.910478
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/53/image_05012025_15_53_02_933502_0003.jpg', '/home/pi/Desktop/images/05012025/15/54/image_05012025_15_54_03_124083_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/15/53/image_05012025_15_53_02_933502_0003.jpg
/home/pi/Desktop/images/05012025/15/54/image_05012025_15_54_03_124083_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":["1326882926","1326882925"],"photo_ids_order":["1326882925","1326882926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e98b493aa1870b03b74203a05bb747e9.jpg","text":"TemporaryFile(/tmp/multipartBody3023933700257701132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088937163,"filename":"image_05012025_15_54_03_124083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6987609a505dd78850a9933997725e1b.jpg","text":"TemporaryFile(/tmp/multipartBody4375444367879214282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088937163,"filename":"image_05012025_15_53_02_933502_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326882926","file0":"1326882925"},"map_files_photo_id_array":[{"photo_id":"1326882926","filename":"file1"},{"photo_id":"1326882925","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882926":["hashtag1","hashtag2"]},{"1326882925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882926, 1326882925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.574336528778076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 15:55:02.574346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:55:22.074769
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/54/image_05012025_15_54_03_124083_0002.jpg', '/home/pi/Desktop/images/05012025/15/55/image_05012025_15_55_02_289711_0000.jpg', '/home/pi/Desktop/images/05012025/15/55/image_05012025_15_55_02_289711_0001.jpg', '/home/pi/Desktop/images/05012025/15/55/image_05012025_15_55_02_289711_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/15/54/image_05012025_15_54_03_124083_0002.jpg
/home/pi/Desktop/images/05012025/15/55/image_05012025_15_55_02_289711_0000.jpg
/home/pi/Desktop/images/05012025/15/55/image_05012025_15_55_02_289711_0001.jpg
/home/pi/Desktop/images/05012025/15/55/image_05012025_15_55_02_289711_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882946","1326882948","1326882947","1326882944"],"photo_ids_order":["1326882944","1326882946","1326882947","1326882948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dcba336255bca6ea3657393962dd8afb.jpg","text":"TemporaryFile(/tmp/multipartBody6742638505292309201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088991900,"filename":"image_05012025_15_55_02_289711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1070eeb2825218ed7436b807aaf08644.jpg","text":"TemporaryFile(/tmp/multipartBody8059281880174055751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088991900,"filename":"image_05012025_15_55_02_289711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/69c9a28042c7efe90a1313cf6be41b3e.jpg","text":"TemporaryFile(/tmp/multipartBody5263422672516172678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088991900,"filename":"image_05012025_15_55_02_289711_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d8b79b0affe9493d14ffdf8f74954f7a.jpg","text":"TemporaryFile(/tmp/multipartBody7769751393443435688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736088991900,"filename":"image_05012025_15_54_03_124083_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882947","file1":"1326882946","file0":"1326882944","file3":"1326882948"},"map_files_photo_id_array":[{"photo_id":"1326882947","filename":"file2"},{"photo_id":"1326882946","filename":"file1"},{"photo_id":"1326882944","filename":"file0"},{"photo_id":"1326882948","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882946":["hashtag1","hashtag2"]},{"1326882948":["hashtag1","hashtag2"]},{"1326882947":["hashtag1","hashtag2"]},{"1326882944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882946, 1326882948, 1326882947, 1326882944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.35347294807434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:56:22.249958
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/55/image_05012025_15_55_02_289711_0003.jpg', '/home/pi/Desktop/images/05012025/15/56/image_05012025_15_56_02_498111_0000.jpg', '/home/pi/Desktop/images/05012025/15/56/image_05012025_15_56_02_498111_0001.jpg', '/home/pi/Desktop/images/05012025/15/56/image_05012025_15_56_02_498111_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/15/55/image_05012025_15_55_02_289711_0003.jpg
/home/pi/Desktop/images/05012025/15/56/image_05012025_15_56_02_498111_0000.jpg
/home/pi/Desktop/images/05012025/15/56/image_05012025_15_56_02_498111_0001.jpg
/home/pi/Desktop/images/05012025/15/56/image_05012025_15_56_02_498111_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326882955","1326882954","1326882957","1326883034"],"photo_ids_order":["1326882954","1326882955","1326882957","1326883034"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3eb35488b26866cefda2875644976024.jpg","text":"TemporaryFile(/tmp/multipartBody2507707761561808946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089052476,"filename":"image_05012025_15_56_02_498111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a72b04fcd349e723e24675fc14889490.jpg","text":"TemporaryFile(/tmp/multipartBody8897613681318192809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089052476,"filename":"image_05012025_15_55_02_289711_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c8a14f6b8c9059ab1ddec7c3a0673c0e.jpg","text":"TemporaryFile(/tmp/multipartBody2980673098417286706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089052476,"filename":"image_05012025_15_56_02_498111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/03a399d5f23c4431014fa03ddd8eefd4.jpg","text":"TemporaryFile(/tmp/multipartBody8418332374402138184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089052476,"filename":"image_05012025_15_56_02_498111_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326882957","file1":"1326882955","file0":"1326882954","file3":"1326883034"},"map_files_photo_id_array":[{"photo_id":"1326882957","filename":"file2"},{"photo_id":"1326882955","filename":"file1"},{"photo_id":"1326882954","filename":"file0"},{"photo_id":"1326883034","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326882955":["hashtag1","hashtag2"]},{"1326882954":["hashtag1","hashtag2"]},{"1326882957":["hashtag1","hashtag2"]},{"1326883034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326882955, 1326882954, 1326882957, 1326883034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62506723403931 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 15:57:02.966941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:57:22.460872
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/56/image_05012025_15_56_02_498111_0003.jpg', '/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_0000.jpg', '/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_0001.jpg', '/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_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/15/56/image_05012025_15_56_02_498111_0003.jpg
/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_0000.jpg
/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_0001.jpg
/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_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-05 15:59:03.206090
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/15/56/image_05012025_15_56_02_498111_0003.jpg', '/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_0000.jpg', '/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_0001.jpg', '/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_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/15/56/image_05012025_15_56_02_498111_0003.jpg
/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_0000.jpg
/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_0001.jpg
/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_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.041018962860107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 15:59:22.856216
SELECT 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/15/56/image_05012025_15_56_02_498111_0003.jpg', '/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_0000.jpg', '/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_0001.jpg', '/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_0002.jpg', '/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_0003.jpg', '/home/pi/Desktop/images/05012025/15/58/image_05012025_15_58_02_796746_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/15/56/image_05012025_15_56_02_498111_0003.jpg
/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_0000.jpg
/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_0001.jpg
/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_0002.jpg
/home/pi/Desktop/images/05012025/15/57/image_05012025_15_57_02_551891_0003.jpg
/home/pi/Desktop/images/05012025/15/58/image_05012025_15_58_02_796746_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":["1326884034","1326884042","1326884039","1326884048","1326884044","1326884038"],"photo_ids_order":["1326884034","1326884038","1326884039","1326884042","1326884044","1326884048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11ad8db9182b7aa8f843cf86804c6853.jpg","text":"TemporaryFile(/tmp/multipartBody6578730781963100783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089238114,"filename":"image_05012025_15_56_02_498111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2d29b3f1ec12dfd3c42200d5a95b91c8.jpg","text":"TemporaryFile(/tmp/multipartBody9219636957425736057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089238114,"filename":"image_05012025_15_57_02_551891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f6a9aca98fd02c5ad4e36d07bcb0c06.jpg","text":"TemporaryFile(/tmp/multipartBody8592218317529583971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089238114,"filename":"image_05012025_15_57_02_551891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0f8c58e9dd681ad05fc7073f252fcf37.jpg","text":"TemporaryFile(/tmp/multipartBody5856842813582771344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089238114,"filename":"image_05012025_15_58_02_796746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0a9991e2dee326ae015d11e4f2274b18.jpg","text":"TemporaryFile(/tmp/multipartBody183374541067223529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089238114,"filename":"image_05012025_15_57_02_551891_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3e8d2a7b8db30def315b522accf08791.jpg","text":"TemporaryFile(/tmp/multipartBody1424015197936166388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089238114,"filename":"image_05012025_15_57_02_551891_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884039","file1":"1326884038","file0":"1326884034","file4":"1326884044","file5":"1326884048","file3":"1326884042"},"map_files_photo_id_array":[{"photo_id":"1326884048","filename":"file5"},{"photo_id":"1326884039","filename":"file2"},{"photo_id":"1326884044","filename":"file4"},{"photo_id":"1326884038","filename":"file1"},{"photo_id":"1326884034","filename":"file0"},{"photo_id":"1326884042","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884034":["hashtag1","hashtag2"]},{"1326884042":["hashtag1","hashtag2"]},{"1326884039":["hashtag1","hashtag2"]},{"1326884048":["hashtag1","hashtag2"]},{"1326884044":["hashtag1","hashtag2"]},{"1326884038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884034, 1326884042, 1326884039, 1326884048, 1326884044, 1326884038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.6477632522583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:00:21.975441
SELECT 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/15/58/image_05012025_15_58_02_796746_0001.jpg', '/home/pi/Desktop/images/05012025/15/58/image_05012025_15_58_02_796746_0002.jpg', '/home/pi/Desktop/images/05012025/15/58/image_05012025_15_58_02_796746_0003.jpg', '/home/pi/Desktop/images/05012025/15/59/image_05012025_15_59_02_913275_0000.jpg', '/home/pi/Desktop/images/05012025/15/59/image_05012025_15_59_02_913275_0001.jpg', '/home/pi/Desktop/images/05012025/15/59/image_05012025_15_59_02_913275_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/15/58/image_05012025_15_58_02_796746_0001.jpg
/home/pi/Desktop/images/05012025/15/58/image_05012025_15_58_02_796746_0002.jpg
/home/pi/Desktop/images/05012025/15/58/image_05012025_15_58_02_796746_0003.jpg
/home/pi/Desktop/images/05012025/15/59/image_05012025_15_59_02_913275_0000.jpg
/home/pi/Desktop/images/05012025/15/59/image_05012025_15_59_02_913275_0001.jpg
/home/pi/Desktop/images/05012025/15/59/image_05012025_15_59_02_913275_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884070","1326884064","1326884073","1326884067","1326884061","1326884071"],"photo_ids_order":["1326884061","1326884064","1326884067","1326884070","1326884071","1326884073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/52fd12b392e86f995f1cd47ca5065ca9.jpg","text":"TemporaryFile(/tmp/multipartBody2284925600834390947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089297218,"filename":"image_05012025_15_59_02_913275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/93bedb431ed28e6050b3f4173186e3b6.jpg","text":"TemporaryFile(/tmp/multipartBody3484667358303185609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089297218,"filename":"image_05012025_15_58_02_796746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/12bae06b57ba5b3e6853078c370deff6.jpg","text":"TemporaryFile(/tmp/multipartBody4092897443980275084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089297218,"filename":"image_05012025_15_59_02_913275_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8ab7af4a229a38515ad3daaeeff04490.jpg","text":"TemporaryFile(/tmp/multipartBody3665861467509339039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089297218,"filename":"image_05012025_15_58_02_796746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e4c0ad822dbdad9c9de654d91de82f2b.jpg","text":"TemporaryFile(/tmp/multipartBody5319407320546555445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089297218,"filename":"image_05012025_15_58_02_796746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2fdda6ca2e6f68d8dd7cf91f330ae829.jpg","text":"TemporaryFile(/tmp/multipartBody5835210094589331622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089297218,"filename":"image_05012025_15_59_02_913275_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884067","file1":"1326884064","file0":"1326884061","file4":"1326884071","file5":"1326884073","file3":"1326884070"},"map_files_photo_id_array":[{"photo_id":"1326884073","filename":"file5"},{"photo_id":"1326884067","filename":"file2"},{"photo_id":"1326884071","filename":"file4"},{"photo_id":"1326884064","filename":"file1"},{"photo_id":"1326884061","filename":"file0"},{"photo_id":"1326884070","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884070":["hashtag1","hashtag2"]},{"1326884064":["hashtag1","hashtag2"]},{"1326884073":["hashtag1","hashtag2"]},{"1326884067":["hashtag1","hashtag2"]},{"1326884061":["hashtag1","hashtag2"]},{"1326884071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884070, 1326884064, 1326884073, 1326884067, 1326884061, 1326884071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.32613205909729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:01:22.050110
SELECT 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/15/59/image_05012025_15_59_02_913275_0003.jpg', '/home/pi/Desktop/images/05012025/16/00/image_05012025_16_00_03_143049_0000.jpg', '/home/pi/Desktop/images/05012025/16/00/image_05012025_16_00_03_143049_0001.jpg', '/home/pi/Desktop/images/05012025/16/00/image_05012025_16_00_03_143049_0002.jpg', '/home/pi/Desktop/images/05012025/16/00/image_05012025_16_00_03_143049_0003.jpg', '/home/pi/Desktop/images/05012025/16/01/image_05012025_16_01_02_322946_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/15/59/image_05012025_15_59_02_913275_0003.jpg
/home/pi/Desktop/images/05012025/16/00/image_05012025_16_00_03_143049_0000.jpg
/home/pi/Desktop/images/05012025/16/00/image_05012025_16_00_03_143049_0001.jpg
/home/pi/Desktop/images/05012025/16/00/image_05012025_16_00_03_143049_0002.jpg
/home/pi/Desktop/images/05012025/16/00/image_05012025_16_00_03_143049_0003.jpg
/home/pi/Desktop/images/05012025/16/01/image_05012025_16_01_02_322946_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":["1326884085","1326884087","1326884092","1326884086","1326884095","1326884089"],"photo_ids_order":["1326884085","1326884086","1326884087","1326884089","1326884092","1326884095"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2d58bd7f3593dbfd058ca61c48b1002c.jpg","text":"TemporaryFile(/tmp/multipartBody5884520451449910038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089357406,"filename":"image_05012025_15_59_02_913275_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f80e41a7c4e2d9e855b3b904333dafe.jpg","text":"TemporaryFile(/tmp/multipartBody7829005690508412751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089357406,"filename":"image_05012025_16_00_03_143049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b671a28ed8fa8d0ef24c49cd68fca9ea.jpg","text":"TemporaryFile(/tmp/multipartBody6241119570723999091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089357406,"filename":"image_05012025_16_00_03_143049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66cc772379b4042d0219cf27883fe1fb.jpg","text":"TemporaryFile(/tmp/multipartBody4818550687960258301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089357406,"filename":"image_05012025_16_00_03_143049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c2560fb43e38adfe769cd4f26e84d0f.jpg","text":"TemporaryFile(/tmp/multipartBody8375915666205413494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089357406,"filename":"image_05012025_16_01_02_322946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/74a9371e7941c7179a0f8164ff545129.jpg","text":"TemporaryFile(/tmp/multipartBody738051197033356106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089357406,"filename":"image_05012025_16_00_03_143049_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884087","file1":"1326884086","file0":"1326884085","file4":"1326884092","file5":"1326884095","file3":"1326884089"},"map_files_photo_id_array":[{"photo_id":"1326884095","filename":"file5"},{"photo_id":"1326884087","filename":"file2"},{"photo_id":"1326884092","filename":"file4"},{"photo_id":"1326884086","filename":"file1"},{"photo_id":"1326884085","filename":"file0"},{"photo_id":"1326884089","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884085":["hashtag1","hashtag2"]},{"1326884087":["hashtag1","hashtag2"]},{"1326884092":["hashtag1","hashtag2"]},{"1326884086":["hashtag1","hashtag2"]},{"1326884095":["hashtag1","hashtag2"]},{"1326884089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884085, 1326884087, 1326884092, 1326884086, 1326884095, 1326884089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.88761615753174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:02:22.287372
SELECT 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/16/01/image_05012025_16_01_02_322946_0001.jpg', '/home/pi/Desktop/images/05012025/16/01/image_05012025_16_01_02_322946_0002.jpg', '/home/pi/Desktop/images/05012025/16/01/image_05012025_16_01_02_322946_0003.jpg', '/home/pi/Desktop/images/05012025/16/02/image_05012025_16_02_02_389213_0000.jpg', '/home/pi/Desktop/images/05012025/16/02/image_05012025_16_02_02_389213_0001.jpg', '/home/pi/Desktop/images/05012025/16/02/image_05012025_16_02_02_389213_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/16/01/image_05012025_16_01_02_322946_0001.jpg
/home/pi/Desktop/images/05012025/16/01/image_05012025_16_01_02_322946_0002.jpg
/home/pi/Desktop/images/05012025/16/01/image_05012025_16_01_02_322946_0003.jpg
/home/pi/Desktop/images/05012025/16/02/image_05012025_16_02_02_389213_0000.jpg
/home/pi/Desktop/images/05012025/16/02/image_05012025_16_02_02_389213_0001.jpg
/home/pi/Desktop/images/05012025/16/02/image_05012025_16_02_02_389213_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884110","1326884104","1326884113","1326884118","1326884106","1326884116"],"photo_ids_order":["1326884104","1326884106","1326884110","1326884113","1326884116","1326884118"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aff95dbbf34cce60607cae33f2f5203b.jpg","text":"TemporaryFile(/tmp/multipartBody6001305862681930844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089417635,"filename":"image_05012025_16_01_02_322946_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bd447ec9f2a71e7d026b86ac22b3a867.jpg","text":"TemporaryFile(/tmp/multipartBody8633281320474338768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089417635,"filename":"image_05012025_16_01_02_322946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aa59223968d3d632fd64629eed64462a.jpg","text":"TemporaryFile(/tmp/multipartBody1870728447104152321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089417635,"filename":"image_05012025_16_02_02_389213_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c802fe94ac2003d553f3d447a9a15cd4.jpg","text":"TemporaryFile(/tmp/multipartBody1588646123219508987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089417635,"filename":"image_05012025_16_02_02_389213_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4276871ad86ec0e2fe8eca765c5f1e01.jpg","text":"TemporaryFile(/tmp/multipartBody4442700402288073672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089417635,"filename":"image_05012025_16_01_02_322946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f6429677a9e547bb6f8fa797e2a2e964.jpg","text":"TemporaryFile(/tmp/multipartBody6171761418686197847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089417635,"filename":"image_05012025_16_02_02_389213_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884110","file1":"1326884106","file0":"1326884104","file4":"1326884116","file5":"1326884118","file3":"1326884113"},"map_files_photo_id_array":[{"photo_id":"1326884118","filename":"file5"},{"photo_id":"1326884110","filename":"file2"},{"photo_id":"1326884116","filename":"file4"},{"photo_id":"1326884106","filename":"file1"},{"photo_id":"1326884104","filename":"file0"},{"photo_id":"1326884113","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884110":["hashtag1","hashtag2"]},{"1326884104":["hashtag1","hashtag2"]},{"1326884113":["hashtag1","hashtag2"]},{"1326884118":["hashtag1","hashtag2"]},{"1326884106":["hashtag1","hashtag2"]},{"1326884116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884110, 1326884104, 1326884113, 1326884118, 1326884106, 1326884116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.78964877128601 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:03:22.399052
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/02/image_05012025_16_02_02_389213_0003.jpg', '/home/pi/Desktop/images/05012025/16/03/image_05012025_16_03_02_492961_0000.jpg', '/home/pi/Desktop/images/05012025/16/03/image_05012025_16_03_02_492961_0001.jpg', '/home/pi/Desktop/images/05012025/16/03/image_05012025_16_03_02_492961_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/16/02/image_05012025_16_02_02_389213_0003.jpg
/home/pi/Desktop/images/05012025/16/03/image_05012025_16_03_02_492961_0000.jpg
/home/pi/Desktop/images/05012025/16/03/image_05012025_16_03_02_492961_0001.jpg
/home/pi/Desktop/images/05012025/16/03/image_05012025_16_03_02_492961_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884128","1326884130","1326884132","1326884126"],"photo_ids_order":["1326884126","1326884128","1326884130","1326884132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/28b71a5e5afedf34607d0b9641a9e4c6.jpg","text":"TemporaryFile(/tmp/multipartBody6420794762027315990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089472914,"filename":"image_05012025_16_03_02_492961_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2662422ec88d2a436aeb3d24161ae97d.jpg","text":"TemporaryFile(/tmp/multipartBody4847263482179465159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089472914,"filename":"image_05012025_16_03_02_492961_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/67618b9b8b6e5a5060f6043bc1085a4e.jpg","text":"TemporaryFile(/tmp/multipartBody3330539533816846050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089472914,"filename":"image_05012025_16_03_02_492961_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b1e8c6671d2ab0f94b7c2faf1a824eec.jpg","text":"TemporaryFile(/tmp/multipartBody4101660464290899052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089472914,"filename":"image_05012025_16_02_02_389213_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884130","file1":"1326884128","file0":"1326884126","file3":"1326884132"},"map_files_photo_id_array":[{"photo_id":"1326884130","filename":"file2"},{"photo_id":"1326884128","filename":"file1"},{"photo_id":"1326884126","filename":"file0"},{"photo_id":"1326884132","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884128":["hashtag1","hashtag2"]},{"1326884130":["hashtag1","hashtag2"]},{"1326884132":["hashtag1","hashtag2"]},{"1326884126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884128, 1326884130, 1326884132, 1326884126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.850908279418945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:04:22.540935
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/03/image_05012025_16_03_02_492961_0003.jpg', '/home/pi/Desktop/images/05012025/16/04/image_05012025_16_04_02_727739_0000.jpg', '/home/pi/Desktop/images/05012025/16/04/image_05012025_16_04_02_727739_0001.jpg', '/home/pi/Desktop/images/05012025/16/04/image_05012025_16_04_02_727739_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/16/03/image_05012025_16_03_02_492961_0003.jpg
/home/pi/Desktop/images/05012025/16/04/image_05012025_16_04_02_727739_0000.jpg
/home/pi/Desktop/images/05012025/16/04/image_05012025_16_04_02_727739_0001.jpg
/home/pi/Desktop/images/05012025/16/04/image_05012025_16_04_02_727739_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884142","1326884138","1326884140","1326884137"],"photo_ids_order":["1326884137","1326884138","1326884140","1326884142"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6045858ee99756194c5d8366c2c71c19.jpg","text":"TemporaryFile(/tmp/multipartBody7314681771399303746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089533057,"filename":"image_05012025_16_04_02_727739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ec325dbcbb7c359bf66e20fd2aecb423.jpg","text":"TemporaryFile(/tmp/multipartBody2462295815635479985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089533057,"filename":"image_05012025_16_04_02_727739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88adbe67a56447eb0e61c7553e12877f.jpg","text":"TemporaryFile(/tmp/multipartBody3222399165229383704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089533057,"filename":"image_05012025_16_04_02_727739_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/640ee94f33b3cad1a1efc2e27222c832.jpg","text":"TemporaryFile(/tmp/multipartBody3392335437253081605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089533057,"filename":"image_05012025_16_03_02_492961_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884140","file1":"1326884138","file0":"1326884137","file3":"1326884142"},"map_files_photo_id_array":[{"photo_id":"1326884140","filename":"file2"},{"photo_id":"1326884138","filename":"file1"},{"photo_id":"1326884137","filename":"file0"},{"photo_id":"1326884142","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884142":["hashtag1","hashtag2"]},{"1326884138":["hashtag1","hashtag2"]},{"1326884140":["hashtag1","hashtag2"]},{"1326884137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884142, 1326884138, 1326884140, 1326884137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.17466688156128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:05:22.771588
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/04/image_05012025_16_04_02_727739_0003.jpg', '/home/pi/Desktop/images/05012025/16/05/image_05012025_16_05_02_937745_0000.jpg', '/home/pi/Desktop/images/05012025/16/05/image_05012025_16_05_02_937745_0001.jpg', '/home/pi/Desktop/images/05012025/16/05/image_05012025_16_05_02_937745_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/16/04/image_05012025_16_04_02_727739_0003.jpg
/home/pi/Desktop/images/05012025/16/05/image_05012025_16_05_02_937745_0000.jpg
/home/pi/Desktop/images/05012025/16/05/image_05012025_16_05_02_937745_0001.jpg
/home/pi/Desktop/images/05012025/16/05/image_05012025_16_05_02_937745_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884151","1326884154","1326884153","1326884155"],"photo_ids_order":["1326884151","1326884153","1326884154","1326884155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b6d3371e0c975c03cb6cd9842e999bd.jpg","text":"TemporaryFile(/tmp/multipartBody3714168152989451450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089593122,"filename":"image_05012025_16_04_02_727739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0a81d065f319bd5008e7f057cda491e8.jpg","text":"TemporaryFile(/tmp/multipartBody3773246294839838220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089593122,"filename":"image_05012025_16_05_02_937745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b12ab30821fb4937b1f2526586ee01a7.jpg","text":"TemporaryFile(/tmp/multipartBody1900612876256047906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089593122,"filename":"image_05012025_16_05_02_937745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bd71935ac6d680cc3095b31991e24294.jpg","text":"TemporaryFile(/tmp/multipartBody5599224999918268147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089593122,"filename":"image_05012025_16_05_02_937745_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884154","file1":"1326884153","file0":"1326884151","file3":"1326884155"},"map_files_photo_id_array":[{"photo_id":"1326884154","filename":"file2"},{"photo_id":"1326884153","filename":"file1"},{"photo_id":"1326884151","filename":"file0"},{"photo_id":"1326884155","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884151":["hashtag1","hashtag2"]},{"1326884154":["hashtag1","hashtag2"]},{"1326884153":["hashtag1","hashtag2"]},{"1326884155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884151, 1326884154, 1326884153, 1326884155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.19284796714783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:06:21.852098
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/05/image_05012025_16_05_02_937745_0003.jpg', '/home/pi/Desktop/images/05012025/16/06/image_05012025_16_06_03_101802_0000.jpg', '/home/pi/Desktop/images/05012025/16/06/image_05012025_16_06_03_101802_0001.jpg', '/home/pi/Desktop/images/05012025/16/06/image_05012025_16_06_03_101802_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/16/05/image_05012025_16_05_02_937745_0003.jpg
/home/pi/Desktop/images/05012025/16/06/image_05012025_16_06_03_101802_0000.jpg
/home/pi/Desktop/images/05012025/16/06/image_05012025_16_06_03_101802_0001.jpg
/home/pi/Desktop/images/05012025/16/06/image_05012025_16_06_03_101802_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884163","1326884165","1326884161","1326884164"],"photo_ids_order":["1326884161","1326884163","1326884164","1326884165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/10c79e9007ef606e7f204fc671a53561.jpg","text":"TemporaryFile(/tmp/multipartBody6902760393214608574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089652202,"filename":"image_05012025_16_06_03_101802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/27e6fc0b41fc9dae71b701a9ca8d79dc.jpg","text":"TemporaryFile(/tmp/multipartBody4221616459627916755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089652202,"filename":"image_05012025_16_06_03_101802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b8ac8cc810cc5c2a15308d45d5f4e1b4.jpg","text":"TemporaryFile(/tmp/multipartBody3749796117835405823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089652202,"filename":"image_05012025_16_05_02_937745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aed6ce8bb2742e7b3c1514cf854cffd3.jpg","text":"TemporaryFile(/tmp/multipartBody2888038768065861942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089652202,"filename":"image_05012025_16_06_03_101802_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884164","file1":"1326884163","file0":"1326884161","file3":"1326884165"},"map_files_photo_id_array":[{"photo_id":"1326884164","filename":"file2"},{"photo_id":"1326884163","filename":"file1"},{"photo_id":"1326884161","filename":"file0"},{"photo_id":"1326884165","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884163":["hashtag1","hashtag2"]},{"1326884165":["hashtag1","hashtag2"]},{"1326884161":["hashtag1","hashtag2"]},{"1326884164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884163, 1326884165, 1326884161, 1326884164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.261409521102905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:07:22.042100
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/06/image_05012025_16_06_03_101802_0003.jpg', '/home/pi/Desktop/images/05012025/16/07/image_05012025_16_07_02_229597_0000.jpg', '/home/pi/Desktop/images/05012025/16/07/image_05012025_16_07_02_229597_0001.jpg', '/home/pi/Desktop/images/05012025/16/07/image_05012025_16_07_02_229597_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/16/06/image_05012025_16_06_03_101802_0003.jpg
/home/pi/Desktop/images/05012025/16/07/image_05012025_16_07_02_229597_0000.jpg
/home/pi/Desktop/images/05012025/16/07/image_05012025_16_07_02_229597_0001.jpg
/home/pi/Desktop/images/05012025/16/07/image_05012025_16_07_02_229597_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.957138776779175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 16:07:42.107567
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/06/image_05012025_16_06_03_101802_0003.jpg', '/home/pi/Desktop/images/05012025/16/07/image_05012025_16_07_02_229597_0000.jpg', '/home/pi/Desktop/images/05012025/16/07/image_05012025_16_07_02_229597_0001.jpg', '/home/pi/Desktop/images/05012025/16/07/image_05012025_16_07_02_229597_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/16/06/image_05012025_16_06_03_101802_0003.jpg
/home/pi/Desktop/images/05012025/16/07/image_05012025_16_07_02_229597_0000.jpg
/home/pi/Desktop/images/05012025/16/07/image_05012025_16_07_02_229597_0001.jpg
/home/pi/Desktop/images/05012025/16/07/image_05012025_16_07_02_229597_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884175","1326884178","1326884180","1326884176"],"photo_ids_order":["1326884175","1326884176","1326884178","1326884180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe00b0e6387b23042a63da09a8246fbf.jpg","text":"TemporaryFile(/tmp/multipartBody7701106881331493932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089732483,"filename":"image_05012025_16_06_03_101802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4b8be1cafbf586397b9d67125591033d.jpg","text":"TemporaryFile(/tmp/multipartBody16887451721142212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089732483,"filename":"image_05012025_16_07_02_229597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c6bf7c03efcb2309285c5d0596516c8.jpg","text":"TemporaryFile(/tmp/multipartBody8694052460815314045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089732483,"filename":"image_05012025_16_07_02_229597_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dd647576a5c09e7ff5959c247f0df04e.jpg","text":"TemporaryFile(/tmp/multipartBody1197479260002985678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089732483,"filename":"image_05012025_16_07_02_229597_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884178","file1":"1326884176","file0":"1326884175","file3":"1326884180"},"map_files_photo_id_array":[{"photo_id":"1326884178","filename":"file2"},{"photo_id":"1326884176","filename":"file1"},{"photo_id":"1326884175","filename":"file0"},{"photo_id":"1326884180","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884175":["hashtag1","hashtag2"]},{"1326884178":["hashtag1","hashtag2"]},{"1326884180":["hashtag1","hashtag2"]},{"1326884176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884175, 1326884178, 1326884180, 1326884176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.96486043930054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 16:08:32.243895
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/07/image_05012025_16_07_02_229597_0003.jpg', '/home/pi/Desktop/images/05012025/16/08/image_05012025_16_08_02_413098_0000.jpg', '/home/pi/Desktop/images/05012025/16/08/image_05012025_16_08_02_413098_0001.jpg', '/home/pi/Desktop/images/05012025/16/08/image_05012025_16_08_02_413098_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/16/07/image_05012025_16_07_02_229597_0003.jpg
/home/pi/Desktop/images/05012025/16/08/image_05012025_16_08_02_413098_0000.jpg
/home/pi/Desktop/images/05012025/16/08/image_05012025_16_08_02_413098_0001.jpg
/home/pi/Desktop/images/05012025/16/08/image_05012025_16_08_02_413098_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884187","1326884186","1326884185","1326884188"],"photo_ids_order":["1326884185","1326884186","1326884187","1326884188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/67b435b1bbed095948e7b632a918c826.jpg","text":"TemporaryFile(/tmp/multipartBody5338758237803105113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089782571,"filename":"image_05012025_16_08_02_413098_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d9ecda16a21d899cc65fcea0885240d1.jpg","text":"TemporaryFile(/tmp/multipartBody443528141174768568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089782571,"filename":"image_05012025_16_08_02_413098_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2f60bb27d397dbdb9e8780dbd2d8b61e.jpg","text":"TemporaryFile(/tmp/multipartBody4259943692959941789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089782571,"filename":"image_05012025_16_07_02_229597_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3d86b1569a81d31377075e9ec5591d8f.jpg","text":"TemporaryFile(/tmp/multipartBody6751570336855683795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089782571,"filename":"image_05012025_16_08_02_413098_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884187","file1":"1326884186","file0":"1326884185","file3":"1326884188"},"map_files_photo_id_array":[{"photo_id":"1326884187","filename":"file2"},{"photo_id":"1326884186","filename":"file1"},{"photo_id":"1326884185","filename":"file0"},{"photo_id":"1326884188","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884187":["hashtag1","hashtag2"]},{"1326884186":["hashtag1","hashtag2"]},{"1326884185":["hashtag1","hashtag2"]},{"1326884188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884187, 1326884186, 1326884185, 1326884188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.68538236618042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:09:22.371417
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/08/image_05012025_16_08_02_413098_0003.jpg', '/home/pi/Desktop/images/05012025/16/09/image_05012025_16_09_02_543919_0000.jpg', '/home/pi/Desktop/images/05012025/16/09/image_05012025_16_09_02_543919_0001.jpg', '/home/pi/Desktop/images/05012025/16/09/image_05012025_16_09_02_543919_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/16/08/image_05012025_16_08_02_413098_0003.jpg
/home/pi/Desktop/images/05012025/16/09/image_05012025_16_09_02_543919_0000.jpg
/home/pi/Desktop/images/05012025/16/09/image_05012025_16_09_02_543919_0001.jpg
/home/pi/Desktop/images/05012025/16/09/image_05012025_16_09_02_543919_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884196","1326884198","1326884197","1326884194"],"photo_ids_order":["1326884194","1326884196","1326884197","1326884198"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3feb1095fa916e7afd20cef17fe35114.jpg","text":"TemporaryFile(/tmp/multipartBody9127285328624217697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089832893,"filename":"image_05012025_16_09_02_543919_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e985d9446ff43795a27f2fb0d77e8406.jpg","text":"TemporaryFile(/tmp/multipartBody1788120558862825226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089832893,"filename":"image_05012025_16_09_02_543919_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6eb907936ec74eaf6a3e526ec396c57a.jpg","text":"TemporaryFile(/tmp/multipartBody5487627923585327434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089832893,"filename":"image_05012025_16_09_02_543919_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/16e93a14bb72a66781dd7655fd757156.jpg","text":"TemporaryFile(/tmp/multipartBody2326490336776777484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089832893,"filename":"image_05012025_16_08_02_413098_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884197","file1":"1326884196","file0":"1326884194","file3":"1326884198"},"map_files_photo_id_array":[{"photo_id":"1326884197","filename":"file2"},{"photo_id":"1326884196","filename":"file1"},{"photo_id":"1326884194","filename":"file0"},{"photo_id":"1326884198","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884196":["hashtag1","hashtag2"]},{"1326884198":["hashtag1","hashtag2"]},{"1326884197":["hashtag1","hashtag2"]},{"1326884194":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884196, 1326884198, 1326884197, 1326884194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.08695673942566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:10:22.740794
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/09/image_05012025_16_09_02_543919_0003.jpg', '/home/pi/Desktop/images/05012025/16/10/image_05012025_16_10_02_751036_0000.jpg', '/home/pi/Desktop/images/05012025/16/10/image_05012025_16_10_02_751036_0001.jpg', '/home/pi/Desktop/images/05012025/16/10/image_05012025_16_10_02_751036_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/16/09/image_05012025_16_09_02_543919_0003.jpg
/home/pi/Desktop/images/05012025/16/10/image_05012025_16_10_02_751036_0000.jpg
/home/pi/Desktop/images/05012025/16/10/image_05012025_16_10_02_751036_0001.jpg
/home/pi/Desktop/images/05012025/16/10/image_05012025_16_10_02_751036_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.006044149398804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 16:10:42.691415
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/09/image_05012025_16_09_02_543919_0003.jpg', '/home/pi/Desktop/images/05012025/16/10/image_05012025_16_10_02_751036_0000.jpg', '/home/pi/Desktop/images/05012025/16/10/image_05012025_16_10_02_751036_0001.jpg', '/home/pi/Desktop/images/05012025/16/10/image_05012025_16_10_02_751036_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/16/09/image_05012025_16_09_02_543919_0003.jpg
/home/pi/Desktop/images/05012025/16/10/image_05012025_16_10_02_751036_0000.jpg
/home/pi/Desktop/images/05012025/16/10/image_05012025_16_10_02_751036_0001.jpg
/home/pi/Desktop/images/05012025/16/10/image_05012025_16_10_02_751036_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884209","1326884208","1326884211","1326884213"],"photo_ids_order":["1326884208","1326884209","1326884211","1326884213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5671dca98c9f0186afaa1341de4f3d87.jpg","text":"TemporaryFile(/tmp/multipartBody7144560390390972469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089913108,"filename":"image_05012025_16_10_02_751036_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66ec725be7551c4bd2b4809cd7917fa8.jpg","text":"TemporaryFile(/tmp/multipartBody3917605738362544854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089913108,"filename":"image_05012025_16_09_02_543919_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/55dbf7be94e60060f3f7bf7b2929542c.jpg","text":"TemporaryFile(/tmp/multipartBody1531160435730731268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089913108,"filename":"image_05012025_16_10_02_751036_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/63ddfead1ee2c46ac38cb66350944c24.jpg","text":"TemporaryFile(/tmp/multipartBody3784420690695780198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089913108,"filename":"image_05012025_16_10_02_751036_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884211","file1":"1326884209","file0":"1326884208","file3":"1326884213"},"map_files_photo_id_array":[{"photo_id":"1326884211","filename":"file2"},{"photo_id":"1326884209","filename":"file1"},{"photo_id":"1326884208","filename":"file0"},{"photo_id":"1326884213","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884209":["hashtag1","hashtag2"]},{"1326884208":["hashtag1","hashtag2"]},{"1326884211":["hashtag1","hashtag2"]},{"1326884213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884209, 1326884208, 1326884211, 1326884213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.284120082855225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 16:11:31.914979
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/10/image_05012025_16_10_02_751036_0003.jpg', '/home/pi/Desktop/images/05012025/16/11/image_05012025_16_11_03_139228_0000.jpg', '/home/pi/Desktop/images/05012025/16/11/image_05012025_16_11_03_139228_0001.jpg', '/home/pi/Desktop/images/05012025/16/11/image_05012025_16_11_03_139228_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/16/10/image_05012025_16_10_02_751036_0003.jpg
/home/pi/Desktop/images/05012025/16/11/image_05012025_16_11_03_139228_0000.jpg
/home/pi/Desktop/images/05012025/16/11/image_05012025_16_11_03_139228_0001.jpg
/home/pi/Desktop/images/05012025/16/11/image_05012025_16_11_03_139228_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884220","1326884223","1326884222","1326884221"],"photo_ids_order":["1326884220","1326884221","1326884222","1326884223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9047e40e0e7add6c0f120b9b347ffb6e.jpg","text":"TemporaryFile(/tmp/multipartBody504663671532957773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089962431,"filename":"image_05012025_16_10_02_751036_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/16306332f0cab15df77d95a9c220b7a5.jpg","text":"TemporaryFile(/tmp/multipartBody549827922124832127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089962431,"filename":"image_05012025_16_11_03_139228_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0125b063e90e0cb5550a47c28052ba63.jpg","text":"TemporaryFile(/tmp/multipartBody988787234408737308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089962431,"filename":"image_05012025_16_11_03_139228_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0fcac546711d9c46996435108805c79d.jpg","text":"TemporaryFile(/tmp/multipartBody8850568987859632046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736089962431,"filename":"image_05012025_16_11_03_139228_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884222","file1":"1326884221","file0":"1326884220","file3":"1326884223"},"map_files_photo_id_array":[{"photo_id":"1326884222","filename":"file2"},{"photo_id":"1326884221","filename":"file1"},{"photo_id":"1326884220","filename":"file0"},{"photo_id":"1326884223","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884220":["hashtag1","hashtag2"]},{"1326884223":["hashtag1","hashtag2"]},{"1326884222":["hashtag1","hashtag2"]},{"1326884221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884220, 1326884223, 1326884222, 1326884221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.55665135383606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:12:22.037514
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/11/image_05012025_16_11_03_139228_0003.jpg', '/home/pi/Desktop/images/05012025/16/12/image_05012025_16_12_02_356856_0000.jpg', '/home/pi/Desktop/images/05012025/16/12/image_05012025_16_12_02_356856_0001.jpg', '/home/pi/Desktop/images/05012025/16/12/image_05012025_16_12_02_356856_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/16/11/image_05012025_16_11_03_139228_0003.jpg
/home/pi/Desktop/images/05012025/16/12/image_05012025_16_12_02_356856_0000.jpg
/home/pi/Desktop/images/05012025/16/12/image_05012025_16_12_02_356856_0001.jpg
/home/pi/Desktop/images/05012025/16/12/image_05012025_16_12_02_356856_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884235","1326884229","1326884231","1326884233"],"photo_ids_order":["1326884229","1326884231","1326884233","1326884235"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a4169cfd6e6cc0a299b3b4e734bbe50b.jpg","text":"TemporaryFile(/tmp/multipartBody7309989076640297356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090012395,"filename":"image_05012025_16_12_02_356856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e4c2783dff71ededd2aebe863a9fe8c1.jpg","text":"TemporaryFile(/tmp/multipartBody1557389325962691590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090012395,"filename":"image_05012025_16_11_03_139228_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fed4993f9d2faf6ef2772d8465b68b00.jpg","text":"TemporaryFile(/tmp/multipartBody887159194113418611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090012395,"filename":"image_05012025_16_12_02_356856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66f000c256807ad1a963f1d909a90723.jpg","text":"TemporaryFile(/tmp/multipartBody7125778988539780264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090012395,"filename":"image_05012025_16_12_02_356856_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884233","file1":"1326884231","file0":"1326884229","file3":"1326884235"},"map_files_photo_id_array":[{"photo_id":"1326884233","filename":"file2"},{"photo_id":"1326884231","filename":"file1"},{"photo_id":"1326884229","filename":"file0"},{"photo_id":"1326884235","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884235":["hashtag1","hashtag2"]},{"1326884229":["hashtag1","hashtag2"]},{"1326884231":["hashtag1","hashtag2"]},{"1326884233":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884235, 1326884229, 1326884231, 1326884233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.118489265441895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:13:22.226868
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/12/image_05012025_16_12_02_356856_0003.jpg', '/home/pi/Desktop/images/05012025/16/13/image_05012025_16_13_02_400488_0000.jpg', '/home/pi/Desktop/images/05012025/16/13/image_05012025_16_13_02_400488_0001.jpg', '/home/pi/Desktop/images/05012025/16/13/image_05012025_16_13_02_400488_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/16/12/image_05012025_16_12_02_356856_0003.jpg
/home/pi/Desktop/images/05012025/16/13/image_05012025_16_13_02_400488_0000.jpg
/home/pi/Desktop/images/05012025/16/13/image_05012025_16_13_02_400488_0001.jpg
/home/pi/Desktop/images/05012025/16/13/image_05012025_16_13_02_400488_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884245","1326884247","1326884243","1326884242"],"photo_ids_order":["1326884242","1326884243","1326884245","1326884247"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/75aa65c4d931b51a4532b1b69a1ba456.jpg","text":"TemporaryFile(/tmp/multipartBody756193751252620711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090072707,"filename":"image_05012025_16_13_02_400488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66cb78ec63108634f96791b96fea628a.jpg","text":"TemporaryFile(/tmp/multipartBody2261547083833226754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090072707,"filename":"image_05012025_16_13_02_400488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/facaadd55c2a3f0b181eabf217cbcce1.jpg","text":"TemporaryFile(/tmp/multipartBody1279298999748004676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090072707,"filename":"image_05012025_16_13_02_400488_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/867eb50c252b2b9a3055fcac32829535.jpg","text":"TemporaryFile(/tmp/multipartBody779815013614658524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090072707,"filename":"image_05012025_16_12_02_356856_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884245","file1":"1326884243","file0":"1326884242","file3":"1326884247"},"map_files_photo_id_array":[{"photo_id":"1326884245","filename":"file2"},{"photo_id":"1326884243","filename":"file1"},{"photo_id":"1326884242","filename":"file0"},{"photo_id":"1326884247","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884245":["hashtag1","hashtag2"]},{"1326884247":["hashtag1","hashtag2"]},{"1326884243":["hashtag1","hashtag2"]},{"1326884242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884245, 1326884247, 1326884243, 1326884242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.400521993637085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 16:14:02.976098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:14:22.500359
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/13/image_05012025_16_13_02_400488_0003.jpg', '/home/pi/Desktop/images/05012025/16/14/image_05012025_16_14_02_645176_0000.jpg', '/home/pi/Desktop/images/05012025/16/14/image_05012025_16_14_02_645176_0001.jpg', '/home/pi/Desktop/images/05012025/16/14/image_05012025_16_14_02_645176_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/16/13/image_05012025_16_13_02_400488_0003.jpg
/home/pi/Desktop/images/05012025/16/14/image_05012025_16_14_02_645176_0000.jpg
/home/pi/Desktop/images/05012025/16/14/image_05012025_16_14_02_645176_0001.jpg
/home/pi/Desktop/images/05012025/16/14/image_05012025_16_14_02_645176_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884262","1326884265","1326884267","1326884261"],"photo_ids_order":["1326884261","1326884262","1326884265","1326884267"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c62447c5a97779b8575d7a7a5aa56fe5.jpg","text":"TemporaryFile(/tmp/multipartBody1567542051328218281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090132846,"filename":"image_05012025_16_14_02_645176_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d07278b59f85ef9d7710715c8e2e1595.jpg","text":"TemporaryFile(/tmp/multipartBody5498371908620225935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090132846,"filename":"image_05012025_16_14_02_645176_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f064310c396e5a7263b00272e9c53b7f.jpg","text":"TemporaryFile(/tmp/multipartBody6736432257348874505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090132846,"filename":"image_05012025_16_14_02_645176_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c2c8b5530da0ff9f2539d88d825bd117.jpg","text":"TemporaryFile(/tmp/multipartBody8946935821381650915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090132846,"filename":"image_05012025_16_13_02_400488_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884265","file1":"1326884262","file0":"1326884261","file3":"1326884267"},"map_files_photo_id_array":[{"photo_id":"1326884265","filename":"file2"},{"photo_id":"1326884262","filename":"file1"},{"photo_id":"1326884261","filename":"file0"},{"photo_id":"1326884267","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884262":["hashtag1","hashtag2"]},{"1326884265":["hashtag1","hashtag2"]},{"1326884267":["hashtag1","hashtag2"]},{"1326884261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884262, 1326884265, 1326884267, 1326884261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.21404218673706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:15:22.755651
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/14/image_05012025_16_14_02_645176_0003.jpg', '/home/pi/Desktop/images/05012025/16/15/image_05012025_16_15_02_784663_0000.jpg', '/home/pi/Desktop/images/05012025/16/15/image_05012025_16_15_02_784663_0001.jpg', '/home/pi/Desktop/images/05012025/16/15/image_05012025_16_15_02_784663_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/16/14/image_05012025_16_14_02_645176_0003.jpg
/home/pi/Desktop/images/05012025/16/15/image_05012025_16_15_02_784663_0000.jpg
/home/pi/Desktop/images/05012025/16/15/image_05012025_16_15_02_784663_0001.jpg
/home/pi/Desktop/images/05012025/16/15/image_05012025_16_15_02_784663_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884277","1326884273","1326884272","1326884275"],"photo_ids_order":["1326884272","1326884273","1326884275","1326884277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dc9bee86444bf8712582a954a474f207.jpg","text":"TemporaryFile(/tmp/multipartBody5123858287245194285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090193211,"filename":"image_05012025_16_15_02_784663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6ea2cbdfe277fa14664876890380551e.jpg","text":"TemporaryFile(/tmp/multipartBody909034414294280963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090193211,"filename":"image_05012025_16_15_02_784663_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a3e0efa07dd111f26fbac394357e925a.jpg","text":"TemporaryFile(/tmp/multipartBody1466497028639224889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090193211,"filename":"image_05012025_16_14_02_645176_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7d9953112d358c326d9b8721ae647ebf.jpg","text":"TemporaryFile(/tmp/multipartBody596157513992676762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090193211,"filename":"image_05012025_16_15_02_784663_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884275","file1":"1326884273","file0":"1326884272","file3":"1326884277"},"map_files_photo_id_array":[{"photo_id":"1326884275","filename":"file2"},{"photo_id":"1326884273","filename":"file1"},{"photo_id":"1326884272","filename":"file0"},{"photo_id":"1326884277","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884277":["hashtag1","hashtag2"]},{"1326884273":["hashtag1","hashtag2"]},{"1326884272":["hashtag1","hashtag2"]},{"1326884275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884277, 1326884273, 1326884272, 1326884275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.12195634841919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:16:21.939909
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/15/image_05012025_16_15_02_784663_0003.jpg', '/home/pi/Desktop/images/05012025/16/16/image_05012025_16_16_03_155867_0000.jpg', '/home/pi/Desktop/images/05012025/16/16/image_05012025_16_16_03_155867_0001.jpg', '/home/pi/Desktop/images/05012025/16/16/image_05012025_16_16_03_155867_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/16/15/image_05012025_16_15_02_784663_0003.jpg
/home/pi/Desktop/images/05012025/16/16/image_05012025_16_16_03_155867_0000.jpg
/home/pi/Desktop/images/05012025/16/16/image_05012025_16_16_03_155867_0001.jpg
/home/pi/Desktop/images/05012025/16/16/image_05012025_16_16_03_155867_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884289","1326884286","1326884288","1326884290"],"photo_ids_order":["1326884286","1326884288","1326884289","1326884290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c6e692c072ed3d9999f05ea7af73de29.jpg","text":"TemporaryFile(/tmp/multipartBody155948193096257513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090252441,"filename":"image_05012025_16_16_03_155867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1a4132321b4637efc4bd9a50756eef0b.jpg","text":"TemporaryFile(/tmp/multipartBody4785851064836099697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090252441,"filename":"image_05012025_16_15_02_784663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/739861dfe7f82f183eb2e9829cab771f.jpg","text":"TemporaryFile(/tmp/multipartBody3607893217669088355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090252441,"filename":"image_05012025_16_16_03_155867_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a8c0ff25634e039964316adcb970bd4a.jpg","text":"TemporaryFile(/tmp/multipartBody7761130952754014099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090252441,"filename":"image_05012025_16_16_03_155867_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884289","file1":"1326884288","file0":"1326884286","file3":"1326884290"},"map_files_photo_id_array":[{"photo_id":"1326884289","filename":"file2"},{"photo_id":"1326884288","filename":"file1"},{"photo_id":"1326884286","filename":"file0"},{"photo_id":"1326884290","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884289":["hashtag1","hashtag2"]},{"1326884286":["hashtag1","hashtag2"]},{"1326884288":["hashtag1","hashtag2"]},{"1326884290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884289, 1326884286, 1326884288, 1326884290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.88597321510315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:17:22.158876
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/16/image_05012025_16_16_03_155867_0003.jpg', '/home/pi/Desktop/images/05012025/16/17/image_05012025_16_17_02_286378_0000.jpg', '/home/pi/Desktop/images/05012025/16/17/image_05012025_16_17_02_286378_0001.jpg', '/home/pi/Desktop/images/05012025/16/17/image_05012025_16_17_02_286378_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/16/16/image_05012025_16_16_03_155867_0003.jpg
/home/pi/Desktop/images/05012025/16/17/image_05012025_16_17_02_286378_0000.jpg
/home/pi/Desktop/images/05012025/16/17/image_05012025_16_17_02_286378_0001.jpg
/home/pi/Desktop/images/05012025/16/17/image_05012025_16_17_02_286378_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884301","1326884297","1326884296","1326884299"],"photo_ids_order":["1326884296","1326884297","1326884299","1326884301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f51677e3022efb761a5d82ec6314751c.jpg","text":"TemporaryFile(/tmp/multipartBody2930596928663496462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090312575,"filename":"image_05012025_16_17_02_286378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f5f67d239234a5141713bf375235384b.jpg","text":"TemporaryFile(/tmp/multipartBody831890873195634365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090312575,"filename":"image_05012025_16_17_02_286378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/848dbe4d6b44def3da25c8b9ceb8d289.jpg","text":"TemporaryFile(/tmp/multipartBody9176553238718088579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090312575,"filename":"image_05012025_16_16_03_155867_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c9bde816f096f933e97c0093a39d7f20.jpg","text":"TemporaryFile(/tmp/multipartBody400239351946682625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090312575,"filename":"image_05012025_16_17_02_286378_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884299","file1":"1326884297","file0":"1326884296","file3":"1326884301"},"map_files_photo_id_array":[{"photo_id":"1326884299","filename":"file2"},{"photo_id":"1326884297","filename":"file1"},{"photo_id":"1326884296","filename":"file0"},{"photo_id":"1326884301","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884301":["hashtag1","hashtag2"]},{"1326884297":["hashtag1","hashtag2"]},{"1326884296":["hashtag1","hashtag2"]},{"1326884299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884301, 1326884297, 1326884296, 1326884299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.05182433128357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:18:22.287813
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/17/image_05012025_16_17_02_286378_0003.jpg', '/home/pi/Desktop/images/05012025/16/18/image_05012025_16_18_02_459049_0000.jpg', '/home/pi/Desktop/images/05012025/16/18/image_05012025_16_18_02_459049_0001.jpg', '/home/pi/Desktop/images/05012025/16/18/image_05012025_16_18_02_459049_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/16/17/image_05012025_16_17_02_286378_0003.jpg
/home/pi/Desktop/images/05012025/16/18/image_05012025_16_18_02_459049_0000.jpg
/home/pi/Desktop/images/05012025/16/18/image_05012025_16_18_02_459049_0001.jpg
/home/pi/Desktop/images/05012025/16/18/image_05012025_16_18_02_459049_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884308","1326884310","1326884307","1326884306"],"photo_ids_order":["1326884306","1326884307","1326884308","1326884310"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ed8562adb8fa31f795e0c175769e6daa.jpg","text":"TemporaryFile(/tmp/multipartBody7039765052733892778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090372519,"filename":"image_05012025_16_18_02_459049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6be9acca120aef1469f38bd36aa7e642.jpg","text":"TemporaryFile(/tmp/multipartBody1364849263160977648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090372519,"filename":"image_05012025_16_18_02_459049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/be6d0c0c47188b50ec4a781a13ed1ea8.jpg","text":"TemporaryFile(/tmp/multipartBody7473368493863068888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090372519,"filename":"image_05012025_16_18_02_459049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/63c73c6df7ff833b11e4cf313c8088a3.jpg","text":"TemporaryFile(/tmp/multipartBody5875342313884021591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090372519,"filename":"image_05012025_16_17_02_286378_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884308","file1":"1326884307","file0":"1326884306","file3":"1326884310"},"map_files_photo_id_array":[{"photo_id":"1326884308","filename":"file2"},{"photo_id":"1326884307","filename":"file1"},{"photo_id":"1326884306","filename":"file0"},{"photo_id":"1326884310","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884308":["hashtag1","hashtag2"]},{"1326884310":["hashtag1","hashtag2"]},{"1326884307":["hashtag1","hashtag2"]},{"1326884306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884308, 1326884310, 1326884307, 1326884306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.766812562942505 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-05 16:19:22.537021
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/18/image_05012025_16_18_02_459049_0003.jpg', '/home/pi/Desktop/images/05012025/16/19/image_05012025_16_19_02_669646_0000.jpg', '/home/pi/Desktop/images/05012025/16/19/image_05012025_16_19_02_669646_0001.jpg', '/home/pi/Desktop/images/05012025/16/19/image_05012025_16_19_02_669646_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/16/18/image_05012025_16_18_02_459049_0003.jpg
/home/pi/Desktop/images/05012025/16/19/image_05012025_16_19_02_669646_0000.jpg
/home/pi/Desktop/images/05012025/16/19/image_05012025_16_19_02_669646_0001.jpg
/home/pi/Desktop/images/05012025/16/19/image_05012025_16_19_02_669646_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884323","1326884322","1326884324","1326884320"],"photo_ids_order":["1326884320","1326884322","1326884323","1326884324"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0d148fd47b9d3dd6000b45e12cbf966b.jpg","text":"TemporaryFile(/tmp/multipartBody7088559100368044648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090432933,"filename":"image_05012025_16_19_02_669646_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7fdd8dc246b5db1608bb8f2545b5ae07.jpg","text":"TemporaryFile(/tmp/multipartBody3648116171316045043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090432933,"filename":"image_05012025_16_19_02_669646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/13c477c78da5924a1ed1e7d7a8747b88.jpg","text":"TemporaryFile(/tmp/multipartBody3738540686977392044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090432933,"filename":"image_05012025_16_19_02_669646_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7bf9fc5dca22c01470d81425a1083de8.jpg","text":"TemporaryFile(/tmp/multipartBody8613613765706686234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090432933,"filename":"image_05012025_16_18_02_459049_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884323","file1":"1326884322","file0":"1326884320","file3":"1326884324"},"map_files_photo_id_array":[{"photo_id":"1326884323","filename":"file2"},{"photo_id":"1326884322","filename":"file1"},{"photo_id":"1326884320","filename":"file0"},{"photo_id":"1326884324","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884323":["hashtag1","hashtag2"]},{"1326884322":["hashtag1","hashtag2"]},{"1326884324":["hashtag1","hashtag2"]},{"1326884320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884323, 1326884322, 1326884324, 1326884320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.53109550476074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:20:22.812650
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/19/image_05012025_16_19_02_669646_0003.jpg', '/home/pi/Desktop/images/05012025/16/20/image_05012025_16_20_03_044853_0000.jpg', '/home/pi/Desktop/images/05012025/16/20/image_05012025_16_20_03_044853_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/16/19/image_05012025_16_19_02_669646_0003.jpg
/home/pi/Desktop/images/05012025/16/20/image_05012025_16_20_03_044853_0000.jpg
/home/pi/Desktop/images/05012025/16/20/image_05012025_16_20_03_044853_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.424347400665283 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 16:20:32.710994
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/19/image_05012025_16_19_02_669646_0003.jpg', '/home/pi/Desktop/images/05012025/16/20/image_05012025_16_20_03_044853_0000.jpg', '/home/pi/Desktop/images/05012025/16/20/image_05012025_16_20_03_044853_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/16/19/image_05012025_16_19_02_669646_0003.jpg
/home/pi/Desktop/images/05012025/16/20/image_05012025_16_20_03_044853_0000.jpg
/home/pi/Desktop/images/05012025/16/20/image_05012025_16_20_03_044853_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":["1326884334","1326884333","1326884335"],"photo_ids_order":["1326884333","1326884334","1326884335"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3a963fde085eb3fe9ffdb30cab372e68.jpg","text":"TemporaryFile(/tmp/multipartBody2940092767923341930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090500539,"filename":"image_05012025_16_20_03_044853_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9d367ff19082d306cac42a6b2654b3c.jpg","text":"TemporaryFile(/tmp/multipartBody4687963117909310919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090500539,"filename":"image_05012025_16_19_02_669646_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/77a9943188de880783bf48123a721ffe.jpg","text":"TemporaryFile(/tmp/multipartBody3040066291293684960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090500539,"filename":"image_05012025_16_20_03_044853_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884335","file1":"1326884334","file0":"1326884333"},"map_files_photo_id_array":[{"photo_id":"1326884335","filename":"file2"},{"photo_id":"1326884334","filename":"file1"},{"photo_id":"1326884333","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884334":["hashtag1","hashtag2"]},{"1326884333":["hashtag1","hashtag2"]},{"1326884335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884334, 1326884333, 1326884335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.79810905456543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:21:21.960422
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/20/image_05012025_16_20_03_044853_0002.jpg', '/home/pi/Desktop/images/05012025/16/21/image_05012025_16_21_03_095525_0000.jpg', '/home/pi/Desktop/images/05012025/16/21/image_05012025_16_21_03_095525_0001.jpg', '/home/pi/Desktop/images/05012025/16/21/image_05012025_16_21_03_095525_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/16/20/image_05012025_16_20_03_044853_0002.jpg
/home/pi/Desktop/images/05012025/16/21/image_05012025_16_21_03_095525_0000.jpg
/home/pi/Desktop/images/05012025/16/21/image_05012025_16_21_03_095525_0001.jpg
/home/pi/Desktop/images/05012025/16/21/image_05012025_16_21_03_095525_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884343","1326884346","1326884345","1326884341"],"photo_ids_order":["1326884341","1326884343","1326884345","1326884346"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cb1bcb6a465c22c723c6aa966fd8ce64.jpg","text":"TemporaryFile(/tmp/multipartBody8701117192158393239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090552364,"filename":"image_05012025_16_21_03_095525_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1a90bd234b6362871ccf9e4b05f0775c.jpg","text":"TemporaryFile(/tmp/multipartBody4048218155547186312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090552364,"filename":"image_05012025_16_21_03_095525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f8c7489abeaffbdfb8145e1835bdb398.jpg","text":"TemporaryFile(/tmp/multipartBody5561696712950144857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090552364,"filename":"image_05012025_16_21_03_095525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/95859cf440d9d62744b9e22bb9771731.jpg","text":"TemporaryFile(/tmp/multipartBody8151296287857988558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090552364,"filename":"image_05012025_16_20_03_044853_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884345","file1":"1326884343","file0":"1326884341","file3":"1326884346"},"map_files_photo_id_array":[{"photo_id":"1326884345","filename":"file2"},{"photo_id":"1326884343","filename":"file1"},{"photo_id":"1326884341","filename":"file0"},{"photo_id":"1326884346","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884343":["hashtag1","hashtag2"]},{"1326884346":["hashtag1","hashtag2"]},{"1326884345":["hashtag1","hashtag2"]},{"1326884341":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884343, 1326884346, 1326884345, 1326884341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.071502685546875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:22:22.127718
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/21/image_05012025_16_21_03_095525_0003.jpg', '/home/pi/Desktop/images/05012025/16/22/image_05012025_16_22_02_272805_0000.jpg', '/home/pi/Desktop/images/05012025/16/22/image_05012025_16_22_02_272805_0001.jpg', '/home/pi/Desktop/images/05012025/16/22/image_05012025_16_22_02_272805_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/16/21/image_05012025_16_21_03_095525_0003.jpg
/home/pi/Desktop/images/05012025/16/22/image_05012025_16_22_02_272805_0000.jpg
/home/pi/Desktop/images/05012025/16/22/image_05012025_16_22_02_272805_0001.jpg
/home/pi/Desktop/images/05012025/16/22/image_05012025_16_22_02_272805_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.85274076461792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 16:22:42.078518
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/21/image_05012025_16_21_03_095525_0003.jpg', '/home/pi/Desktop/images/05012025/16/22/image_05012025_16_22_02_272805_0000.jpg', '/home/pi/Desktop/images/05012025/16/22/image_05012025_16_22_02_272805_0001.jpg', '/home/pi/Desktop/images/05012025/16/22/image_05012025_16_22_02_272805_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/16/21/image_05012025_16_21_03_095525_0003.jpg
/home/pi/Desktop/images/05012025/16/22/image_05012025_16_22_02_272805_0000.jpg
/home/pi/Desktop/images/05012025/16/22/image_05012025_16_22_02_272805_0001.jpg
/home/pi/Desktop/images/05012025/16/22/image_05012025_16_22_02_272805_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":["1326884358","1326884360","1326884357","1326884356"],"photo_ids_order":["1326884356","1326884357","1326884358","1326884360"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/81354617cc588e6a4e621b12c51b70d7.jpg","text":"TemporaryFile(/tmp/multipartBody7529639016823393806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090632339,"filename":"image_05012025_16_22_02_272805_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a58976a2ebb911ea831aaea2cdee5397.jpg","text":"TemporaryFile(/tmp/multipartBody8807087801549124593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090632339,"filename":"image_05012025_16_22_02_272805_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/316475dbef2da3d12b0a3fbac10c84b7.jpg","text":"TemporaryFile(/tmp/multipartBody3527427172149323337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090632339,"filename":"image_05012025_16_22_02_272805_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3825ff579e63b65b9d6050bfc979efc8.jpg","text":"TemporaryFile(/tmp/multipartBody3804254399384313958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090632339,"filename":"image_05012025_16_21_03_095525_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884358","file1":"1326884357","file0":"1326884356","file3":"1326884360"},"map_files_photo_id_array":[{"photo_id":"1326884358","filename":"file2"},{"photo_id":"1326884357","filename":"file1"},{"photo_id":"1326884356","filename":"file0"},{"photo_id":"1326884360","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884358":["hashtag1","hashtag2"]},{"1326884360":["hashtag1","hashtag2"]},{"1326884357":["hashtag1","hashtag2"]},{"1326884356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884358, 1326884360, 1326884357, 1326884356)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 40.271657943725586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 16:23:32.214510
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/22/image_05012025_16_22_02_272805_0003.jpg', '/home/pi/Desktop/images/05012025/16/23/image_05012025_16_23_02_424699_0000.jpg', '/home/pi/Desktop/images/05012025/16/23/image_05012025_16_23_02_424699_0001.jpg', '/home/pi/Desktop/images/05012025/16/23/image_05012025_16_23_02_424699_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/16/22/image_05012025_16_22_02_272805_0003.jpg
/home/pi/Desktop/images/05012025/16/23/image_05012025_16_23_02_424699_0000.jpg
/home/pi/Desktop/images/05012025/16/23/image_05012025_16_23_02_424699_0001.jpg
/home/pi/Desktop/images/05012025/16/23/image_05012025_16_23_02_424699_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.86729645729065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 16:23:52.222726
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/22/image_05012025_16_22_02_272805_0003.jpg', '/home/pi/Desktop/images/05012025/16/23/image_05012025_16_23_02_424699_0000.jpg', '/home/pi/Desktop/images/05012025/16/23/image_05012025_16_23_02_424699_0001.jpg', '/home/pi/Desktop/images/05012025/16/23/image_05012025_16_23_02_424699_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/16/22/image_05012025_16_22_02_272805_0003.jpg
/home/pi/Desktop/images/05012025/16/23/image_05012025_16_23_02_424699_0000.jpg
/home/pi/Desktop/images/05012025/16/23/image_05012025_16_23_02_424699_0001.jpg
/home/pi/Desktop/images/05012025/16/23/image_05012025_16_23_02_424699_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884373","1326884375","1326884369","1326884371"],"photo_ids_order":["1326884369","1326884371","1326884373","1326884375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/53e4501e4e62df55528808973e63a231.jpg","text":"TemporaryFile(/tmp/multipartBody8445241809673453560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090702504,"filename":"image_05012025_16_23_02_424699_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/550204caa8d397b4726fbe5811f25813.jpg","text":"TemporaryFile(/tmp/multipartBody2480061675884189767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090702504,"filename":"image_05012025_16_23_02_424699_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/00d20ae6c2f272e421de6ebdbbfb7591.jpg","text":"TemporaryFile(/tmp/multipartBody3340200388312032608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090702504,"filename":"image_05012025_16_22_02_272805_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7dd6912f3e64ef2a2e016aa4a6177d67.jpg","text":"TemporaryFile(/tmp/multipartBody3555468131798156804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090702504,"filename":"image_05012025_16_23_02_424699_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884373","file1":"1326884371","file0":"1326884369","file3":"1326884375"},"map_files_photo_id_array":[{"photo_id":"1326884373","filename":"file2"},{"photo_id":"1326884371","filename":"file1"},{"photo_id":"1326884369","filename":"file0"},{"photo_id":"1326884375","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884373":["hashtag1","hashtag2"]},{"1326884375":["hashtag1","hashtag2"]},{"1326884369":["hashtag1","hashtag2"]},{"1326884371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884373, 1326884375, 1326884369, 1326884371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.91204285621643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 16:24:42.440587
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/23/image_05012025_16_23_02_424699_0003.jpg', '/home/pi/Desktop/images/05012025/16/24/image_05012025_16_24_02_693081_0000.jpg', '/home/pi/Desktop/images/05012025/16/24/image_05012025_16_24_02_693081_0001.jpg', '/home/pi/Desktop/images/05012025/16/24/image_05012025_16_24_02_693081_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/16/23/image_05012025_16_23_02_424699_0003.jpg
/home/pi/Desktop/images/05012025/16/24/image_05012025_16_24_02_693081_0000.jpg
/home/pi/Desktop/images/05012025/16/24/image_05012025_16_24_02_693081_0001.jpg
/home/pi/Desktop/images/05012025/16/24/image_05012025_16_24_02_693081_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884382","1326884379","1326884384","1326884380"],"photo_ids_order":["1326884379","1326884380","1326884382","1326884384"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d84da8c7fb45667f7d259d15dc35c249.jpg","text":"TemporaryFile(/tmp/multipartBody820675390274569396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090752806,"filename":"image_05012025_16_24_02_693081_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/934be8006eba31da1a9184f9dceaaffb.jpg","text":"TemporaryFile(/tmp/multipartBody390754495004981270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090752806,"filename":"image_05012025_16_23_02_424699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62960832049bd37b8cc99585ffc38b3e.jpg","text":"TemporaryFile(/tmp/multipartBody3867412241310457242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090752806,"filename":"image_05012025_16_24_02_693081_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2373ed3157596e876d3c7aff27c9a80e.jpg","text":"TemporaryFile(/tmp/multipartBody5514220019710868610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090752806,"filename":"image_05012025_16_24_02_693081_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884382","file1":"1326884380","file0":"1326884379","file3":"1326884384"},"map_files_photo_id_array":[{"photo_id":"1326884382","filename":"file2"},{"photo_id":"1326884380","filename":"file1"},{"photo_id":"1326884379","filename":"file0"},{"photo_id":"1326884384","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884382":["hashtag1","hashtag2"]},{"1326884379":["hashtag1","hashtag2"]},{"1326884384":["hashtag1","hashtag2"]},{"1326884380":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884382, 1326884379, 1326884384, 1326884380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.36609148979187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 16:25:32.562984
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/24/image_05012025_16_24_02_693081_0003.jpg', '/home/pi/Desktop/images/05012025/16/25/image_05012025_16_25_02_798419_0000.jpg', '/home/pi/Desktop/images/05012025/16/25/image_05012025_16_25_02_798419_0001.jpg', '/home/pi/Desktop/images/05012025/16/25/image_05012025_16_25_02_798419_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/16/24/image_05012025_16_24_02_693081_0003.jpg
/home/pi/Desktop/images/05012025/16/25/image_05012025_16_25_02_798419_0000.jpg
/home/pi/Desktop/images/05012025/16/25/image_05012025_16_25_02_798419_0001.jpg
/home/pi/Desktop/images/05012025/16/25/image_05012025_16_25_02_798419_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884391","1326884390","1326884389","1326884392"],"photo_ids_order":["1326884389","1326884390","1326884391","1326884392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0ceab16fd3680635813b58e2c3e2370b.jpg","text":"TemporaryFile(/tmp/multipartBody2112652628163738539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090802891,"filename":"image_05012025_16_25_02_798419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a27d19e598c3467822e35e95fb003784.jpg","text":"TemporaryFile(/tmp/multipartBody1220717491327417329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090802891,"filename":"image_05012025_16_25_02_798419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8c05e5546e3aea48063fa38ea294025e.jpg","text":"TemporaryFile(/tmp/multipartBody1398005232241712816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090802891,"filename":"image_05012025_16_24_02_693081_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11e24dce9f6e0d32a6e0b0b937653495.jpg","text":"TemporaryFile(/tmp/multipartBody2282375994263055050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090802891,"filename":"image_05012025_16_25_02_798419_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884391","file1":"1326884390","file0":"1326884389","file3":"1326884392"},"map_files_photo_id_array":[{"photo_id":"1326884391","filename":"file2"},{"photo_id":"1326884390","filename":"file1"},{"photo_id":"1326884389","filename":"file0"},{"photo_id":"1326884392","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884391":["hashtag1","hashtag2"]},{"1326884390":["hashtag1","hashtag2"]},{"1326884389":["hashtag1","hashtag2"]},{"1326884392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884391, 1326884390, 1326884389, 1326884392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.11592245101929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:26:22.806458
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/25/image_05012025_16_25_02_798419_0003.jpg', '/home/pi/Desktop/images/05012025/16/26/image_05012025_16_26_03_006467_0000.jpg', '/home/pi/Desktop/images/05012025/16/26/image_05012025_16_26_03_006467_0001.jpg', '/home/pi/Desktop/images/05012025/16/26/image_05012025_16_26_03_006467_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/16/25/image_05012025_16_25_02_798419_0003.jpg
/home/pi/Desktop/images/05012025/16/26/image_05012025_16_26_03_006467_0000.jpg
/home/pi/Desktop/images/05012025/16/26/image_05012025_16_26_03_006467_0001.jpg
/home/pi/Desktop/images/05012025/16/26/image_05012025_16_26_03_006467_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.047169923782349 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 16:26:42.804520
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/25/image_05012025_16_25_02_798419_0003.jpg', '/home/pi/Desktop/images/05012025/16/26/image_05012025_16_26_03_006467_0000.jpg', '/home/pi/Desktop/images/05012025/16/26/image_05012025_16_26_03_006467_0001.jpg', '/home/pi/Desktop/images/05012025/16/26/image_05012025_16_26_03_006467_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/16/25/image_05012025_16_25_02_798419_0003.jpg
/home/pi/Desktop/images/05012025/16/26/image_05012025_16_26_03_006467_0000.jpg
/home/pi/Desktop/images/05012025/16/26/image_05012025_16_26_03_006467_0001.jpg
/home/pi/Desktop/images/05012025/16/26/image_05012025_16_26_03_006467_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884404","1326884406","1326884403","1326884402"],"photo_ids_order":["1326884402","1326884403","1326884404","1326884406"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2aed014de079d904eef8553c23138c92.jpg","text":"TemporaryFile(/tmp/multipartBody5150594389141141655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090873255,"filename":"image_05012025_16_26_03_006467_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/419d7b5967c7a12dc3427ac9cc8362e1.jpg","text":"TemporaryFile(/tmp/multipartBody4054624454966952122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090873255,"filename":"image_05012025_16_26_03_006467_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/75c7920b4b920e2d60d72917f65f463a.jpg","text":"TemporaryFile(/tmp/multipartBody2553845374662730491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090873255,"filename":"image_05012025_16_26_03_006467_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b4d305755018ef78dc17b0b4ac0b07b3.jpg","text":"TemporaryFile(/tmp/multipartBody471068849413389621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090873255,"filename":"image_05012025_16_25_02_798419_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884404","file1":"1326884403","file0":"1326884402","file3":"1326884406"},"map_files_photo_id_array":[{"photo_id":"1326884404","filename":"file2"},{"photo_id":"1326884403","filename":"file1"},{"photo_id":"1326884402","filename":"file0"},{"photo_id":"1326884406","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884404":["hashtag1","hashtag2"]},{"1326884406":["hashtag1","hashtag2"]},{"1326884403":["hashtag1","hashtag2"]},{"1326884402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884404, 1326884406, 1326884403, 1326884402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.311928272247314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 16:27:31.941370
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/26/image_05012025_16_26_03_006467_0003.jpg', '/home/pi/Desktop/images/05012025/16/27/image_05012025_16_27_03_155645_0000.jpg', '/home/pi/Desktop/images/05012025/16/27/image_05012025_16_27_03_155645_0001.jpg', '/home/pi/Desktop/images/05012025/16/27/image_05012025_16_27_03_155645_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/16/26/image_05012025_16_26_03_006467_0003.jpg
/home/pi/Desktop/images/05012025/16/27/image_05012025_16_27_03_155645_0000.jpg
/home/pi/Desktop/images/05012025/16/27/image_05012025_16_27_03_155645_0001.jpg
/home/pi/Desktop/images/05012025/16/27/image_05012025_16_27_03_155645_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.812585353851318 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 16:27:51.924114
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/26/image_05012025_16_26_03_006467_0003.jpg', '/home/pi/Desktop/images/05012025/16/27/image_05012025_16_27_03_155645_0000.jpg', '/home/pi/Desktop/images/05012025/16/27/image_05012025_16_27_03_155645_0001.jpg', '/home/pi/Desktop/images/05012025/16/27/image_05012025_16_27_03_155645_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/16/26/image_05012025_16_26_03_006467_0003.jpg
/home/pi/Desktop/images/05012025/16/27/image_05012025_16_27_03_155645_0000.jpg
/home/pi/Desktop/images/05012025/16/27/image_05012025_16_27_03_155645_0001.jpg
/home/pi/Desktop/images/05012025/16/27/image_05012025_16_27_03_155645_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884422","1326884416","1326884418","1326884420"],"photo_ids_order":["1326884416","1326884418","1326884420","1326884422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f3bd99ee22f95633ed16ee658693f946.jpg","text":"TemporaryFile(/tmp/multipartBody4037322190734760206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090942167,"filename":"image_05012025_16_27_03_155645_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2695c972deab33a2689638cb39e6e948.jpg","text":"TemporaryFile(/tmp/multipartBody7481248136183051731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090942167,"filename":"image_05012025_16_26_03_006467_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/25f79f049225479d857771274311ee8d.jpg","text":"TemporaryFile(/tmp/multipartBody8754758484090445780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090942167,"filename":"image_05012025_16_27_03_155645_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/77b91178965dd0ddbd29ff061e79032b.jpg","text":"TemporaryFile(/tmp/multipartBody9085146425893840058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090942167,"filename":"image_05012025_16_27_03_155645_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884420","file1":"1326884418","file0":"1326884416","file3":"1326884422"},"map_files_photo_id_array":[{"photo_id":"1326884420","filename":"file2"},{"photo_id":"1326884418","filename":"file1"},{"photo_id":"1326884416","filename":"file0"},{"photo_id":"1326884422","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884422":["hashtag1","hashtag2"]},{"1326884416":["hashtag1","hashtag2"]},{"1326884418":["hashtag1","hashtag2"]},{"1326884420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884422, 1326884416, 1326884418, 1326884420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.61323833465576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 16:28:42.182506
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/27/image_05012025_16_27_03_155645_0003.jpg', '/home/pi/Desktop/images/05012025/16/28/image_05012025_16_28_02_310805_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/16/27/image_05012025_16_27_03_155645_0003.jpg
/home/pi/Desktop/images/05012025/16/28/image_05012025_16_28_02_310805_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":["1326884429","1326884428"],"photo_ids_order":["1326884428","1326884429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b52de62c05ad8a13f1ac2dd8ba7b0536.jpg","text":"TemporaryFile(/tmp/multipartBody5800410934762865950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090987569,"filename":"image_05012025_16_28_02_310805_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ec8feff7ee04f2fa1517a8245a5b7c80.jpg","text":"TemporaryFile(/tmp/multipartBody8152374557547941405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736090987569,"filename":"image_05012025_16_27_03_155645_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326884429","file0":"1326884428"},"map_files_photo_id_array":[{"photo_id":"1326884429","filename":"file1"},{"photo_id":"1326884428","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884429":["hashtag1","hashtag2"]},{"1326884428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884429, 1326884428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.720600605010986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:29:22.342446
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/28/image_05012025_16_28_02_310805_0003.jpg', '/home/pi/Desktop/images/05012025/16/29/image_05012025_16_29_02_454359_0000.jpg', '/home/pi/Desktop/images/05012025/16/29/image_05012025_16_29_02_454359_0001.jpg', '/home/pi/Desktop/images/05012025/16/29/image_05012025_16_29_02_454359_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/16/28/image_05012025_16_28_02_310805_0003.jpg
/home/pi/Desktop/images/05012025/16/29/image_05012025_16_29_02_454359_0000.jpg
/home/pi/Desktop/images/05012025/16/29/image_05012025_16_29_02_454359_0001.jpg
/home/pi/Desktop/images/05012025/16/29/image_05012025_16_29_02_454359_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884445","1326884448","1326884447","1326884450"],"photo_ids_order":["1326884445","1326884447","1326884448","1326884450"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6db03f6850343b22f287fe6e319a22f8.jpg","text":"TemporaryFile(/tmp/multipartBody4151091100935436244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091032655,"filename":"image_05012025_16_28_02_310805_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8bcb9a2acfe6f5f4980a26504a66efc9.jpg","text":"TemporaryFile(/tmp/multipartBody5298467673679098292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091032655,"filename":"image_05012025_16_29_02_454359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ff027f3dfaa08e25dbca05dfd35eb784.jpg","text":"TemporaryFile(/tmp/multipartBody2845071392519525193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091032655,"filename":"image_05012025_16_29_02_454359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f39041e89382886db1ab9dc4dc168d27.jpg","text":"TemporaryFile(/tmp/multipartBody8389515592655306676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091032655,"filename":"image_05012025_16_29_02_454359_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884448","file1":"1326884447","file0":"1326884445","file3":"1326884450"},"map_files_photo_id_array":[{"photo_id":"1326884448","filename":"file2"},{"photo_id":"1326884447","filename":"file1"},{"photo_id":"1326884445","filename":"file0"},{"photo_id":"1326884450","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884445":["hashtag1","hashtag2"]},{"1326884448":["hashtag1","hashtag2"]},{"1326884447":["hashtag1","hashtag2"]},{"1326884450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884445, 1326884448, 1326884447, 1326884450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.848371267318726 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:30:22.502859
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/29/image_05012025_16_29_02_454359_0003.jpg', '/home/pi/Desktop/images/05012025/16/30/image_05012025_16_30_02_807398_0000.jpg', '/home/pi/Desktop/images/05012025/16/30/image_05012025_16_30_02_807398_0001.jpg', '/home/pi/Desktop/images/05012025/16/30/image_05012025_16_30_02_807398_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/16/29/image_05012025_16_29_02_454359_0003.jpg
/home/pi/Desktop/images/05012025/16/30/image_05012025_16_30_02_807398_0000.jpg
/home/pi/Desktop/images/05012025/16/30/image_05012025_16_30_02_807398_0001.jpg
/home/pi/Desktop/images/05012025/16/30/image_05012025_16_30_02_807398_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.986824750900269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 16:30:42.431099
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/29/image_05012025_16_29_02_454359_0003.jpg', '/home/pi/Desktop/images/05012025/16/30/image_05012025_16_30_02_807398_0000.jpg', '/home/pi/Desktop/images/05012025/16/30/image_05012025_16_30_02_807398_0001.jpg', '/home/pi/Desktop/images/05012025/16/30/image_05012025_16_30_02_807398_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/16/29/image_05012025_16_29_02_454359_0003.jpg
/home/pi/Desktop/images/05012025/16/30/image_05012025_16_30_02_807398_0000.jpg
/home/pi/Desktop/images/05012025/16/30/image_05012025_16_30_02_807398_0001.jpg
/home/pi/Desktop/images/05012025/16/30/image_05012025_16_30_02_807398_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884469","1326884471","1326884468","1326884467"],"photo_ids_order":["1326884467","1326884468","1326884469","1326884471"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2189df3b24240ba8b9eb8ab116f68d57.jpg","text":"TemporaryFile(/tmp/multipartBody7739458638862606171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091112835,"filename":"image_05012025_16_30_02_807398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e591525927c343eada02a53cf4fa93fb.jpg","text":"TemporaryFile(/tmp/multipartBody6491610783134474343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091112835,"filename":"image_05012025_16_30_02_807398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eae39959c566bd8e63f8d6b4af501cb9.jpg","text":"TemporaryFile(/tmp/multipartBody1348196728711218910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091112835,"filename":"image_05012025_16_30_02_807398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6a407fd5686414ff8aa2ea3bc3310da8.jpg","text":"TemporaryFile(/tmp/multipartBody7026205549848001919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091112835,"filename":"image_05012025_16_29_02_454359_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884469","file1":"1326884468","file0":"1326884467","file3":"1326884471"},"map_files_photo_id_array":[{"photo_id":"1326884469","filename":"file2"},{"photo_id":"1326884468","filename":"file1"},{"photo_id":"1326884467","filename":"file0"},{"photo_id":"1326884471","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884469":["hashtag1","hashtag2"]},{"1326884471":["hashtag1","hashtag2"]},{"1326884468":["hashtag1","hashtag2"]},{"1326884467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884469, 1326884471, 1326884468, 1326884467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.674002170562744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 16:31:32.690754
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/30/image_05012025_16_30_02_807398_0003.jpg', '/home/pi/Desktop/images/05012025/16/31/image_05012025_16_31_02_829528_0000.jpg', '/home/pi/Desktop/images/05012025/16/31/image_05012025_16_31_02_829528_0001.jpg', '/home/pi/Desktop/images/05012025/16/31/image_05012025_16_31_02_829528_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/16/30/image_05012025_16_30_02_807398_0003.jpg
/home/pi/Desktop/images/05012025/16/31/image_05012025_16_31_02_829528_0000.jpg
/home/pi/Desktop/images/05012025/16/31/image_05012025_16_31_02_829528_0001.jpg
/home/pi/Desktop/images/05012025/16/31/image_05012025_16_31_02_829528_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884481","1326884483","1326884480","1326884482"],"photo_ids_order":["1326884480","1326884481","1326884482","1326884483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6e06d307bca00f383661a391dcd10d55.jpg","text":"TemporaryFile(/tmp/multipartBody1223718038628031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091162963,"filename":"image_05012025_16_31_02_829528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/13af0c56472c2936c64eed73f4516de9.jpg","text":"TemporaryFile(/tmp/multipartBody9054078046578740931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091162963,"filename":"image_05012025_16_31_02_829528_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8eca476d5fc140ca3f93e81809d200f0.jpg","text":"TemporaryFile(/tmp/multipartBody832508560243082265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091162963,"filename":"image_05012025_16_30_02_807398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d7f88d0bff33a741f70c241f8d9d099f.jpg","text":"TemporaryFile(/tmp/multipartBody4766746585423370916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091162963,"filename":"image_05012025_16_31_02_829528_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884482","file1":"1326884481","file0":"1326884480","file3":"1326884483"},"map_files_photo_id_array":[{"photo_id":"1326884482","filename":"file2"},{"photo_id":"1326884481","filename":"file1"},{"photo_id":"1326884480","filename":"file0"},{"photo_id":"1326884483","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884481":["hashtag1","hashtag2"]},{"1326884483":["hashtag1","hashtag2"]},{"1326884480":["hashtag1","hashtag2"]},{"1326884482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884481, 1326884483, 1326884480, 1326884482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.968868017196655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:32:21.828608
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/31/image_05012025_16_31_02_829528_0003.jpg', '/home/pi/Desktop/images/05012025/16/32/image_05012025_16_32_03_120171_0000.jpg', '/home/pi/Desktop/images/05012025/16/32/image_05012025_16_32_03_120171_0001.jpg', '/home/pi/Desktop/images/05012025/16/32/image_05012025_16_32_03_120171_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/16/31/image_05012025_16_31_02_829528_0003.jpg
/home/pi/Desktop/images/05012025/16/32/image_05012025_16_32_03_120171_0000.jpg
/home/pi/Desktop/images/05012025/16/32/image_05012025_16_32_03_120171_0001.jpg
/home/pi/Desktop/images/05012025/16/32/image_05012025_16_32_03_120171_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884490","1326884493","1326884496","1326884492"],"photo_ids_order":["1326884490","1326884492","1326884493","1326884496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e8c8bbeb06dfda4c98c4c0b3517a84a1.jpg","text":"TemporaryFile(/tmp/multipartBody6409119820050105421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091212248,"filename":"image_05012025_16_31_02_829528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/434dff03370e3c7c8c85848f2fb2d524.jpg","text":"TemporaryFile(/tmp/multipartBody2956236989453631538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091212248,"filename":"image_05012025_16_32_03_120171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9c3bf7808cdaac39cf0dc80f319777e9.jpg","text":"TemporaryFile(/tmp/multipartBody6366759250250605867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091212248,"filename":"image_05012025_16_32_03_120171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2396f67a467503880566e773e7f7ea26.jpg","text":"TemporaryFile(/tmp/multipartBody5704518508989566814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091212248,"filename":"image_05012025_16_32_03_120171_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884493","file1":"1326884492","file0":"1326884490","file3":"1326884496"},"map_files_photo_id_array":[{"photo_id":"1326884493","filename":"file2"},{"photo_id":"1326884492","filename":"file1"},{"photo_id":"1326884490","filename":"file0"},{"photo_id":"1326884496","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884490":["hashtag1","hashtag2"]},{"1326884493":["hashtag1","hashtag2"]},{"1326884496":["hashtag1","hashtag2"]},{"1326884492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884490, 1326884493, 1326884496, 1326884492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.85885572433472 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:33:22.068102
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/32/image_05012025_16_32_03_120171_0003.jpg', '/home/pi/Desktop/images/05012025/16/33/image_05012025_16_33_02_193232_0000.jpg', '/home/pi/Desktop/images/05012025/16/33/image_05012025_16_33_02_193232_0001.jpg', '/home/pi/Desktop/images/05012025/16/33/image_05012025_16_33_02_193232_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/16/32/image_05012025_16_32_03_120171_0003.jpg
/home/pi/Desktop/images/05012025/16/33/image_05012025_16_33_02_193232_0000.jpg
/home/pi/Desktop/images/05012025/16/33/image_05012025_16_33_02_193232_0001.jpg
/home/pi/Desktop/images/05012025/16/33/image_05012025_16_33_02_193232_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884502","1326884501","1326884504","1326884506"],"photo_ids_order":["1326884501","1326884502","1326884504","1326884506"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e907d44a10f18b6b8dc4ef774d2a937a.jpg","text":"TemporaryFile(/tmp/multipartBody4430815786489692921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091272518,"filename":"image_05012025_16_33_02_193232_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6729fc497682c996be6f743ee98722a4.jpg","text":"TemporaryFile(/tmp/multipartBody8360833619298876879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091272518,"filename":"image_05012025_16_32_03_120171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5849b0093c0ce82cec40e3c881fcad60.jpg","text":"TemporaryFile(/tmp/multipartBody2346847142572587685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091272518,"filename":"image_05012025_16_33_02_193232_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/351af3d118cadbbaff4d07e64284c5d4.jpg","text":"TemporaryFile(/tmp/multipartBody5934294546322055187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091272518,"filename":"image_05012025_16_33_02_193232_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884504","file1":"1326884502","file0":"1326884501","file3":"1326884506"},"map_files_photo_id_array":[{"photo_id":"1326884504","filename":"file2"},{"photo_id":"1326884502","filename":"file1"},{"photo_id":"1326884501","filename":"file0"},{"photo_id":"1326884506","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884502":["hashtag1","hashtag2"]},{"1326884501":["hashtag1","hashtag2"]},{"1326884504":["hashtag1","hashtag2"]},{"1326884506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884502, 1326884501, 1326884504, 1326884506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.43541216850281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:34:22.317030
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/33/image_05012025_16_33_02_193232_0003.jpg', '/home/pi/Desktop/images/05012025/16/34/image_05012025_16_34_02_386626_0000.jpg', '/home/pi/Desktop/images/05012025/16/34/image_05012025_16_34_02_386626_0001.jpg', '/home/pi/Desktop/images/05012025/16/34/image_05012025_16_34_02_386626_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/16/33/image_05012025_16_33_02_193232_0003.jpg
/home/pi/Desktop/images/05012025/16/34/image_05012025_16_34_02_386626_0000.jpg
/home/pi/Desktop/images/05012025/16/34/image_05012025_16_34_02_386626_0001.jpg
/home/pi/Desktop/images/05012025/16/34/image_05012025_16_34_02_386626_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884515","1326884511","1326884513","1326884512"],"photo_ids_order":["1326884511","1326884512","1326884513","1326884515"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/761316ccfd6e8fc3c5bc8ea829a704ff.jpg","text":"TemporaryFile(/tmp/multipartBody8787682620872641331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091332811,"filename":"image_05012025_16_34_02_386626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3f1bba2a27258d458885a4e171800762.jpg","text":"TemporaryFile(/tmp/multipartBody174722789299185796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091332811,"filename":"image_05012025_16_33_02_193232_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce7444411fc4322a3bfcfc311f6ce6bd.jpg","text":"TemporaryFile(/tmp/multipartBody7069288205518335451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091332811,"filename":"image_05012025_16_34_02_386626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe48b2e3988d0f715226698a49f22edc.jpg","text":"TemporaryFile(/tmp/multipartBody8781149073580532145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091332811,"filename":"image_05012025_16_34_02_386626_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884513","file1":"1326884512","file0":"1326884511","file3":"1326884515"},"map_files_photo_id_array":[{"photo_id":"1326884513","filename":"file2"},{"photo_id":"1326884512","filename":"file1"},{"photo_id":"1326884511","filename":"file0"},{"photo_id":"1326884515","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884515":["hashtag1","hashtag2"]},{"1326884511":["hashtag1","hashtag2"]},{"1326884513":["hashtag1","hashtag2"]},{"1326884512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884515, 1326884511, 1326884513, 1326884512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74376940727234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:35:22.529029
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/34/image_05012025_16_34_02_386626_0003.jpg', '/home/pi/Desktop/images/05012025/16/35/image_05012025_16_35_02_645620_0000.jpg', '/home/pi/Desktop/images/05012025/16/35/image_05012025_16_35_02_645620_0001.jpg', '/home/pi/Desktop/images/05012025/16/35/image_05012025_16_35_02_645620_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/16/34/image_05012025_16_34_02_386626_0003.jpg
/home/pi/Desktop/images/05012025/16/35/image_05012025_16_35_02_645620_0000.jpg
/home/pi/Desktop/images/05012025/16/35/image_05012025_16_35_02_645620_0001.jpg
/home/pi/Desktop/images/05012025/16/35/image_05012025_16_35_02_645620_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884529","1326884528","1326884525","1326884527"],"photo_ids_order":["1326884525","1326884527","1326884528","1326884529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7250a9457f8eef7ef940ee6b5a1e74da.jpg","text":"TemporaryFile(/tmp/multipartBody5394322966710671730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091392886,"filename":"image_05012025_16_35_02_645620_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7426f901e13a79258792eeef47aff2d0.jpg","text":"TemporaryFile(/tmp/multipartBody5828550383806330695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091392886,"filename":"image_05012025_16_35_02_645620_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/af78c00790688f14afe97926acbe2305.jpg","text":"TemporaryFile(/tmp/multipartBody6453165013740858752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091392886,"filename":"image_05012025_16_34_02_386626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a312e3d7d4ee3685bec28691bd887009.jpg","text":"TemporaryFile(/tmp/multipartBody6799085857605128986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091392886,"filename":"image_05012025_16_35_02_645620_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884528","file1":"1326884527","file0":"1326884525","file3":"1326884529"},"map_files_photo_id_array":[{"photo_id":"1326884528","filename":"file2"},{"photo_id":"1326884527","filename":"file1"},{"photo_id":"1326884525","filename":"file0"},{"photo_id":"1326884529","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884529":["hashtag1","hashtag2"]},{"1326884528":["hashtag1","hashtag2"]},{"1326884525":["hashtag1","hashtag2"]},{"1326884527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884529, 1326884528, 1326884525, 1326884527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7413387298584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:36:22.585786
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/35/image_05012025_16_35_02_645620_0003.jpg', '/home/pi/Desktop/images/05012025/16/36/image_05012025_16_36_02_754082_0000.jpg', '/home/pi/Desktop/images/05012025/16/36/image_05012025_16_36_02_754082_0001.jpg', '/home/pi/Desktop/images/05012025/16/36/image_05012025_16_36_02_754082_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/16/35/image_05012025_16_35_02_645620_0003.jpg
/home/pi/Desktop/images/05012025/16/36/image_05012025_16_36_02_754082_0000.jpg
/home/pi/Desktop/images/05012025/16/36/image_05012025_16_36_02_754082_0001.jpg
/home/pi/Desktop/images/05012025/16/36/image_05012025_16_36_02_754082_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.029167652130127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 16:36:42.683667
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/35/image_05012025_16_35_02_645620_0003.jpg', '/home/pi/Desktop/images/05012025/16/36/image_05012025_16_36_02_754082_0000.jpg', '/home/pi/Desktop/images/05012025/16/36/image_05012025_16_36_02_754082_0001.jpg', '/home/pi/Desktop/images/05012025/16/36/image_05012025_16_36_02_754082_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/16/35/image_05012025_16_35_02_645620_0003.jpg
/home/pi/Desktop/images/05012025/16/36/image_05012025_16_36_02_754082_0000.jpg
/home/pi/Desktop/images/05012025/16/36/image_05012025_16_36_02_754082_0001.jpg
/home/pi/Desktop/images/05012025/16/36/image_05012025_16_36_02_754082_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884541","1326884540","1326884543","1326884545"],"photo_ids_order":["1326884540","1326884541","1326884543","1326884545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a7240df64f0bfc697a042245f59b4499.jpg","text":"TemporaryFile(/tmp/multipartBody2302126294786013431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091473121,"filename":"image_05012025_16_36_02_754082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dafa7c44538e6f84ec6826abf771bce4.jpg","text":"TemporaryFile(/tmp/multipartBody1554590625768060924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091473121,"filename":"image_05012025_16_35_02_645620_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9385bdcd7868b6e4a53e12482cddd292.jpg","text":"TemporaryFile(/tmp/multipartBody2735774334528703103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091473121,"filename":"image_05012025_16_36_02_754082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/85e2d05fa93176b41309797a829d7223.jpg","text":"TemporaryFile(/tmp/multipartBody175893574328817859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091473121,"filename":"image_05012025_16_36_02_754082_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884543","file1":"1326884541","file0":"1326884540","file3":"1326884545"},"map_files_photo_id_array":[{"photo_id":"1326884543","filename":"file2"},{"photo_id":"1326884541","filename":"file1"},{"photo_id":"1326884540","filename":"file0"},{"photo_id":"1326884545","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884541":["hashtag1","hashtag2"]},{"1326884540":["hashtag1","hashtag2"]},{"1326884543":["hashtag1","hashtag2"]},{"1326884545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884541, 1326884540, 1326884543, 1326884545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.53899908065796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 16:37:32.775663
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/36/image_05012025_16_36_02_754082_0003.jpg', '/home/pi/Desktop/images/05012025/16/37/image_05012025_16_37_03_013460_0000.jpg', '/home/pi/Desktop/images/05012025/16/37/image_05012025_16_37_03_013460_0001.jpg', '/home/pi/Desktop/images/05012025/16/37/image_05012025_16_37_03_013460_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/16/36/image_05012025_16_36_02_754082_0003.jpg
/home/pi/Desktop/images/05012025/16/37/image_05012025_16_37_03_013460_0000.jpg
/home/pi/Desktop/images/05012025/16/37/image_05012025_16_37_03_013460_0001.jpg
/home/pi/Desktop/images/05012025/16/37/image_05012025_16_37_03_013460_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884553","1326884552","1326884555","1326884551"],"photo_ids_order":["1326884551","1326884552","1326884553","1326884555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f06d267fd13e6d172eadf11bb9e706bc.jpg","text":"TemporaryFile(/tmp/multipartBody5091709992886931454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091523233,"filename":"image_05012025_16_37_03_013460_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/46f4e34cfe717359eb559485bb89ca4c.jpg","text":"TemporaryFile(/tmp/multipartBody1909513690996716071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091523233,"filename":"image_05012025_16_37_03_013460_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3c7c10678b58fef2066b8148b91d8186.jpg","text":"TemporaryFile(/tmp/multipartBody5966341476088492040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091523233,"filename":"image_05012025_16_37_03_013460_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/abdb18e89ed11122245cec45a80ac237.jpg","text":"TemporaryFile(/tmp/multipartBody5399518102431538693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091523233,"filename":"image_05012025_16_36_02_754082_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884553","file1":"1326884552","file0":"1326884551","file3":"1326884555"},"map_files_photo_id_array":[{"photo_id":"1326884553","filename":"file2"},{"photo_id":"1326884552","filename":"file1"},{"photo_id":"1326884551","filename":"file0"},{"photo_id":"1326884555","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884553":["hashtag1","hashtag2"]},{"1326884552":["hashtag1","hashtag2"]},{"1326884555":["hashtag1","hashtag2"]},{"1326884551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884553, 1326884552, 1326884555, 1326884551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.27730345726013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:38:21.967024
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/37/image_05012025_16_37_03_013460_0003.jpg', '/home/pi/Desktop/images/05012025/16/38/image_05012025_16_38_03_087654_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/16/37/image_05012025_16_37_03_013460_0003.jpg
/home/pi/Desktop/images/05012025/16/38/image_05012025_16_38_03_087654_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":["1326884562","1326884560"],"photo_ids_order":["1326884560","1326884562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/65c1f6db7055eb5e4d65d7c47956aa22.jpg","text":"TemporaryFile(/tmp/multipartBody4650543051586605015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091567489,"filename":"image_05012025_16_38_03_087654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9f6047374a133c849eaf56fc4fcb1fdd.jpg","text":"TemporaryFile(/tmp/multipartBody6237846267012925235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091567489,"filename":"image_05012025_16_37_03_013460_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326884562","file0":"1326884560"},"map_files_photo_id_array":[{"photo_id":"1326884562","filename":"file1"},{"photo_id":"1326884560","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884562":["hashtag1","hashtag2"]},{"1326884560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884562, 1326884560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.6679847240448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 16:38:51.975227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 16:39:02.512611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:39:22.228752
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/38/image_05012025_16_38_03_087654_0001.jpg', '/home/pi/Desktop/images/05012025/16/39/image_05012025_16_39_02_298968_0000.jpg', '/home/pi/Desktop/images/05012025/16/39/image_05012025_16_39_02_298968_0001.jpg', '/home/pi/Desktop/images/05012025/16/39/image_05012025_16_39_02_298968_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/16/38/image_05012025_16_38_03_087654_0001.jpg
/home/pi/Desktop/images/05012025/16/39/image_05012025_16_39_02_298968_0000.jpg
/home/pi/Desktop/images/05012025/16/39/image_05012025_16_39_02_298968_0001.jpg
/home/pi/Desktop/images/05012025/16/39/image_05012025_16_39_02_298968_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884577","1326884573","1326884575","1326884572"],"photo_ids_order":["1326884572","1326884573","1326884575","1326884577"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/269617258c12019cbb737cf50393d3d3.jpg","text":"TemporaryFile(/tmp/multipartBody6362338406187417413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091632665,"filename":"image_05012025_16_39_02_298968_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7aaf0f0dd6318b79c9242bbedb187e31.jpg","text":"TemporaryFile(/tmp/multipartBody6326254307538904952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091632665,"filename":"image_05012025_16_39_02_298968_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/75028e03b7ac9f82a45b10facd996dfa.jpg","text":"TemporaryFile(/tmp/multipartBody3097689033219040780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091632665,"filename":"image_05012025_16_39_02_298968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c6d7358a1616e11a12e678db4dae069f.jpg","text":"TemporaryFile(/tmp/multipartBody8498153775996661801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091632665,"filename":"image_05012025_16_38_03_087654_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884575","file1":"1326884573","file0":"1326884572","file3":"1326884577"},"map_files_photo_id_array":[{"photo_id":"1326884575","filename":"file2"},{"photo_id":"1326884573","filename":"file1"},{"photo_id":"1326884572","filename":"file0"},{"photo_id":"1326884577","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884577":["hashtag1","hashtag2"]},{"1326884573":["hashtag1","hashtag2"]},{"1326884575":["hashtag1","hashtag2"]},{"1326884572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884577, 1326884573, 1326884575, 1326884572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.53031539916992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:40:22.436988
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/39/image_05012025_16_39_02_298968_0003.jpg', '/home/pi/Desktop/images/05012025/16/40/image_05012025_16_40_02_609124_0000.jpg', '/home/pi/Desktop/images/05012025/16/40/image_05012025_16_40_02_609124_0001.jpg', '/home/pi/Desktop/images/05012025/16/40/image_05012025_16_40_02_609124_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/16/39/image_05012025_16_39_02_298968_0003.jpg
/home/pi/Desktop/images/05012025/16/40/image_05012025_16_40_02_609124_0000.jpg
/home/pi/Desktop/images/05012025/16/40/image_05012025_16_40_02_609124_0001.jpg
/home/pi/Desktop/images/05012025/16/40/image_05012025_16_40_02_609124_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884583","1326884585","1326884587","1326884584"],"photo_ids_order":["1326884583","1326884584","1326884585","1326884587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/50cfd939236d97f3427d461432b0a2eb.jpg","text":"TemporaryFile(/tmp/multipartBody7687262175225052873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091692758,"filename":"image_05012025_16_39_02_298968_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6aa6d605b671d9b47011fecb881c6502.jpg","text":"TemporaryFile(/tmp/multipartBody5712151393601625557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091692758,"filename":"image_05012025_16_40_02_609124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/618b59ba613dd85b459a71e8eabc85c7.jpg","text":"TemporaryFile(/tmp/multipartBody238923749929089680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091692758,"filename":"image_05012025_16_40_02_609124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/90a42d091f2d9c2011fbbd3a4bce2510.jpg","text":"TemporaryFile(/tmp/multipartBody8319488439743252376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091692758,"filename":"image_05012025_16_40_02_609124_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884585","file1":"1326884584","file0":"1326884583","file3":"1326884587"},"map_files_photo_id_array":[{"photo_id":"1326884585","filename":"file2"},{"photo_id":"1326884584","filename":"file1"},{"photo_id":"1326884583","filename":"file0"},{"photo_id":"1326884587","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884583":["hashtag1","hashtag2"]},{"1326884585":["hashtag1","hashtag2"]},{"1326884587":["hashtag1","hashtag2"]},{"1326884584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884583, 1326884585, 1326884587, 1326884584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.5082528591156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:41:22.590403
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/40/image_05012025_16_40_02_609124_0003.jpg', '/home/pi/Desktop/images/05012025/16/41/image_05012025_16_41_02_790460_0000.jpg', '/home/pi/Desktop/images/05012025/16/41/image_05012025_16_41_02_790460_0001.jpg', '/home/pi/Desktop/images/05012025/16/41/image_05012025_16_41_02_790460_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/16/40/image_05012025_16_40_02_609124_0003.jpg
/home/pi/Desktop/images/05012025/16/41/image_05012025_16_41_02_790460_0000.jpg
/home/pi/Desktop/images/05012025/16/41/image_05012025_16_41_02_790460_0001.jpg
/home/pi/Desktop/images/05012025/16/41/image_05012025_16_41_02_790460_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884598","1326884601","1326884600","1326884599"],"photo_ids_order":["1326884598","1326884599","1326884600","1326884601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c73f4c28a8e0075c3001428f3064d112.jpg","text":"TemporaryFile(/tmp/multipartBody15224837073584293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091752816,"filename":"image_05012025_16_40_02_609124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a0b3c23020155fd01ebf3db2de767bbe.jpg","text":"TemporaryFile(/tmp/multipartBody7304202587581923030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091752816,"filename":"image_05012025_16_41_02_790460_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb40036619d45d82cd5773b58965ce20.jpg","text":"TemporaryFile(/tmp/multipartBody7848525207099088833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091752816,"filename":"image_05012025_16_41_02_790460_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cd6d167bf58ef58539dd5ef4c54983e0.jpg","text":"TemporaryFile(/tmp/multipartBody3700042743824963841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091752816,"filename":"image_05012025_16_41_02_790460_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884600","file1":"1326884599","file0":"1326884598","file3":"1326884601"},"map_files_photo_id_array":[{"photo_id":"1326884600","filename":"file2"},{"photo_id":"1326884599","filename":"file1"},{"photo_id":"1326884598","filename":"file0"},{"photo_id":"1326884601","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884598":["hashtag1","hashtag2"]},{"1326884601":["hashtag1","hashtag2"]},{"1326884600":["hashtag1","hashtag2"]},{"1326884599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884598, 1326884601, 1326884600, 1326884599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.158397912979126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:42:21.768984
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/41/image_05012025_16_41_02_790460_0003.jpg', '/home/pi/Desktop/images/05012025/16/42/image_05012025_16_42_02_893421_0000.jpg', '/home/pi/Desktop/images/05012025/16/42/image_05012025_16_42_02_893421_0001.jpg', '/home/pi/Desktop/images/05012025/16/42/image_05012025_16_42_02_893421_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/16/41/image_05012025_16_41_02_790460_0003.jpg
/home/pi/Desktop/images/05012025/16/42/image_05012025_16_42_02_893421_0000.jpg
/home/pi/Desktop/images/05012025/16/42/image_05012025_16_42_02_893421_0001.jpg
/home/pi/Desktop/images/05012025/16/42/image_05012025_16_42_02_893421_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.106725454330444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 16:42:41.802498
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/41/image_05012025_16_41_02_790460_0003.jpg', '/home/pi/Desktop/images/05012025/16/42/image_05012025_16_42_02_893421_0000.jpg', '/home/pi/Desktop/images/05012025/16/42/image_05012025_16_42_02_893421_0001.jpg', '/home/pi/Desktop/images/05012025/16/42/image_05012025_16_42_02_893421_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/16/41/image_05012025_16_41_02_790460_0003.jpg
/home/pi/Desktop/images/05012025/16/42/image_05012025_16_42_02_893421_0000.jpg
/home/pi/Desktop/images/05012025/16/42/image_05012025_16_42_02_893421_0001.jpg
/home/pi/Desktop/images/05012025/16/42/image_05012025_16_42_02_893421_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":["1326884614","1326884613","1326884612","1326884611"],"photo_ids_order":["1326884611","1326884612","1326884613","1326884614"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/210a1ca541f456985836baa2aaffa7e4.jpg","text":"TemporaryFile(/tmp/multipartBody68402804627622537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091832309,"filename":"image_05012025_16_42_02_893421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e11b3d04bb5f60dbd7960ffdf2cf14cd.jpg","text":"TemporaryFile(/tmp/multipartBody9074362585974481940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091832309,"filename":"image_05012025_16_42_02_893421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/212f3c4eb9557dbf650d58fece0b5499.jpg","text":"TemporaryFile(/tmp/multipartBody5966327201510201624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091832309,"filename":"image_05012025_16_42_02_893421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b80f950582813f0e2661857593911906.jpg","text":"TemporaryFile(/tmp/multipartBody8387494345216426763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091832309,"filename":"image_05012025_16_41_02_790460_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884613","file1":"1326884612","file0":"1326884611","file3":"1326884614"},"map_files_photo_id_array":[{"photo_id":"1326884613","filename":"file2"},{"photo_id":"1326884612","filename":"file1"},{"photo_id":"1326884611","filename":"file0"},{"photo_id":"1326884614","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884614":["hashtag1","hashtag2"]},{"1326884613":["hashtag1","hashtag2"]},{"1326884612":["hashtag1","hashtag2"]},{"1326884611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884614, 1326884613, 1326884612, 1326884611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.41737675666809 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:43:21.971653
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/42/image_05012025_16_42_02_893421_0003.jpg', '/home/pi/Desktop/images/05012025/16/43/image_05012025_16_43_02_147485_0000.jpg', '/home/pi/Desktop/images/05012025/16/43/image_05012025_16_43_02_147485_0001.jpg', '/home/pi/Desktop/images/05012025/16/43/image_05012025_16_43_02_147485_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/16/42/image_05012025_16_42_02_893421_0003.jpg
/home/pi/Desktop/images/05012025/16/43/image_05012025_16_43_02_147485_0000.jpg
/home/pi/Desktop/images/05012025/16/43/image_05012025_16_43_02_147485_0001.jpg
/home/pi/Desktop/images/05012025/16/43/image_05012025_16_43_02_147485_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884622","1326884627","1326884624","1326884626"],"photo_ids_order":["1326884622","1326884624","1326884626","1326884627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/be6defa27ebb9a31ff76aba9a670dade.jpg","text":"TemporaryFile(/tmp/multipartBody5995396025653676218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091872519,"filename":"image_05012025_16_42_02_893421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1dee001c559f0484dc1fcdc7a4f0896b.jpg","text":"TemporaryFile(/tmp/multipartBody6844156193804943645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091872519,"filename":"image_05012025_16_43_02_147485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/36a6b79de11d835be5044b5877176bd5.jpg","text":"TemporaryFile(/tmp/multipartBody1729322510234076283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091872519,"filename":"image_05012025_16_43_02_147485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cf5d531d83359fab00bfacb1728c99a4.jpg","text":"TemporaryFile(/tmp/multipartBody1904878378100674354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091872519,"filename":"image_05012025_16_43_02_147485_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884626","file1":"1326884624","file0":"1326884622","file3":"1326884627"},"map_files_photo_id_array":[{"photo_id":"1326884626","filename":"file2"},{"photo_id":"1326884624","filename":"file1"},{"photo_id":"1326884622","filename":"file0"},{"photo_id":"1326884627","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884622":["hashtag1","hashtag2"]},{"1326884627":["hashtag1","hashtag2"]},{"1326884624":["hashtag1","hashtag2"]},{"1326884626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884622, 1326884627, 1326884624, 1326884626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.10691976547241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:44:22.215666
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/43/image_05012025_16_43_02_147485_0003.jpg', '/home/pi/Desktop/images/05012025/16/44/image_05012025_16_44_02_330200_0000.jpg', '/home/pi/Desktop/images/05012025/16/44/image_05012025_16_44_02_330200_0001.jpg', '/home/pi/Desktop/images/05012025/16/44/image_05012025_16_44_02_330200_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/16/43/image_05012025_16_43_02_147485_0003.jpg
/home/pi/Desktop/images/05012025/16/44/image_05012025_16_44_02_330200_0000.jpg
/home/pi/Desktop/images/05012025/16/44/image_05012025_16_44_02_330200_0001.jpg
/home/pi/Desktop/images/05012025/16/44/image_05012025_16_44_02_330200_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884643","1326884645","1326884641","1326884647"],"photo_ids_order":["1326884641","1326884643","1326884645","1326884647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab7971d4006aca6ec8a2a376d5391fe1.jpg","text":"TemporaryFile(/tmp/multipartBody6858151180084544275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091932710,"filename":"image_05012025_16_44_02_330200_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c1d2920129bc1945d4a9a4f6238e09ed.jpg","text":"TemporaryFile(/tmp/multipartBody8053984312646385331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091932710,"filename":"image_05012025_16_44_02_330200_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/863d33265fd8d732650dd5c0a1eff5e1.jpg","text":"TemporaryFile(/tmp/multipartBody1925080334453405294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091932710,"filename":"image_05012025_16_43_02_147485_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ebaef7f6bd1126463a3ae70c1a56bb0.jpg","text":"TemporaryFile(/tmp/multipartBody2831309807076141353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091932710,"filename":"image_05012025_16_44_02_330200_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884645","file1":"1326884643","file0":"1326884641","file3":"1326884647"},"map_files_photo_id_array":[{"photo_id":"1326884645","filename":"file2"},{"photo_id":"1326884643","filename":"file1"},{"photo_id":"1326884641","filename":"file0"},{"photo_id":"1326884647","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884643":["hashtag1","hashtag2"]},{"1326884645":["hashtag1","hashtag2"]},{"1326884641":["hashtag1","hashtag2"]},{"1326884647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884643, 1326884645, 1326884641, 1326884647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.67697787284851 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:45:22.425953
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/44/image_05012025_16_44_02_330200_0003.jpg', '/home/pi/Desktop/images/05012025/16/45/image_05012025_16_45_02_551022_0000.jpg', '/home/pi/Desktop/images/05012025/16/45/image_05012025_16_45_02_551022_0001.jpg', '/home/pi/Desktop/images/05012025/16/45/image_05012025_16_45_02_551022_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/16/44/image_05012025_16_44_02_330200_0003.jpg
/home/pi/Desktop/images/05012025/16/45/image_05012025_16_45_02_551022_0000.jpg
/home/pi/Desktop/images/05012025/16/45/image_05012025_16_45_02_551022_0001.jpg
/home/pi/Desktop/images/05012025/16/45/image_05012025_16_45_02_551022_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884652","1326884655","1326884657","1326884653"],"photo_ids_order":["1326884652","1326884653","1326884655","1326884657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11616383f5fbc1975dd9ea6d709e3544.jpg","text":"TemporaryFile(/tmp/multipartBody7889993757532182577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091992760,"filename":"image_05012025_16_44_02_330200_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f4cdec883bdcbe979a91fd650fcc2e13.jpg","text":"TemporaryFile(/tmp/multipartBody1871823296308269954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091992760,"filename":"image_05012025_16_45_02_551022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c9b03b087ef17f3674eb653cf1e677f9.jpg","text":"TemporaryFile(/tmp/multipartBody2909893300474559767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091992760,"filename":"image_05012025_16_45_02_551022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dc64227302950ea978133ba26a9f8d07.jpg","text":"TemporaryFile(/tmp/multipartBody632460181969150864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736091992760,"filename":"image_05012025_16_45_02_551022_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884655","file1":"1326884653","file0":"1326884652","file3":"1326884657"},"map_files_photo_id_array":[{"photo_id":"1326884655","filename":"file2"},{"photo_id":"1326884653","filename":"file1"},{"photo_id":"1326884652","filename":"file0"},{"photo_id":"1326884657","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884652":["hashtag1","hashtag2"]},{"1326884655":["hashtag1","hashtag2"]},{"1326884657":["hashtag1","hashtag2"]},{"1326884653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884652, 1326884655, 1326884657, 1326884653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.158164262771606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:46:22.555796
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/45/image_05012025_16_45_02_551022_0003.jpg', '/home/pi/Desktop/images/05012025/16/46/image_05012025_16_46_02_747242_0000.jpg', '/home/pi/Desktop/images/05012025/16/46/image_05012025_16_46_02_747242_0001.jpg', '/home/pi/Desktop/images/05012025/16/46/image_05012025_16_46_02_747242_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/16/45/image_05012025_16_45_02_551022_0003.jpg
/home/pi/Desktop/images/05012025/16/46/image_05012025_16_46_02_747242_0000.jpg
/home/pi/Desktop/images/05012025/16/46/image_05012025_16_46_02_747242_0001.jpg
/home/pi/Desktop/images/05012025/16/46/image_05012025_16_46_02_747242_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884667","1326884663","1326884662","1326884665"],"photo_ids_order":["1326884662","1326884663","1326884665","1326884667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/89e92614b0989c0aec56a8ef2b821d05.jpg","text":"TemporaryFile(/tmp/multipartBody3441833547738412381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092053036,"filename":"image_05012025_16_46_02_747242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e736c0a87264c88e24b261fb5216c9fd.jpg","text":"TemporaryFile(/tmp/multipartBody5387394429277943261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092053036,"filename":"image_05012025_16_46_02_747242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c3e5ea81a59069629a48ec6bef2637d.jpg","text":"TemporaryFile(/tmp/multipartBody2997474011996911592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092053036,"filename":"image_05012025_16_45_02_551022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0bee100a0bb5c82d7fbad9febbc357f6.jpg","text":"TemporaryFile(/tmp/multipartBody2769761888140436843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092053036,"filename":"image_05012025_16_46_02_747242_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884665","file1":"1326884663","file0":"1326884662","file3":"1326884667"},"map_files_photo_id_array":[{"photo_id":"1326884665","filename":"file2"},{"photo_id":"1326884663","filename":"file1"},{"photo_id":"1326884662","filename":"file0"},{"photo_id":"1326884667","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884667":["hashtag1","hashtag2"]},{"1326884663":["hashtag1","hashtag2"]},{"1326884662":["hashtag1","hashtag2"]},{"1326884665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884667, 1326884663, 1326884662, 1326884665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.26954221725464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:47:22.710385
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/46/image_05012025_16_46_02_747242_0003.jpg', '/home/pi/Desktop/images/05012025/16/47/image_05012025_16_47_02_883025_0000.jpg', '/home/pi/Desktop/images/05012025/16/47/image_05012025_16_47_02_883025_0001.jpg', '/home/pi/Desktop/images/05012025/16/47/image_05012025_16_47_02_883025_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/16/46/image_05012025_16_46_02_747242_0003.jpg
/home/pi/Desktop/images/05012025/16/47/image_05012025_16_47_02_883025_0000.jpg
/home/pi/Desktop/images/05012025/16/47/image_05012025_16_47_02_883025_0001.jpg
/home/pi/Desktop/images/05012025/16/47/image_05012025_16_47_02_883025_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884679","1326884678","1326884680","1326884677"],"photo_ids_order":["1326884677","1326884678","1326884679","1326884680"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/48734aa717258b84aeb93e14a2d27b41.jpg","text":"TemporaryFile(/tmp/multipartBody8656998174565475963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092113145,"filename":"image_05012025_16_47_02_883025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cf8815b9d69678a196b61b43992d852b.jpg","text":"TemporaryFile(/tmp/multipartBody7337577582157690057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092113145,"filename":"image_05012025_16_47_02_883025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/330ebe1c32f34a2dd46a7280c80ffdb5.jpg","text":"TemporaryFile(/tmp/multipartBody4496203133776317988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092113145,"filename":"image_05012025_16_47_02_883025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ea2795332a698b97afeab5935eaf0d77.jpg","text":"TemporaryFile(/tmp/multipartBody4400730787224039895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092113145,"filename":"image_05012025_16_46_02_747242_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884679","file1":"1326884678","file0":"1326884677","file3":"1326884680"},"map_files_photo_id_array":[{"photo_id":"1326884679","filename":"file2"},{"photo_id":"1326884678","filename":"file1"},{"photo_id":"1326884677","filename":"file0"},{"photo_id":"1326884680","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884679":["hashtag1","hashtag2"]},{"1326884678":["hashtag1","hashtag2"]},{"1326884680":["hashtag1","hashtag2"]},{"1326884677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884679, 1326884678, 1326884680, 1326884677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.85604238510132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:48:21.889607
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/47/image_05012025_16_47_02_883025_0003.jpg', '/home/pi/Desktop/images/05012025/16/48/image_05012025_16_48_03_069097_0000.jpg', '/home/pi/Desktop/images/05012025/16/48/image_05012025_16_48_03_069097_0001.jpg', '/home/pi/Desktop/images/05012025/16/48/image_05012025_16_48_03_069097_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/16/47/image_05012025_16_47_02_883025_0003.jpg
/home/pi/Desktop/images/05012025/16/48/image_05012025_16_48_03_069097_0000.jpg
/home/pi/Desktop/images/05012025/16/48/image_05012025_16_48_03_069097_0001.jpg
/home/pi/Desktop/images/05012025/16/48/image_05012025_16_48_03_069097_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.006341934204102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 16:48:41.921817
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/47/image_05012025_16_47_02_883025_0003.jpg', '/home/pi/Desktop/images/05012025/16/48/image_05012025_16_48_03_069097_0000.jpg', '/home/pi/Desktop/images/05012025/16/48/image_05012025_16_48_03_069097_0001.jpg', '/home/pi/Desktop/images/05012025/16/48/image_05012025_16_48_03_069097_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/16/47/image_05012025_16_47_02_883025_0003.jpg
/home/pi/Desktop/images/05012025/16/48/image_05012025_16_48_03_069097_0000.jpg
/home/pi/Desktop/images/05012025/16/48/image_05012025_16_48_03_069097_0001.jpg
/home/pi/Desktop/images/05012025/16/48/image_05012025_16_48_03_069097_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884691","1326884693","1326884690","1326884692"],"photo_ids_order":["1326884690","1326884691","1326884692","1326884693"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0a93e48e1ef652d4327cdaa7a4b5f61e.jpg","text":"TemporaryFile(/tmp/multipartBody4108302524506760735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092192319,"filename":"image_05012025_16_48_03_069097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fdb6eaeadc5e3a2a5ecc5fa31d5700ba.jpg","text":"TemporaryFile(/tmp/multipartBody1261671926383747714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092192319,"filename":"image_05012025_16_48_03_069097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6d1f5b9752647ce6863a9b5d7c941503.jpg","text":"TemporaryFile(/tmp/multipartBody4995014689807854628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092192319,"filename":"image_05012025_16_47_02_883025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7bc57ba39c2c68c0ed3ec084609310a9.jpg","text":"TemporaryFile(/tmp/multipartBody6448982141787590784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092192319,"filename":"image_05012025_16_48_03_069097_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884692","file1":"1326884691","file0":"1326884690","file3":"1326884693"},"map_files_photo_id_array":[{"photo_id":"1326884692","filename":"file2"},{"photo_id":"1326884691","filename":"file1"},{"photo_id":"1326884690","filename":"file0"},{"photo_id":"1326884693","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884691":["hashtag1","hashtag2"]},{"1326884693":["hashtag1","hashtag2"]},{"1326884690":["hashtag1","hashtag2"]},{"1326884692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884691, 1326884693, 1326884690, 1326884692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.87156414985657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 16:49:31.973332
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/48/image_05012025_16_48_03_069097_0003.jpg', '/home/pi/Desktop/images/05012025/16/49/image_05012025_16_49_02_220432_0000.jpg', '/home/pi/Desktop/images/05012025/16/49/image_05012025_16_49_02_220432_0001.jpg', '/home/pi/Desktop/images/05012025/16/49/image_05012025_16_49_02_220432_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/16/48/image_05012025_16_48_03_069097_0003.jpg
/home/pi/Desktop/images/05012025/16/49/image_05012025_16_49_02_220432_0000.jpg
/home/pi/Desktop/images/05012025/16/49/image_05012025_16_49_02_220432_0001.jpg
/home/pi/Desktop/images/05012025/16/49/image_05012025_16_49_02_220432_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.913141012191772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 16:49:52.026513
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/48/image_05012025_16_48_03_069097_0003.jpg', '/home/pi/Desktop/images/05012025/16/49/image_05012025_16_49_02_220432_0000.jpg', '/home/pi/Desktop/images/05012025/16/49/image_05012025_16_49_02_220432_0001.jpg', '/home/pi/Desktop/images/05012025/16/49/image_05012025_16_49_02_220432_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/16/48/image_05012025_16_48_03_069097_0003.jpg
/home/pi/Desktop/images/05012025/16/49/image_05012025_16_49_02_220432_0000.jpg
/home/pi/Desktop/images/05012025/16/49/image_05012025_16_49_02_220432_0001.jpg
/home/pi/Desktop/images/05012025/16/49/image_05012025_16_49_02_220432_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884707","1326884703","1326884708","1326884705"],"photo_ids_order":["1326884703","1326884705","1326884707","1326884708"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad730caab98dd92e68902bf0ece736a6.jpg","text":"TemporaryFile(/tmp/multipartBody2622942965257831427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092262371,"filename":"image_05012025_16_49_02_220432_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e887412c4d2d063e90033f57ef1cb86d.jpg","text":"TemporaryFile(/tmp/multipartBody696398137868014782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092262371,"filename":"image_05012025_16_48_03_069097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0ee147fbb6a73e7b59502376539ffadf.jpg","text":"TemporaryFile(/tmp/multipartBody4933309704217645007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092262371,"filename":"image_05012025_16_49_02_220432_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/099850bce9236b676c57ce32fd77bc33.jpg","text":"TemporaryFile(/tmp/multipartBody4809770576208293404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092262371,"filename":"image_05012025_16_49_02_220432_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884707","file1":"1326884705","file0":"1326884703","file3":"1326884708"},"map_files_photo_id_array":[{"photo_id":"1326884707","filename":"file2"},{"photo_id":"1326884705","filename":"file1"},{"photo_id":"1326884703","filename":"file0"},{"photo_id":"1326884708","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884707":["hashtag1","hashtag2"]},{"1326884703":["hashtag1","hashtag2"]},{"1326884708":["hashtag1","hashtag2"]},{"1326884705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884707, 1326884703, 1326884708, 1326884705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.024311780929565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 16:50:42.215487
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/49/image_05012025_16_49_02_220432_0003.jpg', '/home/pi/Desktop/images/05012025/16/50/image_05012025_16_50_02_361264_0000.jpg', '/home/pi/Desktop/images/05012025/16/50/image_05012025_16_50_02_361264_0001.jpg', '/home/pi/Desktop/images/05012025/16/50/image_05012025_16_50_02_361264_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/16/49/image_05012025_16_49_02_220432_0003.jpg
/home/pi/Desktop/images/05012025/16/50/image_05012025_16_50_02_361264_0000.jpg
/home/pi/Desktop/images/05012025/16/50/image_05012025_16_50_02_361264_0001.jpg
/home/pi/Desktop/images/05012025/16/50/image_05012025_16_50_02_361264_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":["1326884716","1326884721","1326884718","1326884714"],"photo_ids_order":["1326884714","1326884716","1326884718","1326884721"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d5234509d30c91c5a351076498af26d9.jpg","text":"TemporaryFile(/tmp/multipartBody2566866499279622423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092312597,"filename":"image_05012025_16_50_02_361264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fdec9133848ffa85046a3e97d01d99e9.jpg","text":"TemporaryFile(/tmp/multipartBody391840077586594967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092312597,"filename":"image_05012025_16_50_02_361264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5229da93b9c930f61d985b957f773400.jpg","text":"TemporaryFile(/tmp/multipartBody4071907633903757819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092312597,"filename":"image_05012025_16_50_02_361264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f3f33c71fd0c3165a14a18f4e206ba61.jpg","text":"TemporaryFile(/tmp/multipartBody2915525402211438341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092312597,"filename":"image_05012025_16_49_02_220432_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884718","file1":"1326884716","file0":"1326884714","file3":"1326884721"},"map_files_photo_id_array":[{"photo_id":"1326884718","filename":"file2"},{"photo_id":"1326884716","filename":"file1"},{"photo_id":"1326884714","filename":"file0"},{"photo_id":"1326884721","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884716":["hashtag1","hashtag2"]},{"1326884721":["hashtag1","hashtag2"]},{"1326884718":["hashtag1","hashtag2"]},{"1326884714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884716, 1326884721, 1326884718, 1326884714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.75295639038086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:51:22.325270
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/50/image_05012025_16_50_02_361264_0003.jpg', '/home/pi/Desktop/images/05012025/16/51/image_05012025_16_51_02_551039_0000.jpg', '/home/pi/Desktop/images/05012025/16/51/image_05012025_16_51_02_551039_0001.jpg', '/home/pi/Desktop/images/05012025/16/51/image_05012025_16_51_02_551039_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/16/50/image_05012025_16_50_02_361264_0003.jpg
/home/pi/Desktop/images/05012025/16/51/image_05012025_16_51_02_551039_0000.jpg
/home/pi/Desktop/images/05012025/16/51/image_05012025_16_51_02_551039_0001.jpg
/home/pi/Desktop/images/05012025/16/51/image_05012025_16_51_02_551039_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884733","1326884732","1326884729","1326884731"],"photo_ids_order":["1326884729","1326884731","1326884732","1326884733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/491248482696d84a80edbf55bcf09880.jpg","text":"TemporaryFile(/tmp/multipartBody1134378811038122528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092352727,"filename":"image_05012025_16_51_02_551039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dd145f7af04c0db70135da702233ee57.jpg","text":"TemporaryFile(/tmp/multipartBody3220471227532688355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092352727,"filename":"image_05012025_16_51_02_551039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e7d68ba085391021c3bc3e9c912ff0b5.jpg","text":"TemporaryFile(/tmp/multipartBody3124045541664237165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092352727,"filename":"image_05012025_16_50_02_361264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b2914e821fdf3ca4d2033eb81881d05c.jpg","text":"TemporaryFile(/tmp/multipartBody5994797209154201440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092352727,"filename":"image_05012025_16_51_02_551039_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884732","file1":"1326884731","file0":"1326884729","file3":"1326884733"},"map_files_photo_id_array":[{"photo_id":"1326884732","filename":"file2"},{"photo_id":"1326884731","filename":"file1"},{"photo_id":"1326884729","filename":"file0"},{"photo_id":"1326884733","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884733":["hashtag1","hashtag2"]},{"1326884732":["hashtag1","hashtag2"]},{"1326884729":["hashtag1","hashtag2"]},{"1326884731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884733, 1326884732, 1326884729, 1326884731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.175620555877686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:52:22.527119
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/51/image_05012025_16_51_02_551039_0003.jpg', '/home/pi/Desktop/images/05012025/16/52/image_05012025_16_52_02_786730_0000.jpg', '/home/pi/Desktop/images/05012025/16/52/image_05012025_16_52_02_786730_0001.jpg', '/home/pi/Desktop/images/05012025/16/52/image_05012025_16_52_02_786730_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/16/51/image_05012025_16_51_02_551039_0003.jpg
/home/pi/Desktop/images/05012025/16/52/image_05012025_16_52_02_786730_0000.jpg
/home/pi/Desktop/images/05012025/16/52/image_05012025_16_52_02_786730_0001.jpg
/home/pi/Desktop/images/05012025/16/52/image_05012025_16_52_02_786730_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.069259643554688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 16:52:42.587712
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/51/image_05012025_16_51_02_551039_0003.jpg', '/home/pi/Desktop/images/05012025/16/52/image_05012025_16_52_02_786730_0000.jpg', '/home/pi/Desktop/images/05012025/16/52/image_05012025_16_52_02_786730_0001.jpg', '/home/pi/Desktop/images/05012025/16/52/image_05012025_16_52_02_786730_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/16/51/image_05012025_16_51_02_551039_0003.jpg
/home/pi/Desktop/images/05012025/16/52/image_05012025_16_52_02_786730_0000.jpg
/home/pi/Desktop/images/05012025/16/52/image_05012025_16_52_02_786730_0001.jpg
/home/pi/Desktop/images/05012025/16/52/image_05012025_16_52_02_786730_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884745","1326884748","1326884744","1326884747"],"photo_ids_order":["1326884744","1326884745","1326884747","1326884748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2ccaeb5219414f29c0d02c92e92344dc.jpg","text":"TemporaryFile(/tmp/multipartBody6638487668528786458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092433053,"filename":"image_05012025_16_52_02_786730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/800ee2ee476d1a9c9f037805402a56fd.jpg","text":"TemporaryFile(/tmp/multipartBody7470376395645792543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092433053,"filename":"image_05012025_16_52_02_786730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b25a7f0c7e346bbd195d6ec7ff86429c.jpg","text":"TemporaryFile(/tmp/multipartBody8180661576513979502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092433053,"filename":"image_05012025_16_51_02_551039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/82771a8752211011affaaf60a7f1d75a.jpg","text":"TemporaryFile(/tmp/multipartBody9114556458128586953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092433053,"filename":"image_05012025_16_52_02_786730_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884747","file1":"1326884745","file0":"1326884744","file3":"1326884748"},"map_files_photo_id_array":[{"photo_id":"1326884747","filename":"file2"},{"photo_id":"1326884745","filename":"file1"},{"photo_id":"1326884744","filename":"file0"},{"photo_id":"1326884748","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884745":["hashtag1","hashtag2"]},{"1326884748":["hashtag1","hashtag2"]},{"1326884744":["hashtag1","hashtag2"]},{"1326884747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884745, 1326884748, 1326884744, 1326884747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.79366183280945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 16:53:32.719675
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/52/image_05012025_16_52_02_786730_0003.jpg', '/home/pi/Desktop/images/05012025/16/53/image_05012025_16_53_02_861979_0000.jpg', '/home/pi/Desktop/images/05012025/16/53/image_05012025_16_53_02_861979_0001.jpg', '/home/pi/Desktop/images/05012025/16/53/image_05012025_16_53_02_861979_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/16/52/image_05012025_16_52_02_786730_0003.jpg
/home/pi/Desktop/images/05012025/16/53/image_05012025_16_53_02_861979_0000.jpg
/home/pi/Desktop/images/05012025/16/53/image_05012025_16_53_02_861979_0001.jpg
/home/pi/Desktop/images/05012025/16/53/image_05012025_16_53_02_861979_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884754","1326884757","1326884756","1326884755"],"photo_ids_order":["1326884754","1326884755","1326884756","1326884757"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/77d22bc74e6fdc912a5bbf7d2bb3765c.jpg","text":"TemporaryFile(/tmp/multipartBody8014914133583715409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092483120,"filename":"image_05012025_16_52_02_786730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4cbd1f6c0c41ed025f6c0e0d354c1b91.jpg","text":"TemporaryFile(/tmp/multipartBody7397829941013506725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092483120,"filename":"image_05012025_16_53_02_861979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f174489176a32125da4dbe917052f215.jpg","text":"TemporaryFile(/tmp/multipartBody889070018161390789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092483120,"filename":"image_05012025_16_53_02_861979_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dece3e0586a0206cb5619dcec30e7d4b.jpg","text":"TemporaryFile(/tmp/multipartBody240964851151300661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092483120,"filename":"image_05012025_16_53_02_861979_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884756","file1":"1326884755","file0":"1326884754","file3":"1326884757"},"map_files_photo_id_array":[{"photo_id":"1326884756","filename":"file2"},{"photo_id":"1326884755","filename":"file1"},{"photo_id":"1326884754","filename":"file0"},{"photo_id":"1326884757","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884754":["hashtag1","hashtag2"]},{"1326884757":["hashtag1","hashtag2"]},{"1326884756":["hashtag1","hashtag2"]},{"1326884755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884754, 1326884757, 1326884756, 1326884755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.183712005615234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:54:21.861262
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/53/image_05012025_16_53_02_861979_0003.jpg', '/home/pi/Desktop/images/05012025/16/54/image_05012025_16_54_03_060773_0000.jpg', '/home/pi/Desktop/images/05012025/16/54/image_05012025_16_54_03_060773_0001.jpg', '/home/pi/Desktop/images/05012025/16/54/image_05012025_16_54_03_060773_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/16/53/image_05012025_16_53_02_861979_0003.jpg
/home/pi/Desktop/images/05012025/16/54/image_05012025_16_54_03_060773_0000.jpg
/home/pi/Desktop/images/05012025/16/54/image_05012025_16_54_03_060773_0001.jpg
/home/pi/Desktop/images/05012025/16/54/image_05012025_16_54_03_060773_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884772","1326884768","1326884767","1326884770"],"photo_ids_order":["1326884767","1326884768","1326884770","1326884772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bed6cedf794022d3997e7fd309eeda86.jpg","text":"TemporaryFile(/tmp/multipartBody8507596655720000049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092532235,"filename":"image_05012025_16_54_03_060773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2ffb2d21b8863d6ba4dd8742aa51b70f.jpg","text":"TemporaryFile(/tmp/multipartBody1360077368975466466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092532235,"filename":"image_05012025_16_54_03_060773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/15d66811cbb99a318dac0dbcacbe408a.jpg","text":"TemporaryFile(/tmp/multipartBody4902625067921652542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092532235,"filename":"image_05012025_16_53_02_861979_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3f9dd7f2468b86a3f1914676686dae59.jpg","text":"TemporaryFile(/tmp/multipartBody212961878654242668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092532235,"filename":"image_05012025_16_54_03_060773_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884770","file1":"1326884768","file0":"1326884767","file3":"1326884772"},"map_files_photo_id_array":[{"photo_id":"1326884770","filename":"file2"},{"photo_id":"1326884768","filename":"file1"},{"photo_id":"1326884767","filename":"file0"},{"photo_id":"1326884772","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884772":["hashtag1","hashtag2"]},{"1326884768":["hashtag1","hashtag2"]},{"1326884767":["hashtag1","hashtag2"]},{"1326884770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884772, 1326884768, 1326884767, 1326884770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.271767139434814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:55:22.030686
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/54/image_05012025_16_54_03_060773_0003.jpg', '/home/pi/Desktop/images/05012025/16/55/image_05012025_16_55_02_161098_0000.jpg', '/home/pi/Desktop/images/05012025/16/55/image_05012025_16_55_02_161098_0001.jpg', '/home/pi/Desktop/images/05012025/16/55/image_05012025_16_55_02_161098_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/16/54/image_05012025_16_54_03_060773_0003.jpg
/home/pi/Desktop/images/05012025/16/55/image_05012025_16_55_02_161098_0000.jpg
/home/pi/Desktop/images/05012025/16/55/image_05012025_16_55_02_161098_0001.jpg
/home/pi/Desktop/images/05012025/16/55/image_05012025_16_55_02_161098_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884778","1326884780","1326884777","1326884782"],"photo_ids_order":["1326884777","1326884778","1326884780","1326884782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4fe5668ec750cd34933b0e0e81fc391e.jpg","text":"TemporaryFile(/tmp/multipartBody1555167660095064254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092592361,"filename":"image_05012025_16_55_02_161098_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/269e53235c28d6ae6f188ae2e3da5c72.jpg","text":"TemporaryFile(/tmp/multipartBody9104059087161268940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092592361,"filename":"image_05012025_16_55_02_161098_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b895a0374fbe263109131a7a19468bba.jpg","text":"TemporaryFile(/tmp/multipartBody547410220717871004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092592361,"filename":"image_05012025_16_54_03_060773_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2e12567d60e4918d7d7c3bd6c93b5378.jpg","text":"TemporaryFile(/tmp/multipartBody398225021782188394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092592361,"filename":"image_05012025_16_55_02_161098_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326884780","file1":"1326884778","file0":"1326884777","file3":"1326884782"},"map_files_photo_id_array":[{"photo_id":"1326884780","filename":"file2"},{"photo_id":"1326884778","filename":"file1"},{"photo_id":"1326884777","filename":"file0"},{"photo_id":"1326884782","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884778":["hashtag1","hashtag2"]},{"1326884780":["hashtag1","hashtag2"]},{"1326884777":["hashtag1","hashtag2"]},{"1326884782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884778, 1326884780, 1326884777, 1326884782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.44769811630249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:56:22.250753
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/55/image_05012025_16_55_02_161098_0003.jpg', '/home/pi/Desktop/images/05012025/16/56/image_05012025_16_56_02_382383_0000.jpg', '/home/pi/Desktop/images/05012025/16/56/image_05012025_16_56_02_382383_0001.jpg', '/home/pi/Desktop/images/05012025/16/56/image_05012025_16_56_02_382383_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/16/55/image_05012025_16_55_02_161098_0003.jpg
/home/pi/Desktop/images/05012025/16/56/image_05012025_16_56_02_382383_0000.jpg
/home/pi/Desktop/images/05012025/16/56/image_05012025_16_56_02_382383_0001.jpg
/home/pi/Desktop/images/05012025/16/56/image_05012025_16_56_02_382383_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326884787","1326885053","1326885014","1326884788"],"photo_ids_order":["1326884787","1326884788","1326885014","1326885053"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/65476793ea1e74123b3e5d5306bc9a31.jpg","text":"TemporaryFile(/tmp/multipartBody1423560538400664768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092652604,"filename":"image_05012025_16_55_02_161098_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f75b69bdd41274ba02d21be2ff6c249.jpg","text":"TemporaryFile(/tmp/multipartBody1430348869399267441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092652604,"filename":"image_05012025_16_56_02_382383_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f14a6d205052d2bd7a9b47c8ac75dde.jpg","text":"TemporaryFile(/tmp/multipartBody3054624623719281544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092652604,"filename":"image_05012025_16_56_02_382383_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ecbb804be3d4d92042867084d91e72b7.jpg","text":"TemporaryFile(/tmp/multipartBody7850752361097362138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092652604,"filename":"image_05012025_16_56_02_382383_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326885014","file1":"1326884788","file0":"1326884787","file3":"1326885053"},"map_files_photo_id_array":[{"photo_id":"1326885014","filename":"file2"},{"photo_id":"1326884788","filename":"file1"},{"photo_id":"1326884787","filename":"file0"},{"photo_id":"1326885053","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326884787":["hashtag1","hashtag2"]},{"1326885053":["hashtag1","hashtag2"]},{"1326885014":["hashtag1","hashtag2"]},{"1326884788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326884787, 1326885053, 1326885014, 1326884788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.8343026638031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:57:22.459746
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/16/56/image_05012025_16_56_02_382383_0003.jpg', '/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0000.jpg', '/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0001.jpg', '/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_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/16/56/image_05012025_16_56_02_382383_0003.jpg
/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0000.jpg
/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0001.jpg
/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_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-05 16:59:03.272396
SELECT 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/16/56/image_05012025_16_56_02_382383_0003.jpg', '/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0000.jpg', '/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0001.jpg', '/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0002.jpg', '/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0003.jpg', '/home/pi/Desktop/images/05012025/16/58/image_05012025_16_58_02_789269_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/16/56/image_05012025_16_56_02_382383_0003.jpg
/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0000.jpg
/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0001.jpg
/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0002.jpg
/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0003.jpg
/home/pi/Desktop/images/05012025/16/58/image_05012025_16_58_02_789269_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.945279598236084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 16:59:22.811315
SELECT 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/16/56/image_05012025_16_56_02_382383_0003.jpg', '/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0000.jpg', '/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0001.jpg', '/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0002.jpg', '/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0003.jpg', '/home/pi/Desktop/images/05012025/16/58/image_05012025_16_58_02_789269_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/16/56/image_05012025_16_56_02_382383_0003.jpg
/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0000.jpg
/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0001.jpg
/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0002.jpg
/home/pi/Desktop/images/05012025/16/57/image_05012025_16_57_02_565978_0003.jpg
/home/pi/Desktop/images/05012025/16/58/image_05012025_16_58_02_789269_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":["1326885815","1326885818","1326885826","1326885820","1326885823","1326885817"],"photo_ids_order":["1326885815","1326885817","1326885818","1326885820","1326885823","1326885826"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2fcc95582aacefda3fcb7fb1b6948115.jpg","text":"TemporaryFile(/tmp/multipartBody1029353050918189981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092838095,"filename":"image_05012025_16_56_02_382383_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/be0fcb85aab1362f571db5a73f53a7db.jpg","text":"TemporaryFile(/tmp/multipartBody1045589366808195500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092838095,"filename":"image_05012025_16_57_02_565978_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5a2dda5fe0c96830f244003a07edb2fe.jpg","text":"TemporaryFile(/tmp/multipartBody2599328327742771702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092838095,"filename":"image_05012025_16_58_02_789269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6c11114f59fd6a4d7c30263c110a6980.jpg","text":"TemporaryFile(/tmp/multipartBody1878341589835374112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092838095,"filename":"image_05012025_16_57_02_565978_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f4bb7a657eac1d947379b38527a9ea1.jpg","text":"TemporaryFile(/tmp/multipartBody4078331207442366292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092838095,"filename":"image_05012025_16_57_02_565978_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ddedeb86eb237f93688e3e9d659abace.jpg","text":"TemporaryFile(/tmp/multipartBody8581780566352564684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092838095,"filename":"image_05012025_16_57_02_565978_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326885818","file1":"1326885817","file0":"1326885815","file4":"1326885823","file5":"1326885826","file3":"1326885820"},"map_files_photo_id_array":[{"photo_id":"1326885826","filename":"file5"},{"photo_id":"1326885818","filename":"file2"},{"photo_id":"1326885823","filename":"file4"},{"photo_id":"1326885817","filename":"file1"},{"photo_id":"1326885815","filename":"file0"},{"photo_id":"1326885820","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326885815":["hashtag1","hashtag2"]},{"1326885818":["hashtag1","hashtag2"]},{"1326885826":["hashtag1","hashtag2"]},{"1326885820":["hashtag1","hashtag2"]},{"1326885823":["hashtag1","hashtag2"]},{"1326885817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326885815, 1326885818, 1326885826, 1326885820, 1326885823, 1326885817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.99996256828308 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:00:22.033711
SELECT 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/16/58/image_05012025_16_58_02_789269_0001.jpg', '/home/pi/Desktop/images/05012025/16/58/image_05012025_16_58_02_789269_0002.jpg', '/home/pi/Desktop/images/05012025/16/58/image_05012025_16_58_02_789269_0003.jpg', '/home/pi/Desktop/images/05012025/16/59/image_05012025_16_59_02_926269_0000.jpg', '/home/pi/Desktop/images/05012025/16/59/image_05012025_16_59_02_926269_0001.jpg', '/home/pi/Desktop/images/05012025/16/59/image_05012025_16_59_02_926269_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/16/58/image_05012025_16_58_02_789269_0001.jpg
/home/pi/Desktop/images/05012025/16/58/image_05012025_16_58_02_789269_0002.jpg
/home/pi/Desktop/images/05012025/16/58/image_05012025_16_58_02_789269_0003.jpg
/home/pi/Desktop/images/05012025/16/59/image_05012025_16_59_02_926269_0000.jpg
/home/pi/Desktop/images/05012025/16/59/image_05012025_16_59_02_926269_0001.jpg
/home/pi/Desktop/images/05012025/16/59/image_05012025_16_59_02_926269_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326885843","1326885846","1326885848","1326885842","1326885845","1326885844"],"photo_ids_order":["1326885842","1326885843","1326885844","1326885845","1326885846","1326885848"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/278bc7d32c628ff354253e967d0efe05.jpg","text":"TemporaryFile(/tmp/multipartBody326522059731536031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092897354,"filename":"image_05012025_16_58_02_789269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5ccfeb3d6432643f353b40b11e9f4973.jpg","text":"TemporaryFile(/tmp/multipartBody1207291504077755251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092897354,"filename":"image_05012025_16_59_02_926269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/77e6ad61a63790279baac61ae776769b.jpg","text":"TemporaryFile(/tmp/multipartBody8996074402494509722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092897354,"filename":"image_05012025_16_59_02_926269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/163ed08d7c4300b0cd61914dff973547.jpg","text":"TemporaryFile(/tmp/multipartBody1816724378496222448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092897354,"filename":"image_05012025_16_58_02_789269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2065c24d8ebd20a0636bb15f22a1361f.jpg","text":"TemporaryFile(/tmp/multipartBody6127111312873432885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092897354,"filename":"image_05012025_16_59_02_926269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2dc9e0477b77da3390852988d3c15304.jpg","text":"TemporaryFile(/tmp/multipartBody6633312212651727419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092897354,"filename":"image_05012025_16_58_02_789269_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326885844","file1":"1326885843","file0":"1326885842","file4":"1326885846","file5":"1326885848","file3":"1326885845"},"map_files_photo_id_array":[{"photo_id":"1326885848","filename":"file5"},{"photo_id":"1326885844","filename":"file2"},{"photo_id":"1326885846","filename":"file4"},{"photo_id":"1326885843","filename":"file1"},{"photo_id":"1326885842","filename":"file0"},{"photo_id":"1326885845","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326885843":["hashtag1","hashtag2"]},{"1326885846":["hashtag1","hashtag2"]},{"1326885848":["hashtag1","hashtag2"]},{"1326885842":["hashtag1","hashtag2"]},{"1326885845":["hashtag1","hashtag2"]},{"1326885844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326885843, 1326885846, 1326885848, 1326885842, 1326885845, 1326885844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.9495062828064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:01:22.316489
SELECT 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/16/59/image_05012025_16_59_02_926269_0003.jpg', '/home/pi/Desktop/images/05012025/17/00/image_05012025_17_00_03_131720_0000.jpg', '/home/pi/Desktop/images/05012025/17/00/image_05012025_17_00_03_131720_0001.jpg', '/home/pi/Desktop/images/05012025/17/00/image_05012025_17_00_03_131720_0003.jpg', '/home/pi/Desktop/images/05012025/17/01/image_05012025_17_01_02_308462_0000.jpg', '/home/pi/Desktop/images/05012025/17/01/image_05012025_17_01_02_308462_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/16/59/image_05012025_16_59_02_926269_0003.jpg
/home/pi/Desktop/images/05012025/17/00/image_05012025_17_00_03_131720_0000.jpg
/home/pi/Desktop/images/05012025/17/00/image_05012025_17_00_03_131720_0001.jpg
/home/pi/Desktop/images/05012025/17/00/image_05012025_17_00_03_131720_0003.jpg
/home/pi/Desktop/images/05012025/17/01/image_05012025_17_01_02_308462_0000.jpg
/home/pi/Desktop/images/05012025/17/01/image_05012025_17_01_02_308462_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":["1326885864","1326885866","1326885863","1326885862","1326885865","1326885868"],"photo_ids_order":["1326885862","1326885863","1326885864","1326885865","1326885866","1326885868"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8e76f89a6a932fc42f8fd1ba62e89047.jpg","text":"TemporaryFile(/tmp/multipartBody3732566101162816918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092957251,"filename":"image_05012025_17_00_03_131720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b7381a6ba0e73414187af79d8c83fda2.jpg","text":"TemporaryFile(/tmp/multipartBody2129290974906864754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092957251,"filename":"image_05012025_17_01_02_308462_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e995092c2a20201638ab724817f40247.jpg","text":"TemporaryFile(/tmp/multipartBody2052987596449603899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092957251,"filename":"image_05012025_17_00_03_131720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/22994f5a6234524011d3031e8c046391.jpg","text":"TemporaryFile(/tmp/multipartBody2636664580962731450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092957251,"filename":"image_05012025_16_59_02_926269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2c59c977abe62cf2b7c37492c9e8e31f.jpg","text":"TemporaryFile(/tmp/multipartBody492688328469493513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092957251,"filename":"image_05012025_17_00_03_131720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/feda4bb52ce5830b729354690d640b6f.jpg","text":"TemporaryFile(/tmp/multipartBody7160628688813204989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736092957251,"filename":"image_05012025_17_01_02_308462_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326885864","file1":"1326885863","file0":"1326885862","file4":"1326885866","file5":"1326885868","file3":"1326885865"},"map_files_photo_id_array":[{"photo_id":"1326885868","filename":"file5"},{"photo_id":"1326885864","filename":"file2"},{"photo_id":"1326885866","filename":"file4"},{"photo_id":"1326885863","filename":"file1"},{"photo_id":"1326885862","filename":"file0"},{"photo_id":"1326885865","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326885864":["hashtag1","hashtag2"]},{"1326885866":["hashtag1","hashtag2"]},{"1326885863":["hashtag1","hashtag2"]},{"1326885862":["hashtag1","hashtag2"]},{"1326885865":["hashtag1","hashtag2"]},{"1326885868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326885864, 1326885866, 1326885863, 1326885862, 1326885865, 1326885868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.41350507736206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 17:02:32.326227
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/01/image_05012025_17_01_02_308462_0002.jpg', '/home/pi/Desktop/images/05012025/17/01/image_05012025_17_01_02_308462_0003.jpg', '/home/pi/Desktop/images/05012025/17/02/image_05012025_17_02_02_578071_0000.jpg', '/home/pi/Desktop/images/05012025/17/02/image_05012025_17_02_02_578071_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/17/01/image_05012025_17_01_02_308462_0002.jpg
/home/pi/Desktop/images/05012025/17/01/image_05012025_17_01_02_308462_0003.jpg
/home/pi/Desktop/images/05012025/17/02/image_05012025_17_02_02_578071_0000.jpg
/home/pi/Desktop/images/05012025/17/02/image_05012025_17_02_02_578071_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326885884","1326885887","1326885880","1326885882"],"photo_ids_order":["1326885880","1326885882","1326885884","1326885887"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e684670ed8a99986600aa22e5930df76.jpg","text":"TemporaryFile(/tmp/multipartBody8408944199031336305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093022477,"filename":"image_05012025_17_02_02_578071_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/57a8b568155bf23cac161a1c984e3686.jpg","text":"TemporaryFile(/tmp/multipartBody8731795521515923258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093022477,"filename":"image_05012025_17_02_02_578071_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/51f1e17dcf9afe21005829f46124694d.jpg","text":"TemporaryFile(/tmp/multipartBody796798147858207726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093022477,"filename":"image_05012025_17_01_02_308462_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5b5df27fe18b985594bd41cd047da129.jpg","text":"TemporaryFile(/tmp/multipartBody7700458071421109440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093022477,"filename":"image_05012025_17_01_02_308462_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326885884","file1":"1326885882","file0":"1326885880","file3":"1326885887"},"map_files_photo_id_array":[{"photo_id":"1326885884","filename":"file2"},{"photo_id":"1326885882","filename":"file1"},{"photo_id":"1326885880","filename":"file0"},{"photo_id":"1326885887","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326885884":["hashtag1","hashtag2"]},{"1326885887":["hashtag1","hashtag2"]},{"1326885880":["hashtag1","hashtag2"]},{"1326885882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326885884, 1326885887, 1326885880, 1326885882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02680063247681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:03:22.519713
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/02/image_05012025_17_02_02_578071_0003.jpg', '/home/pi/Desktop/images/05012025/17/03/image_05012025_17_03_02_682436_0000.jpg', '/home/pi/Desktop/images/05012025/17/03/image_05012025_17_03_02_682436_0001.jpg', '/home/pi/Desktop/images/05012025/17/03/image_05012025_17_03_02_682436_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/17/02/image_05012025_17_02_02_578071_0003.jpg
/home/pi/Desktop/images/05012025/17/03/image_05012025_17_03_02_682436_0000.jpg
/home/pi/Desktop/images/05012025/17/03/image_05012025_17_03_02_682436_0001.jpg
/home/pi/Desktop/images/05012025/17/03/image_05012025_17_03_02_682436_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326885900","1326885895","1326885898","1326885901"],"photo_ids_order":["1326885895","1326885898","1326885900","1326885901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8c7545aa7f3f27f3319a28fea32cdf45.jpg","text":"TemporaryFile(/tmp/multipartBody535805406874648144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093072668,"filename":"image_05012025_17_03_02_682436_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c83453b65079d4a38a4899e1a2a5b9fb.jpg","text":"TemporaryFile(/tmp/multipartBody2068187754947699805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093072668,"filename":"image_05012025_17_02_02_578071_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2cf41b24704e55baaf1268130330c90.jpg","text":"TemporaryFile(/tmp/multipartBody6615517336637796979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093072668,"filename":"image_05012025_17_03_02_682436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/47c83960a854cc81d622dcbc506e67e2.jpg","text":"TemporaryFile(/tmp/multipartBody2305217297698623105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093072668,"filename":"image_05012025_17_03_02_682436_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326885900","file1":"1326885898","file0":"1326885895","file3":"1326885901"},"map_files_photo_id_array":[{"photo_id":"1326885900","filename":"file2"},{"photo_id":"1326885898","filename":"file1"},{"photo_id":"1326885895","filename":"file0"},{"photo_id":"1326885901","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326885900":["hashtag1","hashtag2"]},{"1326885895":["hashtag1","hashtag2"]},{"1326885898":["hashtag1","hashtag2"]},{"1326885901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326885900, 1326885895, 1326885898, 1326885901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.04613208770752 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:04:22.804755
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/03/image_05012025_17_03_02_682436_0003.jpg', '/home/pi/Desktop/images/05012025/17/04/image_05012025_17_04_02_874264_0000.jpg', '/home/pi/Desktop/images/05012025/17/04/image_05012025_17_04_02_874264_0001.jpg', '/home/pi/Desktop/images/05012025/17/04/image_05012025_17_04_02_874264_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/17/03/image_05012025_17_03_02_682436_0003.jpg
/home/pi/Desktop/images/05012025/17/04/image_05012025_17_04_02_874264_0000.jpg
/home/pi/Desktop/images/05012025/17/04/image_05012025_17_04_02_874264_0001.jpg
/home/pi/Desktop/images/05012025/17/04/image_05012025_17_04_02_874264_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326885912","1326885908","1326885907","1326885910"],"photo_ids_order":["1326885907","1326885908","1326885910","1326885912"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7d7d8d755017437ae39699bcc0a0af5b.jpg","text":"TemporaryFile(/tmp/multipartBody2388809407025031782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093132933,"filename":"image_05012025_17_04_02_874264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/41591d5914464093046a1d862f96ee69.jpg","text":"TemporaryFile(/tmp/multipartBody2190324175541619557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093132933,"filename":"image_05012025_17_04_02_874264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b2324f412e7bf3947f80b544de5cd49f.jpg","text":"TemporaryFile(/tmp/multipartBody5398038833194317036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093132933,"filename":"image_05012025_17_03_02_682436_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9202e548896bb97963114331ffb5c6a5.jpg","text":"TemporaryFile(/tmp/multipartBody7402362966409578542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093132933,"filename":"image_05012025_17_04_02_874264_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326885910","file1":"1326885908","file0":"1326885907","file3":"1326885912"},"map_files_photo_id_array":[{"photo_id":"1326885910","filename":"file2"},{"photo_id":"1326885908","filename":"file1"},{"photo_id":"1326885907","filename":"file0"},{"photo_id":"1326885912","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326885912":["hashtag1","hashtag2"]},{"1326885908":["hashtag1","hashtag2"]},{"1326885907":["hashtag1","hashtag2"]},{"1326885910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326885912, 1326885908, 1326885907, 1326885910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.56857132911682 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:05:21.896188
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/04/image_05012025_17_04_02_874264_0003.jpg', '/home/pi/Desktop/images/05012025/17/05/image_05012025_17_05_03_143218_0000.jpg', '/home/pi/Desktop/images/05012025/17/05/image_05012025_17_05_03_143218_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/17/04/image_05012025_17_04_02_874264_0003.jpg
/home/pi/Desktop/images/05012025/17/05/image_05012025_17_05_03_143218_0000.jpg
/home/pi/Desktop/images/05012025/17/05/image_05012025_17_05_03_143218_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":["1326885923","1326885926","1326885925"],"photo_ids_order":["1326885923","1326885925","1326885926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f63db7c9516b48db057f29d0a374ff9d.jpg","text":"TemporaryFile(/tmp/multipartBody1435760374411372155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093189640,"filename":"image_05012025_17_04_02_874264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d2894fa384f300d810986d9b0aa70cf2.jpg","text":"TemporaryFile(/tmp/multipartBody7019362573775039303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093189640,"filename":"image_05012025_17_05_03_143218_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cd880fa8f378c032121b71e491b16587.jpg","text":"TemporaryFile(/tmp/multipartBody6153574396825652139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093189640,"filename":"image_05012025_17_05_03_143218_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326885926","file1":"1326885925","file0":"1326885923"},"map_files_photo_id_array":[{"photo_id":"1326885926","filename":"file2"},{"photo_id":"1326885925","filename":"file1"},{"photo_id":"1326885923","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326885923":["hashtag1","hashtag2"]},{"1326885926":["hashtag1","hashtag2"]},{"1326885925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326885923, 1326885926, 1326885925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.97645688056946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:06:02.474434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:06:22.026375
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/05/image_05012025_17_05_03_143218_0002.jpg', '/home/pi/Desktop/images/05012025/17/06/image_05012025_17_06_02_239854_0000.jpg', '/home/pi/Desktop/images/05012025/17/06/image_05012025_17_06_02_239854_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/17/05/image_05012025_17_05_03_143218_0002.jpg
/home/pi/Desktop/images/05012025/17/06/image_05012025_17_06_02_239854_0000.jpg
/home/pi/Desktop/images/05012025/17/06/image_05012025_17_06_02_239854_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.333703517913818 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 17:06:32.051901
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/05/image_05012025_17_05_03_143218_0002.jpg', '/home/pi/Desktop/images/05012025/17/06/image_05012025_17_06_02_239854_0000.jpg', '/home/pi/Desktop/images/05012025/17/06/image_05012025_17_06_02_239854_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/17/05/image_05012025_17_05_03_143218_0002.jpg
/home/pi/Desktop/images/05012025/17/06/image_05012025_17_06_02_239854_0000.jpg
/home/pi/Desktop/images/05012025/17/06/image_05012025_17_06_02_239854_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326885939","1326885938","1326885940"],"photo_ids_order":["1326885938","1326885939","1326885940"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a47edf273145930ea87c661717fcba9a.jpg","text":"TemporaryFile(/tmp/multipartBody6875749567290380881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093259804,"filename":"image_05012025_17_06_02_239854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f20845c5c9e2be5b037c5f967e3218a0.jpg","text":"TemporaryFile(/tmp/multipartBody8448877309082721395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093259804,"filename":"image_05012025_17_05_03_143218_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b2b858aa0e873b6aa8e6b7483d7d6ceb.jpg","text":"TemporaryFile(/tmp/multipartBody1213400954985577571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093259804,"filename":"image_05012025_17_06_02_239854_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326885940","file1":"1326885939","file0":"1326885938"},"map_files_photo_id_array":[{"photo_id":"1326885940","filename":"file2"},{"photo_id":"1326885939","filename":"file1"},{"photo_id":"1326885938","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326885939":["hashtag1","hashtag2"]},{"1326885938":["hashtag1","hashtag2"]},{"1326885940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326885939, 1326885938, 1326885940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.601046323776245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:07:22.340141
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/06/image_05012025_17_06_02_239854_0003.jpg', '/home/pi/Desktop/images/05012025/17/07/image_05012025_17_07_02_383826_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/17/06/image_05012025_17_06_02_239854_0003.jpg
/home/pi/Desktop/images/05012025/17/07/image_05012025_17_07_02_383826_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":["1326885947","1326885949"],"photo_ids_order":["1326885947","1326885949"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a2a125d91d8a136fdc6909d2829b215a.jpg","text":"TemporaryFile(/tmp/multipartBody1667479731032584440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093307749,"filename":"image_05012025_17_06_02_239854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3e1d5c30c86fa3def5677157a7c15940.jpg","text":"TemporaryFile(/tmp/multipartBody2750926525790415693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093307749,"filename":"image_05012025_17_07_02_383826_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326885949","file0":"1326885947"},"map_files_photo_id_array":[{"photo_id":"1326885949","filename":"file1"},{"photo_id":"1326885947","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326885947":["hashtag1","hashtag2"]},{"1326885949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326885947, 1326885949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.854931831359863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 17:07:52.261051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:08:02.928822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:08:22.486850
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/07/image_05012025_17_07_02_383826_0003.jpg', '/home/pi/Desktop/images/05012025/17/08/image_05012025_17_08_02_675219_0000.jpg', '/home/pi/Desktop/images/05012025/17/08/image_05012025_17_08_02_675219_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/17/07/image_05012025_17_07_02_383826_0003.jpg
/home/pi/Desktop/images/05012025/17/08/image_05012025_17_08_02_675219_0000.jpg
/home/pi/Desktop/images/05012025/17/08/image_05012025_17_08_02_675219_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326885959","1326885961","1326885958"],"photo_ids_order":["1326885958","1326885959","1326885961"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8a8d17ee92c95844d98a77ad36e055bc.jpg","text":"TemporaryFile(/tmp/multipartBody2140169239917588100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093370243,"filename":"image_05012025_17_08_02_675219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/60ff0d3eeb7c7f67f0d707e239c80bc2.jpg","text":"TemporaryFile(/tmp/multipartBody4680226399249108347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093370243,"filename":"image_05012025_17_08_02_675219_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c640693f94596a58b95c4d4a4b81416f.jpg","text":"TemporaryFile(/tmp/multipartBody6175763983351219217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093370243,"filename":"image_05012025_17_07_02_383826_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326885961","file1":"1326885959","file0":"1326885958"},"map_files_photo_id_array":[{"photo_id":"1326885961","filename":"file2"},{"photo_id":"1326885959","filename":"file1"},{"photo_id":"1326885958","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326885959":["hashtag1","hashtag2"]},{"1326885961":["hashtag1","hashtag2"]},{"1326885958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326885959, 1326885961, 1326885958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.89290976524353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:09:03.146988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:09:22.769736
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/08/image_05012025_17_08_02_675219_0003.jpg', '/home/pi/Desktop/images/05012025/17/09/image_05012025_17_09_02_823231_0000.jpg', '/home/pi/Desktop/images/05012025/17/09/image_05012025_17_09_02_823231_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/17/08/image_05012025_17_08_02_675219_0003.jpg
/home/pi/Desktop/images/05012025/17/09/image_05012025_17_09_02_823231_0000.jpg
/home/pi/Desktop/images/05012025/17/09/image_05012025_17_09_02_823231_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326885968","1326885970","1326885969"],"photo_ids_order":["1326885968","1326885969","1326885970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/76838081876edc5be60d140a4a061cb2.jpg","text":"TemporaryFile(/tmp/multipartBody2311500163944297948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093430512,"filename":"image_05012025_17_08_02_675219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/19c4b60497b7ef213165978232c4b38c.jpg","text":"TemporaryFile(/tmp/multipartBody529481092602033556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093430512,"filename":"image_05012025_17_09_02_823231_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/60d937cfff7b2176379376ab517f4bbf.jpg","text":"TemporaryFile(/tmp/multipartBody1254774038160568512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093430512,"filename":"image_05012025_17_09_02_823231_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326885970","file1":"1326885969","file0":"1326885968"},"map_files_photo_id_array":[{"photo_id":"1326885970","filename":"file2"},{"photo_id":"1326885969","filename":"file1"},{"photo_id":"1326885968","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326885968":["hashtag1","hashtag2"]},{"1326885970":["hashtag1","hashtag2"]},{"1326885969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326885968, 1326885970, 1326885969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.002192735672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:10:02.319112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:10:21.927525
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/09/image_05012025_17_09_02_823231_0003.jpg', '/home/pi/Desktop/images/05012025/17/10/image_05012025_17_10_03_117261_0000.jpg', '/home/pi/Desktop/images/05012025/17/10/image_05012025_17_10_03_117261_0001.jpg', '/home/pi/Desktop/images/05012025/17/10/image_05012025_17_10_03_117261_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/17/09/image_05012025_17_09_02_823231_0003.jpg
/home/pi/Desktop/images/05012025/17/10/image_05012025_17_10_03_117261_0000.jpg
/home/pi/Desktop/images/05012025/17/10/image_05012025_17_10_03_117261_0001.jpg
/home/pi/Desktop/images/05012025/17/10/image_05012025_17_10_03_117261_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326885978","1326885980","1326885982","1326885979"],"photo_ids_order":["1326885978","1326885979","1326885980","1326885982"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9d189b23179c584855f084364f8b24b2.jpg","text":"TemporaryFile(/tmp/multipartBody5731739980137637074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093492048,"filename":"image_05012025_17_09_02_823231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f57559b71d6a592d81efedd764059b8.jpg","text":"TemporaryFile(/tmp/multipartBody2342616943012880051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093492048,"filename":"image_05012025_17_10_03_117261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6ab34b22ecfbf66a8ac5926e93f76b90.jpg","text":"TemporaryFile(/tmp/multipartBody5957487597580578678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093492048,"filename":"image_05012025_17_10_03_117261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5fe8c334aa6dbf0a2390f2d769584975.jpg","text":"TemporaryFile(/tmp/multipartBody3852566831219609045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093492048,"filename":"image_05012025_17_10_03_117261_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326885980","file1":"1326885979","file0":"1326885978","file3":"1326885982"},"map_files_photo_id_array":[{"photo_id":"1326885980","filename":"file2"},{"photo_id":"1326885979","filename":"file1"},{"photo_id":"1326885978","filename":"file0"},{"photo_id":"1326885982","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326885978":["hashtag1","hashtag2"]},{"1326885980":["hashtag1","hashtag2"]},{"1326885982":["hashtag1","hashtag2"]},{"1326885979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326885978, 1326885980, 1326885982, 1326885979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.750980854034424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:11:22.148375
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/10/image_05012025_17_10_03_117261_0003.jpg', '/home/pi/Desktop/images/05012025/17/11/image_05012025_17_11_02_205562_0000.jpg', '/home/pi/Desktop/images/05012025/17/11/image_05012025_17_11_02_205562_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/17/10/image_05012025_17_10_03_117261_0003.jpg
/home/pi/Desktop/images/05012025/17/11/image_05012025_17_11_02_205562_0000.jpg
/home/pi/Desktop/images/05012025/17/11/image_05012025_17_11_02_205562_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":["1326885992","1326885994","1326885996"],"photo_ids_order":["1326885992","1326885994","1326885996"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7c4463622db15965f2a42bda4bff7fac.jpg","text":"TemporaryFile(/tmp/multipartBody6326822134233144805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093549899,"filename":"image_05012025_17_10_03_117261_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cc15398332a872d962af481eaf89c32c.jpg","text":"TemporaryFile(/tmp/multipartBody1938008189763603969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093549899,"filename":"image_05012025_17_11_02_205562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/db672bee455cda0a13836b0297108810.jpg","text":"TemporaryFile(/tmp/multipartBody7157000565236677993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093549899,"filename":"image_05012025_17_11_02_205562_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326885996","file1":"1326885994","file0":"1326885992"},"map_files_photo_id_array":[{"photo_id":"1326885996","filename":"file2"},{"photo_id":"1326885994","filename":"file1"},{"photo_id":"1326885992","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326885992":["hashtag1","hashtag2"]},{"1326885994":["hashtag1","hashtag2"]},{"1326885996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326885992, 1326885994, 1326885996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.126664876937866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:12:02.615525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:12:22.379925
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/11/image_05012025_17_11_02_205562_0002.jpg', '/home/pi/Desktop/images/05012025/17/12/image_05012025_17_12_02_458755_0000.jpg', '/home/pi/Desktop/images/05012025/17/12/image_05012025_17_12_02_458755_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/17/11/image_05012025_17_11_02_205562_0002.jpg
/home/pi/Desktop/images/05012025/17/12/image_05012025_17_12_02_458755_0000.jpg
/home/pi/Desktop/images/05012025/17/12/image_05012025_17_12_02_458755_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.337457895278931 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 17:12:32.201690
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/11/image_05012025_17_11_02_205562_0002.jpg', '/home/pi/Desktop/images/05012025/17/12/image_05012025_17_12_02_458755_0000.jpg', '/home/pi/Desktop/images/05012025/17/12/image_05012025_17_12_02_458755_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/17/11/image_05012025_17_11_02_205562_0002.jpg
/home/pi/Desktop/images/05012025/17/12/image_05012025_17_12_02_458755_0000.jpg
/home/pi/Desktop/images/05012025/17/12/image_05012025_17_12_02_458755_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":["1326886008","1326886007","1326886006"],"photo_ids_order":["1326886006","1326886007","1326886008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e5a1fffb294f8fc863f82c0195e4e743.jpg","text":"TemporaryFile(/tmp/multipartBody9160513459511081386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093619934,"filename":"image_05012025_17_12_02_458755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f14a99de6a3ed6bdb49e190117404165.jpg","text":"TemporaryFile(/tmp/multipartBody70182760238352203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093619934,"filename":"image_05012025_17_12_02_458755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66ce23b08161b4d63c6e32047d6032b3.jpg","text":"TemporaryFile(/tmp/multipartBody8185596967486244723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093619934,"filename":"image_05012025_17_11_02_205562_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886008","file1":"1326886007","file0":"1326886006"},"map_files_photo_id_array":[{"photo_id":"1326886008","filename":"file2"},{"photo_id":"1326886007","filename":"file1"},{"photo_id":"1326886006","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886008":["hashtag1","hashtag2"]},{"1326886007":["hashtag1","hashtag2"]},{"1326886006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886008, 1326886007, 1326886006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.8212411403656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:13:22.533462
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/12/image_05012025_17_12_02_458755_0002.jpg', '/home/pi/Desktop/images/05012025/17/13/image_05012025_17_13_02_654443_0000.jpg', '/home/pi/Desktop/images/05012025/17/13/image_05012025_17_13_02_654443_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/17/12/image_05012025_17_12_02_458755_0002.jpg
/home/pi/Desktop/images/05012025/17/13/image_05012025_17_13_02_654443_0000.jpg
/home/pi/Desktop/images/05012025/17/13/image_05012025_17_13_02_654443_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":["1326886015","1326886018","1326886017"],"photo_ids_order":["1326886015","1326886017","1326886018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bcc1b61c829145055d866c6b6bdda546.jpg","text":"TemporaryFile(/tmp/multipartBody4950258447573294093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093670293,"filename":"image_05012025_17_12_02_458755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3fb09ba0914f707046af4fce3b189066.jpg","text":"TemporaryFile(/tmp/multipartBody3358511200619110917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093670293,"filename":"image_05012025_17_13_02_654443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d0545381c32749a7cf5f45b6ac3cfd34.jpg","text":"TemporaryFile(/tmp/multipartBody9010623382349893582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093670293,"filename":"image_05012025_17_13_02_654443_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886018","file1":"1326886017","file0":"1326886015"},"map_files_photo_id_array":[{"photo_id":"1326886018","filename":"file2"},{"photo_id":"1326886017","filename":"file1"},{"photo_id":"1326886015","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886015":["hashtag1","hashtag2"]},{"1326886018":["hashtag1","hashtag2"]},{"1326886017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886015, 1326886018, 1326886017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.368457555770874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:14:03.100362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:14:22.714586
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/13/image_05012025_17_13_02_654443_0002.jpg', '/home/pi/Desktop/images/05012025/17/14/image_05012025_17_14_02_813939_0000.jpg', '/home/pi/Desktop/images/05012025/17/14/image_05012025_17_14_02_813939_0001.jpg', '/home/pi/Desktop/images/05012025/17/14/image_05012025_17_14_02_813939_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/17/13/image_05012025_17_13_02_654443_0002.jpg
/home/pi/Desktop/images/05012025/17/14/image_05012025_17_14_02_813939_0000.jpg
/home/pi/Desktop/images/05012025/17/14/image_05012025_17_14_02_813939_0001.jpg
/home/pi/Desktop/images/05012025/17/14/image_05012025_17_14_02_813939_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886037","1326886033","1326886036","1326886035"],"photo_ids_order":["1326886033","1326886035","1326886036","1326886037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f09c016d3814a7cd06ef1ef42585e64.jpg","text":"TemporaryFile(/tmp/multipartBody1752685466476313594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093732853,"filename":"image_05012025_17_14_02_813939_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/403be88406c1ffd62368c4dbe1c0a806.jpg","text":"TemporaryFile(/tmp/multipartBody9211620186705759299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093732853,"filename":"image_05012025_17_13_02_654443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5488fd1033a9aa9d7dfa1e4c60488810.jpg","text":"TemporaryFile(/tmp/multipartBody6278957040734995610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093732853,"filename":"image_05012025_17_14_02_813939_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe59348ce2bbc96c6c80d53e1ec8f23a.jpg","text":"TemporaryFile(/tmp/multipartBody1706860056602901389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093732853,"filename":"image_05012025_17_14_02_813939_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886036","file1":"1326886035","file0":"1326886033","file3":"1326886037"},"map_files_photo_id_array":[{"photo_id":"1326886036","filename":"file2"},{"photo_id":"1326886035","filename":"file1"},{"photo_id":"1326886033","filename":"file0"},{"photo_id":"1326886037","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886037":["hashtag1","hashtag2"]},{"1326886033":["hashtag1","hashtag2"]},{"1326886036":["hashtag1","hashtag2"]},{"1326886035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886037, 1326886033, 1326886036, 1326886035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.067872285842896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:15:21.795995
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/14/image_05012025_17_14_02_813939_0003.jpg', '/home/pi/Desktop/images/05012025/17/15/image_05012025_17_15_02_989019_0001.jpg', '/home/pi/Desktop/images/05012025/17/15/image_05012025_17_15_02_989019_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/17/14/image_05012025_17_14_02_813939_0003.jpg
/home/pi/Desktop/images/05012025/17/15/image_05012025_17_15_02_989019_0001.jpg
/home/pi/Desktop/images/05012025/17/15/image_05012025_17_15_02_989019_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886058","1326886055","1326886057"],"photo_ids_order":["1326886055","1326886057","1326886058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11fbb50c023a8a46540dfaa99b70ac65.jpg","text":"TemporaryFile(/tmp/multipartBody8941686713441295374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093789560,"filename":"image_05012025_17_15_02_989019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/94f535b5e9d6e905b5bd50157790ab90.jpg","text":"TemporaryFile(/tmp/multipartBody7845426552752354433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093789560,"filename":"image_05012025_17_14_02_813939_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b50394185abdb805f8f12cc23e239ca4.jpg","text":"TemporaryFile(/tmp/multipartBody4730499136793033294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093789560,"filename":"image_05012025_17_15_02_989019_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886058","file1":"1326886057","file0":"1326886055"},"map_files_photo_id_array":[{"photo_id":"1326886058","filename":"file2"},{"photo_id":"1326886057","filename":"file1"},{"photo_id":"1326886055","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886058":["hashtag1","hashtag2"]},{"1326886055":["hashtag1","hashtag2"]},{"1326886057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886058, 1326886055, 1326886057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.647575616836548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:16:02.422694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:16:22.122634
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/15/image_05012025_17_15_02_989019_0003.jpg', '/home/pi/Desktop/images/05012025/17/16/image_05012025_17_16_02_147359_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/17/15/image_05012025_17_15_02_989019_0003.jpg
/home/pi/Desktop/images/05012025/17/16/image_05012025_17_16_02_147359_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":["1326886069","1326886071"],"photo_ids_order":["1326886069","1326886071"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88b32f4a6727eba4c37c19729fb364aa.jpg","text":"TemporaryFile(/tmp/multipartBody5015214517572526049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093847535,"filename":"image_05012025_17_15_02_989019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c93adf61d407ce220bcb0541c5b84b2f.jpg","text":"TemporaryFile(/tmp/multipartBody2250598480430851517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093847535,"filename":"image_05012025_17_16_02_147359_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326886071","file0":"1326886069"},"map_files_photo_id_array":[{"photo_id":"1326886071","filename":"file1"},{"photo_id":"1326886069","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886069":["hashtag1","hashtag2"]},{"1326886071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886069, 1326886071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.72475004196167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 17:16:51.931890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:17:02.626927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:17:22.132404
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/16/image_05012025_17_16_02_147359_0003.jpg', '/home/pi/Desktop/images/05012025/17/17/image_05012025_17_17_02_380947_0000.jpg', '/home/pi/Desktop/images/05012025/17/17/image_05012025_17_17_02_380947_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/17/16/image_05012025_17_16_02_147359_0003.jpg
/home/pi/Desktop/images/05012025/17/17/image_05012025_17_17_02_380947_0000.jpg
/home/pi/Desktop/images/05012025/17/17/image_05012025_17_17_02_380947_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":["1326886079","1326886078","1326886080"],"photo_ids_order":["1326886078","1326886079","1326886080"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4344584240a3bbe6e822a71766a36964.jpg","text":"TemporaryFile(/tmp/multipartBody4406800837557247706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093909855,"filename":"image_05012025_17_17_02_380947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1359e24713afce78c64af67c92a2ebb0.jpg","text":"TemporaryFile(/tmp/multipartBody8499665682492952361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093909855,"filename":"image_05012025_17_16_02_147359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7dc83ceb2c7cb56c567def25477e7b04.jpg","text":"TemporaryFile(/tmp/multipartBody7083736441370218318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093909855,"filename":"image_05012025_17_17_02_380947_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886080","file1":"1326886079","file0":"1326886078"},"map_files_photo_id_array":[{"photo_id":"1326886080","filename":"file2"},{"photo_id":"1326886079","filename":"file1"},{"photo_id":"1326886078","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886079":["hashtag1","hashtag2"]},{"1326886078":["hashtag1","hashtag2"]},{"1326886080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886079, 1326886078, 1326886080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.941702842712402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:18:02.856279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:18:22.327051
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/17/image_05012025_17_17_02_380947_0002.jpg', '/home/pi/Desktop/images/05012025/17/18/image_05012025_17_18_02_461229_0000.jpg', '/home/pi/Desktop/images/05012025/17/18/image_05012025_17_18_02_461229_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/17/17/image_05012025_17_17_02_380947_0002.jpg
/home/pi/Desktop/images/05012025/17/18/image_05012025_17_18_02_461229_0000.jpg
/home/pi/Desktop/images/05012025/17/18/image_05012025_17_18_02_461229_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886088","1326886090","1326886089"],"photo_ids_order":["1326886088","1326886089","1326886090"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b38c91aaee3f96123489e5a36f7b6a9.jpg","text":"TemporaryFile(/tmp/multipartBody8023565340456582598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093970119,"filename":"image_05012025_17_17_02_380947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e6193594286bfdd227369f56508bcc3d.jpg","text":"TemporaryFile(/tmp/multipartBody3338264305302635660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093970119,"filename":"image_05012025_17_18_02_461229_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62e1359ac8b62b326799cbe7d1dbeb63.jpg","text":"TemporaryFile(/tmp/multipartBody930127277066543141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736093970119,"filename":"image_05012025_17_18_02_461229_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886090","file1":"1326886089","file0":"1326886088"},"map_files_photo_id_array":[{"photo_id":"1326886090","filename":"file2"},{"photo_id":"1326886089","filename":"file1"},{"photo_id":"1326886088","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886088":["hashtag1","hashtag2"]},{"1326886090":["hashtag1","hashtag2"]},{"1326886089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886088, 1326886090, 1326886089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.11994481086731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:19:03.160196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:19:22.534557
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/18/image_05012025_17_18_02_461229_0003.jpg', '/home/pi/Desktop/images/05012025/17/19/image_05012025_17_19_02_723753_0000.jpg', '/home/pi/Desktop/images/05012025/17/19/image_05012025_17_19_02_723753_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/17/18/image_05012025_17_18_02_461229_0003.jpg
/home/pi/Desktop/images/05012025/17/19/image_05012025_17_19_02_723753_0000.jpg
/home/pi/Desktop/images/05012025/17/19/image_05012025_17_19_02_723753_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":["1326886104","1326886105","1326886102"],"photo_ids_order":["1326886102","1326886104","1326886105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a9ded165fd9e71d90aed580c345d2d0c.jpg","text":"TemporaryFile(/tmp/multipartBody6086295731046272066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094030299,"filename":"image_05012025_17_19_02_723753_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3f30e1b57e85fd0d41295b381eebb8f8.jpg","text":"TemporaryFile(/tmp/multipartBody6477168329566739539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094030299,"filename":"image_05012025_17_19_02_723753_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b06e24340989d281612b6f01bed680fd.jpg","text":"TemporaryFile(/tmp/multipartBody9133518545170246692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094030299,"filename":"image_05012025_17_18_02_461229_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886105","file1":"1326886104","file0":"1326886102"},"map_files_photo_id_array":[{"photo_id":"1326886105","filename":"file2"},{"photo_id":"1326886104","filename":"file1"},{"photo_id":"1326886102","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886104":["hashtag1","hashtag2"]},{"1326886105":["hashtag1","hashtag2"]},{"1326886102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886104, 1326886105, 1326886102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.17180585861206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:20:03.130999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:20:22.698323
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/19/image_05012025_17_19_02_723753_0002.jpg', '/home/pi/Desktop/images/05012025/17/20/image_05012025_17_20_02_825282_0001.jpg', '/home/pi/Desktop/images/05012025/17/20/image_05012025_17_20_02_825282_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/17/19/image_05012025_17_19_02_723753_0002.jpg
/home/pi/Desktop/images/05012025/17/20/image_05012025_17_20_02_825282_0001.jpg
/home/pi/Desktop/images/05012025/17/20/image_05012025_17_20_02_825282_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.34589695930481 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 17:20:32.651306
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/19/image_05012025_17_19_02_723753_0002.jpg', '/home/pi/Desktop/images/05012025/17/20/image_05012025_17_20_02_825282_0001.jpg', '/home/pi/Desktop/images/05012025/17/20/image_05012025_17_20_02_825282_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/17/19/image_05012025_17_19_02_723753_0002.jpg
/home/pi/Desktop/images/05012025/17/20/image_05012025_17_20_02_825282_0001.jpg
/home/pi/Desktop/images/05012025/17/20/image_05012025_17_20_02_825282_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886118","1326886117","1326886116"],"photo_ids_order":["1326886116","1326886117","1326886118"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ac6df3f1aba693a8e1459f52e6f84b54.jpg","text":"TemporaryFile(/tmp/multipartBody8317276945116751626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094100385,"filename":"image_05012025_17_20_02_825282_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/00a818c5cd3b812b441f444ebf91e3a6.jpg","text":"TemporaryFile(/tmp/multipartBody8037314592880045536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094100385,"filename":"image_05012025_17_20_02_825282_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/79879ff9205336abb9d9efa0ea8fd200.jpg","text":"TemporaryFile(/tmp/multipartBody7849811236481287473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094100385,"filename":"image_05012025_17_19_02_723753_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886118","file1":"1326886117","file0":"1326886116"},"map_files_photo_id_array":[{"photo_id":"1326886118","filename":"file2"},{"photo_id":"1326886117","filename":"file1"},{"photo_id":"1326886116","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886118":["hashtag1","hashtag2"]},{"1326886117":["hashtag1","hashtag2"]},{"1326886116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886118, 1326886117, 1326886116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.5711190700531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:21:21.847891
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/20/image_05012025_17_20_02_825282_0003.jpg', '/home/pi/Desktop/images/05012025/17/21/image_05012025_17_21_03_069075_0000.jpg', '/home/pi/Desktop/images/05012025/17/21/image_05012025_17_21_03_069075_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/17/20/image_05012025_17_20_02_825282_0003.jpg
/home/pi/Desktop/images/05012025/17/21/image_05012025_17_21_03_069075_0000.jpg
/home/pi/Desktop/images/05012025/17/21/image_05012025_17_21_03_069075_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":["1326886126","1326886135","1326886129"],"photo_ids_order":["1326886126","1326886129","1326886135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d6545c7e07f0cf4accf998c504e40ac6.jpg","text":"TemporaryFile(/tmp/multipartBody2996201491371872529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094149630,"filename":"image_05012025_17_20_02_825282_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/43cee9dcefef4f1d2acf15f22ff388c2.jpg","text":"TemporaryFile(/tmp/multipartBody2574223951642113734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094149630,"filename":"image_05012025_17_21_03_069075_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/280272473c4b874fffcc09e16e7a7a75.jpg","text":"TemporaryFile(/tmp/multipartBody252000255993323585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094149630,"filename":"image_05012025_17_21_03_069075_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886135","file1":"1326886129","file0":"1326886126"},"map_files_photo_id_array":[{"photo_id":"1326886135","filename":"file2"},{"photo_id":"1326886129","filename":"file1"},{"photo_id":"1326886126","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886126":["hashtag1","hashtag2"]},{"1326886135":["hashtag1","hashtag2"]},{"1326886129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886126, 1326886135, 1326886129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.77253842353821 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:22:02.520549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:22:22.024283
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/21/image_05012025_17_21_03_069075_0003.jpg', '/home/pi/Desktop/images/05012025/17/22/image_05012025_17_22_02_228521_0000.jpg', '/home/pi/Desktop/images/05012025/17/22/image_05012025_17_22_02_228521_0001.jpg', '/home/pi/Desktop/images/05012025/17/22/image_05012025_17_22_02_228521_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/17/21/image_05012025_17_21_03_069075_0003.jpg
/home/pi/Desktop/images/05012025/17/22/image_05012025_17_22_02_228521_0000.jpg
/home/pi/Desktop/images/05012025/17/22/image_05012025_17_22_02_228521_0001.jpg
/home/pi/Desktop/images/05012025/17/22/image_05012025_17_22_02_228521_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.73186469078064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 17:22:42.048917
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/21/image_05012025_17_21_03_069075_0003.jpg', '/home/pi/Desktop/images/05012025/17/22/image_05012025_17_22_02_228521_0000.jpg', '/home/pi/Desktop/images/05012025/17/22/image_05012025_17_22_02_228521_0001.jpg', '/home/pi/Desktop/images/05012025/17/22/image_05012025_17_22_02_228521_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/17/21/image_05012025_17_21_03_069075_0003.jpg
/home/pi/Desktop/images/05012025/17/22/image_05012025_17_22_02_228521_0000.jpg
/home/pi/Desktop/images/05012025/17/22/image_05012025_17_22_02_228521_0001.jpg
/home/pi/Desktop/images/05012025/17/22/image_05012025_17_22_02_228521_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":["1326886190","1326886192","1326886189","1326886188"],"photo_ids_order":["1326886188","1326886189","1326886190","1326886192"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/59a31b6d08421d92e246da3bc86e3fdd.jpg","text":"TemporaryFile(/tmp/multipartBody9100682073625370636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094232194,"filename":"image_05012025_17_22_02_228521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/30f0969decbf09eccdcd3943157b9c64.jpg","text":"TemporaryFile(/tmp/multipartBody6224110195085315771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094232194,"filename":"image_05012025_17_22_02_228521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a7ae3fd9779ff197da8aee7833d84687.jpg","text":"TemporaryFile(/tmp/multipartBody5100076401969288817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094232194,"filename":"image_05012025_17_22_02_228521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5a869f67076fbd89a3b6c687dd27c2b0.jpg","text":"TemporaryFile(/tmp/multipartBody2675566991493923796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094232194,"filename":"image_05012025_17_21_03_069075_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886190","file1":"1326886189","file0":"1326886188","file3":"1326886192"},"map_files_photo_id_array":[{"photo_id":"1326886190","filename":"file2"},{"photo_id":"1326886189","filename":"file1"},{"photo_id":"1326886188","filename":"file0"},{"photo_id":"1326886192","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886190":["hashtag1","hashtag2"]},{"1326886192":["hashtag1","hashtag2"]},{"1326886189":["hashtag1","hashtag2"]},{"1326886188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886190, 1326886192, 1326886189, 1326886188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.29380512237549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:23:22.148554
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/22/image_05012025_17_22_02_228521_0003.jpg', '/home/pi/Desktop/images/05012025/17/23/image_05012025_17_23_02_383758_0000.jpg', '/home/pi/Desktop/images/05012025/17/23/image_05012025_17_23_02_383758_0001.jpg', '/home/pi/Desktop/images/05012025/17/23/image_05012025_17_23_02_383758_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/17/22/image_05012025_17_22_02_228521_0003.jpg
/home/pi/Desktop/images/05012025/17/23/image_05012025_17_23_02_383758_0000.jpg
/home/pi/Desktop/images/05012025/17/23/image_05012025_17_23_02_383758_0001.jpg
/home/pi/Desktop/images/05012025/17/23/image_05012025_17_23_02_383758_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886198","1326886202","1326886201","1326886200"],"photo_ids_order":["1326886198","1326886200","1326886201","1326886202"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c37b6096264a94c60ee75191d633ae8e.jpg","text":"TemporaryFile(/tmp/multipartBody1043962099418258788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094272201,"filename":"image_05012025_17_22_02_228521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/84bda6da26354b1aca5913739f82418b.jpg","text":"TemporaryFile(/tmp/multipartBody3553619129057782925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094272201,"filename":"image_05012025_17_23_02_383758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f45b2929e792d3c9a91d89cdd97b6ab8.jpg","text":"TemporaryFile(/tmp/multipartBody8583636293884226717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094272201,"filename":"image_05012025_17_23_02_383758_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ba3e3a40542abe2e8303cdab6de5be06.jpg","text":"TemporaryFile(/tmp/multipartBody8539757033068202666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094272201,"filename":"image_05012025_17_23_02_383758_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886201","file1":"1326886200","file0":"1326886198","file3":"1326886202"},"map_files_photo_id_array":[{"photo_id":"1326886201","filename":"file2"},{"photo_id":"1326886200","filename":"file1"},{"photo_id":"1326886198","filename":"file0"},{"photo_id":"1326886202","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886198":["hashtag1","hashtag2"]},{"1326886202":["hashtag1","hashtag2"]},{"1326886201":["hashtag1","hashtag2"]},{"1326886200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886198, 1326886202, 1326886201, 1326886200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21275568008423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:24:02.725224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:24:22.332319
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/23/image_05012025_17_23_02_383758_0003.jpg', '/home/pi/Desktop/images/05012025/17/24/image_05012025_17_24_02_602430_0000.jpg', '/home/pi/Desktop/images/05012025/17/24/image_05012025_17_24_02_602430_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/17/23/image_05012025_17_23_02_383758_0003.jpg
/home/pi/Desktop/images/05012025/17/24/image_05012025_17_24_02_602430_0000.jpg
/home/pi/Desktop/images/05012025/17/24/image_05012025_17_24_02_602430_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":["1326886214","1326886213","1326886215"],"photo_ids_order":["1326886213","1326886214","1326886215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b78f2b98d49bca0bf02d81f53503abf8.jpg","text":"TemporaryFile(/tmp/multipartBody6639552040500543733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094330083,"filename":"image_05012025_17_24_02_602430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/95e2da56f870ceba1e268dd293358ae6.jpg","text":"TemporaryFile(/tmp/multipartBody2059611780539560072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094330083,"filename":"image_05012025_17_23_02_383758_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/368121b1e80ef875fbaca600c2f5cb2b.jpg","text":"TemporaryFile(/tmp/multipartBody3963938160708890856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094330083,"filename":"image_05012025_17_24_02_602430_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886215","file1":"1326886214","file0":"1326886213"},"map_files_photo_id_array":[{"photo_id":"1326886215","filename":"file2"},{"photo_id":"1326886214","filename":"file1"},{"photo_id":"1326886213","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886214":["hashtag1","hashtag2"]},{"1326886213":["hashtag1","hashtag2"]},{"1326886215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886214, 1326886213, 1326886215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.115152597427368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:25:03.150093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:25:22.527572
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/24/image_05012025_17_24_02_602430_0002.jpg', '/home/pi/Desktop/images/05012025/17/25/image_05012025_17_25_02_765004_0000.jpg', '/home/pi/Desktop/images/05012025/17/25/image_05012025_17_25_02_765004_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/17/24/image_05012025_17_24_02_602430_0002.jpg
/home/pi/Desktop/images/05012025/17/25/image_05012025_17_25_02_765004_0000.jpg
/home/pi/Desktop/images/05012025/17/25/image_05012025_17_25_02_765004_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":["1326886224","1326886223","1326886225"],"photo_ids_order":["1326886223","1326886224","1326886225"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3e1d93ecbed8349b39b1727b83983280.jpg","text":"TemporaryFile(/tmp/multipartBody6391199209553115248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094390301,"filename":"image_05012025_17_25_02_765004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a155facd4d257deb308e7cf3dfa1e340.jpg","text":"TemporaryFile(/tmp/multipartBody6407888418623701430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094390301,"filename":"image_05012025_17_24_02_602430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6cfefd69b6c9bd79d96cdcecd54f2938.jpg","text":"TemporaryFile(/tmp/multipartBody110039786044288840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094390301,"filename":"image_05012025_17_25_02_765004_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886225","file1":"1326886224","file0":"1326886223"},"map_files_photo_id_array":[{"photo_id":"1326886225","filename":"file2"},{"photo_id":"1326886224","filename":"file1"},{"photo_id":"1326886223","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886224":["hashtag1","hashtag2"]},{"1326886223":["hashtag1","hashtag2"]},{"1326886225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886224, 1326886223, 1326886225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.882200241088867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:26:03.154778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:26:22.779595
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/25/image_05012025_17_25_02_765004_0002.jpg', '/home/pi/Desktop/images/05012025/17/26/image_05012025_17_26_02_937243_0000.jpg', '/home/pi/Desktop/images/05012025/17/26/image_05012025_17_26_02_937243_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/17/25/image_05012025_17_25_02_765004_0002.jpg
/home/pi/Desktop/images/05012025/17/26/image_05012025_17_26_02_937243_0000.jpg
/home/pi/Desktop/images/05012025/17/26/image_05012025_17_26_02_937243_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886265","1326886264","1326886266"],"photo_ids_order":["1326886264","1326886265","1326886266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0d7dc7c7e7b828d4aa366952609342b8.jpg","text":"TemporaryFile(/tmp/multipartBody7938850728116920817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094450621,"filename":"image_05012025_17_26_02_937243_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/feac98f85e378efaf9e0fcc9fd71b944.jpg","text":"TemporaryFile(/tmp/multipartBody5388167129119721967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094450621,"filename":"image_05012025_17_25_02_765004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f88cee764194602a8830ed9da952ee22.jpg","text":"TemporaryFile(/tmp/multipartBody5787022302696133420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094450621,"filename":"image_05012025_17_26_02_937243_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886266","file1":"1326886265","file0":"1326886264"},"map_files_photo_id_array":[{"photo_id":"1326886266","filename":"file2"},{"photo_id":"1326886265","filename":"file1"},{"photo_id":"1326886264","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886265":["hashtag1","hashtag2"]},{"1326886264":["hashtag1","hashtag2"]},{"1326886266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886265, 1326886264, 1326886266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.0116446018219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:27:02.574026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:27:21.903550
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/26/image_05012025_17_26_02_937243_0003.jpg', '/home/pi/Desktop/images/05012025/17/27/image_05012025_17_27_03_101044_0000.jpg', '/home/pi/Desktop/images/05012025/17/27/image_05012025_17_27_03_101044_0001.jpg', '/home/pi/Desktop/images/05012025/17/27/image_05012025_17_27_03_101044_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/17/26/image_05012025_17_26_02_937243_0003.jpg
/home/pi/Desktop/images/05012025/17/27/image_05012025_17_27_03_101044_0000.jpg
/home/pi/Desktop/images/05012025/17/27/image_05012025_17_27_03_101044_0001.jpg
/home/pi/Desktop/images/05012025/17/27/image_05012025_17_27_03_101044_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886280","1326886282","1326886281","1326886278"],"photo_ids_order":["1326886278","1326886280","1326886281","1326886282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd07404cf80afa7518828ec7c5fdae53.jpg","text":"TemporaryFile(/tmp/multipartBody5143753444552449006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094512107,"filename":"image_05012025_17_27_03_101044_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9eb752bb6209d38b0b4f7709adbf5642.jpg","text":"TemporaryFile(/tmp/multipartBody8814279111841701646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094512107,"filename":"image_05012025_17_27_03_101044_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1e53e3525292298b7b67bfe95f8f1681.jpg","text":"TemporaryFile(/tmp/multipartBody224874466200966469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094512107,"filename":"image_05012025_17_27_03_101044_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4cfe17248079399e2919f36cc941aa7c.jpg","text":"TemporaryFile(/tmp/multipartBody7061437840407559130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094512107,"filename":"image_05012025_17_26_02_937243_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886281","file1":"1326886280","file0":"1326886278","file3":"1326886282"},"map_files_photo_id_array":[{"photo_id":"1326886281","filename":"file2"},{"photo_id":"1326886280","filename":"file1"},{"photo_id":"1326886278","filename":"file0"},{"photo_id":"1326886282","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886280":["hashtag1","hashtag2"]},{"1326886282":["hashtag1","hashtag2"]},{"1326886281":["hashtag1","hashtag2"]},{"1326886278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886280, 1326886282, 1326886281, 1326886278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.269659757614136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:28:22.161502
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/27/image_05012025_17_27_03_101044_0003.jpg', '/home/pi/Desktop/images/05012025/17/28/image_05012025_17_28_02_257045_0000.jpg', '/home/pi/Desktop/images/05012025/17/28/image_05012025_17_28_02_257045_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/17/27/image_05012025_17_27_03_101044_0003.jpg
/home/pi/Desktop/images/05012025/17/28/image_05012025_17_28_02_257045_0000.jpg
/home/pi/Desktop/images/05012025/17/28/image_05012025_17_28_02_257045_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.221857309341431 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 17:28:32.080638
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/27/image_05012025_17_27_03_101044_0003.jpg', '/home/pi/Desktop/images/05012025/17/28/image_05012025_17_28_02_257045_0000.jpg', '/home/pi/Desktop/images/05012025/17/28/image_05012025_17_28_02_257045_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/17/27/image_05012025_17_27_03_101044_0003.jpg
/home/pi/Desktop/images/05012025/17/28/image_05012025_17_28_02_257045_0000.jpg
/home/pi/Desktop/images/05012025/17/28/image_05012025_17_28_02_257045_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886295","1326886297","1326886296"],"photo_ids_order":["1326886295","1326886296","1326886297"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eecebe4100f91a84d85b69269ea2eebf.jpg","text":"TemporaryFile(/tmp/multipartBody1397228132290860553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094579703,"filename":"image_05012025_17_27_03_101044_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/603fe9aab2b0c03829ee804ea73d56f5.jpg","text":"TemporaryFile(/tmp/multipartBody8723140202330844829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094579703,"filename":"image_05012025_17_28_02_257045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/387c13fb69db1b6107a3d421146ea928.jpg","text":"TemporaryFile(/tmp/multipartBody1686437673583028148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094579703,"filename":"image_05012025_17_28_02_257045_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886297","file1":"1326886296","file0":"1326886295"},"map_files_photo_id_array":[{"photo_id":"1326886297","filename":"file2"},{"photo_id":"1326886296","filename":"file1"},{"photo_id":"1326886295","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886295":["hashtag1","hashtag2"]},{"1326886297":["hashtag1","hashtag2"]},{"1326886296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886295, 1326886297, 1326886296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.8201961517334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:29:22.272614
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/28/image_05012025_17_28_02_257045_0003.jpg', '/home/pi/Desktop/images/05012025/17/29/image_05012025_17_29_02_433537_0000.jpg', '/home/pi/Desktop/images/05012025/17/29/image_05012025_17_29_02_433537_0001.jpg', '/home/pi/Desktop/images/05012025/17/29/image_05012025_17_29_02_433537_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/17/28/image_05012025_17_28_02_257045_0003.jpg
/home/pi/Desktop/images/05012025/17/29/image_05012025_17_29_02_433537_0000.jpg
/home/pi/Desktop/images/05012025/17/29/image_05012025_17_29_02_433537_0001.jpg
/home/pi/Desktop/images/05012025/17/29/image_05012025_17_29_02_433537_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886317","1326886316","1326886318","1326886314"],"photo_ids_order":["1326886314","1326886316","1326886317","1326886318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/136439ab962103ff6a4e00690a589449.jpg","text":"TemporaryFile(/tmp/multipartBody683872091162562857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094632137,"filename":"image_05012025_17_29_02_433537_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4c9d50795ac86f31fb758877c0ed15eb.jpg","text":"TemporaryFile(/tmp/multipartBody6385626520143436654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094632137,"filename":"image_05012025_17_29_02_433537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4ea11c443c901271490b6ffd61cfdcb7.jpg","text":"TemporaryFile(/tmp/multipartBody8259640319490913279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094632137,"filename":"image_05012025_17_29_02_433537_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aa0f599d24e87c129e98268010312f80.jpg","text":"TemporaryFile(/tmp/multipartBody5028112800341909563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094632137,"filename":"image_05012025_17_28_02_257045_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886317","file1":"1326886316","file0":"1326886314","file3":"1326886318"},"map_files_photo_id_array":[{"photo_id":"1326886317","filename":"file2"},{"photo_id":"1326886316","filename":"file1"},{"photo_id":"1326886314","filename":"file0"},{"photo_id":"1326886318","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886317":["hashtag1","hashtag2"]},{"1326886316":["hashtag1","hashtag2"]},{"1326886318":["hashtag1","hashtag2"]},{"1326886314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886317, 1326886316, 1326886318, 1326886314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13693594932556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:30:22.555141
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/29/image_05012025_17_29_02_433537_0003.jpg', '/home/pi/Desktop/images/05012025/17/30/image_05012025_17_30_02_662235_0000.jpg', '/home/pi/Desktop/images/05012025/17/30/image_05012025_17_30_02_662235_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/17/29/image_05012025_17_29_02_433537_0003.jpg
/home/pi/Desktop/images/05012025/17/30/image_05012025_17_30_02_662235_0000.jpg
/home/pi/Desktop/images/05012025/17/30/image_05012025_17_30_02_662235_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886333","1326886336","1326886339"],"photo_ids_order":["1326886333","1326886336","1326886339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6f3c60d6cd3ccbeac24df65d0ec33b1f.jpg","text":"TemporaryFile(/tmp/multipartBody8678286836829622988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094690219,"filename":"image_05012025_17_29_02_433537_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/24f36e3352986e999e5e5d35dd741360.jpg","text":"TemporaryFile(/tmp/multipartBody6621638621032422286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094690219,"filename":"image_05012025_17_30_02_662235_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3ad0d83dc99979177ae281b336d9bc6.jpg","text":"TemporaryFile(/tmp/multipartBody7525220973609750584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094690219,"filename":"image_05012025_17_30_02_662235_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886339","file1":"1326886336","file0":"1326886333"},"map_files_photo_id_array":[{"photo_id":"1326886339","filename":"file2"},{"photo_id":"1326886336","filename":"file1"},{"photo_id":"1326886333","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886333":["hashtag1","hashtag2"]},{"1326886336":["hashtag1","hashtag2"]},{"1326886339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886333, 1326886336, 1326886339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.344395399093628 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:31:03.187843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:31:22.711197
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/30/image_05012025_17_30_02_662235_0003.jpg', '/home/pi/Desktop/images/05012025/17/31/image_05012025_17_31_02_865793_0000.jpg', '/home/pi/Desktop/images/05012025/17/31/image_05012025_17_31_02_865793_0001.jpg', '/home/pi/Desktop/images/05012025/17/31/image_05012025_17_31_02_865793_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/17/30/image_05012025_17_30_02_662235_0003.jpg
/home/pi/Desktop/images/05012025/17/31/image_05012025_17_31_02_865793_0000.jpg
/home/pi/Desktop/images/05012025/17/31/image_05012025_17_31_02_865793_0001.jpg
/home/pi/Desktop/images/05012025/17/31/image_05012025_17_31_02_865793_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886349","1326886351","1326886348","1326886353"],"photo_ids_order":["1326886348","1326886349","1326886351","1326886353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/16b37cba21d598a3294b5ba971c5ca68.jpg","text":"TemporaryFile(/tmp/multipartBody2229683988232707912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094753005,"filename":"image_05012025_17_31_02_865793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/709a8f82ba59bef92d1a61836a6aeb69.jpg","text":"TemporaryFile(/tmp/multipartBody1811231269034101673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094753005,"filename":"image_05012025_17_31_02_865793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e70bd789e52b7c11dfb9f7592a035536.jpg","text":"TemporaryFile(/tmp/multipartBody7396248488290609263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094753005,"filename":"image_05012025_17_30_02_662235_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b0e0c30d8141eef43cb2254f073a61e2.jpg","text":"TemporaryFile(/tmp/multipartBody4923543266655594894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094753005,"filename":"image_05012025_17_31_02_865793_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886351","file1":"1326886349","file0":"1326886348","file3":"1326886353"},"map_files_photo_id_array":[{"photo_id":"1326886351","filename":"file2"},{"photo_id":"1326886349","filename":"file1"},{"photo_id":"1326886348","filename":"file0"},{"photo_id":"1326886353","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886349":["hashtag1","hashtag2"]},{"1326886351":["hashtag1","hashtag2"]},{"1326886348":["hashtag1","hashtag2"]},{"1326886353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886349, 1326886351, 1326886348, 1326886353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.082478523254395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:32:22.030335
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/31/image_05012025_17_31_02_865793_0003.jpg', '/home/pi/Desktop/images/05012025/17/32/image_05012025_17_32_03_041634_0000.jpg', '/home/pi/Desktop/images/05012025/17/32/image_05012025_17_32_03_041634_0001.jpg', '/home/pi/Desktop/images/05012025/17/32/image_05012025_17_32_03_041634_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/17/31/image_05012025_17_31_02_865793_0003.jpg
/home/pi/Desktop/images/05012025/17/32/image_05012025_17_32_03_041634_0000.jpg
/home/pi/Desktop/images/05012025/17/32/image_05012025_17_32_03_041634_0001.jpg
/home/pi/Desktop/images/05012025/17/32/image_05012025_17_32_03_041634_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886361","1326886364","1326886366","1326886362"],"photo_ids_order":["1326886361","1326886362","1326886364","1326886366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/727ce1e511601e98d4e04e6b0087b7b6.jpg","text":"TemporaryFile(/tmp/multipartBody2733780796125285280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094812329,"filename":"image_05012025_17_31_02_865793_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c832f78f5f808eae2cabe0c9618d187.jpg","text":"TemporaryFile(/tmp/multipartBody1711881913571463296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094812329,"filename":"image_05012025_17_32_03_041634_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d94f211b3449ecb009fbd7a0813b06db.jpg","text":"TemporaryFile(/tmp/multipartBody4589976836718434525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094812329,"filename":"image_05012025_17_32_03_041634_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d5205621561b3fa508469d55cb54d100.jpg","text":"TemporaryFile(/tmp/multipartBody470049750445490851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094812329,"filename":"image_05012025_17_32_03_041634_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886364","file1":"1326886362","file0":"1326886361","file3":"1326886366"},"map_files_photo_id_array":[{"photo_id":"1326886364","filename":"file2"},{"photo_id":"1326886362","filename":"file1"},{"photo_id":"1326886361","filename":"file0"},{"photo_id":"1326886366","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886361":["hashtag1","hashtag2"]},{"1326886364":["hashtag1","hashtag2"]},{"1326886366":["hashtag1","hashtag2"]},{"1326886362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886361, 1326886364, 1326886366, 1326886362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.51951050758362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:33:22.075077
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/32/image_05012025_17_32_03_041634_0003.jpg', '/home/pi/Desktop/images/05012025/17/33/image_05012025_17_33_02_250223_0000.jpg', '/home/pi/Desktop/images/05012025/17/33/image_05012025_17_33_02_250223_0001.jpg', '/home/pi/Desktop/images/05012025/17/33/image_05012025_17_33_02_250223_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/17/32/image_05012025_17_32_03_041634_0003.jpg
/home/pi/Desktop/images/05012025/17/33/image_05012025_17_33_02_250223_0000.jpg
/home/pi/Desktop/images/05012025/17/33/image_05012025_17_33_02_250223_0001.jpg
/home/pi/Desktop/images/05012025/17/33/image_05012025_17_33_02_250223_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886376","1326886379","1326886378","1326886380"],"photo_ids_order":["1326886376","1326886378","1326886379","1326886380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a52112352978a10a1cd1000415fae69.jpg","text":"TemporaryFile(/tmp/multipartBody5014780575716965313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094872302,"filename":"image_05012025_17_32_03_041634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/356a7020ec4942c1e434cb27ef7ef1f5.jpg","text":"TemporaryFile(/tmp/multipartBody3208317766688176219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094872302,"filename":"image_05012025_17_33_02_250223_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4116ca238576c379378096f189e8bda2.jpg","text":"TemporaryFile(/tmp/multipartBody2908196941169404351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094872302,"filename":"image_05012025_17_33_02_250223_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d555ec5c5b124a85c7a21766b2f576d3.jpg","text":"TemporaryFile(/tmp/multipartBody1801170989795996431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094872302,"filename":"image_05012025_17_33_02_250223_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886379","file1":"1326886378","file0":"1326886376","file3":"1326886380"},"map_files_photo_id_array":[{"photo_id":"1326886379","filename":"file2"},{"photo_id":"1326886378","filename":"file1"},{"photo_id":"1326886376","filename":"file0"},{"photo_id":"1326886380","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886376":["hashtag1","hashtag2"]},{"1326886379":["hashtag1","hashtag2"]},{"1326886378":["hashtag1","hashtag2"]},{"1326886380":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886376, 1326886379, 1326886378, 1326886380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.021477699279785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:34:02.581998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:34:22.209419
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/33/image_05012025_17_33_02_250223_0003.jpg', '/home/pi/Desktop/images/05012025/17/34/image_05012025_17_34_02_415389_0000.jpg', '/home/pi/Desktop/images/05012025/17/34/image_05012025_17_34_02_415389_0001.jpg', '/home/pi/Desktop/images/05012025/17/34/image_05012025_17_34_02_415389_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/17/33/image_05012025_17_33_02_250223_0003.jpg
/home/pi/Desktop/images/05012025/17/34/image_05012025_17_34_02_415389_0000.jpg
/home/pi/Desktop/images/05012025/17/34/image_05012025_17_34_02_415389_0001.jpg
/home/pi/Desktop/images/05012025/17/34/image_05012025_17_34_02_415389_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.893534898757935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 17:34:42.200798
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/33/image_05012025_17_33_02_250223_0003.jpg', '/home/pi/Desktop/images/05012025/17/34/image_05012025_17_34_02_415389_0000.jpg', '/home/pi/Desktop/images/05012025/17/34/image_05012025_17_34_02_415389_0001.jpg', '/home/pi/Desktop/images/05012025/17/34/image_05012025_17_34_02_415389_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/17/33/image_05012025_17_33_02_250223_0003.jpg
/home/pi/Desktop/images/05012025/17/34/image_05012025_17_34_02_415389_0000.jpg
/home/pi/Desktop/images/05012025/17/34/image_05012025_17_34_02_415389_0001.jpg
/home/pi/Desktop/images/05012025/17/34/image_05012025_17_34_02_415389_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886394","1326886397","1326886393","1326886392"],"photo_ids_order":["1326886392","1326886393","1326886394","1326886397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fa3744ac9f42720997ef575cc81c7910.jpg","text":"TemporaryFile(/tmp/multipartBody2066627847361025992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094952501,"filename":"image_05012025_17_34_02_415389_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d0bf97124d07bf509f63561230453b6a.jpg","text":"TemporaryFile(/tmp/multipartBody3335106283371524719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094952501,"filename":"image_05012025_17_34_02_415389_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/45f704aac0631ae50b96585531d522ef.jpg","text":"TemporaryFile(/tmp/multipartBody2502328522991516126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094952501,"filename":"image_05012025_17_34_02_415389_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/819bcfb56291c164a7e4914d7a6130ca.jpg","text":"TemporaryFile(/tmp/multipartBody1694210885964725223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736094952501,"filename":"image_05012025_17_33_02_250223_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886394","file1":"1326886393","file0":"1326886392","file3":"1326886397"},"map_files_photo_id_array":[{"photo_id":"1326886394","filename":"file2"},{"photo_id":"1326886393","filename":"file1"},{"photo_id":"1326886392","filename":"file0"},{"photo_id":"1326886397","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886394":["hashtag1","hashtag2"]},{"1326886397":["hashtag1","hashtag2"]},{"1326886393":["hashtag1","hashtag2"]},{"1326886392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886394, 1326886397, 1326886393, 1326886392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.883331060409546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 17:35:32.405520
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/34/image_05012025_17_34_02_415389_0003.jpg', '/home/pi/Desktop/images/05012025/17/35/image_05012025_17_35_02_554845_0000.jpg', '/home/pi/Desktop/images/05012025/17/35/image_05012025_17_35_02_554845_0001.jpg', '/home/pi/Desktop/images/05012025/17/35/image_05012025_17_35_02_554845_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/17/34/image_05012025_17_34_02_415389_0003.jpg
/home/pi/Desktop/images/05012025/17/35/image_05012025_17_35_02_554845_0000.jpg
/home/pi/Desktop/images/05012025/17/35/image_05012025_17_35_02_554845_0001.jpg
/home/pi/Desktop/images/05012025/17/35/image_05012025_17_35_02_554845_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886406","1326886405","1326886408","1326886407"],"photo_ids_order":["1326886405","1326886406","1326886407","1326886408"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/329ff7f6b235096a5c54db9cdbea6b62.jpg","text":"TemporaryFile(/tmp/multipartBody4143992835532833727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095002859,"filename":"image_05012025_17_35_02_554845_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a9cf5ef86cb00a7f8ffbfbb704d81f28.jpg","text":"TemporaryFile(/tmp/multipartBody7288516473666877738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095002859,"filename":"image_05012025_17_34_02_415389_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fbc1539b6fa686f1fba3c1db862bde6d.jpg","text":"TemporaryFile(/tmp/multipartBody3505549153883222332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095002859,"filename":"image_05012025_17_35_02_554845_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5fa5e54ce1941c7e82560f34435de374.jpg","text":"TemporaryFile(/tmp/multipartBody8990305573992393631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095002859,"filename":"image_05012025_17_35_02_554845_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886407","file1":"1326886406","file0":"1326886405","file3":"1326886408"},"map_files_photo_id_array":[{"photo_id":"1326886407","filename":"file2"},{"photo_id":"1326886406","filename":"file1"},{"photo_id":"1326886405","filename":"file0"},{"photo_id":"1326886408","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886406":["hashtag1","hashtag2"]},{"1326886405":["hashtag1","hashtag2"]},{"1326886408":["hashtag1","hashtag2"]},{"1326886407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886406, 1326886405, 1326886408, 1326886407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.07067894935608 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:36:22.653446
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/35/image_05012025_17_35_02_554845_0003.jpg', '/home/pi/Desktop/images/05012025/17/36/image_05012025_17_36_02_806994_0000.jpg', '/home/pi/Desktop/images/05012025/17/36/image_05012025_17_36_02_806994_0001.jpg', '/home/pi/Desktop/images/05012025/17/36/image_05012025_17_36_02_806994_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/17/35/image_05012025_17_35_02_554845_0003.jpg
/home/pi/Desktop/images/05012025/17/36/image_05012025_17_36_02_806994_0000.jpg
/home/pi/Desktop/images/05012025/17/36/image_05012025_17_36_02_806994_0001.jpg
/home/pi/Desktop/images/05012025/17/36/image_05012025_17_36_02_806994_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886416","1326886418","1326886420","1326886413"],"photo_ids_order":["1326886413","1326886416","1326886418","1326886420"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dada7316bba4f213c0e7c3ebfc74126b.jpg","text":"TemporaryFile(/tmp/multipartBody7646966830006853105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095053034,"filename":"image_05012025_17_36_02_806994_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ecaeba384bf16d023ce23be26e1352c6.jpg","text":"TemporaryFile(/tmp/multipartBody5997820204092024543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095053034,"filename":"image_05012025_17_36_02_806994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6e4a0e72a71a24772c087e9c028609c2.jpg","text":"TemporaryFile(/tmp/multipartBody8015235215872087034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095053034,"filename":"image_05012025_17_36_02_806994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/28305000f13b81d20bc740973e7b8dda.jpg","text":"TemporaryFile(/tmp/multipartBody6152069933804927802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095053034,"filename":"image_05012025_17_35_02_554845_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886418","file1":"1326886416","file0":"1326886413","file3":"1326886420"},"map_files_photo_id_array":[{"photo_id":"1326886418","filename":"file2"},{"photo_id":"1326886416","filename":"file1"},{"photo_id":"1326886413","filename":"file0"},{"photo_id":"1326886420","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886416":["hashtag1","hashtag2"]},{"1326886418":["hashtag1","hashtag2"]},{"1326886420":["hashtag1","hashtag2"]},{"1326886413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886416, 1326886418, 1326886420, 1326886413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.55889129638672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:37:21.809761
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/36/image_05012025_17_36_02_806994_0003.jpg', '/home/pi/Desktop/images/05012025/17/37/image_05012025_17_37_03_003942_0000.jpg', '/home/pi/Desktop/images/05012025/17/37/image_05012025_17_37_03_003942_0001.jpg', '/home/pi/Desktop/images/05012025/17/37/image_05012025_17_37_03_003942_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/17/36/image_05012025_17_36_02_806994_0003.jpg
/home/pi/Desktop/images/05012025/17/37/image_05012025_17_37_03_003942_0000.jpg
/home/pi/Desktop/images/05012025/17/37/image_05012025_17_37_03_003942_0001.jpg
/home/pi/Desktop/images/05012025/17/37/image_05012025_17_37_03_003942_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886424","1326886429","1326886426","1326886425"],"photo_ids_order":["1326886424","1326886425","1326886426","1326886429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1162de1102014374c15287cde06fabaf.jpg","text":"TemporaryFile(/tmp/multipartBody4473526944429256778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095112192,"filename":"image_05012025_17_36_02_806994_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/425bc0339d1dfd26541724a1aa5bfb66.jpg","text":"TemporaryFile(/tmp/multipartBody4305672017676636399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095112192,"filename":"image_05012025_17_37_03_003942_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c09d4820a10f8f0634c356ad9517545b.jpg","text":"TemporaryFile(/tmp/multipartBody195737746206232567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095112192,"filename":"image_05012025_17_37_03_003942_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/92f1ce8321b308be4b9f9ca910c36456.jpg","text":"TemporaryFile(/tmp/multipartBody3342260945223591878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095112192,"filename":"image_05012025_17_37_03_003942_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886426","file1":"1326886425","file0":"1326886424","file3":"1326886429"},"map_files_photo_id_array":[{"photo_id":"1326886426","filename":"file2"},{"photo_id":"1326886425","filename":"file1"},{"photo_id":"1326886424","filename":"file0"},{"photo_id":"1326886429","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886424":["hashtag1","hashtag2"]},{"1326886429":["hashtag1","hashtag2"]},{"1326886426":["hashtag1","hashtag2"]},{"1326886425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886424, 1326886429, 1326886426, 1326886425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.900989294052124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:38:22.023026
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/37/image_05012025_17_37_03_003942_0003.jpg', '/home/pi/Desktop/images/05012025/17/38/image_05012025_17_38_02_107891_0000.jpg', '/home/pi/Desktop/images/05012025/17/38/image_05012025_17_38_02_107891_0001.jpg', '/home/pi/Desktop/images/05012025/17/38/image_05012025_17_38_02_107891_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/17/37/image_05012025_17_37_03_003942_0003.jpg
/home/pi/Desktop/images/05012025/17/38/image_05012025_17_38_02_107891_0000.jpg
/home/pi/Desktop/images/05012025/17/38/image_05012025_17_38_02_107891_0001.jpg
/home/pi/Desktop/images/05012025/17/38/image_05012025_17_38_02_107891_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886436","1326886435","1326886438","1326886434"],"photo_ids_order":["1326886434","1326886435","1326886436","1326886438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/801b33f069560f207980bcb46c565dc3.jpg","text":"TemporaryFile(/tmp/multipartBody4722458780238848987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095172395,"filename":"image_05012025_17_38_02_107891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c2b0a9b95373d1c73d3081d79385898f.jpg","text":"TemporaryFile(/tmp/multipartBody4289083060123915205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095172395,"filename":"image_05012025_17_38_02_107891_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8f184a6d2cd1e6b0ea1ff7b761c0a68d.jpg","text":"TemporaryFile(/tmp/multipartBody71429233181019404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095172395,"filename":"image_05012025_17_38_02_107891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02ce430822ab75ddfba367bc2677ea8c.jpg","text":"TemporaryFile(/tmp/multipartBody7115419319444772724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095172395,"filename":"image_05012025_17_37_03_003942_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886436","file1":"1326886435","file0":"1326886434","file3":"1326886438"},"map_files_photo_id_array":[{"photo_id":"1326886436","filename":"file2"},{"photo_id":"1326886435","filename":"file1"},{"photo_id":"1326886434","filename":"file0"},{"photo_id":"1326886438","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886436":["hashtag1","hashtag2"]},{"1326886435":["hashtag1","hashtag2"]},{"1326886438":["hashtag1","hashtag2"]},{"1326886434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886436, 1326886435, 1326886438, 1326886434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.1384060382843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:39:22.136569
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/38/image_05012025_17_38_02_107891_0003.jpg', '/home/pi/Desktop/images/05012025/17/39/image_05012025_17_39_02_403272_0000.jpg', '/home/pi/Desktop/images/05012025/17/39/image_05012025_17_39_02_403272_0001.jpg', '/home/pi/Desktop/images/05012025/17/39/image_05012025_17_39_02_403272_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/17/38/image_05012025_17_38_02_107891_0003.jpg
/home/pi/Desktop/images/05012025/17/39/image_05012025_17_39_02_403272_0000.jpg
/home/pi/Desktop/images/05012025/17/39/image_05012025_17_39_02_403272_0001.jpg
/home/pi/Desktop/images/05012025/17/39/image_05012025_17_39_02_403272_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886450","1326886453","1326886452","1326886449"],"photo_ids_order":["1326886449","1326886450","1326886452","1326886453"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1ec2105781768445b37a0846676c45cd.jpg","text":"TemporaryFile(/tmp/multipartBody6258240818082188895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095232564,"filename":"image_05012025_17_39_02_403272_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f04aae7887aa5ddccba22e82a20be76e.jpg","text":"TemporaryFile(/tmp/multipartBody4673040834728467734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095232564,"filename":"image_05012025_17_39_02_403272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/18d90ca447ba89b7270091c8ae2a15fd.jpg","text":"TemporaryFile(/tmp/multipartBody5583204317391394868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095232564,"filename":"image_05012025_17_39_02_403272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9baafbb3d7365eb36b83f002cb1a0b2d.jpg","text":"TemporaryFile(/tmp/multipartBody8639377943561395269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095232564,"filename":"image_05012025_17_38_02_107891_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886452","file1":"1326886450","file0":"1326886449","file3":"1326886453"},"map_files_photo_id_array":[{"photo_id":"1326886452","filename":"file2"},{"photo_id":"1326886450","filename":"file1"},{"photo_id":"1326886449","filename":"file0"},{"photo_id":"1326886453","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886450":["hashtag1","hashtag2"]},{"1326886453":["hashtag1","hashtag2"]},{"1326886452":["hashtag1","hashtag2"]},{"1326886449":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886450, 1326886453, 1326886452, 1326886449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.684327125549316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:40:22.330597
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/39/image_05012025_17_39_02_403272_0003.jpg', '/home/pi/Desktop/images/05012025/17/40/image_05012025_17_40_02_542888_0000.jpg', '/home/pi/Desktop/images/05012025/17/40/image_05012025_17_40_02_542888_0001.jpg', '/home/pi/Desktop/images/05012025/17/40/image_05012025_17_40_02_542888_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/17/39/image_05012025_17_39_02_403272_0003.jpg
/home/pi/Desktop/images/05012025/17/40/image_05012025_17_40_02_542888_0000.jpg
/home/pi/Desktop/images/05012025/17/40/image_05012025_17_40_02_542888_0001.jpg
/home/pi/Desktop/images/05012025/17/40/image_05012025_17_40_02_542888_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886475","1326886477","1326886476","1326886473"],"photo_ids_order":["1326886473","1326886475","1326886476","1326886477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dfb174d1389275e651c368cce39118ad.jpg","text":"TemporaryFile(/tmp/multipartBody8619734845856730633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095292820,"filename":"image_05012025_17_40_02_542888_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fdaa30f94195d96dae4b00141bdb4adf.jpg","text":"TemporaryFile(/tmp/multipartBody4015429760777871060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095292820,"filename":"image_05012025_17_40_02_542888_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e0ec3c479639daccbb38a39cb84bdd20.jpg","text":"TemporaryFile(/tmp/multipartBody5951927845628655438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095292820,"filename":"image_05012025_17_40_02_542888_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1e0ea0064ab7198ba1bfaa86a976a61a.jpg","text":"TemporaryFile(/tmp/multipartBody4234182450746214242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095292820,"filename":"image_05012025_17_39_02_403272_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886476","file1":"1326886475","file0":"1326886473","file3":"1326886477"},"map_files_photo_id_array":[{"photo_id":"1326886476","filename":"file2"},{"photo_id":"1326886475","filename":"file1"},{"photo_id":"1326886473","filename":"file0"},{"photo_id":"1326886477","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886475":["hashtag1","hashtag2"]},{"1326886477":["hashtag1","hashtag2"]},{"1326886476":["hashtag1","hashtag2"]},{"1326886473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886475, 1326886477, 1326886476, 1326886473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.255706787109375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:41:22.515755
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/40/image_05012025_17_40_02_542888_0003.jpg', '/home/pi/Desktop/images/05012025/17/41/image_05012025_17_41_02_620012_0000.jpg', '/home/pi/Desktop/images/05012025/17/41/image_05012025_17_41_02_620012_0001.jpg', '/home/pi/Desktop/images/05012025/17/41/image_05012025_17_41_02_620012_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/17/40/image_05012025_17_40_02_542888_0003.jpg
/home/pi/Desktop/images/05012025/17/41/image_05012025_17_41_02_620012_0000.jpg
/home/pi/Desktop/images/05012025/17/41/image_05012025_17_41_02_620012_0001.jpg
/home/pi/Desktop/images/05012025/17/41/image_05012025_17_41_02_620012_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886487","1326886489","1326886488","1326886485"],"photo_ids_order":["1326886485","1326886487","1326886488","1326886489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e200786de9a406697e7e32637821ef99.jpg","text":"TemporaryFile(/tmp/multipartBody1414600648165988988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095352884,"filename":"image_05012025_17_41_02_620012_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6acbd7119e72c17d199fa694f8612ddf.jpg","text":"TemporaryFile(/tmp/multipartBody8128639751805126573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095352884,"filename":"image_05012025_17_41_02_620012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a64ebba7fcaab019b7d76edc690f4378.jpg","text":"TemporaryFile(/tmp/multipartBody1200617458123284659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095352884,"filename":"image_05012025_17_41_02_620012_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3fea373fdd4a4b51d5577211e47502bd.jpg","text":"TemporaryFile(/tmp/multipartBody4737602231457996972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095352884,"filename":"image_05012025_17_40_02_542888_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886488","file1":"1326886487","file0":"1326886485","file3":"1326886489"},"map_files_photo_id_array":[{"photo_id":"1326886488","filename":"file2"},{"photo_id":"1326886487","filename":"file1"},{"photo_id":"1326886485","filename":"file0"},{"photo_id":"1326886489","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886487":["hashtag1","hashtag2"]},{"1326886489":["hashtag1","hashtag2"]},{"1326886488":["hashtag1","hashtag2"]},{"1326886485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886487, 1326886489, 1326886488, 1326886485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.25440788269043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:42:22.699134
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/41/image_05012025_17_41_02_620012_0003.jpg', '/home/pi/Desktop/images/05012025/17/42/image_05012025_17_42_02_875856_0000.jpg', '/home/pi/Desktop/images/05012025/17/42/image_05012025_17_42_02_875856_0001.jpg', '/home/pi/Desktop/images/05012025/17/42/image_05012025_17_42_02_875856_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/17/41/image_05012025_17_41_02_620012_0003.jpg
/home/pi/Desktop/images/05012025/17/42/image_05012025_17_42_02_875856_0000.jpg
/home/pi/Desktop/images/05012025/17/42/image_05012025_17_42_02_875856_0001.jpg
/home/pi/Desktop/images/05012025/17/42/image_05012025_17_42_02_875856_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886500","1326886499","1326886501","1326886497"],"photo_ids_order":["1326886497","1326886499","1326886500","1326886501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f816bdfd612f03006d6c02ded9302891.jpg","text":"TemporaryFile(/tmp/multipartBody6040416348212337267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095413098,"filename":"image_05012025_17_42_02_875856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8ca57e9dff400c1ecb16e621dd57234a.jpg","text":"TemporaryFile(/tmp/multipartBody8332953874692436394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095413098,"filename":"image_05012025_17_42_02_875856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/25831a488bad23f526389ec8a2ac76a5.jpg","text":"TemporaryFile(/tmp/multipartBody5378829540734061123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095413098,"filename":"image_05012025_17_42_02_875856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f1b548632cf99f037d9aafc8e6453cb6.jpg","text":"TemporaryFile(/tmp/multipartBody3255609803458334223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095413098,"filename":"image_05012025_17_41_02_620012_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886500","file1":"1326886499","file0":"1326886497","file3":"1326886501"},"map_files_photo_id_array":[{"photo_id":"1326886500","filename":"file2"},{"photo_id":"1326886499","filename":"file1"},{"photo_id":"1326886497","filename":"file0"},{"photo_id":"1326886501","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886500":["hashtag1","hashtag2"]},{"1326886499":["hashtag1","hashtag2"]},{"1326886501":["hashtag1","hashtag2"]},{"1326886497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886500, 1326886499, 1326886501, 1326886497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.443061113357544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:43:21.989375
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/42/image_05012025_17_42_02_875856_0003.jpg', '/home/pi/Desktop/images/05012025/17/43/image_05012025_17_43_03_138420_0000.jpg', '/home/pi/Desktop/images/05012025/17/43/image_05012025_17_43_03_138420_0001.jpg', '/home/pi/Desktop/images/05012025/17/43/image_05012025_17_43_03_138420_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/17/42/image_05012025_17_42_02_875856_0003.jpg
/home/pi/Desktop/images/05012025/17/43/image_05012025_17_43_03_138420_0000.jpg
/home/pi/Desktop/images/05012025/17/43/image_05012025_17_43_03_138420_0001.jpg
/home/pi/Desktop/images/05012025/17/43/image_05012025_17_43_03_138420_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886515","1326886509","1326886507","1326886512"],"photo_ids_order":["1326886507","1326886509","1326886512","1326886515"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2e858887d9f2eea44b06bd815d0a4f39.jpg","text":"TemporaryFile(/tmp/multipartBody421046303451665981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095472299,"filename":"image_05012025_17_43_03_138420_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7e7bf6a9a7d9c1b8e53f4109bab69217.jpg","text":"TemporaryFile(/tmp/multipartBody1963713908140616426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095472299,"filename":"image_05012025_17_43_03_138420_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0a254577cea446df429d31daaf895d38.jpg","text":"TemporaryFile(/tmp/multipartBody6610241900235372506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095472299,"filename":"image_05012025_17_42_02_875856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/50668299fa8dcec8f08a7b64aec6fbfa.jpg","text":"TemporaryFile(/tmp/multipartBody4260691944502510338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095472299,"filename":"image_05012025_17_43_03_138420_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886512","file1":"1326886509","file0":"1326886507","file3":"1326886515"},"map_files_photo_id_array":[{"photo_id":"1326886512","filename":"file2"},{"photo_id":"1326886509","filename":"file1"},{"photo_id":"1326886507","filename":"file0"},{"photo_id":"1326886515","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886515":["hashtag1","hashtag2"]},{"1326886509":["hashtag1","hashtag2"]},{"1326886507":["hashtag1","hashtag2"]},{"1326886512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886515, 1326886509, 1326886507, 1326886512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.96536207199097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:44:22.142110
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/43/image_05012025_17_43_03_138420_0003.jpg', '/home/pi/Desktop/images/05012025/17/44/image_05012025_17_44_02_389991_0000.jpg', '/home/pi/Desktop/images/05012025/17/44/image_05012025_17_44_02_389991_0001.jpg', '/home/pi/Desktop/images/05012025/17/44/image_05012025_17_44_02_389991_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/17/43/image_05012025_17_43_03_138420_0003.jpg
/home/pi/Desktop/images/05012025/17/44/image_05012025_17_44_02_389991_0000.jpg
/home/pi/Desktop/images/05012025/17/44/image_05012025_17_44_02_389991_0001.jpg
/home/pi/Desktop/images/05012025/17/44/image_05012025_17_44_02_389991_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.969490051269531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 17:44:42.153882
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/43/image_05012025_17_43_03_138420_0003.jpg', '/home/pi/Desktop/images/05012025/17/44/image_05012025_17_44_02_389991_0000.jpg', '/home/pi/Desktop/images/05012025/17/44/image_05012025_17_44_02_389991_0001.jpg', '/home/pi/Desktop/images/05012025/17/44/image_05012025_17_44_02_389991_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/17/43/image_05012025_17_43_03_138420_0003.jpg
/home/pi/Desktop/images/05012025/17/44/image_05012025_17_44_02_389991_0000.jpg
/home/pi/Desktop/images/05012025/17/44/image_05012025_17_44_02_389991_0001.jpg
/home/pi/Desktop/images/05012025/17/44/image_05012025_17_44_02_389991_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":["1326886546","1326886549","1326886542","1326886539"],"photo_ids_order":["1326886539","1326886542","1326886546","1326886549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd68077c935fc386f417284d4e9569f7.jpg","text":"TemporaryFile(/tmp/multipartBody5109326370850542932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095552559,"filename":"image_05012025_17_44_02_389991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e99800c0927bca373b13b412c119f9bd.jpg","text":"TemporaryFile(/tmp/multipartBody1603617219947507280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095552559,"filename":"image_05012025_17_44_02_389991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/be2c02cbebe9af91e7cca366f5a7d7da.jpg","text":"TemporaryFile(/tmp/multipartBody8384349624740076272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095552559,"filename":"image_05012025_17_44_02_389991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/933b427c14451f9463f755c1c279033f.jpg","text":"TemporaryFile(/tmp/multipartBody5752222444892675770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095552559,"filename":"image_05012025_17_43_03_138420_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886546","file1":"1326886542","file0":"1326886539","file3":"1326886549"},"map_files_photo_id_array":[{"photo_id":"1326886546","filename":"file2"},{"photo_id":"1326886542","filename":"file1"},{"photo_id":"1326886539","filename":"file0"},{"photo_id":"1326886549","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886546":["hashtag1","hashtag2"]},{"1326886549":["hashtag1","hashtag2"]},{"1326886542":["hashtag1","hashtag2"]},{"1326886539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886546, 1326886549, 1326886542, 1326886539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.699345111846924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:45:22.365163
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/44/image_05012025_17_44_02_389991_0003.jpg', '/home/pi/Desktop/images/05012025/17/45/image_05012025_17_45_02_438210_0000.jpg', '/home/pi/Desktop/images/05012025/17/45/image_05012025_17_45_02_438210_0001.jpg', '/home/pi/Desktop/images/05012025/17/45/image_05012025_17_45_02_438210_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/17/44/image_05012025_17_44_02_389991_0003.jpg
/home/pi/Desktop/images/05012025/17/45/image_05012025_17_45_02_438210_0000.jpg
/home/pi/Desktop/images/05012025/17/45/image_05012025_17_45_02_438210_0001.jpg
/home/pi/Desktop/images/05012025/17/45/image_05012025_17_45_02_438210_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886556","1326886559","1326886561","1326886566"],"photo_ids_order":["1326886556","1326886559","1326886561","1326886566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aafd3ed3c1ed7641586c4ed8fc7ec81d.jpg","text":"TemporaryFile(/tmp/multipartBody3164089241269066373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095592783,"filename":"image_05012025_17_44_02_389991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/998e179698f2a31513303bc452ef1c45.jpg","text":"TemporaryFile(/tmp/multipartBody805761803137726894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095592783,"filename":"image_05012025_17_45_02_438210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe11709496ee7c5d9e564a0f778b4655.jpg","text":"TemporaryFile(/tmp/multipartBody2474983443646367197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095592783,"filename":"image_05012025_17_45_02_438210_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe250c5ffa1975165af14996a889232c.jpg","text":"TemporaryFile(/tmp/multipartBody5493192653868062711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095592783,"filename":"image_05012025_17_45_02_438210_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886561","file1":"1326886559","file0":"1326886556","file3":"1326886566"},"map_files_photo_id_array":[{"photo_id":"1326886561","filename":"file2"},{"photo_id":"1326886559","filename":"file1"},{"photo_id":"1326886556","filename":"file0"},{"photo_id":"1326886566","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886556":["hashtag1","hashtag2"]},{"1326886559":["hashtag1","hashtag2"]},{"1326886561":["hashtag1","hashtag2"]},{"1326886566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886556, 1326886559, 1326886561, 1326886566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.70262336730957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:46:22.453362
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/45/image_05012025_17_45_02_438210_0003.jpg', '/home/pi/Desktop/images/05012025/17/46/image_05012025_17_46_02_625817_0000.jpg', '/home/pi/Desktop/images/05012025/17/46/image_05012025_17_46_02_625817_0001.jpg', '/home/pi/Desktop/images/05012025/17/46/image_05012025_17_46_02_625817_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/17/45/image_05012025_17_45_02_438210_0003.jpg
/home/pi/Desktop/images/05012025/17/46/image_05012025_17_46_02_625817_0000.jpg
/home/pi/Desktop/images/05012025/17/46/image_05012025_17_46_02_625817_0001.jpg
/home/pi/Desktop/images/05012025/17/46/image_05012025_17_46_02_625817_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886577","1326886579","1326886575","1326886578"],"photo_ids_order":["1326886575","1326886577","1326886578","1326886579"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e2b731d11faa097d30c4c511181ea26.jpg","text":"TemporaryFile(/tmp/multipartBody129002840551236663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095652841,"filename":"image_05012025_17_46_02_625817_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c505fa9e1b599d2f148afa32f50c3bf.jpg","text":"TemporaryFile(/tmp/multipartBody8203399874090586050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095652841,"filename":"image_05012025_17_46_02_625817_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fb87bfbf04094eabc43ad7f5d1c2941c.jpg","text":"TemporaryFile(/tmp/multipartBody8471648908719701386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095652841,"filename":"image_05012025_17_45_02_438210_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/90016bd4a1f7ce32a0cc13dda8bf3483.jpg","text":"TemporaryFile(/tmp/multipartBody3622940590982476194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095652841,"filename":"image_05012025_17_46_02_625817_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886578","file1":"1326886577","file0":"1326886575","file3":"1326886579"},"map_files_photo_id_array":[{"photo_id":"1326886578","filename":"file2"},{"photo_id":"1326886577","filename":"file1"},{"photo_id":"1326886575","filename":"file0"},{"photo_id":"1326886579","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886577":["hashtag1","hashtag2"]},{"1326886579":["hashtag1","hashtag2"]},{"1326886575":["hashtag1","hashtag2"]},{"1326886578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886577, 1326886579, 1326886575, 1326886578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.5221471786499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:47:03.371225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:47:22.722348
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/46/image_05012025_17_46_02_625817_0003.jpg', '/home/pi/Desktop/images/05012025/17/47/image_05012025_17_47_02_847192_0000.jpg', '/home/pi/Desktop/images/05012025/17/47/image_05012025_17_47_02_847192_0001.jpg', '/home/pi/Desktop/images/05012025/17/47/image_05012025_17_47_02_847192_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/17/46/image_05012025_17_46_02_625817_0003.jpg
/home/pi/Desktop/images/05012025/17/47/image_05012025_17_47_02_847192_0000.jpg
/home/pi/Desktop/images/05012025/17/47/image_05012025_17_47_02_847192_0001.jpg
/home/pi/Desktop/images/05012025/17/47/image_05012025_17_47_02_847192_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886586","1326886585","1326886588","1326886590"],"photo_ids_order":["1326886585","1326886586","1326886588","1326886590"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6d5a06dd563319af5f0e47e0cec1ddbd.jpg","text":"TemporaryFile(/tmp/multipartBody3414361246676134546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095713131,"filename":"image_05012025_17_47_02_847192_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/06d019bed81a8c0c7794c0031149e2fd.jpg","text":"TemporaryFile(/tmp/multipartBody6276876479881494067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095713131,"filename":"image_05012025_17_46_02_625817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/463f6ed0c312e2291b8ea0f7b9045501.jpg","text":"TemporaryFile(/tmp/multipartBody8071432789205413813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095713131,"filename":"image_05012025_17_47_02_847192_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/190386ced5f4e2505661b651daa4ee03.jpg","text":"TemporaryFile(/tmp/multipartBody2181034268116356805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095713131,"filename":"image_05012025_17_47_02_847192_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886588","file1":"1326886586","file0":"1326886585","file3":"1326886590"},"map_files_photo_id_array":[{"photo_id":"1326886588","filename":"file2"},{"photo_id":"1326886586","filename":"file1"},{"photo_id":"1326886585","filename":"file0"},{"photo_id":"1326886590","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886586":["hashtag1","hashtag2"]},{"1326886585":["hashtag1","hashtag2"]},{"1326886588":["hashtag1","hashtag2"]},{"1326886590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886586, 1326886585, 1326886588, 1326886590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.02833437919617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:48:21.824775
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/47/image_05012025_17_47_02_847192_0003.jpg', '/home/pi/Desktop/images/05012025/17/48/image_05012025_17_48_03_022455_0000.jpg', '/home/pi/Desktop/images/05012025/17/48/image_05012025_17_48_03_022455_0001.jpg', '/home/pi/Desktop/images/05012025/17/48/image_05012025_17_48_03_022455_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/17/47/image_05012025_17_47_02_847192_0003.jpg
/home/pi/Desktop/images/05012025/17/48/image_05012025_17_48_03_022455_0000.jpg
/home/pi/Desktop/images/05012025/17/48/image_05012025_17_48_03_022455_0001.jpg
/home/pi/Desktop/images/05012025/17/48/image_05012025_17_48_03_022455_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.080467224121094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 17:48:41.817489
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/47/image_05012025_17_47_02_847192_0003.jpg', '/home/pi/Desktop/images/05012025/17/48/image_05012025_17_48_03_022455_0000.jpg', '/home/pi/Desktop/images/05012025/17/48/image_05012025_17_48_03_022455_0001.jpg', '/home/pi/Desktop/images/05012025/17/48/image_05012025_17_48_03_022455_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/17/47/image_05012025_17_47_02_847192_0003.jpg
/home/pi/Desktop/images/05012025/17/48/image_05012025_17_48_03_022455_0000.jpg
/home/pi/Desktop/images/05012025/17/48/image_05012025_17_48_03_022455_0001.jpg
/home/pi/Desktop/images/05012025/17/48/image_05012025_17_48_03_022455_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":["1326886601","1326886607","1326886603","1326886605"],"photo_ids_order":["1326886601","1326886603","1326886605","1326886607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d3ac224c66972534f81b2a85fbf00952.jpg","text":"TemporaryFile(/tmp/multipartBody126546598906220320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095792320,"filename":"image_05012025_17_47_02_847192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/04ac43c8eff163ec206d46b72c2f192a.jpg","text":"TemporaryFile(/tmp/multipartBody5446289997656109705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095792320,"filename":"image_05012025_17_48_03_022455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/31ffea96047c47971ff35e0495d1e6e2.jpg","text":"TemporaryFile(/tmp/multipartBody2333021456278055433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095792320,"filename":"image_05012025_17_48_03_022455_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dd5f656009ce1452535df890d8aa5004.jpg","text":"TemporaryFile(/tmp/multipartBody8532432813892789516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095792320,"filename":"image_05012025_17_48_03_022455_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886605","file1":"1326886603","file0":"1326886601","file3":"1326886607"},"map_files_photo_id_array":[{"photo_id":"1326886605","filename":"file2"},{"photo_id":"1326886603","filename":"file1"},{"photo_id":"1326886601","filename":"file0"},{"photo_id":"1326886607","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886601":["hashtag1","hashtag2"]},{"1326886607":["hashtag1","hashtag2"]},{"1326886603":["hashtag1","hashtag2"]},{"1326886605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886601, 1326886607, 1326886603, 1326886605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.116830825805664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:49:21.978632
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/48/image_05012025_17_48_03_022455_0003.jpg', '/home/pi/Desktop/images/05012025/17/49/image_05012025_17_49_02_199000_0000.jpg', '/home/pi/Desktop/images/05012025/17/49/image_05012025_17_49_02_199000_0001.jpg', '/home/pi/Desktop/images/05012025/17/49/image_05012025_17_49_02_199000_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/17/48/image_05012025_17_48_03_022455_0003.jpg
/home/pi/Desktop/images/05012025/17/49/image_05012025_17_49_02_199000_0000.jpg
/home/pi/Desktop/images/05012025/17/49/image_05012025_17_49_02_199000_0001.jpg
/home/pi/Desktop/images/05012025/17/49/image_05012025_17_49_02_199000_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886610","1326886613","1326886609","1326886611"],"photo_ids_order":["1326886609","1326886610","1326886611","1326886613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/68ce994f1a209705df1adca9249a9ce5.jpg","text":"TemporaryFile(/tmp/multipartBody5152932484863919961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095832461,"filename":"image_05012025_17_49_02_199000_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b4549382f2c8985ed2ac0bc9e2a31a11.jpg","text":"TemporaryFile(/tmp/multipartBody3486355456083722394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095832461,"filename":"image_05012025_17_49_02_199000_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e2922c9110777dadbc0cf5a55b29c80.jpg","text":"TemporaryFile(/tmp/multipartBody2668203139301445532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095832461,"filename":"image_05012025_17_48_03_022455_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/76fabf020d17e4327a0d7fa1d1cc27aa.jpg","text":"TemporaryFile(/tmp/multipartBody1489263152474968099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095832461,"filename":"image_05012025_17_49_02_199000_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886611","file1":"1326886610","file0":"1326886609","file3":"1326886613"},"map_files_photo_id_array":[{"photo_id":"1326886611","filename":"file2"},{"photo_id":"1326886610","filename":"file1"},{"photo_id":"1326886609","filename":"file0"},{"photo_id":"1326886613","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886610":["hashtag1","hashtag2"]},{"1326886613":["hashtag1","hashtag2"]},{"1326886609":["hashtag1","hashtag2"]},{"1326886611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886610, 1326886613, 1326886609, 1326886611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.48103141784668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:50:22.218486
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/49/image_05012025_17_49_02_199000_0003.jpg', '/home/pi/Desktop/images/05012025/17/50/image_05012025_17_50_02_332696_0000.jpg', '/home/pi/Desktop/images/05012025/17/50/image_05012025_17_50_02_332696_0001.jpg', '/home/pi/Desktop/images/05012025/17/50/image_05012025_17_50_02_332696_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/17/49/image_05012025_17_49_02_199000_0003.jpg
/home/pi/Desktop/images/05012025/17/50/image_05012025_17_50_02_332696_0000.jpg
/home/pi/Desktop/images/05012025/17/50/image_05012025_17_50_02_332696_0001.jpg
/home/pi/Desktop/images/05012025/17/50/image_05012025_17_50_02_332696_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886629","1326886628","1326886624","1326886626"],"photo_ids_order":["1326886624","1326886626","1326886628","1326886629"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a3e3b9eaab2c9a1bb2fd0ef6bb1da646.jpg","text":"TemporaryFile(/tmp/multipartBody1659380366696019234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095892775,"filename":"image_05012025_17_50_02_332696_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d658a94c87d0961fa177734b8389ffbe.jpg","text":"TemporaryFile(/tmp/multipartBody2144074143466073899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095892775,"filename":"image_05012025_17_50_02_332696_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7b0240427888ce302767a838efd7029f.jpg","text":"TemporaryFile(/tmp/multipartBody8522462953483518669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095892775,"filename":"image_05012025_17_49_02_199000_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/48a0b736b7fc629e811e6ef28d151a79.jpg","text":"TemporaryFile(/tmp/multipartBody8412629936199353236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095892775,"filename":"image_05012025_17_50_02_332696_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886628","file1":"1326886626","file0":"1326886624","file3":"1326886629"},"map_files_photo_id_array":[{"photo_id":"1326886628","filename":"file2"},{"photo_id":"1326886626","filename":"file1"},{"photo_id":"1326886624","filename":"file0"},{"photo_id":"1326886629","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886629":["hashtag1","hashtag2"]},{"1326886628":["hashtag1","hashtag2"]},{"1326886624":["hashtag1","hashtag2"]},{"1326886626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886629, 1326886628, 1326886624, 1326886626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.79745626449585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:51:22.390286
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/50/image_05012025_17_50_02_332696_0003.jpg', '/home/pi/Desktop/images/05012025/17/51/image_05012025_17_51_02_555055_0000.jpg', '/home/pi/Desktop/images/05012025/17/51/image_05012025_17_51_02_555055_0001.jpg', '/home/pi/Desktop/images/05012025/17/51/image_05012025_17_51_02_555055_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/17/50/image_05012025_17_50_02_332696_0003.jpg
/home/pi/Desktop/images/05012025/17/51/image_05012025_17_51_02_555055_0000.jpg
/home/pi/Desktop/images/05012025/17/51/image_05012025_17_51_02_555055_0001.jpg
/home/pi/Desktop/images/05012025/17/51/image_05012025_17_51_02_555055_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886643","1326886637","1326886641","1326886638"],"photo_ids_order":["1326886637","1326886638","1326886641","1326886643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6014053305d13c9c263b70b2947f05a1.jpg","text":"TemporaryFile(/tmp/multipartBody2655660924375836731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095952984,"filename":"image_05012025_17_51_02_555055_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/240bc75c89f93714aecba9d90d1cfe42.jpg","text":"TemporaryFile(/tmp/multipartBody2252832206177899363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095952984,"filename":"image_05012025_17_50_02_332696_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3646e4d69890c86434584bff905e8c27.jpg","text":"TemporaryFile(/tmp/multipartBody6548004408015125393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095952984,"filename":"image_05012025_17_51_02_555055_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/61ce0c48cb7e05211e5e84b22fe3bf47.jpg","text":"TemporaryFile(/tmp/multipartBody4113827814787225481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736095952984,"filename":"image_05012025_17_51_02_555055_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886641","file1":"1326886638","file0":"1326886637","file3":"1326886643"},"map_files_photo_id_array":[{"photo_id":"1326886641","filename":"file2"},{"photo_id":"1326886638","filename":"file1"},{"photo_id":"1326886637","filename":"file0"},{"photo_id":"1326886643","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886643":["hashtag1","hashtag2"]},{"1326886637":["hashtag1","hashtag2"]},{"1326886641":["hashtag1","hashtag2"]},{"1326886638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886643, 1326886637, 1326886641, 1326886638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.34097409248352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:52:22.540114
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/51/image_05012025_17_51_02_555055_0003.jpg', '/home/pi/Desktop/images/05012025/17/52/image_05012025_17_52_02_753605_0000.jpg', '/home/pi/Desktop/images/05012025/17/52/image_05012025_17_52_02_753605_0001.jpg', '/home/pi/Desktop/images/05012025/17/52/image_05012025_17_52_02_753605_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/17/51/image_05012025_17_51_02_555055_0003.jpg
/home/pi/Desktop/images/05012025/17/52/image_05012025_17_52_02_753605_0000.jpg
/home/pi/Desktop/images/05012025/17/52/image_05012025_17_52_02_753605_0001.jpg
/home/pi/Desktop/images/05012025/17/52/image_05012025_17_52_02_753605_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886652","1326886651","1326886654","1326886656"],"photo_ids_order":["1326886651","1326886652","1326886654","1326886656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9e2c81c84648d44d308eb9926fbf894.jpg","text":"TemporaryFile(/tmp/multipartBody2838398600712254797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096013145,"filename":"image_05012025_17_52_02_753605_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5b7ebe771675470398d85dc73fbd0b7e.jpg","text":"TemporaryFile(/tmp/multipartBody6831010741254837136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096013145,"filename":"image_05012025_17_51_02_555055_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8dc92593dcda6392fe2b3e006670011c.jpg","text":"TemporaryFile(/tmp/multipartBody6864864871319321350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096013145,"filename":"image_05012025_17_52_02_753605_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0b5004c237f0a8f4a43a3921fd29a25b.jpg","text":"TemporaryFile(/tmp/multipartBody8822690388072121799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096013145,"filename":"image_05012025_17_52_02_753605_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886654","file1":"1326886652","file0":"1326886651","file3":"1326886656"},"map_files_photo_id_array":[{"photo_id":"1326886654","filename":"file2"},{"photo_id":"1326886652","filename":"file1"},{"photo_id":"1326886651","filename":"file0"},{"photo_id":"1326886656","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886652":["hashtag1","hashtag2"]},{"1326886651":["hashtag1","hashtag2"]},{"1326886654":["hashtag1","hashtag2"]},{"1326886656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886652, 1326886651, 1326886654, 1326886656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.41223955154419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:53:22.741183
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/52/image_05012025_17_52_02_753605_0003.jpg', '/home/pi/Desktop/images/05012025/17/53/image_05012025_17_53_02_997776_0000.jpg', '/home/pi/Desktop/images/05012025/17/53/image_05012025_17_53_02_997776_0001.jpg', '/home/pi/Desktop/images/05012025/17/53/image_05012025_17_53_02_997776_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/17/52/image_05012025_17_52_02_753605_0003.jpg
/home/pi/Desktop/images/05012025/17/53/image_05012025_17_53_02_997776_0000.jpg
/home/pi/Desktop/images/05012025/17/53/image_05012025_17_53_02_997776_0001.jpg
/home/pi/Desktop/images/05012025/17/53/image_05012025_17_53_02_997776_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886670","1326886666","1326886669","1326886668"],"photo_ids_order":["1326886666","1326886668","1326886669","1326886670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab83f3c4dd58232ca24c9e899256bd98.jpg","text":"TemporaryFile(/tmp/multipartBody3400433795395409823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096073143,"filename":"image_05012025_17_53_02_997776_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dce347846e8c6efb3e46f905dbb41e2d.jpg","text":"TemporaryFile(/tmp/multipartBody1216496298070253544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096073143,"filename":"image_05012025_17_52_02_753605_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/940e17feb1a39b32fe903156ffa426b5.jpg","text":"TemporaryFile(/tmp/multipartBody8221328554333701650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096073143,"filename":"image_05012025_17_53_02_997776_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/efe6941680e4de30a2c9612162d482af.jpg","text":"TemporaryFile(/tmp/multipartBody5978166625843726338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096073143,"filename":"image_05012025_17_53_02_997776_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886669","file1":"1326886668","file0":"1326886666","file3":"1326886670"},"map_files_photo_id_array":[{"photo_id":"1326886669","filename":"file2"},{"photo_id":"1326886668","filename":"file1"},{"photo_id":"1326886666","filename":"file0"},{"photo_id":"1326886670","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886670":["hashtag1","hashtag2"]},{"1326886666":["hashtag1","hashtag2"]},{"1326886669":["hashtag1","hashtag2"]},{"1326886668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886670, 1326886666, 1326886669, 1326886668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.19707131385803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:54:21.852129
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/53/image_05012025_17_53_02_997776_0003.jpg', '/home/pi/Desktop/images/05012025/17/54/image_05012025_17_54_03_048602_0000.jpg', '/home/pi/Desktop/images/05012025/17/54/image_05012025_17_54_03_048602_0001.jpg', '/home/pi/Desktop/images/05012025/17/54/image_05012025_17_54_03_048602_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/17/53/image_05012025_17_53_02_997776_0003.jpg
/home/pi/Desktop/images/05012025/17/54/image_05012025_17_54_03_048602_0000.jpg
/home/pi/Desktop/images/05012025/17/54/image_05012025_17_54_03_048602_0001.jpg
/home/pi/Desktop/images/05012025/17/54/image_05012025_17_54_03_048602_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.975008249282837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 17:54:41.918145
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/53/image_05012025_17_53_02_997776_0003.jpg', '/home/pi/Desktop/images/05012025/17/54/image_05012025_17_54_03_048602_0000.jpg', '/home/pi/Desktop/images/05012025/17/54/image_05012025_17_54_03_048602_0001.jpg', '/home/pi/Desktop/images/05012025/17/54/image_05012025_17_54_03_048602_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/17/53/image_05012025_17_53_02_997776_0003.jpg
/home/pi/Desktop/images/05012025/17/54/image_05012025_17_54_03_048602_0000.jpg
/home/pi/Desktop/images/05012025/17/54/image_05012025_17_54_03_048602_0001.jpg
/home/pi/Desktop/images/05012025/17/54/image_05012025_17_54_03_048602_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886682","1326886685","1326886686","1326886683"],"photo_ids_order":["1326886682","1326886683","1326886685","1326886686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8814bc3ebdb82b5b0b516e2ddff9c323.jpg","text":"TemporaryFile(/tmp/multipartBody7518236227495525851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096152317,"filename":"image_05012025_17_53_02_997776_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c447a14db8622f0e8298ec8f2d92af52.jpg","text":"TemporaryFile(/tmp/multipartBody8950189098325393259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096152317,"filename":"image_05012025_17_54_03_048602_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ccde376672feabc8f5a14994d554294d.jpg","text":"TemporaryFile(/tmp/multipartBody2850135123873451161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096152317,"filename":"image_05012025_17_54_03_048602_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7e758c453fd29f40ea378d2337bb3908.jpg","text":"TemporaryFile(/tmp/multipartBody7275507602627106341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096152317,"filename":"image_05012025_17_54_03_048602_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886685","file1":"1326886683","file0":"1326886682","file3":"1326886686"},"map_files_photo_id_array":[{"photo_id":"1326886685","filename":"file2"},{"photo_id":"1326886683","filename":"file1"},{"photo_id":"1326886682","filename":"file0"},{"photo_id":"1326886686","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886682":["hashtag1","hashtag2"]},{"1326886685":["hashtag1","hashtag2"]},{"1326886686":["hashtag1","hashtag2"]},{"1326886683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886682, 1326886685, 1326886686, 1326886683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.811177492141724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 17:55:32.037094
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/54/image_05012025_17_54_03_048602_0003.jpg', '/home/pi/Desktop/images/05012025/17/55/image_05012025_17_55_02_216517_0000.jpg', '/home/pi/Desktop/images/05012025/17/55/image_05012025_17_55_02_216517_0001.jpg', '/home/pi/Desktop/images/05012025/17/55/image_05012025_17_55_02_216517_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/17/54/image_05012025_17_54_03_048602_0003.jpg
/home/pi/Desktop/images/05012025/17/55/image_05012025_17_55_02_216517_0000.jpg
/home/pi/Desktop/images/05012025/17/55/image_05012025_17_55_02_216517_0001.jpg
/home/pi/Desktop/images/05012025/17/55/image_05012025_17_55_02_216517_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886926","1326886925","1326886924","1326886923"],"photo_ids_order":["1326886923","1326886924","1326886925","1326886926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b6f8d422c39b8fcd583174166d30816c.jpg","text":"TemporaryFile(/tmp/multipartBody8108801004883777043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096202466,"filename":"image_05012025_17_55_02_216517_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/452f1da0561927dd57d9019f49862976.jpg","text":"TemporaryFile(/tmp/multipartBody8332290076667621612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096202466,"filename":"image_05012025_17_55_02_216517_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/641dd2f0af57a8b3ec8b02a1388e432b.jpg","text":"TemporaryFile(/tmp/multipartBody6760315467344611250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096202466,"filename":"image_05012025_17_55_02_216517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5e00b37464a935d0436ac2b2fac123b7.jpg","text":"TemporaryFile(/tmp/multipartBody3139026346203292191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096202466,"filename":"image_05012025_17_54_03_048602_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326886925","file1":"1326886924","file0":"1326886923","file3":"1326886926"},"map_files_photo_id_array":[{"photo_id":"1326886925","filename":"file2"},{"photo_id":"1326886924","filename":"file1"},{"photo_id":"1326886923","filename":"file0"},{"photo_id":"1326886926","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886926":["hashtag1","hashtag2"]},{"1326886925":["hashtag1","hashtag2"]},{"1326886924":["hashtag1","hashtag2"]},{"1326886923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886926, 1326886925, 1326886924, 1326886923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.32386875152588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:56:22.269758
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/55/image_05012025_17_55_02_216517_0003.jpg', '/home/pi/Desktop/images/05012025/17/56/image_05012025_17_56_02_403744_0000.jpg', '/home/pi/Desktop/images/05012025/17/56/image_05012025_17_56_02_403744_0001.jpg', '/home/pi/Desktop/images/05012025/17/56/image_05012025_17_56_02_403744_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/17/55/image_05012025_17_55_02_216517_0003.jpg
/home/pi/Desktop/images/05012025/17/56/image_05012025_17_56_02_403744_0000.jpg
/home/pi/Desktop/images/05012025/17/56/image_05012025_17_56_02_403744_0001.jpg
/home/pi/Desktop/images/05012025/17/56/image_05012025_17_56_02_403744_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326886934","1326887152","1326887151","1326887001"],"photo_ids_order":["1326886934","1326887001","1326887151","1326887152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f76846c86dbd3dae439c336e115e7e75.jpg","text":"TemporaryFile(/tmp/multipartBody6194551790695254727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096252544,"filename":"image_05012025_17_55_02_216517_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7de240258092f108eb9b0c4aa47d4c15.jpg","text":"TemporaryFile(/tmp/multipartBody4835022943575940272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096252544,"filename":"image_05012025_17_56_02_403744_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/887d2ec007f35cd533c5214765756575.jpg","text":"TemporaryFile(/tmp/multipartBody4599094253511227854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096252544,"filename":"image_05012025_17_56_02_403744_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a33fcea3fa3e04b05e24818a7ed6da0a.jpg","text":"TemporaryFile(/tmp/multipartBody1764890054499982972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096252544,"filename":"image_05012025_17_56_02_403744_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887151","file1":"1326887001","file0":"1326886934","file3":"1326887152"},"map_files_photo_id_array":[{"photo_id":"1326887151","filename":"file2"},{"photo_id":"1326887001","filename":"file1"},{"photo_id":"1326886934","filename":"file0"},{"photo_id":"1326887152","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326886934":["hashtag1","hashtag2"]},{"1326887152":["hashtag1","hashtag2"]},{"1326887151":["hashtag1","hashtag2"]},{"1326887001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326886934, 1326887152, 1326887151, 1326887001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.41137456893921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 17:57:03.004108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 17:57:22.420371
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/56/image_05012025_17_56_02_403744_0003.jpg', '/home/pi/Desktop/images/05012025/17/57/image_05012025_17_57_02_533158_0000.jpg', '/home/pi/Desktop/images/05012025/17/57/image_05012025_17_57_02_533158_0001.jpg', '/home/pi/Desktop/images/05012025/17/57/image_05012025_17_57_02_533158_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/17/56/image_05012025_17_56_02_403744_0003.jpg
/home/pi/Desktop/images/05012025/17/57/image_05012025_17_57_02_533158_0000.jpg
/home/pi/Desktop/images/05012025/17/57/image_05012025_17_57_02_533158_0001.jpg
/home/pi/Desktop/images/05012025/17/57/image_05012025_17_57_02_533158_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-05 17:59:03.220591
SELECT 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/17/56/image_05012025_17_56_02_403744_0003.jpg', '/home/pi/Desktop/images/05012025/17/57/image_05012025_17_57_02_533158_0000.jpg', '/home/pi/Desktop/images/05012025/17/57/image_05012025_17_57_02_533158_0001.jpg', '/home/pi/Desktop/images/05012025/17/57/image_05012025_17_57_02_533158_0002.jpg', '/home/pi/Desktop/images/05012025/17/57/image_05012025_17_57_02_533158_0003.jpg', '/home/pi/Desktop/images/05012025/17/58/image_05012025_17_58_02_782003_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/17/56/image_05012025_17_56_02_403744_0003.jpg
/home/pi/Desktop/images/05012025/17/57/image_05012025_17_57_02_533158_0000.jpg
/home/pi/Desktop/images/05012025/17/57/image_05012025_17_57_02_533158_0001.jpg
/home/pi/Desktop/images/05012025/17/57/image_05012025_17_57_02_533158_0002.jpg
/home/pi/Desktop/images/05012025/17/57/image_05012025_17_57_02_533158_0003.jpg
/home/pi/Desktop/images/05012025/17/58/image_05012025_17_58_02_782003_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":["1326887651","1326887638","1326887632","1326887652","1326887649","1326887643"],"photo_ids_order":["1326887632","1326887638","1326887643","1326887649","1326887651","1326887652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/95a59683dfe1b09d7652552ffa25ddfc.jpg","text":"TemporaryFile(/tmp/multipartBody7851821965103130683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096418229,"filename":"image_05012025_17_57_02_533158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/49ce99fdb93447033b7a57ee96677e9e.jpg","text":"TemporaryFile(/tmp/multipartBody931563892356457425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096418229,"filename":"image_05012025_17_57_02_533158_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/863e0b3d4267ca0ab2f7bbf0283200da.jpg","text":"TemporaryFile(/tmp/multipartBody2367193358882402310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096418229,"filename":"image_05012025_17_56_02_403744_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0ec705ec79ebdbf9df552bb0b066cc38.jpg","text":"TemporaryFile(/tmp/multipartBody4948088567517576977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096418229,"filename":"image_05012025_17_58_02_782003_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2df96a9b26d9c745ed7cb5851035a72d.jpg","text":"TemporaryFile(/tmp/multipartBody9005811894376083725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096418229,"filename":"image_05012025_17_57_02_533158_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/82ad796a80f4dc678f8b5495e546e110.jpg","text":"TemporaryFile(/tmp/multipartBody8488182825872709225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096418229,"filename":"image_05012025_17_57_02_533158_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887643","file1":"1326887638","file0":"1326887632","file4":"1326887651","file5":"1326887652","file3":"1326887649"},"map_files_photo_id_array":[{"photo_id":"1326887652","filename":"file5"},{"photo_id":"1326887643","filename":"file2"},{"photo_id":"1326887651","filename":"file4"},{"photo_id":"1326887638","filename":"file1"},{"photo_id":"1326887632","filename":"file0"},{"photo_id":"1326887649","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887651":["hashtag1","hashtag2"]},{"1326887638":["hashtag1","hashtag2"]},{"1326887632":["hashtag1","hashtag2"]},{"1326887652":["hashtag1","hashtag2"]},{"1326887649":["hashtag1","hashtag2"]},{"1326887643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887651, 1326887638, 1326887632, 1326887652, 1326887649, 1326887643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.47500562667847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 18:00:02.338720
SELECT 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 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/58/image_05012025_17_58_02_782003_0002.jpg', '/home/pi/Desktop/images/05012025/17/58/image_05012025_17_58_02_782003_0003.jpg', '/home/pi/Desktop/images/05012025/17/59/image_05012025_17_59_02_914571_0000.jpg', '/home/pi/Desktop/images/05012025/17/59/image_05012025_17_59_02_914571_0001.jpg', '/home/pi/Desktop/images/05012025/17/59/image_05012025_17_59_02_914571_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/17/58/image_05012025_17_58_02_782003_0002.jpg
/home/pi/Desktop/images/05012025/17/58/image_05012025_17_58_02_782003_0003.jpg
/home/pi/Desktop/images/05012025/17/59/image_05012025_17_59_02_914571_0000.jpg
/home/pi/Desktop/images/05012025/17/59/image_05012025_17_59_02_914571_0001.jpg
/home/pi/Desktop/images/05012025/17/59/image_05012025_17_59_02_914571_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887660","1326887674","1326887665","1326887670","1326887678"],"photo_ids_order":["1326887660","1326887665","1326887670","1326887674","1326887678"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fa521a7c91c91da4c8fb60390b27f818.jpg","text":"TemporaryFile(/tmp/multipartBody2655087476336378917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096475094,"filename":"image_05012025_17_58_02_782003_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/10fe773de9883ebc2a616d03c3ddb9aa.jpg","text":"TemporaryFile(/tmp/multipartBody8950427560682447189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096475094,"filename":"image_05012025_17_59_02_914571_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4dc4ca0d521ba0f93157ad8a562e6aad.jpg","text":"TemporaryFile(/tmp/multipartBody6119352998098331804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096475094,"filename":"image_05012025_17_58_02_782003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2ec79afa253dec3d9fb9d6e61c7dffd6.jpg","text":"TemporaryFile(/tmp/multipartBody4557216534736180524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096475094,"filename":"image_05012025_17_59_02_914571_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aaa6ddfa9fed037dea5fcfed4378abc8.jpg","text":"TemporaryFile(/tmp/multipartBody2842130296891624080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096475094,"filename":"image_05012025_17_59_02_914571_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887670","file1":"1326887665","file0":"1326887660","file4":"1326887678","file3":"1326887674"},"map_files_photo_id_array":[{"photo_id":"1326887670","filename":"file2"},{"photo_id":"1326887678","filename":"file4"},{"photo_id":"1326887665","filename":"file1"},{"photo_id":"1326887660","filename":"file0"},{"photo_id":"1326887674","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887660":["hashtag1","hashtag2"]},{"1326887674":["hashtag1","hashtag2"]},{"1326887665":["hashtag1","hashtag2"]},{"1326887670":["hashtag1","hashtag2"]},{"1326887678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887660, 1326887674, 1326887665, 1326887670, 1326887678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.94649410247803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 18:00:51.856533
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/17/59/image_05012025_17_59_02_914571_0003.jpg', '/home/pi/Desktop/images/05012025/18/00/image_05012025_18_00_03_155965_0000.jpg', '/home/pi/Desktop/images/05012025/18/00/image_05012025_18_00_03_155965_0001.jpg', '/home/pi/Desktop/images/05012025/18/00/image_05012025_18_00_03_155965_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/17/59/image_05012025_17_59_02_914571_0003.jpg
/home/pi/Desktop/images/05012025/18/00/image_05012025_18_00_03_155965_0000.jpg
/home/pi/Desktop/images/05012025/18/00/image_05012025_18_00_03_155965_0001.jpg
/home/pi/Desktop/images/05012025/18/00/image_05012025_18_00_03_155965_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":["1326887686","1326887689","1326887693","1326887696"],"photo_ids_order":["1326887686","1326887689","1326887693","1326887696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/edf028a0225a211e5ec724c44c53d102.jpg","text":"TemporaryFile(/tmp/multipartBody7483012602757053005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096522132,"filename":"image_05012025_17_59_02_914571_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/919c48a837956d942e31b82961b3bbab.jpg","text":"TemporaryFile(/tmp/multipartBody74217685167711333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096522132,"filename":"image_05012025_18_00_03_155965_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6307013a7f940d2ca75a39765e8c516e.jpg","text":"TemporaryFile(/tmp/multipartBody2206108295359106279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096522132,"filename":"image_05012025_18_00_03_155965_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cef6b1d7cae6b1e19cce41fe1475bcf3.jpg","text":"TemporaryFile(/tmp/multipartBody1731325382163989919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096522132,"filename":"image_05012025_18_00_03_155965_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887693","file1":"1326887689","file0":"1326887686","file3":"1326887696"},"map_files_photo_id_array":[{"photo_id":"1326887693","filename":"file2"},{"photo_id":"1326887689","filename":"file1"},{"photo_id":"1326887686","filename":"file0"},{"photo_id":"1326887696","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887686":["hashtag1","hashtag2"]},{"1326887689":["hashtag1","hashtag2"]},{"1326887693":["hashtag1","hashtag2"]},{"1326887696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887686, 1326887689, 1326887693, 1326887696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.72169375419617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 18:01:32.042938
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/00/image_05012025_18_00_03_155965_0003.jpg', '/home/pi/Desktop/images/05012025/18/01/image_05012025_18_01_02_292280_0000.jpg', '/home/pi/Desktop/images/05012025/18/01/image_05012025_18_01_02_292280_0001.jpg', '/home/pi/Desktop/images/05012025/18/01/image_05012025_18_01_02_292280_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/18/00/image_05012025_18_00_03_155965_0003.jpg
/home/pi/Desktop/images/05012025/18/01/image_05012025_18_01_02_292280_0000.jpg
/home/pi/Desktop/images/05012025/18/01/image_05012025_18_01_02_292280_0001.jpg
/home/pi/Desktop/images/05012025/18/01/image_05012025_18_01_02_292280_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887714","1326887716","1326887710","1326887712"],"photo_ids_order":["1326887710","1326887712","1326887714","1326887716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce72522314f8a39cd00568e572fd11ba.jpg","text":"TemporaryFile(/tmp/multipartBody4004942116540154053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096562466,"filename":"image_05012025_18_01_02_292280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eefc07a29c02688f47a43fb59b387c33.jpg","text":"TemporaryFile(/tmp/multipartBody495341454551733944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096562466,"filename":"image_05012025_18_01_02_292280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ccccbbffa9fdbeb3796b9a6b70e032e5.jpg","text":"TemporaryFile(/tmp/multipartBody8849662730920605377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096562466,"filename":"image_05012025_18_00_03_155965_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/693273b24e05bcb0af8a76de56cbe5fb.jpg","text":"TemporaryFile(/tmp/multipartBody4360046342260734029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096562466,"filename":"image_05012025_18_01_02_292280_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887714","file1":"1326887712","file0":"1326887710","file3":"1326887716"},"map_files_photo_id_array":[{"photo_id":"1326887714","filename":"file2"},{"photo_id":"1326887712","filename":"file1"},{"photo_id":"1326887710","filename":"file0"},{"photo_id":"1326887716","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887714":["hashtag1","hashtag2"]},{"1326887716":["hashtag1","hashtag2"]},{"1326887710":["hashtag1","hashtag2"]},{"1326887712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887714, 1326887716, 1326887710, 1326887712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.065643310546875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:02:22.380864
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/01/image_05012025_18_01_02_292280_0003.jpg', '/home/pi/Desktop/images/05012025/18/02/image_05012025_18_02_02_431881_0000.jpg', '/home/pi/Desktop/images/05012025/18/02/image_05012025_18_02_02_431881_0001.jpg', '/home/pi/Desktop/images/05012025/18/02/image_05012025_18_02_02_431881_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/18/01/image_05012025_18_01_02_292280_0003.jpg
/home/pi/Desktop/images/05012025/18/02/image_05012025_18_02_02_431881_0000.jpg
/home/pi/Desktop/images/05012025/18/02/image_05012025_18_02_02_431881_0001.jpg
/home/pi/Desktop/images/05012025/18/02/image_05012025_18_02_02_431881_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887732","1326887726","1326887730","1326887724"],"photo_ids_order":["1326887724","1326887726","1326887730","1326887732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/67a154620b9e1740d9bee929121116b1.jpg","text":"TemporaryFile(/tmp/multipartBody7141943143795212237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096612779,"filename":"image_05012025_18_02_02_431881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d3c0a604e2364e1a1f0153de777e30e4.jpg","text":"TemporaryFile(/tmp/multipartBody270113329750513404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096612779,"filename":"image_05012025_18_02_02_431881_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3a5943bc3c26d02f77534b0ac70c820.jpg","text":"TemporaryFile(/tmp/multipartBody9118878344583142258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096612779,"filename":"image_05012025_18_02_02_431881_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/935de815046dc5692cbd4d1f9a92038c.jpg","text":"TemporaryFile(/tmp/multipartBody7453735418278331727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096612779,"filename":"image_05012025_18_01_02_292280_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887730","file1":"1326887726","file0":"1326887724","file3":"1326887732"},"map_files_photo_id_array":[{"photo_id":"1326887730","filename":"file2"},{"photo_id":"1326887726","filename":"file1"},{"photo_id":"1326887724","filename":"file0"},{"photo_id":"1326887732","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887732":["hashtag1","hashtag2"]},{"1326887726":["hashtag1","hashtag2"]},{"1326887730":["hashtag1","hashtag2"]},{"1326887724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887732, 1326887726, 1326887730, 1326887724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.01231288909912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:03:22.437133
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/02/image_05012025_18_02_02_431881_0003.jpg', '/home/pi/Desktop/images/05012025/18/03/image_05012025_18_03_02_657249_0000.jpg', '/home/pi/Desktop/images/05012025/18/03/image_05012025_18_03_02_657249_0001.jpg', '/home/pi/Desktop/images/05012025/18/03/image_05012025_18_03_02_657249_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/18/02/image_05012025_18_02_02_431881_0003.jpg
/home/pi/Desktop/images/05012025/18/03/image_05012025_18_03_02_657249_0000.jpg
/home/pi/Desktop/images/05012025/18/03/image_05012025_18_03_02_657249_0001.jpg
/home/pi/Desktop/images/05012025/18/03/image_05012025_18_03_02_657249_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887740","1326887745","1326887742","1326887739"],"photo_ids_order":["1326887739","1326887740","1326887742","1326887745"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5d8028ecfb7495ae7059ace47061bd54.jpg","text":"TemporaryFile(/tmp/multipartBody6869650759856887013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096672785,"filename":"image_05012025_18_03_02_657249_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6a59193ccfd156758f66403f06779252.jpg","text":"TemporaryFile(/tmp/multipartBody1985976713190310965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096672785,"filename":"image_05012025_18_03_02_657249_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/119c734106d7145781c1303f06942676.jpg","text":"TemporaryFile(/tmp/multipartBody202181793026196286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096672785,"filename":"image_05012025_18_03_02_657249_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a0ec6de998b1df4660ede270a2fcbbc.jpg","text":"TemporaryFile(/tmp/multipartBody587041591903858634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096672785,"filename":"image_05012025_18_02_02_431881_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887742","file1":"1326887740","file0":"1326887739","file3":"1326887745"},"map_files_photo_id_array":[{"photo_id":"1326887742","filename":"file2"},{"photo_id":"1326887740","filename":"file1"},{"photo_id":"1326887739","filename":"file0"},{"photo_id":"1326887745","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887740":["hashtag1","hashtag2"]},{"1326887745":["hashtag1","hashtag2"]},{"1326887742":["hashtag1","hashtag2"]},{"1326887739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887740, 1326887745, 1326887742, 1326887739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.927345752716064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:04:22.767580
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/03/image_05012025_18_03_02_657249_0003.jpg', '/home/pi/Desktop/images/05012025/18/04/image_05012025_18_04_02_783155_0000.jpg', '/home/pi/Desktop/images/05012025/18/04/image_05012025_18_04_02_783155_0001.jpg', '/home/pi/Desktop/images/05012025/18/04/image_05012025_18_04_02_783155_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/18/03/image_05012025_18_03_02_657249_0003.jpg
/home/pi/Desktop/images/05012025/18/04/image_05012025_18_04_02_783155_0000.jpg
/home/pi/Desktop/images/05012025/18/04/image_05012025_18_04_02_783155_0001.jpg
/home/pi/Desktop/images/05012025/18/04/image_05012025_18_04_02_783155_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887750","1326887752","1326887749","1326887754"],"photo_ids_order":["1326887749","1326887750","1326887752","1326887754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5e3c36aa6316d76ac3eff9b8d4dfab5d.jpg","text":"TemporaryFile(/tmp/multipartBody7705535546943330940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096733570,"filename":"image_05012025_18_04_02_783155_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b56f73ea2877227eeb70e078a42818b6.jpg","text":"TemporaryFile(/tmp/multipartBody7660628046929532150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096733570,"filename":"image_05012025_18_04_02_783155_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4d7d09bb72b1e4dc97ee2b655fbf2717.jpg","text":"TemporaryFile(/tmp/multipartBody3898738067832836075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096733570,"filename":"image_05012025_18_03_02_657249_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/71d8008871904dc0d0bf2df39e41c2c4.jpg","text":"TemporaryFile(/tmp/multipartBody5478802301385527654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096733570,"filename":"image_05012025_18_04_02_783155_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887752","file1":"1326887750","file0":"1326887749","file3":"1326887754"},"map_files_photo_id_array":[{"photo_id":"1326887752","filename":"file2"},{"photo_id":"1326887750","filename":"file1"},{"photo_id":"1326887749","filename":"file0"},{"photo_id":"1326887754","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887750":["hashtag1","hashtag2"]},{"1326887752":["hashtag1","hashtag2"]},{"1326887749":["hashtag1","hashtag2"]},{"1326887754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887750, 1326887752, 1326887749, 1326887754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.910590171813965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:05:21.939210
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/04/image_05012025_18_04_02_783155_0003.jpg', '/home/pi/Desktop/images/05012025/18/05/image_05012025_18_05_03_060657_0000.jpg', '/home/pi/Desktop/images/05012025/18/05/image_05012025_18_05_03_060657_0001.jpg', '/home/pi/Desktop/images/05012025/18/05/image_05012025_18_05_03_060657_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/18/04/image_05012025_18_04_02_783155_0003.jpg
/home/pi/Desktop/images/05012025/18/05/image_05012025_18_05_03_060657_0000.jpg
/home/pi/Desktop/images/05012025/18/05/image_05012025_18_05_03_060657_0001.jpg
/home/pi/Desktop/images/05012025/18/05/image_05012025_18_05_03_060657_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887770","1326887766","1326887769","1326887768"],"photo_ids_order":["1326887766","1326887768","1326887769","1326887770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cb84faa2f1989881544ab8fd1cf2456a.jpg","text":"TemporaryFile(/tmp/multipartBody4116333531376080155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096793111,"filename":"image_05012025_18_05_03_060657_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4884826963f87f5a4929728e90f7a86b.jpg","text":"TemporaryFile(/tmp/multipartBody4124941461008488612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096793111,"filename":"image_05012025_18_04_02_783155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/81395d5f0d306fbd48ce4bdb10babdc9.jpg","text":"TemporaryFile(/tmp/multipartBody4472309605544959590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096793111,"filename":"image_05012025_18_05_03_060657_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6121730ecbaac235fadde61d29442289.jpg","text":"TemporaryFile(/tmp/multipartBody8782712006699246909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096793111,"filename":"image_05012025_18_05_03_060657_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887769","file1":"1326887768","file0":"1326887766","file3":"1326887770"},"map_files_photo_id_array":[{"photo_id":"1326887769","filename":"file2"},{"photo_id":"1326887768","filename":"file1"},{"photo_id":"1326887766","filename":"file0"},{"photo_id":"1326887770","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887770":["hashtag1","hashtag2"]},{"1326887766":["hashtag1","hashtag2"]},{"1326887769":["hashtag1","hashtag2"]},{"1326887768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887770, 1326887766, 1326887769, 1326887768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.726149559020996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:06:22.130346
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/05/image_05012025_18_05_03_060657_0003.jpg', '/home/pi/Desktop/images/05012025/18/06/image_05012025_18_06_02_304821_0000.jpg', '/home/pi/Desktop/images/05012025/18/06/image_05012025_18_06_02_304821_0001.jpg', '/home/pi/Desktop/images/05012025/18/06/image_05012025_18_06_02_304821_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/18/05/image_05012025_18_05_03_060657_0003.jpg
/home/pi/Desktop/images/05012025/18/06/image_05012025_18_06_02_304821_0000.jpg
/home/pi/Desktop/images/05012025/18/06/image_05012025_18_06_02_304821_0001.jpg
/home/pi/Desktop/images/05012025/18/06/image_05012025_18_06_02_304821_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.718166828155518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 18:06:42.126894
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/05/image_05012025_18_05_03_060657_0003.jpg', '/home/pi/Desktop/images/05012025/18/06/image_05012025_18_06_02_304821_0000.jpg', '/home/pi/Desktop/images/05012025/18/06/image_05012025_18_06_02_304821_0001.jpg', '/home/pi/Desktop/images/05012025/18/06/image_05012025_18_06_02_304821_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/18/05/image_05012025_18_05_03_060657_0003.jpg
/home/pi/Desktop/images/05012025/18/06/image_05012025_18_06_02_304821_0000.jpg
/home/pi/Desktop/images/05012025/18/06/image_05012025_18_06_02_304821_0001.jpg
/home/pi/Desktop/images/05012025/18/06/image_05012025_18_06_02_304821_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887782","1326887781","1326887784","1326887786"],"photo_ids_order":["1326887781","1326887782","1326887784","1326887786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/37438f7832561c82a4fc4900fa63dd9b.jpg","text":"TemporaryFile(/tmp/multipartBody5388429675735208130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096873277,"filename":"image_05012025_18_06_02_304821_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f56eda7d925818d3c142945ac530e18d.jpg","text":"TemporaryFile(/tmp/multipartBody3210687699694256897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096873277,"filename":"image_05012025_18_05_03_060657_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b32c9d9155d5cb88a7eaa1febf56094c.jpg","text":"TemporaryFile(/tmp/multipartBody5587505916449953285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096873277,"filename":"image_05012025_18_06_02_304821_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66067e47760aae29152fc04942bf7a9c.jpg","text":"TemporaryFile(/tmp/multipartBody7984987727038930623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096873277,"filename":"image_05012025_18_06_02_304821_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887784","file1":"1326887782","file0":"1326887781","file3":"1326887786"},"map_files_photo_id_array":[{"photo_id":"1326887784","filename":"file2"},{"photo_id":"1326887782","filename":"file1"},{"photo_id":"1326887781","filename":"file0"},{"photo_id":"1326887786","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887782":["hashtag1","hashtag2"]},{"1326887781":["hashtag1","hashtag2"]},{"1326887784":["hashtag1","hashtag2"]},{"1326887786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887782, 1326887781, 1326887784, 1326887786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.25998830795288 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 18:07:32.273113
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/06/image_05012025_18_06_02_304821_0003.jpg', '/home/pi/Desktop/images/05012025/18/07/image_05012025_18_07_02_469341_0000.jpg', '/home/pi/Desktop/images/05012025/18/07/image_05012025_18_07_02_469341_0001.jpg', '/home/pi/Desktop/images/05012025/18/07/image_05012025_18_07_02_469341_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/18/06/image_05012025_18_06_02_304821_0003.jpg
/home/pi/Desktop/images/05012025/18/07/image_05012025_18_07_02_469341_0000.jpg
/home/pi/Desktop/images/05012025/18/07/image_05012025_18_07_02_469341_0001.jpg
/home/pi/Desktop/images/05012025/18/07/image_05012025_18_07_02_469341_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887797","1326887796","1326887795","1326887798"],"photo_ids_order":["1326887795","1326887796","1326887797","1326887798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9c5cdc855e4f50811b6b27594837375e.jpg","text":"TemporaryFile(/tmp/multipartBody4877322752239206050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096922456,"filename":"image_05012025_18_07_02_469341_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7a03e95cc7ddd20ec94a49de928a14f8.jpg","text":"TemporaryFile(/tmp/multipartBody6193763408718728183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096922456,"filename":"image_05012025_18_07_02_469341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7430354fca173a5aef07015605445136.jpg","text":"TemporaryFile(/tmp/multipartBody6277967354372299720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096922456,"filename":"image_05012025_18_06_02_304821_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e013a5719b7209f45567c985b8955ccf.jpg","text":"TemporaryFile(/tmp/multipartBody4342327648700253770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096922456,"filename":"image_05012025_18_07_02_469341_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887797","file1":"1326887796","file0":"1326887795","file3":"1326887798"},"map_files_photo_id_array":[{"photo_id":"1326887797","filename":"file2"},{"photo_id":"1326887796","filename":"file1"},{"photo_id":"1326887795","filename":"file0"},{"photo_id":"1326887798","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887797":["hashtag1","hashtag2"]},{"1326887796":["hashtag1","hashtag2"]},{"1326887795":["hashtag1","hashtag2"]},{"1326887798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887797, 1326887796, 1326887795, 1326887798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.349499225616455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:08:22.455546
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/07/image_05012025_18_07_02_469341_0003.jpg', '/home/pi/Desktop/images/05012025/18/08/image_05012025_18_08_02_668846_0000.jpg', '/home/pi/Desktop/images/05012025/18/08/image_05012025_18_08_02_668846_0001.jpg', '/home/pi/Desktop/images/05012025/18/08/image_05012025_18_08_02_668846_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/18/07/image_05012025_18_07_02_469341_0003.jpg
/home/pi/Desktop/images/05012025/18/08/image_05012025_18_08_02_668846_0000.jpg
/home/pi/Desktop/images/05012025/18/08/image_05012025_18_08_02_668846_0001.jpg
/home/pi/Desktop/images/05012025/18/08/image_05012025_18_08_02_668846_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887803","1326887808","1326887811","1326887805"],"photo_ids_order":["1326887803","1326887805","1326887808","1326887811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e4f92fa0d470547c4824e0946b023c19.jpg","text":"TemporaryFile(/tmp/multipartBody5085195601179237618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096970599,"filename":"image_05012025_18_07_02_469341_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2aecee05b3b5d706ddd2a13bdf6617c.jpg","text":"TemporaryFile(/tmp/multipartBody7132034155580841675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096970599,"filename":"image_05012025_18_08_02_668846_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/982e1bbd3fd0279986469c484ffe028b.jpg","text":"TemporaryFile(/tmp/multipartBody7346496161168784065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096970599,"filename":"image_05012025_18_08_02_668846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a198c957cfde10e7d331ecb0b7c804b4.jpg","text":"TemporaryFile(/tmp/multipartBody8566363472228323234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736096970599,"filename":"image_05012025_18_08_02_668846_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887808","file1":"1326887805","file0":"1326887803","file3":"1326887811"},"map_files_photo_id_array":[{"photo_id":"1326887808","filename":"file2"},{"photo_id":"1326887805","filename":"file1"},{"photo_id":"1326887803","filename":"file0"},{"photo_id":"1326887811","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887803":["hashtag1","hashtag2"]},{"1326887808":["hashtag1","hashtag2"]},{"1326887811":["hashtag1","hashtag2"]},{"1326887805":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887803, 1326887808, 1326887811, 1326887805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71762990951538 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-05 18:09:22.665788
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/08/image_05012025_18_08_02_668846_0003.jpg', '/home/pi/Desktop/images/05012025/18/09/image_05012025_18_09_02_773948_0000.jpg', '/home/pi/Desktop/images/05012025/18/09/image_05012025_18_09_02_773948_0001.jpg', '/home/pi/Desktop/images/05012025/18/09/image_05012025_18_09_02_773948_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/18/08/image_05012025_18_08_02_668846_0003.jpg
/home/pi/Desktop/images/05012025/18/09/image_05012025_18_09_02_773948_0000.jpg
/home/pi/Desktop/images/05012025/18/09/image_05012025_18_09_02_773948_0001.jpg
/home/pi/Desktop/images/05012025/18/09/image_05012025_18_09_02_773948_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887822","1326887818","1326887820","1326887817"],"photo_ids_order":["1326887817","1326887818","1326887820","1326887822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0ad1907d57182355a5a8790c646850da.jpg","text":"TemporaryFile(/tmp/multipartBody4155197476620244119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097031239,"filename":"image_05012025_18_09_02_773948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4ad6988e761158b883edf86d6b2bd6b2.jpg","text":"TemporaryFile(/tmp/multipartBody1284995308960527127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097031239,"filename":"image_05012025_18_09_02_773948_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b91fba533faaf30176731eaec6241e1b.jpg","text":"TemporaryFile(/tmp/multipartBody1055697223537617018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097031239,"filename":"image_05012025_18_09_02_773948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9989f13b1eef0cd14e6c3753d7a424c5.jpg","text":"TemporaryFile(/tmp/multipartBody2812848047170447550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097031239,"filename":"image_05012025_18_08_02_668846_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887820","file1":"1326887818","file0":"1326887817","file3":"1326887822"},"map_files_photo_id_array":[{"photo_id":"1326887820","filename":"file2"},{"photo_id":"1326887818","filename":"file1"},{"photo_id":"1326887817","filename":"file0"},{"photo_id":"1326887822","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887822":["hashtag1","hashtag2"]},{"1326887818":["hashtag1","hashtag2"]},{"1326887820":["hashtag1","hashtag2"]},{"1326887817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887822, 1326887818, 1326887820, 1326887817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.04788088798523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:10:22.739868
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/09/image_05012025_18_09_02_773948_0003.jpg', '/home/pi/Desktop/images/05012025/18/10/image_05012025_18_10_03_047704_0000.jpg', '/home/pi/Desktop/images/05012025/18/10/image_05012025_18_10_03_047704_0001.jpg', '/home/pi/Desktop/images/05012025/18/10/image_05012025_18_10_03_047704_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/18/09/image_05012025_18_09_02_773948_0003.jpg
/home/pi/Desktop/images/05012025/18/10/image_05012025_18_10_03_047704_0000.jpg
/home/pi/Desktop/images/05012025/18/10/image_05012025_18_10_03_047704_0001.jpg
/home/pi/Desktop/images/05012025/18/10/image_05012025_18_10_03_047704_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887831","1326887828","1326887833","1326887829"],"photo_ids_order":["1326887828","1326887829","1326887831","1326887833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/86740bb1a3b5a5e902e7f678c6656c24.jpg","text":"TemporaryFile(/tmp/multipartBody8152517986029532083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097091494,"filename":"image_05012025_18_10_03_047704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c4d691859697ca2de1694da5fbc76757.jpg","text":"TemporaryFile(/tmp/multipartBody8205387626693650836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097091494,"filename":"image_05012025_18_09_02_773948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bbdf195ed85d0fe3c69dd17fd5710875.jpg","text":"TemporaryFile(/tmp/multipartBody8972505486309103773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097091494,"filename":"image_05012025_18_10_03_047704_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ef705eb8b9865254dd4b9f2ec10d4bf7.jpg","text":"TemporaryFile(/tmp/multipartBody5755346223059680240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097091494,"filename":"image_05012025_18_10_03_047704_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887831","file1":"1326887829","file0":"1326887828","file3":"1326887833"},"map_files_photo_id_array":[{"photo_id":"1326887831","filename":"file2"},{"photo_id":"1326887829","filename":"file1"},{"photo_id":"1326887828","filename":"file0"},{"photo_id":"1326887833","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887831":["hashtag1","hashtag2"]},{"1326887828":["hashtag1","hashtag2"]},{"1326887833":["hashtag1","hashtag2"]},{"1326887829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887831, 1326887828, 1326887833, 1326887829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.00646948814392 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:11:21.971127
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/10/image_05012025_18_10_03_047704_0003.jpg', '/home/pi/Desktop/images/05012025/18/11/image_05012025_18_11_03_058448_0000.jpg', '/home/pi/Desktop/images/05012025/18/11/image_05012025_18_11_03_058448_0001.jpg', '/home/pi/Desktop/images/05012025/18/11/image_05012025_18_11_03_058448_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/18/10/image_05012025_18_10_03_047704_0003.jpg
/home/pi/Desktop/images/05012025/18/11/image_05012025_18_11_03_058448_0000.jpg
/home/pi/Desktop/images/05012025/18/11/image_05012025_18_11_03_058448_0001.jpg
/home/pi/Desktop/images/05012025/18/11/image_05012025_18_11_03_058448_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887848","1326887844","1326887847","1326887849"],"photo_ids_order":["1326887844","1326887847","1326887848","1326887849"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3253bc3ce2a20e35f36c5f83100c61e.jpg","text":"TemporaryFile(/tmp/multipartBody2345088381443342973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097150259,"filename":"image_05012025_18_11_03_058448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a2aee8bf800a59278349f5bb87c70be1.jpg","text":"TemporaryFile(/tmp/multipartBody3896518296103133875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097150259,"filename":"image_05012025_18_10_03_047704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/398ee93ccde733d49cdf2c2c692ba5c1.jpg","text":"TemporaryFile(/tmp/multipartBody6620589933037300262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097150259,"filename":"image_05012025_18_11_03_058448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/83c5acd450355eac90706c7eccbf4585.jpg","text":"TemporaryFile(/tmp/multipartBody8872173973917475099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097150259,"filename":"image_05012025_18_11_03_058448_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887848","file1":"1326887847","file0":"1326887844","file3":"1326887849"},"map_files_photo_id_array":[{"photo_id":"1326887848","filename":"file2"},{"photo_id":"1326887847","filename":"file1"},{"photo_id":"1326887844","filename":"file0"},{"photo_id":"1326887849","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887848":["hashtag1","hashtag2"]},{"1326887844":["hashtag1","hashtag2"]},{"1326887847":["hashtag1","hashtag2"]},{"1326887849":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887848, 1326887844, 1326887847, 1326887849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.55343437194824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 18:12:02.494246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:12:22.173462
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/11/image_05012025_18_11_03_058448_0003.jpg', '/home/pi/Desktop/images/05012025/18/12/image_05012025_18_12_02_309313_0000.jpg', '/home/pi/Desktop/images/05012025/18/12/image_05012025_18_12_02_309313_0001.jpg', '/home/pi/Desktop/images/05012025/18/12/image_05012025_18_12_02_309313_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/18/11/image_05012025_18_11_03_058448_0003.jpg
/home/pi/Desktop/images/05012025/18/12/image_05012025_18_12_02_309313_0000.jpg
/home/pi/Desktop/images/05012025/18/12/image_05012025_18_12_02_309313_0001.jpg
/home/pi/Desktop/images/05012025/18/12/image_05012025_18_12_02_309313_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.927301406860352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 18:12:32.053098
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/11/image_05012025_18_11_03_058448_0003.jpg', '/home/pi/Desktop/images/05012025/18/12/image_05012025_18_12_02_309313_0000.jpg', '/home/pi/Desktop/images/05012025/18/12/image_05012025_18_12_02_309313_0001.jpg', '/home/pi/Desktop/images/05012025/18/12/image_05012025_18_12_02_309313_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/18/11/image_05012025_18_11_03_058448_0003.jpg
/home/pi/Desktop/images/05012025/18/12/image_05012025_18_12_02_309313_0000.jpg
/home/pi/Desktop/images/05012025/18/12/image_05012025_18_12_02_309313_0001.jpg
/home/pi/Desktop/images/05012025/18/12/image_05012025_18_12_02_309313_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887858","1326887860","1326887862","1326887861"],"photo_ids_order":["1326887858","1326887860","1326887861","1326887862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d48397e38b712373a21580086c1f5ed5.jpg","text":"TemporaryFile(/tmp/multipartBody2401801773696268177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097220393,"filename":"image_05012025_18_11_03_058448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/31dfb2cd19740474e37ed4d44172d8cf.jpg","text":"TemporaryFile(/tmp/multipartBody6127933937435528199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097220393,"filename":"image_05012025_18_12_02_309313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f7ced7526058bdd78cb9378bf01c6f38.jpg","text":"TemporaryFile(/tmp/multipartBody7042417860527484563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097220393,"filename":"image_05012025_18_12_02_309313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c3e41b7e6efbb6f5e8d4b47c6ffd76ae.jpg","text":"TemporaryFile(/tmp/multipartBody5397710002970976861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097220393,"filename":"image_05012025_18_12_02_309313_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887861","file1":"1326887860","file0":"1326887858","file3":"1326887862"},"map_files_photo_id_array":[{"photo_id":"1326887861","filename":"file2"},{"photo_id":"1326887860","filename":"file1"},{"photo_id":"1326887858","filename":"file0"},{"photo_id":"1326887862","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887858":["hashtag1","hashtag2"]},{"1326887860":["hashtag1","hashtag2"]},{"1326887862":["hashtag1","hashtag2"]},{"1326887861":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887858, 1326887860, 1326887862, 1326887861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.777143239974976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:13:22.198063
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/12/image_05012025_18_12_02_309313_0003.jpg', '/home/pi/Desktop/images/05012025/18/13/image_05012025_18_13_02_441680_0000.jpg', '/home/pi/Desktop/images/05012025/18/13/image_05012025_18_13_02_441680_0001.jpg', '/home/pi/Desktop/images/05012025/18/13/image_05012025_18_13_02_441680_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/18/12/image_05012025_18_12_02_309313_0003.jpg
/home/pi/Desktop/images/05012025/18/13/image_05012025_18_13_02_441680_0000.jpg
/home/pi/Desktop/images/05012025/18/13/image_05012025_18_13_02_441680_0001.jpg
/home/pi/Desktop/images/05012025/18/13/image_05012025_18_13_02_441680_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887870","1326887872","1326887874","1326887873"],"photo_ids_order":["1326887870","1326887872","1326887873","1326887874"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/825c3275cd82737f3a53591732bce79f.jpg","text":"TemporaryFile(/tmp/multipartBody5037226696097188620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097270717,"filename":"image_05012025_18_12_02_309313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7253cc6cd41ca03122790a3fb9b4ea25.jpg","text":"TemporaryFile(/tmp/multipartBody7197306809345465050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097270717,"filename":"image_05012025_18_13_02_441680_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/746d4d0e51ab2f2c50ce6217c382c2ff.jpg","text":"TemporaryFile(/tmp/multipartBody5192765315086060880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097270717,"filename":"image_05012025_18_13_02_441680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/73b2ab5c1b7371a66d00987744160b39.jpg","text":"TemporaryFile(/tmp/multipartBody6146541176459550221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097270717,"filename":"image_05012025_18_13_02_441680_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887873","file1":"1326887872","file0":"1326887870","file3":"1326887874"},"map_files_photo_id_array":[{"photo_id":"1326887873","filename":"file2"},{"photo_id":"1326887872","filename":"file1"},{"photo_id":"1326887870","filename":"file0"},{"photo_id":"1326887874","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887870":["hashtag1","hashtag2"]},{"1326887872":["hashtag1","hashtag2"]},{"1326887874":["hashtag1","hashtag2"]},{"1326887873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887870, 1326887872, 1326887874, 1326887873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.22514009475708 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:14:22.392365
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/13/image_05012025_18_13_02_441680_0003.jpg', '/home/pi/Desktop/images/05012025/18/14/image_05012025_18_14_02_508786_0000.jpg', '/home/pi/Desktop/images/05012025/18/14/image_05012025_18_14_02_508786_0001.jpg', '/home/pi/Desktop/images/05012025/18/14/image_05012025_18_14_02_508786_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/18/13/image_05012025_18_13_02_441680_0003.jpg
/home/pi/Desktop/images/05012025/18/14/image_05012025_18_14_02_508786_0000.jpg
/home/pi/Desktop/images/05012025/18/14/image_05012025_18_14_02_508786_0001.jpg
/home/pi/Desktop/images/05012025/18/14/image_05012025_18_14_02_508786_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887890","1326887892","1326887891","1326887888"],"photo_ids_order":["1326887888","1326887890","1326887891","1326887892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/10723f0da7535cc16518058c84da6c48.jpg","text":"TemporaryFile(/tmp/multipartBody8080508510543232962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097330953,"filename":"image_05012025_18_14_02_508786_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/73f3e531c3e9364c184060bdb4a952eb.jpg","text":"TemporaryFile(/tmp/multipartBody4632954750668188576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097330953,"filename":"image_05012025_18_14_02_508786_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1db94982b04c870792d28a4b4378ebdb.jpg","text":"TemporaryFile(/tmp/multipartBody7205636693680166376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097330953,"filename":"image_05012025_18_14_02_508786_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/55d8458f129a0e32d63880887813730e.jpg","text":"TemporaryFile(/tmp/multipartBody3544797402885878110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097330953,"filename":"image_05012025_18_13_02_441680_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887891","file1":"1326887890","file0":"1326887888","file3":"1326887892"},"map_files_photo_id_array":[{"photo_id":"1326887891","filename":"file2"},{"photo_id":"1326887890","filename":"file1"},{"photo_id":"1326887888","filename":"file0"},{"photo_id":"1326887892","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887890":["hashtag1","hashtag2"]},{"1326887892":["hashtag1","hashtag2"]},{"1326887891":["hashtag1","hashtag2"]},{"1326887888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887890, 1326887892, 1326887891, 1326887888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.1496307849884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:15:22.640884
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/14/image_05012025_18_14_02_508786_0003.jpg', '/home/pi/Desktop/images/05012025/18/15/image_05012025_18_15_02_708543_0000.jpg', '/home/pi/Desktop/images/05012025/18/15/image_05012025_18_15_02_708543_0001.jpg', '/home/pi/Desktop/images/05012025/18/15/image_05012025_18_15_02_708543_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/18/14/image_05012025_18_14_02_508786_0003.jpg
/home/pi/Desktop/images/05012025/18/15/image_05012025_18_15_02_708543_0000.jpg
/home/pi/Desktop/images/05012025/18/15/image_05012025_18_15_02_708543_0001.jpg
/home/pi/Desktop/images/05012025/18/15/image_05012025_18_15_02_708543_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887900","1326887902","1326887898","1326887901"],"photo_ids_order":["1326887898","1326887900","1326887901","1326887902"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4fbe38f21ed2bcbf0499fa06d2e025bd.jpg","text":"TemporaryFile(/tmp/multipartBody5080779358402098775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097391779,"filename":"image_05012025_18_15_02_708543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7c2435c85317bde422fc24e81d9f080f.jpg","text":"TemporaryFile(/tmp/multipartBody365019396443425262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097391779,"filename":"image_05012025_18_15_02_708543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f57585d5d53f0426f0c21247779feb82.jpg","text":"TemporaryFile(/tmp/multipartBody8710290174225840579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097391779,"filename":"image_05012025_18_14_02_508786_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/403f78208f4871e97b6ace9a8d087f2f.jpg","text":"TemporaryFile(/tmp/multipartBody7911163727937135865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097391779,"filename":"image_05012025_18_15_02_708543_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887901","file1":"1326887900","file0":"1326887898","file3":"1326887902"},"map_files_photo_id_array":[{"photo_id":"1326887901","filename":"file2"},{"photo_id":"1326887900","filename":"file1"},{"photo_id":"1326887898","filename":"file0"},{"photo_id":"1326887902","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887900":["hashtag1","hashtag2"]},{"1326887902":["hashtag1","hashtag2"]},{"1326887898":["hashtag1","hashtag2"]},{"1326887901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887900, 1326887902, 1326887898, 1326887901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62202024459839 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 18:16:03.127609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:16:22.694000
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/15/image_05012025_18_15_02_708543_0003.jpg', '/home/pi/Desktop/images/05012025/18/16/image_05012025_18_16_02_961194_0000.jpg', '/home/pi/Desktop/images/05012025/18/16/image_05012025_18_16_02_961194_0001.jpg', '/home/pi/Desktop/images/05012025/18/16/image_05012025_18_16_02_961194_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/18/15/image_05012025_18_15_02_708543_0003.jpg
/home/pi/Desktop/images/05012025/18/16/image_05012025_18_16_02_961194_0000.jpg
/home/pi/Desktop/images/05012025/18/16/image_05012025_18_16_02_961194_0001.jpg
/home/pi/Desktop/images/05012025/18/16/image_05012025_18_16_02_961194_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887912","1326887914","1326887911","1326887910"],"photo_ids_order":["1326887910","1326887911","1326887912","1326887914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d56e860af196d3cd83129dbc6e469a0a.jpg","text":"TemporaryFile(/tmp/multipartBody7337461845908562488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097451917,"filename":"image_05012025_18_16_02_961194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2742ebc09f96ecfbc254e92eb01a24a9.jpg","text":"TemporaryFile(/tmp/multipartBody6155520315596778864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097451917,"filename":"image_05012025_18_16_02_961194_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/84a05430fd24d1b711b157dac0eeaaca.jpg","text":"TemporaryFile(/tmp/multipartBody4324341707328828459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097451917,"filename":"image_05012025_18_16_02_961194_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3aef5a22b2fd43b17f6e421581a257b8.jpg","text":"TemporaryFile(/tmp/multipartBody2201194412007746528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097451917,"filename":"image_05012025_18_15_02_708543_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887912","file1":"1326887911","file0":"1326887910","file3":"1326887914"},"map_files_photo_id_array":[{"photo_id":"1326887912","filename":"file2"},{"photo_id":"1326887911","filename":"file1"},{"photo_id":"1326887910","filename":"file0"},{"photo_id":"1326887914","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887912":["hashtag1","hashtag2"]},{"1326887914":["hashtag1","hashtag2"]},{"1326887911":["hashtag1","hashtag2"]},{"1326887910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887912, 1326887914, 1326887911, 1326887910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.92977952957153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:17:21.907011
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/16/image_05012025_18_16_02_961194_0003.jpg', '/home/pi/Desktop/images/05012025/18/17/image_05012025_18_17_03_097313_0000.jpg', '/home/pi/Desktop/images/05012025/18/17/image_05012025_18_17_03_097313_0001.jpg', '/home/pi/Desktop/images/05012025/18/17/image_05012025_18_17_03_097313_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/18/16/image_05012025_18_16_02_961194_0003.jpg
/home/pi/Desktop/images/05012025/18/17/image_05012025_18_17_03_097313_0000.jpg
/home/pi/Desktop/images/05012025/18/17/image_05012025_18_17_03_097313_0001.jpg
/home/pi/Desktop/images/05012025/18/17/image_05012025_18_17_03_097313_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887924","1326887923","1326887926","1326887922"],"photo_ids_order":["1326887922","1326887923","1326887924","1326887926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/59124f08f1c6be9a61c7d53a6e5c6ca3.jpg","text":"TemporaryFile(/tmp/multipartBody8105142209235978670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097510614,"filename":"image_05012025_18_17_03_097313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ee8482963d8e2d3566f03e1538e57288.jpg","text":"TemporaryFile(/tmp/multipartBody5717157639552023614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097510614,"filename":"image_05012025_18_17_03_097313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c7bc1bb12a14bcea637857f8ee53f37.jpg","text":"TemporaryFile(/tmp/multipartBody5147121806244400962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097510614,"filename":"image_05012025_18_17_03_097313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d2f45debd1b1aa66e4fb11db1ba25268.jpg","text":"TemporaryFile(/tmp/multipartBody8004770718099349837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097510614,"filename":"image_05012025_18_16_02_961194_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887924","file1":"1326887923","file0":"1326887922","file3":"1326887926"},"map_files_photo_id_array":[{"photo_id":"1326887924","filename":"file2"},{"photo_id":"1326887923","filename":"file1"},{"photo_id":"1326887922","filename":"file0"},{"photo_id":"1326887926","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887924":["hashtag1","hashtag2"]},{"1326887923":["hashtag1","hashtag2"]},{"1326887926":["hashtag1","hashtag2"]},{"1326887922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887924, 1326887923, 1326887926, 1326887922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.29457640647888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 18:18:02.502108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:18:22.131103
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/17/image_05012025_18_17_03_097313_0003.jpg', '/home/pi/Desktop/images/05012025/18/18/image_05012025_18_18_02_226599_0000.jpg', '/home/pi/Desktop/images/05012025/18/18/image_05012025_18_18_02_226599_0001.jpg', '/home/pi/Desktop/images/05012025/18/18/image_05012025_18_18_02_226599_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/18/17/image_05012025_18_17_03_097313_0003.jpg
/home/pi/Desktop/images/05012025/18/18/image_05012025_18_18_02_226599_0000.jpg
/home/pi/Desktop/images/05012025/18/18/image_05012025_18_18_02_226599_0001.jpg
/home/pi/Desktop/images/05012025/18/18/image_05012025_18_18_02_226599_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887936","1326887933","1326887938","1326887934"],"photo_ids_order":["1326887933","1326887934","1326887936","1326887938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fb4a7ffcbd1a80202052d43e90b2064e.jpg","text":"TemporaryFile(/tmp/multipartBody4942697708798086825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097570863,"filename":"image_05012025_18_18_02_226599_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9c8b37e7d9952fc62c354e17d3ac2812.jpg","text":"TemporaryFile(/tmp/multipartBody1867536368340296112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097570863,"filename":"image_05012025_18_17_03_097313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8d0139790c5e890ac0f7934e91d1d71f.jpg","text":"TemporaryFile(/tmp/multipartBody1254452308906763430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097570863,"filename":"image_05012025_18_18_02_226599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8cd47ad17b1c3b7f9b16a4dc606cfd17.jpg","text":"TemporaryFile(/tmp/multipartBody8768051512921992120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097570863,"filename":"image_05012025_18_18_02_226599_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887936","file1":"1326887934","file0":"1326887933","file3":"1326887938"},"map_files_photo_id_array":[{"photo_id":"1326887936","filename":"file2"},{"photo_id":"1326887934","filename":"file1"},{"photo_id":"1326887933","filename":"file0"},{"photo_id":"1326887938","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887936":["hashtag1","hashtag2"]},{"1326887933":["hashtag1","hashtag2"]},{"1326887938":["hashtag1","hashtag2"]},{"1326887934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887936, 1326887933, 1326887938, 1326887934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.00020503997803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:19:22.161801
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/18/image_05012025_18_18_02_226599_0003.jpg', '/home/pi/Desktop/images/05012025/18/19/image_05012025_18_19_02_437924_0000.jpg', '/home/pi/Desktop/images/05012025/18/19/image_05012025_18_19_02_437924_0001.jpg', '/home/pi/Desktop/images/05012025/18/19/image_05012025_18_19_02_437924_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/18/18/image_05012025_18_18_02_226599_0003.jpg
/home/pi/Desktop/images/05012025/18/19/image_05012025_18_19_02_437924_0000.jpg
/home/pi/Desktop/images/05012025/18/19/image_05012025_18_19_02_437924_0001.jpg
/home/pi/Desktop/images/05012025/18/19/image_05012025_18_19_02_437924_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887951","1326887947","1326887952","1326887949"],"photo_ids_order":["1326887947","1326887949","1326887951","1326887952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a5c8d61c6e73b8f4326e5aac6c655554.jpg","text":"TemporaryFile(/tmp/multipartBody7862755019333708762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097630053,"filename":"image_05012025_18_19_02_437924_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b626ebae1081bea2f0e8f2e3b2e03da2.jpg","text":"TemporaryFile(/tmp/multipartBody6051258031503587268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097630053,"filename":"image_05012025_18_18_02_226599_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/90aa02263e0d56e2dc5ef419cf88c891.jpg","text":"TemporaryFile(/tmp/multipartBody6401903211089720974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097630053,"filename":"image_05012025_18_19_02_437924_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8d2d4834b7efc4ad2574333d797ae54e.jpg","text":"TemporaryFile(/tmp/multipartBody1392896503997385665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097630053,"filename":"image_05012025_18_19_02_437924_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887951","file1":"1326887949","file0":"1326887947","file3":"1326887952"},"map_files_photo_id_array":[{"photo_id":"1326887951","filename":"file2"},{"photo_id":"1326887949","filename":"file1"},{"photo_id":"1326887947","filename":"file0"},{"photo_id":"1326887952","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887951":["hashtag1","hashtag2"]},{"1326887947":["hashtag1","hashtag2"]},{"1326887952":["hashtag1","hashtag2"]},{"1326887949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887951, 1326887947, 1326887952, 1326887949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.77325105667114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:20:22.391019
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/19/image_05012025_18_19_02_437924_0003.jpg', '/home/pi/Desktop/images/05012025/18/20/image_05012025_18_20_02_558105_0000.jpg', '/home/pi/Desktop/images/05012025/18/20/image_05012025_18_20_02_558105_0001.jpg', '/home/pi/Desktop/images/05012025/18/20/image_05012025_18_20_02_558105_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/18/19/image_05012025_18_19_02_437924_0003.jpg
/home/pi/Desktop/images/05012025/18/20/image_05012025_18_20_02_558105_0000.jpg
/home/pi/Desktop/images/05012025/18/20/image_05012025_18_20_02_558105_0001.jpg
/home/pi/Desktop/images/05012025/18/20/image_05012025_18_20_02_558105_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.024537801742554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 18:20:42.314844
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/19/image_05012025_18_19_02_437924_0003.jpg', '/home/pi/Desktop/images/05012025/18/20/image_05012025_18_20_02_558105_0000.jpg', '/home/pi/Desktop/images/05012025/18/20/image_05012025_18_20_02_558105_0001.jpg', '/home/pi/Desktop/images/05012025/18/20/image_05012025_18_20_02_558105_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/18/19/image_05012025_18_19_02_437924_0003.jpg
/home/pi/Desktop/images/05012025/18/20/image_05012025_18_20_02_558105_0000.jpg
/home/pi/Desktop/images/05012025/18/20/image_05012025_18_20_02_558105_0001.jpg
/home/pi/Desktop/images/05012025/18/20/image_05012025_18_20_02_558105_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":["1326887965","1326887968","1326887964","1326887966"],"photo_ids_order":["1326887964","1326887965","1326887966","1326887968"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/50919debfbe24191a7abf931a8ccba28.jpg","text":"TemporaryFile(/tmp/multipartBody5583345452441023943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097712721,"filename":"image_05012025_18_20_02_558105_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/daa37e449880d30ebc65708db0d51532.jpg","text":"TemporaryFile(/tmp/multipartBody1897046925887488309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097712721,"filename":"image_05012025_18_20_02_558105_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c202955a75f134ce2f6ecd4f43be82d.jpg","text":"TemporaryFile(/tmp/multipartBody5835443817949885261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097712721,"filename":"image_05012025_18_19_02_437924_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/51ab7699bf68c553470f2f18ea68f790.jpg","text":"TemporaryFile(/tmp/multipartBody8881923174708617173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097712721,"filename":"image_05012025_18_20_02_558105_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887966","file1":"1326887965","file0":"1326887964","file3":"1326887968"},"map_files_photo_id_array":[{"photo_id":"1326887966","filename":"file2"},{"photo_id":"1326887965","filename":"file1"},{"photo_id":"1326887964","filename":"file0"},{"photo_id":"1326887968","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887965":["hashtag1","hashtag2"]},{"1326887968":["hashtag1","hashtag2"]},{"1326887964":["hashtag1","hashtag2"]},{"1326887966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887965, 1326887968, 1326887964, 1326887966)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.56973385810852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 18:21:32.475985
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/20/image_05012025_18_20_02_558105_0003.jpg', '/home/pi/Desktop/images/05012025/18/21/image_05012025_18_21_02_690430_0000.jpg', '/home/pi/Desktop/images/05012025/18/21/image_05012025_18_21_02_690430_0001.jpg', '/home/pi/Desktop/images/05012025/18/21/image_05012025_18_21_02_690430_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/18/20/image_05012025_18_20_02_558105_0003.jpg
/home/pi/Desktop/images/05012025/18/21/image_05012025_18_21_02_690430_0000.jpg
/home/pi/Desktop/images/05012025/18/21/image_05012025_18_21_02_690430_0001.jpg
/home/pi/Desktop/images/05012025/18/21/image_05012025_18_21_02_690430_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887978","1326887977","1326887976","1326887979"],"photo_ids_order":["1326887976","1326887977","1326887978","1326887979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2af55b2c2dc3e4b4034f7cb2d8451805.jpg","text":"TemporaryFile(/tmp/multipartBody7599039227825819412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097762821,"filename":"image_05012025_18_21_02_690430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/000d3854fb0f60116e12d01b360e43ba.jpg","text":"TemporaryFile(/tmp/multipartBody940351914687818341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097762821,"filename":"image_05012025_18_21_02_690430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2aa872abde4389d567abb7f70d504007.jpg","text":"TemporaryFile(/tmp/multipartBody622757049715811503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097762821,"filename":"image_05012025_18_20_02_558105_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11c5a65f850b6282ad9ffe03b8f28922.jpg","text":"TemporaryFile(/tmp/multipartBody4893713678459689940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097762821,"filename":"image_05012025_18_21_02_690430_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887978","file1":"1326887977","file0":"1326887976","file3":"1326887979"},"map_files_photo_id_array":[{"photo_id":"1326887978","filename":"file2"},{"photo_id":"1326887977","filename":"file1"},{"photo_id":"1326887976","filename":"file0"},{"photo_id":"1326887979","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887978":["hashtag1","hashtag2"]},{"1326887977":["hashtag1","hashtag2"]},{"1326887976":["hashtag1","hashtag2"]},{"1326887979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887978, 1326887977, 1326887976, 1326887979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.02539420127869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:22:22.629378
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/21/image_05012025_18_21_02_690430_0003.jpg', '/home/pi/Desktop/images/05012025/18/22/image_05012025_18_22_02_837173_0000.jpg', '/home/pi/Desktop/images/05012025/18/22/image_05012025_18_22_02_837173_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/18/21/image_05012025_18_21_02_690430_0003.jpg
/home/pi/Desktop/images/05012025/18/22/image_05012025_18_22_02_837173_0000.jpg
/home/pi/Desktop/images/05012025/18/22/image_05012025_18_22_02_837173_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326887992","1326887990","1326887987"],"photo_ids_order":["1326887987","1326887990","1326887992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d60ff4a542acf5f715aac2a2fe9eabd9.jpg","text":"TemporaryFile(/tmp/multipartBody675093700144164110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097810076,"filename":"image_05012025_18_22_02_837173_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fafc0c44273e0b878d71e854cbec4cf0.jpg","text":"TemporaryFile(/tmp/multipartBody709898193713683484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097810076,"filename":"image_05012025_18_22_02_837173_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6da141f27a6befd4397aefff0f7396f8.jpg","text":"TemporaryFile(/tmp/multipartBody4252158740376135463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097810076,"filename":"image_05012025_18_21_02_690430_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326887992","file1":"1326887990","file0":"1326887987"},"map_files_photo_id_array":[{"photo_id":"1326887992","filename":"file2"},{"photo_id":"1326887990","filename":"file1"},{"photo_id":"1326887987","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326887992":["hashtag1","hashtag2"]},{"1326887990":["hashtag1","hashtag2"]},{"1326887987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326887992, 1326887990, 1326887987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.27254009246826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 18:23:02.319180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:23:21.717310
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/22/image_05012025_18_22_02_837173_0003.jpg', '/home/pi/Desktop/images/05012025/18/23/image_05012025_18_23_03_049205_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/18/22/image_05012025_18_22_02_837173_0003.jpg
/home/pi/Desktop/images/05012025/18/23/image_05012025_18_23_03_049205_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":["1326888000","1326888002"],"photo_ids_order":["1326888000","1326888002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0796700a56fd1d0a851ddafafdb066e1.jpg","text":"TemporaryFile(/tmp/multipartBody4750459806272717984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097867049,"filename":"image_05012025_18_22_02_837173_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5a5d32350139fff73a11f61b91d6f951.jpg","text":"TemporaryFile(/tmp/multipartBody3000862771461293082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097867049,"filename":"image_05012025_18_23_03_049205_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326888002","file0":"1326888000"},"map_files_photo_id_array":[{"photo_id":"1326888002","filename":"file1"},{"photo_id":"1326888000","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888000":["hashtag1","hashtag2"]},{"1326888002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888000, 1326888002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.604876041412354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 18:23:51.752872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 18:24:02.344299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:24:22.041032
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/23/image_05012025_18_23_03_049205_0003.jpg', '/home/pi/Desktop/images/05012025/18/24/image_05012025_18_24_02_174758_0000.jpg', '/home/pi/Desktop/images/05012025/18/24/image_05012025_18_24_02_174758_0001.jpg', '/home/pi/Desktop/images/05012025/18/24/image_05012025_18_24_02_174758_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/18/23/image_05012025_18_23_03_049205_0003.jpg
/home/pi/Desktop/images/05012025/18/24/image_05012025_18_24_02_174758_0000.jpg
/home/pi/Desktop/images/05012025/18/24/image_05012025_18_24_02_174758_0001.jpg
/home/pi/Desktop/images/05012025/18/24/image_05012025_18_24_02_174758_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888011","1326888013","1326888010","1326888009"],"photo_ids_order":["1326888009","1326888010","1326888011","1326888013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2b9b9ec76fc24841e35b6c5b6a9fd47.jpg","text":"TemporaryFile(/tmp/multipartBody3102482295413071417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097932031,"filename":"image_05012025_18_24_02_174758_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6965195c2fec440d8a00d138c1fe05b4.jpg","text":"TemporaryFile(/tmp/multipartBody6685204948537714520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097932031,"filename":"image_05012025_18_24_02_174758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6d1a5c0427c77f511ed8ca81725aff14.jpg","text":"TemporaryFile(/tmp/multipartBody7267468173752695826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097932031,"filename":"image_05012025_18_24_02_174758_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c963d1a5cb8de3f398082fdec71f46ad.jpg","text":"TemporaryFile(/tmp/multipartBody6482055667135469274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097932031,"filename":"image_05012025_18_23_03_049205_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888011","file1":"1326888010","file0":"1326888009","file3":"1326888013"},"map_files_photo_id_array":[{"photo_id":"1326888011","filename":"file2"},{"photo_id":"1326888010","filename":"file1"},{"photo_id":"1326888009","filename":"file0"},{"photo_id":"1326888013","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888011":["hashtag1","hashtag2"]},{"1326888013":["hashtag1","hashtag2"]},{"1326888010":["hashtag1","hashtag2"]},{"1326888009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888011, 1326888013, 1326888010, 1326888009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.560258626937866 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-05 18:25:22.178793
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/24/image_05012025_18_24_02_174758_0003.jpg', '/home/pi/Desktop/images/05012025/18/25/image_05012025_18_25_02_317370_0000.jpg', '/home/pi/Desktop/images/05012025/18/25/image_05012025_18_25_02_317370_0001.jpg', '/home/pi/Desktop/images/05012025/18/25/image_05012025_18_25_02_317370_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/18/24/image_05012025_18_24_02_174758_0003.jpg
/home/pi/Desktop/images/05012025/18/25/image_05012025_18_25_02_317370_0000.jpg
/home/pi/Desktop/images/05012025/18/25/image_05012025_18_25_02_317370_0001.jpg
/home/pi/Desktop/images/05012025/18/25/image_05012025_18_25_02_317370_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888026","1326888028","1326888024","1326888027"],"photo_ids_order":["1326888024","1326888026","1326888027","1326888028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f4858105a1fd09bfc6f08e3563098f2e.jpg","text":"TemporaryFile(/tmp/multipartBody6068336398597207993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097992032,"filename":"image_05012025_18_25_02_317370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c46561768acf97c0c381b43f7d772df5.jpg","text":"TemporaryFile(/tmp/multipartBody3307468240825045088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097992032,"filename":"image_05012025_18_25_02_317370_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/89ed9866896ffd198c2cd69783461cb0.jpg","text":"TemporaryFile(/tmp/multipartBody4777748146528166406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097992032,"filename":"image_05012025_18_24_02_174758_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/262ae1a3c70a6bdc8e71aa3b871addd9.jpg","text":"TemporaryFile(/tmp/multipartBody6942083925050870131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736097992032,"filename":"image_05012025_18_25_02_317370_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888027","file1":"1326888026","file0":"1326888024","file3":"1326888028"},"map_files_photo_id_array":[{"photo_id":"1326888027","filename":"file2"},{"photo_id":"1326888026","filename":"file1"},{"photo_id":"1326888024","filename":"file0"},{"photo_id":"1326888028","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888026":["hashtag1","hashtag2"]},{"1326888028":["hashtag1","hashtag2"]},{"1326888024":["hashtag1","hashtag2"]},{"1326888027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888026, 1326888028, 1326888024, 1326888027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.406590938568115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:26:22.294817
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/25/image_05012025_18_25_02_317370_0003.jpg', '/home/pi/Desktop/images/05012025/18/26/image_05012025_18_26_02_460328_0001.jpg', '/home/pi/Desktop/images/05012025/18/26/image_05012025_18_26_02_460328_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/18/25/image_05012025_18_25_02_317370_0003.jpg
/home/pi/Desktop/images/05012025/18/26/image_05012025_18_26_02_460328_0001.jpg
/home/pi/Desktop/images/05012025/18/26/image_05012025_18_26_02_460328_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.230824708938599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 18:26:32.287903
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/25/image_05012025_18_25_02_317370_0003.jpg', '/home/pi/Desktop/images/05012025/18/26/image_05012025_18_26_02_460328_0001.jpg', '/home/pi/Desktop/images/05012025/18/26/image_05012025_18_26_02_460328_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/18/25/image_05012025_18_25_02_317370_0003.jpg
/home/pi/Desktop/images/05012025/18/26/image_05012025_18_26_02_460328_0001.jpg
/home/pi/Desktop/images/05012025/18/26/image_05012025_18_26_02_460328_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888043","1326888045","1326888041"],"photo_ids_order":["1326888041","1326888043","1326888045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dcb34703cbfb0c492b0faf545ded3171.jpg","text":"TemporaryFile(/tmp/multipartBody9183139987262275584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098059849,"filename":"image_05012025_18_26_02_460328_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/53209a0721d5fede338dc0019d5aeb2c.jpg","text":"TemporaryFile(/tmp/multipartBody2390809123170610405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098059849,"filename":"image_05012025_18_26_02_460328_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a5645d8e591b2cf6caef1edbb1e59690.jpg","text":"TemporaryFile(/tmp/multipartBody5718970002641431173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098059849,"filename":"image_05012025_18_25_02_317370_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888045","file1":"1326888043","file0":"1326888041"},"map_files_photo_id_array":[{"photo_id":"1326888045","filename":"file2"},{"photo_id":"1326888043","filename":"file1"},{"photo_id":"1326888041","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888043":["hashtag1","hashtag2"]},{"1326888045":["hashtag1","hashtag2"]},{"1326888041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888043, 1326888045, 1326888041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.46730446815491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:27:22.452172
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/26/image_05012025_18_26_02_460328_0003.jpg', '/home/pi/Desktop/images/05012025/18/27/image_05012025_18_27_02_706766_0000.jpg', '/home/pi/Desktop/images/05012025/18/27/image_05012025_18_27_02_706766_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/18/26/image_05012025_18_26_02_460328_0003.jpg
/home/pi/Desktop/images/05012025/18/27/image_05012025_18_27_02_706766_0000.jpg
/home/pi/Desktop/images/05012025/18/27/image_05012025_18_27_02_706766_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":["1326888055","1326888053","1326888056"],"photo_ids_order":["1326888053","1326888055","1326888056"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c5db3190928c46b9c36c98fb09b30f8e.jpg","text":"TemporaryFile(/tmp/multipartBody1219920500975649654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098110175,"filename":"image_05012025_18_27_02_706766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/df0de91a9795af44273523b2805929f7.jpg","text":"TemporaryFile(/tmp/multipartBody5302632106584871460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098110175,"filename":"image_05012025_18_26_02_460328_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/299b539f86e83940a6e45d58a77af451.jpg","text":"TemporaryFile(/tmp/multipartBody4971527189821313187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098110175,"filename":"image_05012025_18_27_02_706766_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888056","file1":"1326888055","file0":"1326888053"},"map_files_photo_id_array":[{"photo_id":"1326888056","filename":"file2"},{"photo_id":"1326888055","filename":"file1"},{"photo_id":"1326888053","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888055":["hashtag1","hashtag2"]},{"1326888053":["hashtag1","hashtag2"]},{"1326888056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888055, 1326888053, 1326888056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.232919692993164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 18:28:03.119655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:28:22.706062
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/27/image_05012025_18_27_02_706766_0003.jpg', '/home/pi/Desktop/images/05012025/18/28/image_05012025_18_28_02_878344_0000.jpg', '/home/pi/Desktop/images/05012025/18/28/image_05012025_18_28_02_878344_0001.jpg', '/home/pi/Desktop/images/05012025/18/28/image_05012025_18_28_02_878344_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/18/27/image_05012025_18_27_02_706766_0003.jpg
/home/pi/Desktop/images/05012025/18/28/image_05012025_18_28_02_878344_0000.jpg
/home/pi/Desktop/images/05012025/18/28/image_05012025_18_28_02_878344_0001.jpg
/home/pi/Desktop/images/05012025/18/28/image_05012025_18_28_02_878344_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888070","1326888064","1326888066","1326888068"],"photo_ids_order":["1326888064","1326888066","1326888068","1326888070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d76f2b04f39ac4f5140f8e561268e3fc.jpg","text":"TemporaryFile(/tmp/multipartBody5049910924899211289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098172861,"filename":"image_05012025_18_28_02_878344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a4c1bb7b19bb236d152c13ca67693522.jpg","text":"TemporaryFile(/tmp/multipartBody6621954674010535680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098172861,"filename":"image_05012025_18_27_02_706766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e86b4c8e943090d1029153536c873602.jpg","text":"TemporaryFile(/tmp/multipartBody2893386911992714062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098172861,"filename":"image_05012025_18_28_02_878344_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1bea5c3de5230d6a31209943ecaad631.jpg","text":"TemporaryFile(/tmp/multipartBody5532951913764313571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098172861,"filename":"image_05012025_18_28_02_878344_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888068","file1":"1326888066","file0":"1326888064","file3":"1326888070"},"map_files_photo_id_array":[{"photo_id":"1326888068","filename":"file2"},{"photo_id":"1326888066","filename":"file1"},{"photo_id":"1326888064","filename":"file0"},{"photo_id":"1326888070","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888070":["hashtag1","hashtag2"]},{"1326888064":["hashtag1","hashtag2"]},{"1326888066":["hashtag1","hashtag2"]},{"1326888068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888070, 1326888064, 1326888066, 1326888068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.6328809261322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:29:21.816895
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/28/image_05012025_18_28_02_878344_0003.jpg', '/home/pi/Desktop/images/05012025/18/29/image_05012025_18_29_02_991818_0000.jpg', '/home/pi/Desktop/images/05012025/18/29/image_05012025_18_29_02_991818_0001.jpg', '/home/pi/Desktop/images/05012025/18/29/image_05012025_18_29_02_991818_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/18/28/image_05012025_18_28_02_878344_0003.jpg
/home/pi/Desktop/images/05012025/18/29/image_05012025_18_29_02_991818_0000.jpg
/home/pi/Desktop/images/05012025/18/29/image_05012025_18_29_02_991818_0001.jpg
/home/pi/Desktop/images/05012025/18/29/image_05012025_18_29_02_991818_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888091","1326888085","1326888087","1326888089"],"photo_ids_order":["1326888085","1326888087","1326888089","1326888091"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cf83aa69d4528d15fd8a4b2491fbb349.jpg","text":"TemporaryFile(/tmp/multipartBody3152222522133071123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098231921,"filename":"image_05012025_18_29_02_991818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c87b54bc9775227f2ddb75dd2eb63a36.jpg","text":"TemporaryFile(/tmp/multipartBody7171405239133889477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098231921,"filename":"image_05012025_18_28_02_878344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b063639ff8bf3d208ff40e242ee769f0.jpg","text":"TemporaryFile(/tmp/multipartBody7208611284503898205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098231921,"filename":"image_05012025_18_29_02_991818_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/98cf375e3942e391dc3a20a75b92ddcd.jpg","text":"TemporaryFile(/tmp/multipartBody153221042941412733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098231921,"filename":"image_05012025_18_29_02_991818_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888089","file1":"1326888087","file0":"1326888085","file3":"1326888091"},"map_files_photo_id_array":[{"photo_id":"1326888089","filename":"file2"},{"photo_id":"1326888087","filename":"file1"},{"photo_id":"1326888085","filename":"file0"},{"photo_id":"1326888091","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888091":["hashtag1","hashtag2"]},{"1326888085":["hashtag1","hashtag2"]},{"1326888087":["hashtag1","hashtag2"]},{"1326888089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888091, 1326888085, 1326888087, 1326888089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.231611490249634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:30:21.986413
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/29/image_05012025_18_29_02_991818_0003.jpg', '/home/pi/Desktop/images/05012025/18/30/image_05012025_18_30_02_270176_0000.jpg', '/home/pi/Desktop/images/05012025/18/30/image_05012025_18_30_02_270176_0001.jpg', '/home/pi/Desktop/images/05012025/18/30/image_05012025_18_30_02_270176_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/18/29/image_05012025_18_29_02_991818_0003.jpg
/home/pi/Desktop/images/05012025/18/30/image_05012025_18_30_02_270176_0000.jpg
/home/pi/Desktop/images/05012025/18/30/image_05012025_18_30_02_270176_0001.jpg
/home/pi/Desktop/images/05012025/18/30/image_05012025_18_30_02_270176_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888097","1326888099","1326888098","1326888102"],"photo_ids_order":["1326888097","1326888098","1326888099","1326888102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c30cb5384640f4ce96561c23ffd634e5.jpg","text":"TemporaryFile(/tmp/multipartBody336934381864497577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098292234,"filename":"image_05012025_18_29_02_991818_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e098da6e48149c4f94cfae8b52e7ba05.jpg","text":"TemporaryFile(/tmp/multipartBody3002840100560040966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098292234,"filename":"image_05012025_18_30_02_270176_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3e0f3cb879a55ac94788cf1dfcc7a7e0.jpg","text":"TemporaryFile(/tmp/multipartBody1454984616965670983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098292234,"filename":"image_05012025_18_30_02_270176_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/06334f375c1c477615d3d303e439176f.jpg","text":"TemporaryFile(/tmp/multipartBody8731157716396946218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098292234,"filename":"image_05012025_18_30_02_270176_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888099","file1":"1326888098","file0":"1326888097","file3":"1326888102"},"map_files_photo_id_array":[{"photo_id":"1326888099","filename":"file2"},{"photo_id":"1326888098","filename":"file1"},{"photo_id":"1326888097","filename":"file0"},{"photo_id":"1326888102","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888097":["hashtag1","hashtag2"]},{"1326888099":["hashtag1","hashtag2"]},{"1326888098":["hashtag1","hashtag2"]},{"1326888102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888097, 1326888099, 1326888098, 1326888102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.335020542144775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:31:22.238799
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/30/image_05012025_18_30_02_270176_0003.jpg', '/home/pi/Desktop/images/05012025/18/31/image_05012025_18_31_02_447137_0001.jpg', '/home/pi/Desktop/images/05012025/18/31/image_05012025_18_31_02_447137_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/18/30/image_05012025_18_30_02_270176_0003.jpg
/home/pi/Desktop/images/05012025/18/31/image_05012025_18_31_02_447137_0001.jpg
/home/pi/Desktop/images/05012025/18/31/image_05012025_18_31_02_447137_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888112","1326888115","1326888114"],"photo_ids_order":["1326888112","1326888114","1326888115"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ea7aa991aa80364f832dc4b75bde731c.jpg","text":"TemporaryFile(/tmp/multipartBody1595096774237546189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098350097,"filename":"image_05012025_18_30_02_270176_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6094820b33d283c4179202d59d601ca0.jpg","text":"TemporaryFile(/tmp/multipartBody1436162450319721149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098350097,"filename":"image_05012025_18_31_02_447137_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d39e6a9e6f05f8c8d2e35c1481287a0f.jpg","text":"TemporaryFile(/tmp/multipartBody5148948857794173901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098350097,"filename":"image_05012025_18_31_02_447137_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888115","file1":"1326888114","file0":"1326888112"},"map_files_photo_id_array":[{"photo_id":"1326888115","filename":"file2"},{"photo_id":"1326888114","filename":"file1"},{"photo_id":"1326888112","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888112":["hashtag1","hashtag2"]},{"1326888115":["hashtag1","hashtag2"]},{"1326888114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888112, 1326888115, 1326888114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.11060380935669 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 18:32:02.849873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:32:22.428291
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/31/image_05012025_18_31_02_447137_0003.jpg', '/home/pi/Desktop/images/05012025/18/32/image_05012025_18_32_02_652077_0000.jpg', '/home/pi/Desktop/images/05012025/18/32/image_05012025_18_32_02_652077_0001.jpg', '/home/pi/Desktop/images/05012025/18/32/image_05012025_18_32_02_652077_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/18/31/image_05012025_18_31_02_447137_0003.jpg
/home/pi/Desktop/images/05012025/18/32/image_05012025_18_32_02_652077_0000.jpg
/home/pi/Desktop/images/05012025/18/32/image_05012025_18_32_02_652077_0001.jpg
/home/pi/Desktop/images/05012025/18/32/image_05012025_18_32_02_652077_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.903697967529297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 18:32:42.431087
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/31/image_05012025_18_31_02_447137_0003.jpg', '/home/pi/Desktop/images/05012025/18/32/image_05012025_18_32_02_652077_0000.jpg', '/home/pi/Desktop/images/05012025/18/32/image_05012025_18_32_02_652077_0001.jpg', '/home/pi/Desktop/images/05012025/18/32/image_05012025_18_32_02_652077_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/18/31/image_05012025_18_31_02_447137_0003.jpg
/home/pi/Desktop/images/05012025/18/32/image_05012025_18_32_02_652077_0000.jpg
/home/pi/Desktop/images/05012025/18/32/image_05012025_18_32_02_652077_0001.jpg
/home/pi/Desktop/images/05012025/18/32/image_05012025_18_32_02_652077_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888130","1326888133","1326888129","1326888128"],"photo_ids_order":["1326888128","1326888129","1326888130","1326888133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/198c813b44db8fa30375077bee1ddc7f.jpg","text":"TemporaryFile(/tmp/multipartBody206882206771031555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098432745,"filename":"image_05012025_18_32_02_652077_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3abc1c546ba09a75362f56f12e82895.jpg","text":"TemporaryFile(/tmp/multipartBody4601649285891974782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098432745,"filename":"image_05012025_18_32_02_652077_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e044ee77dcc964772c4e42883d4e3080.jpg","text":"TemporaryFile(/tmp/multipartBody5902243873733012341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098432745,"filename":"image_05012025_18_32_02_652077_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/df859516e7582f615f53eb6b1c4213b1.jpg","text":"TemporaryFile(/tmp/multipartBody3887714828608258264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098432745,"filename":"image_05012025_18_31_02_447137_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888130","file1":"1326888129","file0":"1326888128","file3":"1326888133"},"map_files_photo_id_array":[{"photo_id":"1326888130","filename":"file2"},{"photo_id":"1326888129","filename":"file1"},{"photo_id":"1326888128","filename":"file0"},{"photo_id":"1326888133","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888130":["hashtag1","hashtag2"]},{"1326888133":["hashtag1","hashtag2"]},{"1326888129":["hashtag1","hashtag2"]},{"1326888128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888130, 1326888133, 1326888129, 1326888128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.030884981155396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 18:33:32.560203
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/32/image_05012025_18_32_02_652077_0003.jpg', '/home/pi/Desktop/images/05012025/18/33/image_05012025_18_33_02_825350_0000.jpg', '/home/pi/Desktop/images/05012025/18/33/image_05012025_18_33_02_825350_0001.jpg', '/home/pi/Desktop/images/05012025/18/33/image_05012025_18_33_02_825350_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/18/32/image_05012025_18_32_02_652077_0003.jpg
/home/pi/Desktop/images/05012025/18/33/image_05012025_18_33_02_825350_0000.jpg
/home/pi/Desktop/images/05012025/18/33/image_05012025_18_33_02_825350_0001.jpg
/home/pi/Desktop/images/05012025/18/33/image_05012025_18_33_02_825350_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888142","1326888141","1326888144","1326888143"],"photo_ids_order":["1326888141","1326888142","1326888143","1326888144"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/45c854ffd3c43cb02c083ae32d456d5e.jpg","text":"TemporaryFile(/tmp/multipartBody6100020845556217822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098482707,"filename":"image_05012025_18_33_02_825350_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e7a86200ab3b36d819c44e03dd8e8894.jpg","text":"TemporaryFile(/tmp/multipartBody8366208646551569793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098482707,"filename":"image_05012025_18_32_02_652077_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b76a950d60ef89a0835de2aedb42bba4.jpg","text":"TemporaryFile(/tmp/multipartBody4604250884306690498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098482707,"filename":"image_05012025_18_33_02_825350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6c979de7ef8efb16ebab48eb3985cd80.jpg","text":"TemporaryFile(/tmp/multipartBody3896611075928839981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098482707,"filename":"image_05012025_18_33_02_825350_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888143","file1":"1326888142","file0":"1326888141","file3":"1326888144"},"map_files_photo_id_array":[{"photo_id":"1326888143","filename":"file2"},{"photo_id":"1326888142","filename":"file1"},{"photo_id":"1326888141","filename":"file0"},{"photo_id":"1326888144","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888142":["hashtag1","hashtag2"]},{"1326888141":["hashtag1","hashtag2"]},{"1326888144":["hashtag1","hashtag2"]},{"1326888143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888142, 1326888141, 1326888144, 1326888143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.60812520980835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:34:22.795365
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/33/image_05012025_18_33_02_825350_0003.jpg', '/home/pi/Desktop/images/05012025/18/34/image_05012025_18_34_02_972171_0000.jpg', '/home/pi/Desktop/images/05012025/18/34/image_05012025_18_34_02_972171_0001.jpg', '/home/pi/Desktop/images/05012025/18/34/image_05012025_18_34_02_972171_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/18/33/image_05012025_18_33_02_825350_0003.jpg
/home/pi/Desktop/images/05012025/18/34/image_05012025_18_34_02_972171_0000.jpg
/home/pi/Desktop/images/05012025/18/34/image_05012025_18_34_02_972171_0001.jpg
/home/pi/Desktop/images/05012025/18/34/image_05012025_18_34_02_972171_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888154","1326888153","1326888156","1326888158"],"photo_ids_order":["1326888153","1326888154","1326888156","1326888158"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f90d02fb698069c88d6ade24060d4524.jpg","text":"TemporaryFile(/tmp/multipartBody8088447329075504949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098533046,"filename":"image_05012025_18_34_02_972171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d880ddad757658421a2a9998a27c9323.jpg","text":"TemporaryFile(/tmp/multipartBody7799983274830354758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098533046,"filename":"image_05012025_18_33_02_825350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c72bcdfd9a58e2879f8920638fa96ef4.jpg","text":"TemporaryFile(/tmp/multipartBody2429205961426438025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098533046,"filename":"image_05012025_18_34_02_972171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/30746b8112e828b0e259deac47f79199.jpg","text":"TemporaryFile(/tmp/multipartBody17614773442646467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098533046,"filename":"image_05012025_18_34_02_972171_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888156","file1":"1326888154","file0":"1326888153","file3":"1326888158"},"map_files_photo_id_array":[{"photo_id":"1326888156","filename":"file2"},{"photo_id":"1326888154","filename":"file1"},{"photo_id":"1326888153","filename":"file0"},{"photo_id":"1326888158","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888154":["hashtag1","hashtag2"]},{"1326888153":["hashtag1","hashtag2"]},{"1326888156":["hashtag1","hashtag2"]},{"1326888158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888154, 1326888153, 1326888156, 1326888158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.1048309803009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:35:21.973794
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/34/image_05012025_18_34_02_972171_0003.jpg', '/home/pi/Desktop/images/05012025/18/35/image_05012025_18_35_03_173386_0000.jpg', '/home/pi/Desktop/images/05012025/18/35/image_05012025_18_35_03_173386_0001.jpg', '/home/pi/Desktop/images/05012025/18/35/image_05012025_18_35_03_173386_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/18/34/image_05012025_18_34_02_972171_0003.jpg
/home/pi/Desktop/images/05012025/18/35/image_05012025_18_35_03_173386_0000.jpg
/home/pi/Desktop/images/05012025/18/35/image_05012025_18_35_03_173386_0001.jpg
/home/pi/Desktop/images/05012025/18/35/image_05012025_18_35_03_173386_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888169","1326888165","1326888164","1326888167"],"photo_ids_order":["1326888164","1326888165","1326888167","1326888169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5fbd3da5faaff5cc0026cb9d979de4c0.jpg","text":"TemporaryFile(/tmp/multipartBody6204852670828737577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098592130,"filename":"image_05012025_18_35_03_173386_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3fa74063a5a22521d08519e9a4cbcd14.jpg","text":"TemporaryFile(/tmp/multipartBody2692219637020913661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098592130,"filename":"image_05012025_18_35_03_173386_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/361f6fb4c011c3ba385068b0e0e1527e.jpg","text":"TemporaryFile(/tmp/multipartBody8491821356090037937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098592130,"filename":"image_05012025_18_34_02_972171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b43f84728ae50a137353867d8c63b65f.jpg","text":"TemporaryFile(/tmp/multipartBody181533125590127649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098592130,"filename":"image_05012025_18_35_03_173386_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888167","file1":"1326888165","file0":"1326888164","file3":"1326888169"},"map_files_photo_id_array":[{"photo_id":"1326888167","filename":"file2"},{"photo_id":"1326888165","filename":"file1"},{"photo_id":"1326888164","filename":"file0"},{"photo_id":"1326888169","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888169":["hashtag1","hashtag2"]},{"1326888165":["hashtag1","hashtag2"]},{"1326888164":["hashtag1","hashtag2"]},{"1326888167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888169, 1326888165, 1326888164, 1326888167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.07371473312378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:36:22.144901
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/35/image_05012025_18_35_03_173386_0003.jpg', '/home/pi/Desktop/images/05012025/18/36/image_05012025_18_36_02_377171_0000.jpg', '/home/pi/Desktop/images/05012025/18/36/image_05012025_18_36_02_377171_0001.jpg', '/home/pi/Desktop/images/05012025/18/36/image_05012025_18_36_02_377171_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/18/35/image_05012025_18_35_03_173386_0003.jpg
/home/pi/Desktop/images/05012025/18/36/image_05012025_18_36_02_377171_0000.jpg
/home/pi/Desktop/images/05012025/18/36/image_05012025_18_36_02_377171_0001.jpg
/home/pi/Desktop/images/05012025/18/36/image_05012025_18_36_02_377171_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888178","1326888180","1326888177","1326888182"],"photo_ids_order":["1326888177","1326888178","1326888180","1326888182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5ab3f64a90fcd9c94a9da17cffacb9e0.jpg","text":"TemporaryFile(/tmp/multipartBody2343933237421157444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098652519,"filename":"image_05012025_18_36_02_377171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/44f1cfe3f1805c8022a75a5376695a1f.jpg","text":"TemporaryFile(/tmp/multipartBody4781516137164991036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098652519,"filename":"image_05012025_18_36_02_377171_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/81aa8950b7a78eb30214d028ef856ba3.jpg","text":"TemporaryFile(/tmp/multipartBody3219417363135703834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098652519,"filename":"image_05012025_18_35_03_173386_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/70cdf66f9a5e1f2576ddc89557c56b3e.jpg","text":"TemporaryFile(/tmp/multipartBody7789945350404836958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098652519,"filename":"image_05012025_18_36_02_377171_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888180","file1":"1326888178","file0":"1326888177","file3":"1326888182"},"map_files_photo_id_array":[{"photo_id":"1326888180","filename":"file2"},{"photo_id":"1326888178","filename":"file1"},{"photo_id":"1326888177","filename":"file0"},{"photo_id":"1326888182","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888178":["hashtag1","hashtag2"]},{"1326888180":["hashtag1","hashtag2"]},{"1326888177":["hashtag1","hashtag2"]},{"1326888182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888178, 1326888180, 1326888177, 1326888182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.25043344497681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:37:22.295796
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/36/image_05012025_18_36_02_377171_0003.jpg', '/home/pi/Desktop/images/05012025/18/37/image_05012025_18_37_02_534440_0000.jpg', '/home/pi/Desktop/images/05012025/18/37/image_05012025_18_37_02_534440_0001.jpg', '/home/pi/Desktop/images/05012025/18/37/image_05012025_18_37_02_534440_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/18/36/image_05012025_18_36_02_377171_0003.jpg
/home/pi/Desktop/images/05012025/18/37/image_05012025_18_37_02_534440_0000.jpg
/home/pi/Desktop/images/05012025/18/37/image_05012025_18_37_02_534440_0001.jpg
/home/pi/Desktop/images/05012025/18/37/image_05012025_18_37_02_534440_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888193","1326888196","1326888195","1326888191"],"photo_ids_order":["1326888191","1326888193","1326888195","1326888196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8f34d2af6178b422dab017f5c3e86d8b.jpg","text":"TemporaryFile(/tmp/multipartBody2337325046454179761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098712594,"filename":"image_05012025_18_37_02_534440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/73975d8386106d1b161734e3fbfe5677.jpg","text":"TemporaryFile(/tmp/multipartBody952555278044318921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098712594,"filename":"image_05012025_18_37_02_534440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/20b944cbba6cd669356e717e974d2eb8.jpg","text":"TemporaryFile(/tmp/multipartBody3312375750860950648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098712594,"filename":"image_05012025_18_37_02_534440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ceeee84075bf5f65c1767c4022f1c681.jpg","text":"TemporaryFile(/tmp/multipartBody2920459228196872909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098712594,"filename":"image_05012025_18_36_02_377171_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888195","file1":"1326888193","file0":"1326888191","file3":"1326888196"},"map_files_photo_id_array":[{"photo_id":"1326888195","filename":"file2"},{"photo_id":"1326888193","filename":"file1"},{"photo_id":"1326888191","filename":"file0"},{"photo_id":"1326888196","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888193":["hashtag1","hashtag2"]},{"1326888196":["hashtag1","hashtag2"]},{"1326888195":["hashtag1","hashtag2"]},{"1326888191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888193, 1326888196, 1326888195, 1326888191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.38602900505066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:38:22.488500
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/37/image_05012025_18_37_02_534440_0003.jpg', '/home/pi/Desktop/images/05012025/18/38/image_05012025_18_38_02_675145_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/18/37/image_05012025_18_37_02_534440_0003.jpg
/home/pi/Desktop/images/05012025/18/38/image_05012025_18_38_02_675145_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.014698028564453 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 18:38:32.541095
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/37/image_05012025_18_37_02_534440_0003.jpg', '/home/pi/Desktop/images/05012025/18/38/image_05012025_18_38_02_675145_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/18/37/image_05012025_18_37_02_534440_0003.jpg
/home/pi/Desktop/images/05012025/18/38/image_05012025_18_38_02_675145_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":["1326888206","1326888205"],"photo_ids_order":["1326888205","1326888206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/65d5c9ce284701a9b773133900443ced.jpg","text":"TemporaryFile(/tmp/multipartBody5912883391037063954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098777971,"filename":"image_05012025_18_38_02_675145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e41a2df4ad4932d3a79beaff0d96b8b9.jpg","text":"TemporaryFile(/tmp/multipartBody108519353050209701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098777971,"filename":"image_05012025_18_37_02_534440_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326888206","file0":"1326888205"},"map_files_photo_id_array":[{"photo_id":"1326888206","filename":"file1"},{"photo_id":"1326888205","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888206":["hashtag1","hashtag2"]},{"1326888205":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888206, 1326888205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.492337465286255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 18:39:03.172975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:39:22.656947
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/38/image_05012025_18_38_02_675145_0001.jpg', '/home/pi/Desktop/images/05012025/18/39/image_05012025_18_39_02_817983_0000.jpg', '/home/pi/Desktop/images/05012025/18/39/image_05012025_18_39_02_817983_0001.jpg', '/home/pi/Desktop/images/05012025/18/39/image_05012025_18_39_02_817983_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/18/38/image_05012025_18_38_02_675145_0001.jpg
/home/pi/Desktop/images/05012025/18/39/image_05012025_18_39_02_817983_0000.jpg
/home/pi/Desktop/images/05012025/18/39/image_05012025_18_39_02_817983_0001.jpg
/home/pi/Desktop/images/05012025/18/39/image_05012025_18_39_02_817983_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888218","1326888217","1326888219","1326888215"],"photo_ids_order":["1326888215","1326888217","1326888218","1326888219"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c09e84bad34e83d895cbe085ac9ac0d4.jpg","text":"TemporaryFile(/tmp/multipartBody6476922655433831736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098833001,"filename":"image_05012025_18_39_02_817983_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a983d4283dc4e26e0eb84c210d1f9fbf.jpg","text":"TemporaryFile(/tmp/multipartBody2495814879202541215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098833001,"filename":"image_05012025_18_39_02_817983_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b7c6de9dcfd722fd89d7b2b1444bf1fd.jpg","text":"TemporaryFile(/tmp/multipartBody9191600801141353965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098833001,"filename":"image_05012025_18_39_02_817983_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/caa5a9be4731025926f12322d56a42cf.jpg","text":"TemporaryFile(/tmp/multipartBody6468993881283805639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098833001,"filename":"image_05012025_18_38_02_675145_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888218","file1":"1326888217","file0":"1326888215","file3":"1326888219"},"map_files_photo_id_array":[{"photo_id":"1326888218","filename":"file2"},{"photo_id":"1326888217","filename":"file1"},{"photo_id":"1326888215","filename":"file0"},{"photo_id":"1326888219","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888218":["hashtag1","hashtag2"]},{"1326888217":["hashtag1","hashtag2"]},{"1326888219":["hashtag1","hashtag2"]},{"1326888215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888218, 1326888217, 1326888219, 1326888215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.162582874298096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:40:21.820529
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/39/image_05012025_18_39_02_817983_0003.jpg', '/home/pi/Desktop/images/05012025/18/40/image_05012025_18_40_03_076683_0000.jpg', '/home/pi/Desktop/images/05012025/18/40/image_05012025_18_40_03_076683_0001.jpg', '/home/pi/Desktop/images/05012025/18/40/image_05012025_18_40_03_076683_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/18/39/image_05012025_18_39_02_817983_0003.jpg
/home/pi/Desktop/images/05012025/18/40/image_05012025_18_40_03_076683_0000.jpg
/home/pi/Desktop/images/05012025/18/40/image_05012025_18_40_03_076683_0001.jpg
/home/pi/Desktop/images/05012025/18/40/image_05012025_18_40_03_076683_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888230","1326888232","1326888226","1326888228"],"photo_ids_order":["1326888226","1326888228","1326888230","1326888232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/028d325252f4be0beb840254d4af0ca5.jpg","text":"TemporaryFile(/tmp/multipartBody897022377786157468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098891974,"filename":"image_05012025_18_40_03_076683_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8ed14d68f0076e3ecb79dc6a25e7a99f.jpg","text":"TemporaryFile(/tmp/multipartBody2267432131556563801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098891974,"filename":"image_05012025_18_40_03_076683_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/98e2d38c93debd01c01faa679ae67130.jpg","text":"TemporaryFile(/tmp/multipartBody47869599450300630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098891974,"filename":"image_05012025_18_39_02_817983_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c9e0cc49c865628ab5ec41801ad4ea0.jpg","text":"TemporaryFile(/tmp/multipartBody7944568429603860458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098891974,"filename":"image_05012025_18_40_03_076683_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888230","file1":"1326888228","file0":"1326888226","file3":"1326888232"},"map_files_photo_id_array":[{"photo_id":"1326888230","filename":"file2"},{"photo_id":"1326888228","filename":"file1"},{"photo_id":"1326888226","filename":"file0"},{"photo_id":"1326888232","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888230":["hashtag1","hashtag2"]},{"1326888232":["hashtag1","hashtag2"]},{"1326888226":["hashtag1","hashtag2"]},{"1326888228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888230, 1326888232, 1326888226, 1326888228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.097739934921265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:41:22.153175
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/40/image_05012025_18_40_03_076683_0003.jpg', '/home/pi/Desktop/images/05012025/18/41/image_05012025_18_41_02_178358_0001.jpg', '/home/pi/Desktop/images/05012025/18/41/image_05012025_18_41_02_178358_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/18/40/image_05012025_18_40_03_076683_0003.jpg
/home/pi/Desktop/images/05012025/18/41/image_05012025_18_41_02_178358_0001.jpg
/home/pi/Desktop/images/05012025/18/41/image_05012025_18_41_02_178358_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888239","1326888241","1326888240"],"photo_ids_order":["1326888239","1326888240","1326888241"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a0bdedb1fba42fedee9c6e72996b773.jpg","text":"TemporaryFile(/tmp/multipartBody673211650748416073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098949957,"filename":"image_05012025_18_40_03_076683_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/06c5d7654f77e0b209ea1fc236a880af.jpg","text":"TemporaryFile(/tmp/multipartBody4548083056503102466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098949957,"filename":"image_05012025_18_41_02_178358_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c0a11f17c9aae3964f8f063dce8f7ae5.jpg","text":"TemporaryFile(/tmp/multipartBody7569612035689107058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736098949957,"filename":"image_05012025_18_41_02_178358_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888241","file1":"1326888240","file0":"1326888239"},"map_files_photo_id_array":[{"photo_id":"1326888241","filename":"file2"},{"photo_id":"1326888240","filename":"file1"},{"photo_id":"1326888239","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888239":["hashtag1","hashtag2"]},{"1326888241":["hashtag1","hashtag2"]},{"1326888240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888239, 1326888241, 1326888240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.79025459289551 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 18:42:02.599468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:42:22.283477
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/41/image_05012025_18_41_02_178358_0003.jpg', '/home/pi/Desktop/images/05012025/18/42/image_05012025_18_42_02_467299_0000.jpg', '/home/pi/Desktop/images/05012025/18/42/image_05012025_18_42_02_467299_0001.jpg', '/home/pi/Desktop/images/05012025/18/42/image_05012025_18_42_02_467299_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/18/41/image_05012025_18_41_02_178358_0003.jpg
/home/pi/Desktop/images/05012025/18/42/image_05012025_18_42_02_467299_0000.jpg
/home/pi/Desktop/images/05012025/18/42/image_05012025_18_42_02_467299_0001.jpg
/home/pi/Desktop/images/05012025/18/42/image_05012025_18_42_02_467299_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888250","1326888252","1326888254","1326888257"],"photo_ids_order":["1326888250","1326888252","1326888254","1326888257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/28d05d1707587f7b34c329992d571745.jpg","text":"TemporaryFile(/tmp/multipartBody2344838759024115405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099012531,"filename":"image_05012025_18_41_02_178358_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/50ede7b9fad0c807d1656e8b92229f96.jpg","text":"TemporaryFile(/tmp/multipartBody7501586528868340603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099012531,"filename":"image_05012025_18_42_02_467299_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/334fb857d2542c9cdb33b3916a036d19.jpg","text":"TemporaryFile(/tmp/multipartBody2436858155566737272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099012531,"filename":"image_05012025_18_42_02_467299_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c9d4cb9495280df93d246ab5169b108b.jpg","text":"TemporaryFile(/tmp/multipartBody928402347302112329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099012531,"filename":"image_05012025_18_42_02_467299_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888254","file1":"1326888252","file0":"1326888250","file3":"1326888257"},"map_files_photo_id_array":[{"photo_id":"1326888254","filename":"file2"},{"photo_id":"1326888252","filename":"file1"},{"photo_id":"1326888250","filename":"file0"},{"photo_id":"1326888257","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888250":["hashtag1","hashtag2"]},{"1326888252":["hashtag1","hashtag2"]},{"1326888254":["hashtag1","hashtag2"]},{"1326888257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888250, 1326888252, 1326888254, 1326888257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.241708755493164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 18:43:03.055324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:43:22.351626
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/42/image_05012025_18_42_02_467299_0003.jpg', '/home/pi/Desktop/images/05012025/18/43/image_05012025_18_43_02_622127_0000.jpg', '/home/pi/Desktop/images/05012025/18/43/image_05012025_18_43_02_622127_0001.jpg', '/home/pi/Desktop/images/05012025/18/43/image_05012025_18_43_02_622127_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/18/42/image_05012025_18_42_02_467299_0003.jpg
/home/pi/Desktop/images/05012025/18/43/image_05012025_18_43_02_622127_0000.jpg
/home/pi/Desktop/images/05012025/18/43/image_05012025_18_43_02_622127_0001.jpg
/home/pi/Desktop/images/05012025/18/43/image_05012025_18_43_02_622127_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888274","1326888273","1326888272","1326888275"],"photo_ids_order":["1326888272","1326888273","1326888274","1326888275"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/866b3e4cbe78d233d39c9de3f3a33b50.jpg","text":"TemporaryFile(/tmp/multipartBody1020790388241493250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099072621,"filename":"image_05012025_18_43_02_622127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7e4c85f3ca3d9f482305a100c075d962.jpg","text":"TemporaryFile(/tmp/multipartBody6143983384739456598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099072621,"filename":"image_05012025_18_43_02_622127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f0288e083ea4e8b4e54de71f103a89a0.jpg","text":"TemporaryFile(/tmp/multipartBody2809392606763299444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099072621,"filename":"image_05012025_18_42_02_467299_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a8815d5f405d72aa3b392503fa592e2c.jpg","text":"TemporaryFile(/tmp/multipartBody69652002867153241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099072621,"filename":"image_05012025_18_43_02_622127_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888274","file1":"1326888273","file0":"1326888272","file3":"1326888275"},"map_files_photo_id_array":[{"photo_id":"1326888274","filename":"file2"},{"photo_id":"1326888273","filename":"file1"},{"photo_id":"1326888272","filename":"file0"},{"photo_id":"1326888275","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888274":["hashtag1","hashtag2"]},{"1326888273":["hashtag1","hashtag2"]},{"1326888272":["hashtag1","hashtag2"]},{"1326888275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888274, 1326888273, 1326888272, 1326888275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.197837829589844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:44:22.609457
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/43/image_05012025_18_43_02_622127_0003.jpg', '/home/pi/Desktop/images/05012025/18/44/image_05012025_18_44_02_872684_0000.jpg', '/home/pi/Desktop/images/05012025/18/44/image_05012025_18_44_02_872684_0001.jpg', '/home/pi/Desktop/images/05012025/18/44/image_05012025_18_44_02_872684_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/18/43/image_05012025_18_43_02_622127_0003.jpg
/home/pi/Desktop/images/05012025/18/44/image_05012025_18_44_02_872684_0000.jpg
/home/pi/Desktop/images/05012025/18/44/image_05012025_18_44_02_872684_0001.jpg
/home/pi/Desktop/images/05012025/18/44/image_05012025_18_44_02_872684_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888302","1326888297","1326888301","1326888300"],"photo_ids_order":["1326888297","1326888300","1326888301","1326888302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/51ddd70ed418b3efb75ec933208a45f7.jpg","text":"TemporaryFile(/tmp/multipartBody2991956409321961292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099132787,"filename":"image_05012025_18_44_02_872684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2684a3eeda51260f4ea9ed66d03671e9.jpg","text":"TemporaryFile(/tmp/multipartBody9172124256447339009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099132787,"filename":"image_05012025_18_43_02_622127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/560e1ccaabc3ce1d0c33998585d77e42.jpg","text":"TemporaryFile(/tmp/multipartBody383747990685649387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099132787,"filename":"image_05012025_18_44_02_872684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/392e5e4bbec2f5edf5b19cb2902738db.jpg","text":"TemporaryFile(/tmp/multipartBody6059333071191226480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099132787,"filename":"image_05012025_18_44_02_872684_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888301","file1":"1326888300","file0":"1326888297","file3":"1326888302"},"map_files_photo_id_array":[{"photo_id":"1326888301","filename":"file2"},{"photo_id":"1326888300","filename":"file1"},{"photo_id":"1326888297","filename":"file0"},{"photo_id":"1326888302","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888302":["hashtag1","hashtag2"]},{"1326888297":["hashtag1","hashtag2"]},{"1326888301":["hashtag1","hashtag2"]},{"1326888300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888302, 1326888297, 1326888301, 1326888300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.767773151397705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:45:22.753632
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/44/image_05012025_18_44_02_872684_0003.jpg', '/home/pi/Desktop/images/05012025/18/45/image_05012025_18_45_02_992363_0001.jpg', '/home/pi/Desktop/images/05012025/18/45/image_05012025_18_45_02_992363_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/18/44/image_05012025_18_44_02_872684_0003.jpg
/home/pi/Desktop/images/05012025/18/45/image_05012025_18_45_02_992363_0001.jpg
/home/pi/Desktop/images/05012025/18/45/image_05012025_18_45_02_992363_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888311","1326888312","1326888309"],"photo_ids_order":["1326888309","1326888311","1326888312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9967386cb45a1ed14e680e0ef7db254.jpg","text":"TemporaryFile(/tmp/multipartBody1343687503602171258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099190445,"filename":"image_05012025_18_45_02_992363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6e4a88978cb9849ed98e0232e4c1f32e.jpg","text":"TemporaryFile(/tmp/multipartBody3144018182385700457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099190445,"filename":"image_05012025_18_45_02_992363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8a4bd9062dba49c819708c551f224dcd.jpg","text":"TemporaryFile(/tmp/multipartBody2740476517734356269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099190445,"filename":"image_05012025_18_44_02_872684_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888312","file1":"1326888311","file0":"1326888309"},"map_files_photo_id_array":[{"photo_id":"1326888312","filename":"file2"},{"photo_id":"1326888311","filename":"file1"},{"photo_id":"1326888309","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888311":["hashtag1","hashtag2"]},{"1326888312":["hashtag1","hashtag2"]},{"1326888309":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888311, 1326888312, 1326888309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.91863298416138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 18:46:02.274033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:46:21.977351
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/45/image_05012025_18_45_02_992363_0003.jpg', '/home/pi/Desktop/images/05012025/18/46/image_05012025_18_46_03_123922_0000.jpg', '/home/pi/Desktop/images/05012025/18/46/image_05012025_18_46_03_123922_0001.jpg', '/home/pi/Desktop/images/05012025/18/46/image_05012025_18_46_03_123922_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/18/45/image_05012025_18_45_02_992363_0003.jpg
/home/pi/Desktop/images/05012025/18/46/image_05012025_18_46_03_123922_0000.jpg
/home/pi/Desktop/images/05012025/18/46/image_05012025_18_46_03_123922_0001.jpg
/home/pi/Desktop/images/05012025/18/46/image_05012025_18_46_03_123922_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888323","1326888325","1326888321","1326888320"],"photo_ids_order":["1326888320","1326888321","1326888323","1326888325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a3bd409fd1f6c018a34cc14f9db8937d.jpg","text":"TemporaryFile(/tmp/multipartBody8129033504231222477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099252328,"filename":"image_05012025_18_46_03_123922_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8c89ffb8a6244bd90496a3c0bb004a70.jpg","text":"TemporaryFile(/tmp/multipartBody2487069158829121155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099252328,"filename":"image_05012025_18_46_03_123922_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2861288a5454cbb5b4d662b10d41e9c2.jpg","text":"TemporaryFile(/tmp/multipartBody6557338789154474118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099252328,"filename":"image_05012025_18_46_03_123922_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e148c63c1d2ffd7b4140cbf6a676571f.jpg","text":"TemporaryFile(/tmp/multipartBody6132672842060663167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099252328,"filename":"image_05012025_18_45_02_992363_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888323","file1":"1326888321","file0":"1326888320","file3":"1326888325"},"map_files_photo_id_array":[{"photo_id":"1326888323","filename":"file2"},{"photo_id":"1326888321","filename":"file1"},{"photo_id":"1326888320","filename":"file0"},{"photo_id":"1326888325","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888323":["hashtag1","hashtag2"]},{"1326888325":["hashtag1","hashtag2"]},{"1326888321":["hashtag1","hashtag2"]},{"1326888320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888323, 1326888325, 1326888321, 1326888320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.995163679122925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:47:22.092386
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/46/image_05012025_18_46_03_123922_0003.jpg', '/home/pi/Desktop/images/05012025/18/47/image_05012025_18_47_02_275269_0000.jpg', '/home/pi/Desktop/images/05012025/18/47/image_05012025_18_47_02_275269_0001.jpg', '/home/pi/Desktop/images/05012025/18/47/image_05012025_18_47_02_275269_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/18/46/image_05012025_18_46_03_123922_0003.jpg
/home/pi/Desktop/images/05012025/18/47/image_05012025_18_47_02_275269_0000.jpg
/home/pi/Desktop/images/05012025/18/47/image_05012025_18_47_02_275269_0001.jpg
/home/pi/Desktop/images/05012025/18/47/image_05012025_18_47_02_275269_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888331","1326888334","1326888336","1326888332"],"photo_ids_order":["1326888331","1326888332","1326888334","1326888336"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5e0be37e8697cf7ccfdbf7e385d5113a.jpg","text":"TemporaryFile(/tmp/multipartBody8031966685421542919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099312386,"filename":"image_05012025_18_46_03_123922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad27e47f8b3f336a79d9e9aff72479bd.jpg","text":"TemporaryFile(/tmp/multipartBody7741547814004363621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099312386,"filename":"image_05012025_18_47_02_275269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/81331911d9b3ab2177f1bc212d280d0c.jpg","text":"TemporaryFile(/tmp/multipartBody1792141117556128858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099312386,"filename":"image_05012025_18_47_02_275269_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8a7760e57cd5f543125a090c03d5763a.jpg","text":"TemporaryFile(/tmp/multipartBody3347453078995647875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099312386,"filename":"image_05012025_18_47_02_275269_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888334","file1":"1326888332","file0":"1326888331","file3":"1326888336"},"map_files_photo_id_array":[{"photo_id":"1326888334","filename":"file2"},{"photo_id":"1326888332","filename":"file1"},{"photo_id":"1326888331","filename":"file0"},{"photo_id":"1326888336","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888331":["hashtag1","hashtag2"]},{"1326888334":["hashtag1","hashtag2"]},{"1326888336":["hashtag1","hashtag2"]},{"1326888332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888331, 1326888334, 1326888336, 1326888332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.07690191268921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:48:22.306368
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/47/image_05012025_18_47_02_275269_0003.jpg', '/home/pi/Desktop/images/05012025/18/48/image_05012025_18_48_02_454981_0000.jpg', '/home/pi/Desktop/images/05012025/18/48/image_05012025_18_48_02_454981_0001.jpg', '/home/pi/Desktop/images/05012025/18/48/image_05012025_18_48_02_454981_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/18/47/image_05012025_18_47_02_275269_0003.jpg
/home/pi/Desktop/images/05012025/18/48/image_05012025_18_48_02_454981_0000.jpg
/home/pi/Desktop/images/05012025/18/48/image_05012025_18_48_02_454981_0001.jpg
/home/pi/Desktop/images/05012025/18/48/image_05012025_18_48_02_454981_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888343","1326888346","1326888348","1326888344"],"photo_ids_order":["1326888343","1326888344","1326888346","1326888348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b1cf07e289740cdb24a2b7faa924478.jpg","text":"TemporaryFile(/tmp/multipartBody4020242660901337152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099372562,"filename":"image_05012025_18_47_02_275269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6c26dd2d7bed07acc4ad37ed7100fc7e.jpg","text":"TemporaryFile(/tmp/multipartBody4323140162677896618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099372562,"filename":"image_05012025_18_48_02_454981_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7708cc3504dd3fe4f635edaf4a93bdc0.jpg","text":"TemporaryFile(/tmp/multipartBody2237494497956910546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099372562,"filename":"image_05012025_18_48_02_454981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c7bc66ea6aa0fcd77d162b747929709e.jpg","text":"TemporaryFile(/tmp/multipartBody9036637946040038963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099372562,"filename":"image_05012025_18_48_02_454981_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888346","file1":"1326888344","file0":"1326888343","file3":"1326888348"},"map_files_photo_id_array":[{"photo_id":"1326888346","filename":"file2"},{"photo_id":"1326888344","filename":"file1"},{"photo_id":"1326888343","filename":"file0"},{"photo_id":"1326888348","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888343":["hashtag1","hashtag2"]},{"1326888346":["hashtag1","hashtag2"]},{"1326888348":["hashtag1","hashtag2"]},{"1326888344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888343, 1326888346, 1326888348, 1326888344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.953805685043335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:49:22.460478
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/48/image_05012025_18_48_02_454981_0003.jpg', '/home/pi/Desktop/images/05012025/18/49/image_05012025_18_49_02_619348_0000.jpg', '/home/pi/Desktop/images/05012025/18/49/image_05012025_18_49_02_619348_0001.jpg', '/home/pi/Desktop/images/05012025/18/49/image_05012025_18_49_02_619348_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/18/48/image_05012025_18_48_02_454981_0003.jpg
/home/pi/Desktop/images/05012025/18/49/image_05012025_18_49_02_619348_0000.jpg
/home/pi/Desktop/images/05012025/18/49/image_05012025_18_49_02_619348_0001.jpg
/home/pi/Desktop/images/05012025/18/49/image_05012025_18_49_02_619348_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888361","1326888360","1326888357","1326888359"],"photo_ids_order":["1326888357","1326888359","1326888360","1326888361"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5cf628afe5df8aa2a389dc2363a45074.jpg","text":"TemporaryFile(/tmp/multipartBody2978280679355096774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099432638,"filename":"image_05012025_18_49_02_619348_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e1be2d8066da63a1a836ea9000ad7f2a.jpg","text":"TemporaryFile(/tmp/multipartBody1448718828216926041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099432638,"filename":"image_05012025_18_49_02_619348_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/299f8bf8c60ae8d2230fdeee0a432dfc.jpg","text":"TemporaryFile(/tmp/multipartBody507104583136334401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099432638,"filename":"image_05012025_18_48_02_454981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e7cd9bf788c4ba2cabca8bd6b37d6e43.jpg","text":"TemporaryFile(/tmp/multipartBody1488973376243691147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099432638,"filename":"image_05012025_18_49_02_619348_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888360","file1":"1326888359","file0":"1326888357","file3":"1326888361"},"map_files_photo_id_array":[{"photo_id":"1326888360","filename":"file2"},{"photo_id":"1326888359","filename":"file1"},{"photo_id":"1326888357","filename":"file0"},{"photo_id":"1326888361","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888361":["hashtag1","hashtag2"]},{"1326888360":["hashtag1","hashtag2"]},{"1326888357":["hashtag1","hashtag2"]},{"1326888359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888361, 1326888360, 1326888357, 1326888359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.69315695762634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:50:22.637469
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/49/image_05012025_18_49_02_619348_0003.jpg', '/home/pi/Desktop/images/05012025/18/50/image_05012025_18_50_02_828363_0000.jpg', '/home/pi/Desktop/images/05012025/18/50/image_05012025_18_50_02_828363_0001.jpg', '/home/pi/Desktop/images/05012025/18/50/image_05012025_18_50_02_828363_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/18/49/image_05012025_18_49_02_619348_0003.jpg
/home/pi/Desktop/images/05012025/18/50/image_05012025_18_50_02_828363_0000.jpg
/home/pi/Desktop/images/05012025/18/50/image_05012025_18_50_02_828363_0001.jpg
/home/pi/Desktop/images/05012025/18/50/image_05012025_18_50_02_828363_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.712122201919556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 18:50:42.586795
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/49/image_05012025_18_49_02_619348_0003.jpg', '/home/pi/Desktop/images/05012025/18/50/image_05012025_18_50_02_828363_0000.jpg', '/home/pi/Desktop/images/05012025/18/50/image_05012025_18_50_02_828363_0001.jpg', '/home/pi/Desktop/images/05012025/18/50/image_05012025_18_50_02_828363_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/18/49/image_05012025_18_49_02_619348_0003.jpg
/home/pi/Desktop/images/05012025/18/50/image_05012025_18_50_02_828363_0000.jpg
/home/pi/Desktop/images/05012025/18/50/image_05012025_18_50_02_828363_0001.jpg
/home/pi/Desktop/images/05012025/18/50/image_05012025_18_50_02_828363_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888376","1326888372","1326888374","1326888371"],"photo_ids_order":["1326888371","1326888372","1326888374","1326888376"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/33f64f21d33763d24ccff804df2391e5.jpg","text":"TemporaryFile(/tmp/multipartBody4999044269827567966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099512680,"filename":"image_05012025_18_50_02_828363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/78b5d118eed35d9fd9cf4098c41198e9.jpg","text":"TemporaryFile(/tmp/multipartBody1821115540009622601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099512680,"filename":"image_05012025_18_50_02_828363_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/197c1b268fd976ee720d34e6bd6cb1c3.jpg","text":"TemporaryFile(/tmp/multipartBody4005837343821367184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099512680,"filename":"image_05012025_18_50_02_828363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/69deb8735c5712bd8a298a7c3f09df51.jpg","text":"TemporaryFile(/tmp/multipartBody6264802282435365453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099512680,"filename":"image_05012025_18_49_02_619348_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888374","file1":"1326888372","file0":"1326888371","file3":"1326888376"},"map_files_photo_id_array":[{"photo_id":"1326888374","filename":"file2"},{"photo_id":"1326888372","filename":"file1"},{"photo_id":"1326888371","filename":"file0"},{"photo_id":"1326888376","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888376":["hashtag1","hashtag2"]},{"1326888372":["hashtag1","hashtag2"]},{"1326888374":["hashtag1","hashtag2"]},{"1326888371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888376, 1326888372, 1326888374, 1326888371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.70651578903198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 18:51:31.820736
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/50/image_05012025_18_50_02_828363_0003.jpg', '/home/pi/Desktop/images/05012025/18/51/image_05012025_18_51_02_956793_0000.jpg', '/home/pi/Desktop/images/05012025/18/51/image_05012025_18_51_02_956793_0001.jpg', '/home/pi/Desktop/images/05012025/18/51/image_05012025_18_51_02_956793_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/18/50/image_05012025_18_50_02_828363_0003.jpg
/home/pi/Desktop/images/05012025/18/51/image_05012025_18_51_02_956793_0000.jpg
/home/pi/Desktop/images/05012025/18/51/image_05012025_18_51_02_956793_0001.jpg
/home/pi/Desktop/images/05012025/18/51/image_05012025_18_51_02_956793_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888385","1326888382","1326888387","1326888386"],"photo_ids_order":["1326888382","1326888385","1326888386","1326888387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c3b61d0b34123718cfdbb9c7bc71977d.jpg","text":"TemporaryFile(/tmp/multipartBody9039732025450472986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099562207,"filename":"image_05012025_18_51_02_956793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/472dd546732411601e24fc172199672c.jpg","text":"TemporaryFile(/tmp/multipartBody5336154265548163497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099562207,"filename":"image_05012025_18_50_02_828363_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cb3481548d9165a05e67d50169757350.jpg","text":"TemporaryFile(/tmp/multipartBody1677620464903571483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099562207,"filename":"image_05012025_18_51_02_956793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f3fe8f006de338ca890d363702210e1.jpg","text":"TemporaryFile(/tmp/multipartBody4479675890049397689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099562207,"filename":"image_05012025_18_51_02_956793_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888386","file1":"1326888385","file0":"1326888382","file3":"1326888387"},"map_files_photo_id_array":[{"photo_id":"1326888386","filename":"file2"},{"photo_id":"1326888385","filename":"file1"},{"photo_id":"1326888382","filename":"file0"},{"photo_id":"1326888387","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888385":["hashtag1","hashtag2"]},{"1326888382":["hashtag1","hashtag2"]},{"1326888387":["hashtag1","hashtag2"]},{"1326888386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888385, 1326888382, 1326888387, 1326888386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.6916880607605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:52:21.937426
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/51/image_05012025_18_51_02_956793_0003.jpg', '/home/pi/Desktop/images/05012025/18/52/image_05012025_18_52_02_194262_0000.jpg', '/home/pi/Desktop/images/05012025/18/52/image_05012025_18_52_02_194262_0001.jpg', '/home/pi/Desktop/images/05012025/18/52/image_05012025_18_52_02_194262_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/18/51/image_05012025_18_51_02_956793_0003.jpg
/home/pi/Desktop/images/05012025/18/52/image_05012025_18_52_02_194262_0000.jpg
/home/pi/Desktop/images/05012025/18/52/image_05012025_18_52_02_194262_0001.jpg
/home/pi/Desktop/images/05012025/18/52/image_05012025_18_52_02_194262_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888397","1326888396","1326888399","1326888395"],"photo_ids_order":["1326888395","1326888396","1326888397","1326888399"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/978c659aa448f3beb214c477a49671d2.jpg","text":"TemporaryFile(/tmp/multipartBody8736510872361880856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099612089,"filename":"image_05012025_18_52_02_194262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9092216d0f3e931e2a24855fd8cc3709.jpg","text":"TemporaryFile(/tmp/multipartBody7299633459282820121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099612089,"filename":"image_05012025_18_52_02_194262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b7febaab4153e512bba2a4fd9b7ce25e.jpg","text":"TemporaryFile(/tmp/multipartBody5204212907517008629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099612089,"filename":"image_05012025_18_52_02_194262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a34d82d231f78f6680cfcb2060853615.jpg","text":"TemporaryFile(/tmp/multipartBody8898077242885186642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099612089,"filename":"image_05012025_18_51_02_956793_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888397","file1":"1326888396","file0":"1326888395","file3":"1326888399"},"map_files_photo_id_array":[{"photo_id":"1326888397","filename":"file2"},{"photo_id":"1326888396","filename":"file1"},{"photo_id":"1326888395","filename":"file0"},{"photo_id":"1326888399","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888397":["hashtag1","hashtag2"]},{"1326888396":["hashtag1","hashtag2"]},{"1326888399":["hashtag1","hashtag2"]},{"1326888395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888397, 1326888396, 1326888399, 1326888395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.992504358291626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:53:22.189241
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/52/image_05012025_18_52_02_194262_0003.jpg', '/home/pi/Desktop/images/05012025/18/53/image_05012025_18_53_02_339581_0000.jpg', '/home/pi/Desktop/images/05012025/18/53/image_05012025_18_53_02_339581_0001.jpg', '/home/pi/Desktop/images/05012025/18/53/image_05012025_18_53_02_339581_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/18/52/image_05012025_18_52_02_194262_0003.jpg
/home/pi/Desktop/images/05012025/18/53/image_05012025_18_53_02_339581_0000.jpg
/home/pi/Desktop/images/05012025/18/53/image_05012025_18_53_02_339581_0001.jpg
/home/pi/Desktop/images/05012025/18/53/image_05012025_18_53_02_339581_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888410","1326888412","1326888409","1326888414"],"photo_ids_order":["1326888409","1326888410","1326888412","1326888414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f3c1de951255bb8b9d7030da0910a55d.jpg","text":"TemporaryFile(/tmp/multipartBody1898593657783234488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099672370,"filename":"image_05012025_18_53_02_339581_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a28b89f61894286e14a30faa57ef71a9.jpg","text":"TemporaryFile(/tmp/multipartBody6731205268942321493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099672370,"filename":"image_05012025_18_53_02_339581_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/500d0be0dd0cd0b42ed71b1ce3ab0f03.jpg","text":"TemporaryFile(/tmp/multipartBody1357309540177196881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099672370,"filename":"image_05012025_18_52_02_194262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/97a8bab8d9e8505feb767ca60f6aa094.jpg","text":"TemporaryFile(/tmp/multipartBody940205525804718740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099672370,"filename":"image_05012025_18_53_02_339581_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888412","file1":"1326888410","file0":"1326888409","file3":"1326888414"},"map_files_photo_id_array":[{"photo_id":"1326888412","filename":"file2"},{"photo_id":"1326888410","filename":"file1"},{"photo_id":"1326888409","filename":"file0"},{"photo_id":"1326888414","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888410":["hashtag1","hashtag2"]},{"1326888412":["hashtag1","hashtag2"]},{"1326888409":["hashtag1","hashtag2"]},{"1326888414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888410, 1326888412, 1326888409, 1326888414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.87801456451416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:54:22.331778
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/53/image_05012025_18_53_02_339581_0003.jpg', '/home/pi/Desktop/images/05012025/18/54/image_05012025_18_54_02_497510_0000.jpg', '/home/pi/Desktop/images/05012025/18/54/image_05012025_18_54_02_497510_0001.jpg', '/home/pi/Desktop/images/05012025/18/54/image_05012025_18_54_02_497510_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/18/53/image_05012025_18_53_02_339581_0003.jpg
/home/pi/Desktop/images/05012025/18/54/image_05012025_18_54_02_497510_0000.jpg
/home/pi/Desktop/images/05012025/18/54/image_05012025_18_54_02_497510_0001.jpg
/home/pi/Desktop/images/05012025/18/54/image_05012025_18_54_02_497510_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888422","1326888427","1326888423","1326888425"],"photo_ids_order":["1326888422","1326888423","1326888425","1326888427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b862f2bc591b9a6bd03934256e2bf4a6.jpg","text":"TemporaryFile(/tmp/multipartBody2891362787767148750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099732500,"filename":"image_05012025_18_53_02_339581_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/22808a43fa232cd5ec50e7dd7ba1a7a5.jpg","text":"TemporaryFile(/tmp/multipartBody1699576152956879364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099732500,"filename":"image_05012025_18_54_02_497510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1816a828227802ffb5057dab1f56b916.jpg","text":"TemporaryFile(/tmp/multipartBody2751859219974201636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099732500,"filename":"image_05012025_18_54_02_497510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5873981dabc1988624f3afd53268e8e7.jpg","text":"TemporaryFile(/tmp/multipartBody2933546485165681728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099732500,"filename":"image_05012025_18_54_02_497510_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888425","file1":"1326888423","file0":"1326888422","file3":"1326888427"},"map_files_photo_id_array":[{"photo_id":"1326888425","filename":"file2"},{"photo_id":"1326888423","filename":"file1"},{"photo_id":"1326888422","filename":"file0"},{"photo_id":"1326888427","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888422":["hashtag1","hashtag2"]},{"1326888427":["hashtag1","hashtag2"]},{"1326888423":["hashtag1","hashtag2"]},{"1326888425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888422, 1326888427, 1326888423, 1326888425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.44500708580017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:55:22.461426
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/54/image_05012025_18_54_02_497510_0003.jpg', '/home/pi/Desktop/images/05012025/18/55/image_05012025_18_55_02_629806_0000.jpg', '/home/pi/Desktop/images/05012025/18/55/image_05012025_18_55_02_629806_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/18/54/image_05012025_18_54_02_497510_0003.jpg
/home/pi/Desktop/images/05012025/18/55/image_05012025_18_55_02_629806_0000.jpg
/home/pi/Desktop/images/05012025/18/55/image_05012025_18_55_02_629806_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":["1326888442","1326888438","1326888443"],"photo_ids_order":["1326888438","1326888442","1326888443"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/27966b0c9dee2c3fc16fcb250c8dc779.jpg","text":"TemporaryFile(/tmp/multipartBody1358927221449364184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099790202,"filename":"image_05012025_18_55_02_629806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/90f6a3240bcd50dd7ab9657a62f57341.jpg","text":"TemporaryFile(/tmp/multipartBody7156515377133045889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099790202,"filename":"image_05012025_18_54_02_497510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/783fd1cde0b26c1a59239dbcafa39e8d.jpg","text":"TemporaryFile(/tmp/multipartBody8216782950055050378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099790202,"filename":"image_05012025_18_55_02_629806_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888443","file1":"1326888442","file0":"1326888438"},"map_files_photo_id_array":[{"photo_id":"1326888443","filename":"file2"},{"photo_id":"1326888442","filename":"file1"},{"photo_id":"1326888438","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888442":["hashtag1","hashtag2"]},{"1326888438":["hashtag1","hashtag2"]},{"1326888443":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888442, 1326888438, 1326888443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.72640299797058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 18:56:02.988750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 18:56:22.726054
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/55/image_05012025_18_55_02_629806_0002.jpg', '/home/pi/Desktop/images/05012025/18/56/image_05012025_18_56_02_816208_0000.jpg', '/home/pi/Desktop/images/05012025/18/56/image_05012025_18_56_02_816208_0001.jpg', '/home/pi/Desktop/images/05012025/18/56/image_05012025_18_56_02_816208_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/18/55/image_05012025_18_55_02_629806_0002.jpg
/home/pi/Desktop/images/05012025/18/56/image_05012025_18_56_02_816208_0000.jpg
/home/pi/Desktop/images/05012025/18/56/image_05012025_18_56_02_816208_0001.jpg
/home/pi/Desktop/images/05012025/18/56/image_05012025_18_56_02_816208_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.742605924606323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 18:56:42.669178
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/55/image_05012025_18_55_02_629806_0002.jpg', '/home/pi/Desktop/images/05012025/18/56/image_05012025_18_56_02_816208_0000.jpg', '/home/pi/Desktop/images/05012025/18/56/image_05012025_18_56_02_816208_0001.jpg', '/home/pi/Desktop/images/05012025/18/56/image_05012025_18_56_02_816208_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/18/55/image_05012025_18_55_02_629806_0002.jpg
/home/pi/Desktop/images/05012025/18/56/image_05012025_18_56_02_816208_0000.jpg
/home/pi/Desktop/images/05012025/18/56/image_05012025_18_56_02_816208_0001.jpg
/home/pi/Desktop/images/05012025/18/56/image_05012025_18_56_02_816208_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326888928","1326888907","1326888954","1326888951"],"photo_ids_order":["1326888907","1326888928","1326888951","1326888954"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f4383035ebb2114edc58fbc7c6bdc966.jpg","text":"TemporaryFile(/tmp/multipartBody6152847880652553791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099872867,"filename":"image_05012025_18_56_02_816208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6060c9512e6b1cd336592ccdb100c45d.jpg","text":"TemporaryFile(/tmp/multipartBody3118920751968019133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099872867,"filename":"image_05012025_18_55_02_629806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/abfec415947c5a5683ed5dbd9db53962.jpg","text":"TemporaryFile(/tmp/multipartBody7564626169400203409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099872867,"filename":"image_05012025_18_56_02_816208_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/af2538cdb5d3cf920d94a958f5a85098.jpg","text":"TemporaryFile(/tmp/multipartBody452809271696980223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736099872867,"filename":"image_05012025_18_56_02_816208_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326888951","file1":"1326888928","file0":"1326888907","file3":"1326888954"},"map_files_photo_id_array":[{"photo_id":"1326888951","filename":"file2"},{"photo_id":"1326888928","filename":"file1"},{"photo_id":"1326888907","filename":"file0"},{"photo_id":"1326888954","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326888928":["hashtag1","hashtag2"]},{"1326888907":["hashtag1","hashtag2"]},{"1326888954":["hashtag1","hashtag2"]},{"1326888951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326888928, 1326888907, 1326888954, 1326888951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.02475547790527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 18:57:31.849602
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/18/56/image_05012025_18_56_02_816208_0003.jpg', '/home/pi/Desktop/images/05012025/18/57/image_05012025_18_57_03_050653_0000.jpg', '/home/pi/Desktop/images/05012025/18/57/image_05012025_18_57_03_050653_0001.jpg', '/home/pi/Desktop/images/05012025/18/57/image_05012025_18_57_03_050653_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/18/56/image_05012025_18_56_02_816208_0003.jpg
/home/pi/Desktop/images/05012025/18/57/image_05012025_18_57_03_050653_0000.jpg
/home/pi/Desktop/images/05012025/18/57/image_05012025_18_57_03_050653_0001.jpg
/home/pi/Desktop/images/05012025/18/57/image_05012025_18_57_03_050653_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-05 18:59:02.846792
SELECT 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/18/56/image_05012025_18_56_02_816208_0003.jpg', '/home/pi/Desktop/images/05012025/18/57/image_05012025_18_57_03_050653_0000.jpg', '/home/pi/Desktop/images/05012025/18/57/image_05012025_18_57_03_050653_0001.jpg', '/home/pi/Desktop/images/05012025/18/57/image_05012025_18_57_03_050653_0002.jpg', '/home/pi/Desktop/images/05012025/18/57/image_05012025_18_57_03_050653_0003.jpg', '/home/pi/Desktop/images/05012025/18/58/image_05012025_18_58_02_228940_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/18/56/image_05012025_18_56_02_816208_0003.jpg
/home/pi/Desktop/images/05012025/18/57/image_05012025_18_57_03_050653_0000.jpg
/home/pi/Desktop/images/05012025/18/57/image_05012025_18_57_03_050653_0001.jpg
/home/pi/Desktop/images/05012025/18/57/image_05012025_18_57_03_050653_0002.jpg
/home/pi/Desktop/images/05012025/18/57/image_05012025_18_57_03_050653_0003.jpg
/home/pi/Desktop/images/05012025/18/58/image_05012025_18_58_02_228940_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":["1326889426","1326889423","1326889417","1326889428","1326889421","1326889427"],"photo_ids_order":["1326889417","1326889421","1326889423","1326889426","1326889427","1326889428"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f71633e007de19e4357aee4a53d81c8.jpg","text":"TemporaryFile(/tmp/multipartBody1618372600543260507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100017700,"filename":"image_05012025_18_57_03_050653_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/932316d4054729ef31678ccd1b987f13.jpg","text":"TemporaryFile(/tmp/multipartBody2147688441635225626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100017700,"filename":"image_05012025_18_57_03_050653_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8a06a9a26950cb126bf3eafe46aaf247.jpg","text":"TemporaryFile(/tmp/multipartBody319129602488019479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100017700,"filename":"image_05012025_18_56_02_816208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7c2a36b45bbab2f6a1685958011bcfe1.jpg","text":"TemporaryFile(/tmp/multipartBody8907130142518394631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100017700,"filename":"image_05012025_18_58_02_228940_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/39f9265f6914ef2a32538e59e3c169df.jpg","text":"TemporaryFile(/tmp/multipartBody9157502465281224844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100017700,"filename":"image_05012025_18_57_03_050653_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e4733d6f6c6733298fe2b25ff9b32798.jpg","text":"TemporaryFile(/tmp/multipartBody1384451838137324286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100017700,"filename":"image_05012025_18_57_03_050653_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889423","file1":"1326889421","file0":"1326889417","file4":"1326889427","file5":"1326889428","file3":"1326889426"},"map_files_photo_id_array":[{"photo_id":"1326889428","filename":"file5"},{"photo_id":"1326889423","filename":"file2"},{"photo_id":"1326889427","filename":"file4"},{"photo_id":"1326889421","filename":"file1"},{"photo_id":"1326889417","filename":"file0"},{"photo_id":"1326889426","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889426":["hashtag1","hashtag2"]},{"1326889423":["hashtag1","hashtag2"]},{"1326889417":["hashtag1","hashtag2"]},{"1326889428":["hashtag1","hashtag2"]},{"1326889421":["hashtag1","hashtag2"]},{"1326889427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889426, 1326889423, 1326889417, 1326889428, 1326889421, 1326889427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.590210914611816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:00:22.453782
SELECT 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/18/58/image_05012025_18_58_02_228940_0001.jpg', '/home/pi/Desktop/images/05012025/18/58/image_05012025_18_58_02_228940_0002.jpg', '/home/pi/Desktop/images/05012025/18/58/image_05012025_18_58_02_228940_0003.jpg', '/home/pi/Desktop/images/05012025/18/59/image_05012025_18_59_02_469947_0000.jpg', '/home/pi/Desktop/images/05012025/18/59/image_05012025_18_59_02_469947_0001.jpg', '/home/pi/Desktop/images/05012025/18/59/image_05012025_18_59_02_469947_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/18/58/image_05012025_18_58_02_228940_0001.jpg
/home/pi/Desktop/images/05012025/18/58/image_05012025_18_58_02_228940_0002.jpg
/home/pi/Desktop/images/05012025/18/58/image_05012025_18_58_02_228940_0003.jpg
/home/pi/Desktop/images/05012025/18/59/image_05012025_18_59_02_469947_0000.jpg
/home/pi/Desktop/images/05012025/18/59/image_05012025_18_59_02_469947_0001.jpg
/home/pi/Desktop/images/05012025/18/59/image_05012025_18_59_02_469947_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889441","1326889435","1326889443","1326889437","1326889445","1326889439"],"photo_ids_order":["1326889435","1326889437","1326889439","1326889441","1326889443","1326889445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d8401ffceb782504a4f2bcb4d9fc2f16.jpg","text":"TemporaryFile(/tmp/multipartBody5684470094066341131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100097303,"filename":"image_05012025_18_59_02_469947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/33844765bf424ef116c6de1ce76f9446.jpg","text":"TemporaryFile(/tmp/multipartBody4077383568367470765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100097303,"filename":"image_05012025_18_58_02_228940_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5346f4052c0a80e3e99704f759b6d2d0.jpg","text":"TemporaryFile(/tmp/multipartBody8743027385656875970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100097303,"filename":"image_05012025_18_59_02_469947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/719a54e58c8fdc45d3237fa8890df512.jpg","text":"TemporaryFile(/tmp/multipartBody3599989359685311301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100097303,"filename":"image_05012025_18_58_02_228940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/57fb52b684b0c928ac7dfa1005f11d2c.jpg","text":"TemporaryFile(/tmp/multipartBody4099178219835865746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100097303,"filename":"image_05012025_18_59_02_469947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/91416b71d90f680f31b06e8721423b3a.jpg","text":"TemporaryFile(/tmp/multipartBody6047612317920425619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100097303,"filename":"image_05012025_18_58_02_228940_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889439","file1":"1326889437","file0":"1326889435","file4":"1326889443","file5":"1326889445","file3":"1326889441"},"map_files_photo_id_array":[{"photo_id":"1326889445","filename":"file5"},{"photo_id":"1326889439","filename":"file2"},{"photo_id":"1326889443","filename":"file4"},{"photo_id":"1326889437","filename":"file1"},{"photo_id":"1326889435","filename":"file0"},{"photo_id":"1326889441","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889441":["hashtag1","hashtag2"]},{"1326889435":["hashtag1","hashtag2"]},{"1326889443":["hashtag1","hashtag2"]},{"1326889437":["hashtag1","hashtag2"]},{"1326889445":["hashtag1","hashtag2"]},{"1326889439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889441, 1326889435, 1326889443, 1326889437, 1326889445, 1326889439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.80435013771057 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:01:22.631390
SELECT 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/18/59/image_05012025_18_59_02_469947_0003.jpg', '/home/pi/Desktop/images/05012025/19/00/image_05012025_19_00_02_618591_0000.jpg', '/home/pi/Desktop/images/05012025/19/00/image_05012025_19_00_02_618591_0001.jpg', '/home/pi/Desktop/images/05012025/19/00/image_05012025_19_00_02_618591_0002.jpg', '/home/pi/Desktop/images/05012025/19/00/image_05012025_19_00_02_618591_0003.jpg', '/home/pi/Desktop/images/05012025/19/01/image_05012025_19_01_02_800202_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/18/59/image_05012025_18_59_02_469947_0003.jpg
/home/pi/Desktop/images/05012025/19/00/image_05012025_19_00_02_618591_0000.jpg
/home/pi/Desktop/images/05012025/19/00/image_05012025_19_00_02_618591_0001.jpg
/home/pi/Desktop/images/05012025/19/00/image_05012025_19_00_02_618591_0002.jpg
/home/pi/Desktop/images/05012025/19/00/image_05012025_19_00_02_618591_0003.jpg
/home/pi/Desktop/images/05012025/19/01/image_05012025_19_01_02_800202_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":["1326889453","1326889461","1326889455","1326889457","1326889451","1326889459"],"photo_ids_order":["1326889451","1326889453","1326889455","1326889457","1326889459","1326889461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8c81740b184b5a5599b027be06474355.jpg","text":"TemporaryFile(/tmp/multipartBody7307223321309676703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100157657,"filename":"image_05012025_19_00_02_618591_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/efd291d7fdc1e2b397b6c91e5c514781.jpg","text":"TemporaryFile(/tmp/multipartBody2551112436440269404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100157657,"filename":"image_05012025_19_01_02_800202_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/42f0c640549ec579967d847c4cb6dc4b.jpg","text":"TemporaryFile(/tmp/multipartBody4147103204552717691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100157657,"filename":"image_05012025_19_00_02_618591_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ea502c3d59bc67c2fa10d217e2f4b067.jpg","text":"TemporaryFile(/tmp/multipartBody4689188510054271147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100157657,"filename":"image_05012025_19_00_02_618591_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/77cd4afcec65d924030c551e25120585.jpg","text":"TemporaryFile(/tmp/multipartBody5047239217798711617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100157657,"filename":"image_05012025_18_59_02_469947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d128f4a2fcb1c0fb8085064431dcb1f4.jpg","text":"TemporaryFile(/tmp/multipartBody8125681938853091353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100157657,"filename":"image_05012025_19_00_02_618591_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889455","file1":"1326889453","file0":"1326889451","file4":"1326889459","file5":"1326889461","file3":"1326889457"},"map_files_photo_id_array":[{"photo_id":"1326889461","filename":"file5"},{"photo_id":"1326889455","filename":"file2"},{"photo_id":"1326889459","filename":"file4"},{"photo_id":"1326889453","filename":"file1"},{"photo_id":"1326889451","filename":"file0"},{"photo_id":"1326889457","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889453":["hashtag1","hashtag2"]},{"1326889461":["hashtag1","hashtag2"]},{"1326889455":["hashtag1","hashtag2"]},{"1326889457":["hashtag1","hashtag2"]},{"1326889451":["hashtag1","hashtag2"]},{"1326889459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889453, 1326889461, 1326889455, 1326889457, 1326889451, 1326889459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.06186485290527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 19:02:32.752922
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/01/image_05012025_19_01_02_800202_0001.jpg', '/home/pi/Desktop/images/05012025/19/01/image_05012025_19_01_02_800202_0003.jpg', '/home/pi/Desktop/images/05012025/19/02/image_05012025_19_02_02_905419_0000.jpg', '/home/pi/Desktop/images/05012025/19/02/image_05012025_19_02_02_905419_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/19/01/image_05012025_19_01_02_800202_0001.jpg
/home/pi/Desktop/images/05012025/19/01/image_05012025_19_01_02_800202_0003.jpg
/home/pi/Desktop/images/05012025/19/02/image_05012025_19_02_02_905419_0000.jpg
/home/pi/Desktop/images/05012025/19/02/image_05012025_19_02_02_905419_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":["1326889468","1326889470","1326889464","1326889466"],"photo_ids_order":["1326889464","1326889466","1326889468","1326889470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6a3d8435e1f6d57ed7b6c79ce6e5761f.jpg","text":"TemporaryFile(/tmp/multipartBody779737394605815771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100222847,"filename":"image_05012025_19_02_02_905419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c11bbcd793b4eeb73fffff3fcf59638f.jpg","text":"TemporaryFile(/tmp/multipartBody678894126503324170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100222847,"filename":"image_05012025_19_02_02_905419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9af5f731bf4e57fdf7fff2168326e4bf.jpg","text":"TemporaryFile(/tmp/multipartBody4058962832589054786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100222847,"filename":"image_05012025_19_01_02_800202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/89cda0ff9b1599494c578975c26ac7c1.jpg","text":"TemporaryFile(/tmp/multipartBody6788971293055609629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100222847,"filename":"image_05012025_19_01_02_800202_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889468","file1":"1326889466","file0":"1326889464","file3":"1326889470"},"map_files_photo_id_array":[{"photo_id":"1326889468","filename":"file2"},{"photo_id":"1326889466","filename":"file1"},{"photo_id":"1326889464","filename":"file0"},{"photo_id":"1326889470","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889468":["hashtag1","hashtag2"]},{"1326889470":["hashtag1","hashtag2"]},{"1326889464":["hashtag1","hashtag2"]},{"1326889466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889468, 1326889470, 1326889464, 1326889466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26345753669739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:03:21.955588
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/02/image_05012025_19_02_02_905419_0002.jpg', '/home/pi/Desktop/images/05012025/19/03/image_05012025_19_03_03_104486_0000.jpg', '/home/pi/Desktop/images/05012025/19/03/image_05012025_19_03_03_104486_0001.jpg', '/home/pi/Desktop/images/05012025/19/03/image_05012025_19_03_03_104486_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/19/02/image_05012025_19_02_02_905419_0002.jpg
/home/pi/Desktop/images/05012025/19/03/image_05012025_19_03_03_104486_0000.jpg
/home/pi/Desktop/images/05012025/19/03/image_05012025_19_03_03_104486_0001.jpg
/home/pi/Desktop/images/05012025/19/03/image_05012025_19_03_03_104486_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889482","1326889479","1326889481","1326889483"],"photo_ids_order":["1326889479","1326889481","1326889482","1326889483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/543c7208ec273fb932302e0e1eedf36b.jpg","text":"TemporaryFile(/tmp/multipartBody5670974486681408639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100272015,"filename":"image_05012025_19_03_03_104486_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6286dd7cdf52b2d8657cb49c56f6ad4d.jpg","text":"TemporaryFile(/tmp/multipartBody8846068979909222872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100272015,"filename":"image_05012025_19_02_02_905419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c3da79fce18e0236b6438db87df0021.jpg","text":"TemporaryFile(/tmp/multipartBody973446176905394599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100272015,"filename":"image_05012025_19_03_03_104486_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3085d4845fb6ca23b61b5fc1eb25f51e.jpg","text":"TemporaryFile(/tmp/multipartBody1480654868329758315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100272015,"filename":"image_05012025_19_03_03_104486_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889482","file1":"1326889481","file0":"1326889479","file3":"1326889483"},"map_files_photo_id_array":[{"photo_id":"1326889482","filename":"file2"},{"photo_id":"1326889481","filename":"file1"},{"photo_id":"1326889479","filename":"file0"},{"photo_id":"1326889483","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889482":["hashtag1","hashtag2"]},{"1326889479":["hashtag1","hashtag2"]},{"1326889481":["hashtag1","hashtag2"]},{"1326889483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889482, 1326889479, 1326889481, 1326889483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 49.598222970962524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:04:22.209950
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/03/image_05012025_19_03_03_104486_0003.jpg', '/home/pi/Desktop/images/05012025/19/04/image_05012025_19_04_02_293595_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/19/03/image_05012025_19_03_03_104486_0003.jpg
/home/pi/Desktop/images/05012025/19/04/image_05012025_19_04_02_293595_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":["1326889490","1326889492"],"photo_ids_order":["1326889490","1326889492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e33ab819b0f2cb82a45e4a919778e3cd.jpg","text":"TemporaryFile(/tmp/multipartBody554867290507431395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100327587,"filename":"image_05012025_19_03_03_104486_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bfc0738f6234e67504f9a7e5220bb0bd.jpg","text":"TemporaryFile(/tmp/multipartBody7791084332281825231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100327587,"filename":"image_05012025_19_04_02_293595_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326889492","file0":"1326889490"},"map_files_photo_id_array":[{"photo_id":"1326889492","filename":"file1"},{"photo_id":"1326889490","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889490":["hashtag1","hashtag2"]},{"1326889492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889490, 1326889492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.449248790740967 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 19:04:52.081256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 19:05:02.918300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:05:22.262787
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/04/image_05012025_19_04_02_293595_0003.jpg', '/home/pi/Desktop/images/05012025/19/05/image_05012025_19_05_02_436310_0000.jpg', '/home/pi/Desktop/images/05012025/19/05/image_05012025_19_05_02_436310_0001.jpg', '/home/pi/Desktop/images/05012025/19/05/image_05012025_19_05_02_436310_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/19/04/image_05012025_19_04_02_293595_0003.jpg
/home/pi/Desktop/images/05012025/19/05/image_05012025_19_05_02_436310_0000.jpg
/home/pi/Desktop/images/05012025/19/05/image_05012025_19_05_02_436310_0001.jpg
/home/pi/Desktop/images/05012025/19/05/image_05012025_19_05_02_436310_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889501","1326889504","1326889499","1326889503"],"photo_ids_order":["1326889499","1326889501","1326889503","1326889504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8903139957213dec5ba946ac0f2dbdef.jpg","text":"TemporaryFile(/tmp/multipartBody7583412315475723425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100392454,"filename":"image_05012025_19_05_02_436310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3227b02ee7181b7b55d3f95d81926b48.jpg","text":"TemporaryFile(/tmp/multipartBody3097218636642171705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100392454,"filename":"image_05012025_19_05_02_436310_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/66f3564b76d7ff45ef2cc141bcb25c48.jpg","text":"TemporaryFile(/tmp/multipartBody6944379831379936599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100392454,"filename":"image_05012025_19_04_02_293595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4bdd0df5d6bed72e6e8ecd47516ad934.jpg","text":"TemporaryFile(/tmp/multipartBody5650780672349835048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100392454,"filename":"image_05012025_19_05_02_436310_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889503","file1":"1326889501","file0":"1326889499","file3":"1326889504"},"map_files_photo_id_array":[{"photo_id":"1326889503","filename":"file2"},{"photo_id":"1326889501","filename":"file1"},{"photo_id":"1326889499","filename":"file0"},{"photo_id":"1326889504","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889501":["hashtag1","hashtag2"]},{"1326889504":["hashtag1","hashtag2"]},{"1326889499":["hashtag1","hashtag2"]},{"1326889503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889501, 1326889504, 1326889499, 1326889503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.237895488739014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:06:22.529975
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/05/image_05012025_19_05_02_436310_0003.jpg', '/home/pi/Desktop/images/05012025/19/06/image_05012025_19_06_02_710600_0000.jpg', '/home/pi/Desktop/images/05012025/19/06/image_05012025_19_06_02_710600_0001.jpg', '/home/pi/Desktop/images/05012025/19/06/image_05012025_19_06_02_710600_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/19/05/image_05012025_19_05_02_436310_0003.jpg
/home/pi/Desktop/images/05012025/19/06/image_05012025_19_06_02_710600_0000.jpg
/home/pi/Desktop/images/05012025/19/06/image_05012025_19_06_02_710600_0001.jpg
/home/pi/Desktop/images/05012025/19/06/image_05012025_19_06_02_710600_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889513","1326889510","1326889515","1326889511"],"photo_ids_order":["1326889510","1326889511","1326889513","1326889515"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/833632ac023f64f0f746af087e10633c.jpg","text":"TemporaryFile(/tmp/multipartBody2213105719171091413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100452733,"filename":"image_05012025_19_06_02_710600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b8e1458786796e38ae077ddeb0ee0010.jpg","text":"TemporaryFile(/tmp/multipartBody2337408151562087860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100452733,"filename":"image_05012025_19_05_02_436310_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ea8288f600ef9c37684d917264f12cf0.jpg","text":"TemporaryFile(/tmp/multipartBody7463135476811263440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100452733,"filename":"image_05012025_19_06_02_710600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/06e76c70e7d16fc9bcf9ae9c2597783e.jpg","text":"TemporaryFile(/tmp/multipartBody4552520759813599437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100452733,"filename":"image_05012025_19_06_02_710600_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889513","file1":"1326889511","file0":"1326889510","file3":"1326889515"},"map_files_photo_id_array":[{"photo_id":"1326889513","filename":"file2"},{"photo_id":"1326889511","filename":"file1"},{"photo_id":"1326889510","filename":"file0"},{"photo_id":"1326889515","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889513":["hashtag1","hashtag2"]},{"1326889510":["hashtag1","hashtag2"]},{"1326889515":["hashtag1","hashtag2"]},{"1326889511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889513, 1326889510, 1326889515, 1326889511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.592233657836914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:07:22.739469
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/06/image_05012025_19_06_02_710600_0003.jpg', '/home/pi/Desktop/images/05012025/19/07/image_05012025_19_07_02_805771_0000.jpg', '/home/pi/Desktop/images/05012025/19/07/image_05012025_19_07_02_805771_0001.jpg', '/home/pi/Desktop/images/05012025/19/07/image_05012025_19_07_02_805771_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/19/06/image_05012025_19_06_02_710600_0003.jpg
/home/pi/Desktop/images/05012025/19/07/image_05012025_19_07_02_805771_0000.jpg
/home/pi/Desktop/images/05012025/19/07/image_05012025_19_07_02_805771_0001.jpg
/home/pi/Desktop/images/05012025/19/07/image_05012025_19_07_02_805771_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889522","1326889524","1326889521","1326889526"],"photo_ids_order":["1326889521","1326889522","1326889524","1326889526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e5a8fb41b8ad2a2c80b6d9cb6014e4b7.jpg","text":"TemporaryFile(/tmp/multipartBody826553103823338327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100512956,"filename":"image_05012025_19_07_02_805771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3a204118c01e7e5691d57c0e0add43a7.jpg","text":"TemporaryFile(/tmp/multipartBody2329091961600376373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100512956,"filename":"image_05012025_19_07_02_805771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9e2b81a1bdb1d5b08e4bc7af135460d7.jpg","text":"TemporaryFile(/tmp/multipartBody2061875717705794727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100512956,"filename":"image_05012025_19_06_02_710600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02daaa35c0e2f547c346681e26040404.jpg","text":"TemporaryFile(/tmp/multipartBody936257291725072112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100512956,"filename":"image_05012025_19_07_02_805771_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889524","file1":"1326889522","file0":"1326889521","file3":"1326889526"},"map_files_photo_id_array":[{"photo_id":"1326889524","filename":"file2"},{"photo_id":"1326889522","filename":"file1"},{"photo_id":"1326889521","filename":"file0"},{"photo_id":"1326889526","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889522":["hashtag1","hashtag2"]},{"1326889524":["hashtag1","hashtag2"]},{"1326889521":["hashtag1","hashtag2"]},{"1326889526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889522, 1326889524, 1326889521, 1326889526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.18312668800354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:08:21.858481
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/07/image_05012025_19_07_02_805771_0003.jpg', '/home/pi/Desktop/images/05012025/19/08/image_05012025_19_08_03_111012_0000.jpg', '/home/pi/Desktop/images/05012025/19/08/image_05012025_19_08_03_111012_0001.jpg', '/home/pi/Desktop/images/05012025/19/08/image_05012025_19_08_03_111012_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/19/07/image_05012025_19_07_02_805771_0003.jpg
/home/pi/Desktop/images/05012025/19/08/image_05012025_19_08_03_111012_0000.jpg
/home/pi/Desktop/images/05012025/19/08/image_05012025_19_08_03_111012_0001.jpg
/home/pi/Desktop/images/05012025/19/08/image_05012025_19_08_03_111012_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889531","1326889533","1326889535","1326889532"],"photo_ids_order":["1326889531","1326889532","1326889533","1326889535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/27353969e2042c5ed3351ad6cb264bdc.jpg","text":"TemporaryFile(/tmp/multipartBody8354470883031771143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100572141,"filename":"image_05012025_19_07_02_805771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce51136d29ef3a404c2bc122eb240dae.jpg","text":"TemporaryFile(/tmp/multipartBody1291680464967513488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100572141,"filename":"image_05012025_19_08_03_111012_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/26bbfb79d369be32c9662b559e3bb752.jpg","text":"TemporaryFile(/tmp/multipartBody7616259566436738239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100572141,"filename":"image_05012025_19_08_03_111012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f6a6e16c884a1349302080883bfd35b.jpg","text":"TemporaryFile(/tmp/multipartBody2819509633206985178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100572141,"filename":"image_05012025_19_08_03_111012_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889533","file1":"1326889532","file0":"1326889531","file3":"1326889535"},"map_files_photo_id_array":[{"photo_id":"1326889533","filename":"file2"},{"photo_id":"1326889532","filename":"file1"},{"photo_id":"1326889531","filename":"file0"},{"photo_id":"1326889535","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889531":["hashtag1","hashtag2"]},{"1326889533":["hashtag1","hashtag2"]},{"1326889535":["hashtag1","hashtag2"]},{"1326889532":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889531, 1326889533, 1326889535, 1326889532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.449885845184326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 19:09:02.546876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:09:21.920937
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/08/image_05012025_19_08_03_111012_0003.jpg', '/home/pi/Desktop/images/05012025/19/09/image_05012025_19_09_02_176532_0000.jpg', '/home/pi/Desktop/images/05012025/19/09/image_05012025_19_09_02_176532_0001.jpg', '/home/pi/Desktop/images/05012025/19/09/image_05012025_19_09_02_176532_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/19/08/image_05012025_19_08_03_111012_0003.jpg
/home/pi/Desktop/images/05012025/19/09/image_05012025_19_09_02_176532_0000.jpg
/home/pi/Desktop/images/05012025/19/09/image_05012025_19_09_02_176532_0001.jpg
/home/pi/Desktop/images/05012025/19/09/image_05012025_19_09_02_176532_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889546","1326889549","1326889548","1326889550"],"photo_ids_order":["1326889546","1326889548","1326889549","1326889550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d1e59385a0f2744e5a570badc348edc9.jpg","text":"TemporaryFile(/tmp/multipartBody9160674843177590496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100632111,"filename":"image_05012025_19_08_03_111012_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cc5de4661253dc1fc0542b0a0ffabff5.jpg","text":"TemporaryFile(/tmp/multipartBody7617264602841432857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100632111,"filename":"image_05012025_19_09_02_176532_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a15d50d6e89de46faf346f8e69ae06e4.jpg","text":"TemporaryFile(/tmp/multipartBody9047815137275307027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100632111,"filename":"image_05012025_19_09_02_176532_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/54e47663643f111acdfd9de096e843cb.jpg","text":"TemporaryFile(/tmp/multipartBody7357756722711289654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100632111,"filename":"image_05012025_19_09_02_176532_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889549","file1":"1326889548","file0":"1326889546","file3":"1326889550"},"map_files_photo_id_array":[{"photo_id":"1326889549","filename":"file2"},{"photo_id":"1326889548","filename":"file1"},{"photo_id":"1326889546","filename":"file0"},{"photo_id":"1326889550","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889546":["hashtag1","hashtag2"]},{"1326889549":["hashtag1","hashtag2"]},{"1326889548":["hashtag1","hashtag2"]},{"1326889550":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889546, 1326889549, 1326889548, 1326889550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.7511842250824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:10:22.200707
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/09/image_05012025_19_09_02_176532_0003.jpg', '/home/pi/Desktop/images/05012025/19/10/image_05012025_19_10_02_417626_0000.jpg', '/home/pi/Desktop/images/05012025/19/10/image_05012025_19_10_02_417626_0001.jpg', '/home/pi/Desktop/images/05012025/19/10/image_05012025_19_10_02_417626_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/19/09/image_05012025_19_09_02_176532_0003.jpg
/home/pi/Desktop/images/05012025/19/10/image_05012025_19_10_02_417626_0000.jpg
/home/pi/Desktop/images/05012025/19/10/image_05012025_19_10_02_417626_0001.jpg
/home/pi/Desktop/images/05012025/19/10/image_05012025_19_10_02_417626_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.64810037612915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 19:10:42.191556
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/09/image_05012025_19_09_02_176532_0003.jpg', '/home/pi/Desktop/images/05012025/19/10/image_05012025_19_10_02_417626_0000.jpg', '/home/pi/Desktop/images/05012025/19/10/image_05012025_19_10_02_417626_0001.jpg', '/home/pi/Desktop/images/05012025/19/10/image_05012025_19_10_02_417626_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/19/09/image_05012025_19_09_02_176532_0003.jpg
/home/pi/Desktop/images/05012025/19/10/image_05012025_19_10_02_417626_0000.jpg
/home/pi/Desktop/images/05012025/19/10/image_05012025_19_10_02_417626_0001.jpg
/home/pi/Desktop/images/05012025/19/10/image_05012025_19_10_02_417626_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":["1326889563","1326889566","1326889562","1326889564"],"photo_ids_order":["1326889562","1326889563","1326889564","1326889566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6be59fadfcc8dfc34e5c70e73cfaf6c7.jpg","text":"TemporaryFile(/tmp/multipartBody2142764589967569659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100712245,"filename":"image_05012025_19_10_02_417626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f09cd07d7b45b1af703e391af1ce01a6.jpg","text":"TemporaryFile(/tmp/multipartBody8735799578799005844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100712245,"filename":"image_05012025_19_10_02_417626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e9c05d54f99a2aa547d8bee35569876b.jpg","text":"TemporaryFile(/tmp/multipartBody947898271195826813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100712245,"filename":"image_05012025_19_09_02_176532_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8154d42930f5b92cefb2f92135c4334f.jpg","text":"TemporaryFile(/tmp/multipartBody1506874083861475970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100712245,"filename":"image_05012025_19_10_02_417626_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889564","file1":"1326889563","file0":"1326889562","file3":"1326889566"},"map_files_photo_id_array":[{"photo_id":"1326889564","filename":"file2"},{"photo_id":"1326889563","filename":"file1"},{"photo_id":"1326889562","filename":"file0"},{"photo_id":"1326889566","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889563":["hashtag1","hashtag2"]},{"1326889566":["hashtag1","hashtag2"]},{"1326889562":["hashtag1","hashtag2"]},{"1326889564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889563, 1326889566, 1326889562, 1326889564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.38681364059448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:11:22.474070
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/10/image_05012025_19_10_02_417626_0003.jpg', '/home/pi/Desktop/images/05012025/19/11/image_05012025_19_11_02_574078_0000.jpg', '/home/pi/Desktop/images/05012025/19/11/image_05012025_19_11_02_574078_0001.jpg', '/home/pi/Desktop/images/05012025/19/11/image_05012025_19_11_02_574078_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/19/10/image_05012025_19_10_02_417626_0003.jpg
/home/pi/Desktop/images/05012025/19/11/image_05012025_19_11_02_574078_0000.jpg
/home/pi/Desktop/images/05012025/19/11/image_05012025_19_11_02_574078_0001.jpg
/home/pi/Desktop/images/05012025/19/11/image_05012025_19_11_02_574078_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889573","1326889575","1326889577","1326889576"],"photo_ids_order":["1326889573","1326889575","1326889576","1326889577"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/84773ecddf25f7545f6e27b0716eb540.jpg","text":"TemporaryFile(/tmp/multipartBody6948498222467722937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100752473,"filename":"image_05012025_19_10_02_417626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/806b1151bf811ad4d34685629904f47c.jpg","text":"TemporaryFile(/tmp/multipartBody7614330803569651570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100752473,"filename":"image_05012025_19_11_02_574078_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e18dbce1cbb391735ed4f616eabd0a8.jpg","text":"TemporaryFile(/tmp/multipartBody2977507940652144752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100752473,"filename":"image_05012025_19_11_02_574078_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3514464ad32930d0fe16ed4e0f3c667d.jpg","text":"TemporaryFile(/tmp/multipartBody7222310583991563215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100752473,"filename":"image_05012025_19_11_02_574078_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889576","file1":"1326889575","file0":"1326889573","file3":"1326889577"},"map_files_photo_id_array":[{"photo_id":"1326889576","filename":"file2"},{"photo_id":"1326889575","filename":"file1"},{"photo_id":"1326889573","filename":"file0"},{"photo_id":"1326889577","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889573":["hashtag1","hashtag2"]},{"1326889575":["hashtag1","hashtag2"]},{"1326889577":["hashtag1","hashtag2"]},{"1326889576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889573, 1326889575, 1326889577, 1326889576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.71816921234131 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-05 19:12:22.643857
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/11/image_05012025_19_11_02_574078_0003.jpg', '/home/pi/Desktop/images/05012025/19/12/image_05012025_19_12_02_813966_0000.jpg', '/home/pi/Desktop/images/05012025/19/12/image_05012025_19_12_02_813966_0001.jpg', '/home/pi/Desktop/images/05012025/19/12/image_05012025_19_12_02_813966_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/19/11/image_05012025_19_11_02_574078_0003.jpg
/home/pi/Desktop/images/05012025/19/12/image_05012025_19_12_02_813966_0000.jpg
/home/pi/Desktop/images/05012025/19/12/image_05012025_19_12_02_813966_0001.jpg
/home/pi/Desktop/images/05012025/19/12/image_05012025_19_12_02_813966_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889590","1326889586","1326889589","1326889588"],"photo_ids_order":["1326889586","1326889588","1326889589","1326889590"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0776094243d0c78c695ec757762ef636.jpg","text":"TemporaryFile(/tmp/multipartBody135989749740446600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100812856,"filename":"image_05012025_19_12_02_813966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ddb3a78820931f460f6da83da43400f9.jpg","text":"TemporaryFile(/tmp/multipartBody2197636916940118173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100812856,"filename":"image_05012025_19_11_02_574078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0bf14c8d062ef3832fa41b99c647166b.jpg","text":"TemporaryFile(/tmp/multipartBody2994911940979888743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100812856,"filename":"image_05012025_19_12_02_813966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d53f361762e2fd5ab06449a6f95db4f7.jpg","text":"TemporaryFile(/tmp/multipartBody3489632215663117951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100812856,"filename":"image_05012025_19_12_02_813966_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889589","file1":"1326889588","file0":"1326889586","file3":"1326889590"},"map_files_photo_id_array":[{"photo_id":"1326889589","filename":"file2"},{"photo_id":"1326889588","filename":"file1"},{"photo_id":"1326889586","filename":"file0"},{"photo_id":"1326889590","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889590":["hashtag1","hashtag2"]},{"1326889586":["hashtag1","hashtag2"]},{"1326889589":["hashtag1","hashtag2"]},{"1326889588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889590, 1326889586, 1326889589, 1326889588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.946749448776245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:13:21.873889
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/12/image_05012025_19_12_02_813966_0003.jpg', '/home/pi/Desktop/images/05012025/19/13/image_05012025_19_13_02_952055_0000.jpg', '/home/pi/Desktop/images/05012025/19/13/image_05012025_19_13_02_952055_0001.jpg', '/home/pi/Desktop/images/05012025/19/13/image_05012025_19_13_02_952055_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/19/12/image_05012025_19_12_02_813966_0003.jpg
/home/pi/Desktop/images/05012025/19/13/image_05012025_19_13_02_952055_0000.jpg
/home/pi/Desktop/images/05012025/19/13/image_05012025_19_13_02_952055_0001.jpg
/home/pi/Desktop/images/05012025/19/13/image_05012025_19_13_02_952055_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889599","1326889596","1326889601","1326889597"],"photo_ids_order":["1326889596","1326889597","1326889599","1326889601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/784836ec8bef8878c941632002252ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2843096459752778724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100871963,"filename":"image_05012025_19_13_02_952055_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7b31709a20429aac891500b5106b5abc.jpg","text":"TemporaryFile(/tmp/multipartBody708647009823600941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100871963,"filename":"image_05012025_19_12_02_813966_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/61ad7ef2912a71b69f3e8b61d8745e89.jpg","text":"TemporaryFile(/tmp/multipartBody1250599944447430177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100871963,"filename":"image_05012025_19_13_02_952055_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fca56c5967f106126522f780892d6f5a.jpg","text":"TemporaryFile(/tmp/multipartBody5481941827927340845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100871963,"filename":"image_05012025_19_13_02_952055_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889599","file1":"1326889597","file0":"1326889596","file3":"1326889601"},"map_files_photo_id_array":[{"photo_id":"1326889599","filename":"file2"},{"photo_id":"1326889597","filename":"file1"},{"photo_id":"1326889596","filename":"file0"},{"photo_id":"1326889601","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889599":["hashtag1","hashtag2"]},{"1326889596":["hashtag1","hashtag2"]},{"1326889601":["hashtag1","hashtag2"]},{"1326889597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889599, 1326889596, 1326889601, 1326889597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.66053652763367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:14:22.005388
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/13/image_05012025_19_13_02_952055_0003.jpg', '/home/pi/Desktop/images/05012025/19/14/image_05012025_19_14_02_197232_0000.jpg', '/home/pi/Desktop/images/05012025/19/14/image_05012025_19_14_02_197232_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/19/13/image_05012025_19_13_02_952055_0003.jpg
/home/pi/Desktop/images/05012025/19/14/image_05012025_19_14_02_197232_0000.jpg
/home/pi/Desktop/images/05012025/19/14/image_05012025_19_14_02_197232_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.365683555603027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 19:14:31.992684
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/13/image_05012025_19_13_02_952055_0003.jpg', '/home/pi/Desktop/images/05012025/19/14/image_05012025_19_14_02_197232_0000.jpg', '/home/pi/Desktop/images/05012025/19/14/image_05012025_19_14_02_197232_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/19/13/image_05012025_19_13_02_952055_0003.jpg
/home/pi/Desktop/images/05012025/19/14/image_05012025_19_14_02_197232_0000.jpg
/home/pi/Desktop/images/05012025/19/14/image_05012025_19_14_02_197232_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":["1326889621","1326889617","1326889619"],"photo_ids_order":["1326889617","1326889619","1326889621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ece52f5137686a19d06a405408fc8b9a.jpg","text":"TemporaryFile(/tmp/multipartBody6505386242181439260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100939734,"filename":"image_05012025_19_14_02_197232_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/04151482eadcabb7487dd4676ff6bc2a.jpg","text":"TemporaryFile(/tmp/multipartBody1613233189514822706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100939734,"filename":"image_05012025_19_13_02_952055_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f2de574feaa083715a0784aa25441a9.jpg","text":"TemporaryFile(/tmp/multipartBody8072272214372430769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736100939734,"filename":"image_05012025_19_14_02_197232_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889621","file1":"1326889619","file0":"1326889617"},"map_files_photo_id_array":[{"photo_id":"1326889621","filename":"file2"},{"photo_id":"1326889619","filename":"file1"},{"photo_id":"1326889617","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889621":["hashtag1","hashtag2"]},{"1326889617":["hashtag1","hashtag2"]},{"1326889619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889621, 1326889617, 1326889619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.93767261505127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:15:22.232475
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/14/image_05012025_19_14_02_197232_0003.jpg', '/home/pi/Desktop/images/05012025/19/15/image_05012025_19_15_02_409181_0000.jpg', '/home/pi/Desktop/images/05012025/19/15/image_05012025_19_15_02_409181_0001.jpg', '/home/pi/Desktop/images/05012025/19/15/image_05012025_19_15_02_409181_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/19/14/image_05012025_19_14_02_197232_0003.jpg
/home/pi/Desktop/images/05012025/19/15/image_05012025_19_15_02_409181_0000.jpg
/home/pi/Desktop/images/05012025/19/15/image_05012025_19_15_02_409181_0001.jpg
/home/pi/Desktop/images/05012025/19/15/image_05012025_19_15_02_409181_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.73351764678955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 19:15:42.156794
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/14/image_05012025_19_14_02_197232_0003.jpg', '/home/pi/Desktop/images/05012025/19/15/image_05012025_19_15_02_409181_0000.jpg', '/home/pi/Desktop/images/05012025/19/15/image_05012025_19_15_02_409181_0001.jpg', '/home/pi/Desktop/images/05012025/19/15/image_05012025_19_15_02_409181_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/19/14/image_05012025_19_14_02_197232_0003.jpg
/home/pi/Desktop/images/05012025/19/15/image_05012025_19_15_02_409181_0000.jpg
/home/pi/Desktop/images/05012025/19/15/image_05012025_19_15_02_409181_0001.jpg
/home/pi/Desktop/images/05012025/19/15/image_05012025_19_15_02_409181_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889633","1326889635","1326889640","1326889637"],"photo_ids_order":["1326889633","1326889635","1326889637","1326889640"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/69ff8e75fb935db14416714c752cb6d7.jpg","text":"TemporaryFile(/tmp/multipartBody2324485759843190462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101012320,"filename":"image_05012025_19_14_02_197232_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a39234cc095a5f322154af8ad4e3062.jpg","text":"TemporaryFile(/tmp/multipartBody770175438211798820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101012320,"filename":"image_05012025_19_15_02_409181_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0be6c6c931ccc35748e6ec124a703e1b.jpg","text":"TemporaryFile(/tmp/multipartBody1186145545499424136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101012320,"filename":"image_05012025_19_15_02_409181_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8868e6c13087b2142d8258a9161dc3b6.jpg","text":"TemporaryFile(/tmp/multipartBody7200225153530930445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101012320,"filename":"image_05012025_19_15_02_409181_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889637","file1":"1326889635","file0":"1326889633","file3":"1326889640"},"map_files_photo_id_array":[{"photo_id":"1326889637","filename":"file2"},{"photo_id":"1326889635","filename":"file1"},{"photo_id":"1326889633","filename":"file0"},{"photo_id":"1326889640","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889633":["hashtag1","hashtag2"]},{"1326889635":["hashtag1","hashtag2"]},{"1326889640":["hashtag1","hashtag2"]},{"1326889637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889633, 1326889635, 1326889640, 1326889637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.335318088531494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 19:16:32.296952
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/15/image_05012025_19_15_02_409181_0003.jpg', '/home/pi/Desktop/images/05012025/19/16/image_05012025_19_16_02_508726_0000.jpg', '/home/pi/Desktop/images/05012025/19/16/image_05012025_19_16_02_508726_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/19/15/image_05012025_19_15_02_409181_0003.jpg
/home/pi/Desktop/images/05012025/19/16/image_05012025_19_16_02_508726_0000.jpg
/home/pi/Desktop/images/05012025/19/16/image_05012025_19_16_02_508726_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889644","1326889647","1326889643"],"photo_ids_order":["1326889643","1326889644","1326889647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4701dcf72aad4fd1bf167eac205ebac3.jpg","text":"TemporaryFile(/tmp/multipartBody1758184932666326156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101060198,"filename":"image_05012025_19_16_02_508726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ddd342f1d015b81c0df49cb73cee4fe8.jpg","text":"TemporaryFile(/tmp/multipartBody8642554295045584664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101060198,"filename":"image_05012025_19_16_02_508726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e01ec70a001729d1f9f86376618f6351.jpg","text":"TemporaryFile(/tmp/multipartBody6082062778745653129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101060198,"filename":"image_05012025_19_15_02_409181_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889647","file1":"1326889644","file0":"1326889643"},"map_files_photo_id_array":[{"photo_id":"1326889647","filename":"file2"},{"photo_id":"1326889644","filename":"file1"},{"photo_id":"1326889643","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889644":["hashtag1","hashtag2"]},{"1326889647":["hashtag1","hashtag2"]},{"1326889643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889644, 1326889647, 1326889643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.9222412109375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:17:22.619292
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/16/image_05012025_19_16_02_508726_0003.jpg', '/home/pi/Desktop/images/05012025/19/17/image_05012025_19_17_02_737074_0000.jpg', '/home/pi/Desktop/images/05012025/19/17/image_05012025_19_17_02_737074_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/19/16/image_05012025_19_16_02_508726_0003.jpg
/home/pi/Desktop/images/05012025/19/17/image_05012025_19_17_02_737074_0000.jpg
/home/pi/Desktop/images/05012025/19/17/image_05012025_19_17_02_737074_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":["1326889662","1326889659","1326889661"],"photo_ids_order":["1326889659","1326889661","1326889662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c288ab5c8ad5329e24fd47c0cd9c0b9b.jpg","text":"TemporaryFile(/tmp/multipartBody4589424222065469369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101110444,"filename":"image_05012025_19_17_02_737074_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0b02e6ba3a5b171160d57cfb821d1ce6.jpg","text":"TemporaryFile(/tmp/multipartBody719703215674744847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101110444,"filename":"image_05012025_19_16_02_508726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4d31f7c5e48aa06b2c7a7633dd593a2b.jpg","text":"TemporaryFile(/tmp/multipartBody5466461244957370194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101110444,"filename":"image_05012025_19_17_02_737074_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889662","file1":"1326889661","file0":"1326889659"},"map_files_photo_id_array":[{"photo_id":"1326889662","filename":"file2"},{"photo_id":"1326889661","filename":"file1"},{"photo_id":"1326889659","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889662":["hashtag1","hashtag2"]},{"1326889659":["hashtag1","hashtag2"]},{"1326889661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889662, 1326889659, 1326889661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.030582666397095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 19:18:03.072892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:18:22.704073
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/17/image_05012025_19_17_02_737074_0003.jpg', '/home/pi/Desktop/images/05012025/19/18/image_05012025_19_18_02_867577_0000.jpg', '/home/pi/Desktop/images/05012025/19/18/image_05012025_19_18_02_867577_0001.jpg', '/home/pi/Desktop/images/05012025/19/18/image_05012025_19_18_02_867577_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/19/17/image_05012025_19_17_02_737074_0003.jpg
/home/pi/Desktop/images/05012025/19/18/image_05012025_19_18_02_867577_0000.jpg
/home/pi/Desktop/images/05012025/19/18/image_05012025_19_18_02_867577_0001.jpg
/home/pi/Desktop/images/05012025/19/18/image_05012025_19_18_02_867577_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.677971601486206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 19:18:42.635968
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/17/image_05012025_19_17_02_737074_0003.jpg', '/home/pi/Desktop/images/05012025/19/18/image_05012025_19_18_02_867577_0000.jpg', '/home/pi/Desktop/images/05012025/19/18/image_05012025_19_18_02_867577_0001.jpg', '/home/pi/Desktop/images/05012025/19/18/image_05012025_19_18_02_867577_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/19/17/image_05012025_19_17_02_737074_0003.jpg
/home/pi/Desktop/images/05012025/19/18/image_05012025_19_18_02_867577_0000.jpg
/home/pi/Desktop/images/05012025/19/18/image_05012025_19_18_02_867577_0001.jpg
/home/pi/Desktop/images/05012025/19/18/image_05012025_19_18_02_867577_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889677","1326889676","1326889679","1326889675"],"photo_ids_order":["1326889675","1326889676","1326889677","1326889679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a9c4991a304622e5c4dd390e7591b5db.jpg","text":"TemporaryFile(/tmp/multipartBody6408241392074641647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101192700,"filename":"image_05012025_19_18_02_867577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/576b2714664817a3751881608e2ac3ad.jpg","text":"TemporaryFile(/tmp/multipartBody2504840019748428995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101192700,"filename":"image_05012025_19_18_02_867577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/54c4cdbbf321f2e06836e6ddd61ea0ec.jpg","text":"TemporaryFile(/tmp/multipartBody5354724160487736714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101192700,"filename":"image_05012025_19_18_02_867577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c873f8bd5a4ecfd1f990a78fd9793dbf.jpg","text":"TemporaryFile(/tmp/multipartBody6983212372725358476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101192700,"filename":"image_05012025_19_17_02_737074_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889677","file1":"1326889676","file0":"1326889675","file3":"1326889679"},"map_files_photo_id_array":[{"photo_id":"1326889677","filename":"file2"},{"photo_id":"1326889676","filename":"file1"},{"photo_id":"1326889675","filename":"file0"},{"photo_id":"1326889679","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889677":["hashtag1","hashtag2"]},{"1326889676":["hashtag1","hashtag2"]},{"1326889679":["hashtag1","hashtag2"]},{"1326889675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889677, 1326889676, 1326889679, 1326889675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.871150493621826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 19:19:31.819024
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/18/image_05012025_19_18_02_867577_0003.jpg', '/home/pi/Desktop/images/05012025/19/19/image_05012025_19_19_03_087447_0000.jpg', '/home/pi/Desktop/images/05012025/19/19/image_05012025_19_19_03_087447_0001.jpg', '/home/pi/Desktop/images/05012025/19/19/image_05012025_19_19_03_087447_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/19/18/image_05012025_19_18_02_867577_0003.jpg
/home/pi/Desktop/images/05012025/19/19/image_05012025_19_19_03_087447_0000.jpg
/home/pi/Desktop/images/05012025/19/19/image_05012025_19_19_03_087447_0001.jpg
/home/pi/Desktop/images/05012025/19/19/image_05012025_19_19_03_087447_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889689","1326889691","1326889688","1326889690"],"photo_ids_order":["1326889688","1326889689","1326889690","1326889691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/31b0234d1f030f71a4c943e6d9a97d5f.jpg","text":"TemporaryFile(/tmp/multipartBody914297877810806692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101242052,"filename":"image_05012025_19_19_03_087447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/40f5b02402925fe2f8252da8f7e25e5e.jpg","text":"TemporaryFile(/tmp/multipartBody2579737369994819340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101242052,"filename":"image_05012025_19_19_03_087447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/76dfa9a36488c32da91c854bdb19ef1b.jpg","text":"TemporaryFile(/tmp/multipartBody8472158370436551006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101242052,"filename":"image_05012025_19_18_02_867577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/89964457c0d9e6c919fe2fa1084a2401.jpg","text":"TemporaryFile(/tmp/multipartBody2530114241992527672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101242052,"filename":"image_05012025_19_19_03_087447_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889690","file1":"1326889689","file0":"1326889688","file3":"1326889691"},"map_files_photo_id_array":[{"photo_id":"1326889690","filename":"file2"},{"photo_id":"1326889689","filename":"file1"},{"photo_id":"1326889688","filename":"file0"},{"photo_id":"1326889691","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889689":["hashtag1","hashtag2"]},{"1326889691":["hashtag1","hashtag2"]},{"1326889688":["hashtag1","hashtag2"]},{"1326889690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889689, 1326889691, 1326889688, 1326889690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.95362615585327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:20:22.133123
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/19/image_05012025_19_19_03_087447_0003.jpg', '/home/pi/Desktop/images/05012025/19/20/image_05012025_19_20_02_273245_0000.jpg', '/home/pi/Desktop/images/05012025/19/20/image_05012025_19_20_02_273245_0001.jpg', '/home/pi/Desktop/images/05012025/19/20/image_05012025_19_20_02_273245_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/19/19/image_05012025_19_19_03_087447_0003.jpg
/home/pi/Desktop/images/05012025/19/20/image_05012025_19_20_02_273245_0000.jpg
/home/pi/Desktop/images/05012025/19/20/image_05012025_19_20_02_273245_0001.jpg
/home/pi/Desktop/images/05012025/19/20/image_05012025_19_20_02_273245_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889702","1326889697","1326889700","1326889699"],"photo_ids_order":["1326889697","1326889699","1326889700","1326889702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d3ea2484575bf0c98fc920da22d65d28.jpg","text":"TemporaryFile(/tmp/multipartBody8412414994136847849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101292345,"filename":"image_05012025_19_20_02_273245_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bfa0288c562810e2540e41fd3c37c544.jpg","text":"TemporaryFile(/tmp/multipartBody6925935326374738735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101292345,"filename":"image_05012025_19_19_03_087447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/28801960f75a19af95137f1c64bed7a7.jpg","text":"TemporaryFile(/tmp/multipartBody1842489934964731166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101292345,"filename":"image_05012025_19_20_02_273245_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/56f1a71b36c297ba4eddcc7866363207.jpg","text":"TemporaryFile(/tmp/multipartBody273775141787544373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101292345,"filename":"image_05012025_19_20_02_273245_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889700","file1":"1326889699","file0":"1326889697","file3":"1326889702"},"map_files_photo_id_array":[{"photo_id":"1326889700","filename":"file2"},{"photo_id":"1326889699","filename":"file1"},{"photo_id":"1326889697","filename":"file0"},{"photo_id":"1326889702","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889702":["hashtag1","hashtag2"]},{"1326889697":["hashtag1","hashtag2"]},{"1326889700":["hashtag1","hashtag2"]},{"1326889699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889702, 1326889697, 1326889700, 1326889699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.085806369781494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:21:22.207844
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/20/image_05012025_19_20_02_273245_0003.jpg', '/home/pi/Desktop/images/05012025/19/21/image_05012025_19_21_02_421913_0000.jpg', '/home/pi/Desktop/images/05012025/19/21/image_05012025_19_21_02_421913_0001.jpg', '/home/pi/Desktop/images/05012025/19/21/image_05012025_19_21_02_421913_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/19/20/image_05012025_19_20_02_273245_0003.jpg
/home/pi/Desktop/images/05012025/19/21/image_05012025_19_21_02_421913_0000.jpg
/home/pi/Desktop/images/05012025/19/21/image_05012025_19_21_02_421913_0001.jpg
/home/pi/Desktop/images/05012025/19/21/image_05012025_19_21_02_421913_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889711","1326889714","1326889710","1326889718"],"photo_ids_order":["1326889710","1326889711","1326889714","1326889718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/20f88825fe691624dffc0666ff177d71.jpg","text":"TemporaryFile(/tmp/multipartBody86689701279739143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101352359,"filename":"image_05012025_19_21_02_421913_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b41d2b43a61fd54eb1a6386e5917e33.jpg","text":"TemporaryFile(/tmp/multipartBody6618382530449150026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101352359,"filename":"image_05012025_19_21_02_421913_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f07db4268a1bd5e7ac8f4b8cd291739c.jpg","text":"TemporaryFile(/tmp/multipartBody8127156373907209320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101352359,"filename":"image_05012025_19_20_02_273245_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b169a22013c41f44874cf98ea220efc.jpg","text":"TemporaryFile(/tmp/multipartBody454211847300818650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101352359,"filename":"image_05012025_19_21_02_421913_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889714","file1":"1326889711","file0":"1326889710","file3":"1326889718"},"map_files_photo_id_array":[{"photo_id":"1326889714","filename":"file2"},{"photo_id":"1326889711","filename":"file1"},{"photo_id":"1326889710","filename":"file0"},{"photo_id":"1326889718","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889711":["hashtag1","hashtag2"]},{"1326889714":["hashtag1","hashtag2"]},{"1326889710":["hashtag1","hashtag2"]},{"1326889718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889711, 1326889714, 1326889710, 1326889718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.151949405670166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:22:22.492696
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/21/image_05012025_19_21_02_421913_0003.jpg', '/home/pi/Desktop/images/05012025/19/22/image_05012025_19_22_02_629931_0000.jpg', '/home/pi/Desktop/images/05012025/19/22/image_05012025_19_22_02_629931_0001.jpg', '/home/pi/Desktop/images/05012025/19/22/image_05012025_19_22_02_629931_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/19/21/image_05012025_19_21_02_421913_0003.jpg
/home/pi/Desktop/images/05012025/19/22/image_05012025_19_22_02_629931_0000.jpg
/home/pi/Desktop/images/05012025/19/22/image_05012025_19_22_02_629931_0001.jpg
/home/pi/Desktop/images/05012025/19/22/image_05012025_19_22_02_629931_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889729","1326889725","1326889727","1326889724"],"photo_ids_order":["1326889724","1326889725","1326889727","1326889729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f29c124dd98fd5fc9e93014b670dcd73.jpg","text":"TemporaryFile(/tmp/multipartBody2283896333690889562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101412572,"filename":"image_05012025_19_22_02_629931_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2cafca939274cc1f31bca03fd4b5a0a4.jpg","text":"TemporaryFile(/tmp/multipartBody7628841865015322865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101412572,"filename":"image_05012025_19_22_02_629931_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/726c793080dd4a0a0ae9eb8844b550ce.jpg","text":"TemporaryFile(/tmp/multipartBody7832808650606885225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101412572,"filename":"image_05012025_19_22_02_629931_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/319c3bbf1c2c81f35bec8a6c58f8de3b.jpg","text":"TemporaryFile(/tmp/multipartBody9206650003411572337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101412572,"filename":"image_05012025_19_21_02_421913_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889727","file1":"1326889725","file0":"1326889724","file3":"1326889729"},"map_files_photo_id_array":[{"photo_id":"1326889727","filename":"file2"},{"photo_id":"1326889725","filename":"file1"},{"photo_id":"1326889724","filename":"file0"},{"photo_id":"1326889729","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889729":["hashtag1","hashtag2"]},{"1326889725":["hashtag1","hashtag2"]},{"1326889727":["hashtag1","hashtag2"]},{"1326889724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889729, 1326889725, 1326889727, 1326889724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.153953075408936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:23:22.660071
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/22/image_05012025_19_22_02_629931_0003.jpg', '/home/pi/Desktop/images/05012025/19/23/image_05012025_19_23_02_790385_0000.jpg', '/home/pi/Desktop/images/05012025/19/23/image_05012025_19_23_02_790385_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/19/22/image_05012025_19_22_02_629931_0003.jpg
/home/pi/Desktop/images/05012025/19/23/image_05012025_19_23_02_790385_0000.jpg
/home/pi/Desktop/images/05012025/19/23/image_05012025_19_23_02_790385_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":["1326889737","1326889739","1326889736"],"photo_ids_order":["1326889736","1326889737","1326889739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/98fa91ba015fe051c037643218cccf37.jpg","text":"TemporaryFile(/tmp/multipartBody3056346442081258173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101470402,"filename":"image_05012025_19_23_02_790385_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b9ab496614fde065da6e07063ae1b01a.jpg","text":"TemporaryFile(/tmp/multipartBody7982152134198096461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101470402,"filename":"image_05012025_19_23_02_790385_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/25b57faf7009e63c9db23f9f09cb2b60.jpg","text":"TemporaryFile(/tmp/multipartBody7389614707421080716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101470402,"filename":"image_05012025_19_22_02_629931_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889739","file1":"1326889737","file0":"1326889736"},"map_files_photo_id_array":[{"photo_id":"1326889739","filename":"file2"},{"photo_id":"1326889737","filename":"file1"},{"photo_id":"1326889736","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889737":["hashtag1","hashtag2"]},{"1326889739":["hashtag1","hashtag2"]},{"1326889736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889737, 1326889739, 1326889736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.066959619522095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 19:24:02.227528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:24:21.786045
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/23/image_05012025_19_23_02_790385_0003.jpg', '/home/pi/Desktop/images/05012025/19/24/image_05012025_19_24_02_978266_0001.jpg', '/home/pi/Desktop/images/05012025/19/24/image_05012025_19_24_02_978266_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/19/23/image_05012025_19_23_02_790385_0003.jpg
/home/pi/Desktop/images/05012025/19/24/image_05012025_19_24_02_978266_0001.jpg
/home/pi/Desktop/images/05012025/19/24/image_05012025_19_24_02_978266_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889747","1326889746","1326889745"],"photo_ids_order":["1326889745","1326889746","1326889747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/36f90c5be0f366a3540ad5948a75fb3b.jpg","text":"TemporaryFile(/tmp/multipartBody4861584805112819584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101529588,"filename":"image_05012025_19_24_02_978266_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/38e643c0da9f8ddc8651e844f29d0c39.jpg","text":"TemporaryFile(/tmp/multipartBody5561051300197944733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101529588,"filename":"image_05012025_19_24_02_978266_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3faf6fc4b6ddc57cf0d52c366c180bd7.jpg","text":"TemporaryFile(/tmp/multipartBody3677374572565233293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101529588,"filename":"image_05012025_19_23_02_790385_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889747","file1":"1326889746","file0":"1326889745"},"map_files_photo_id_array":[{"photo_id":"1326889747","filename":"file2"},{"photo_id":"1326889746","filename":"file1"},{"photo_id":"1326889745","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889747":["hashtag1","hashtag2"]},{"1326889746":["hashtag1","hashtag2"]},{"1326889745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889747, 1326889746, 1326889745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.918495178222656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 19:25:02.580743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:25:22.082480
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/24/image_05012025_19_24_02_978266_0003.jpg', '/home/pi/Desktop/images/05012025/19/25/image_05012025_19_25_02_136184_0000.jpg', '/home/pi/Desktop/images/05012025/19/25/image_05012025_19_25_02_136184_0001.jpg', '/home/pi/Desktop/images/05012025/19/25/image_05012025_19_25_02_136184_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/19/24/image_05012025_19_24_02_978266_0003.jpg
/home/pi/Desktop/images/05012025/19/25/image_05012025_19_25_02_136184_0000.jpg
/home/pi/Desktop/images/05012025/19/25/image_05012025_19_25_02_136184_0001.jpg
/home/pi/Desktop/images/05012025/19/25/image_05012025_19_25_02_136184_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889764","1326889763","1326889760","1326889762"],"photo_ids_order":["1326889760","1326889762","1326889763","1326889764"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2d873c586d2fbf4c36ef06ff2f2f9b8.jpg","text":"TemporaryFile(/tmp/multipartBody3263520037418005416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101592395,"filename":"image_05012025_19_25_02_136184_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/243aa54645066c86555e84dd734acc0e.jpg","text":"TemporaryFile(/tmp/multipartBody547636136800995292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101592395,"filename":"image_05012025_19_25_02_136184_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b896cda99337f18ebdb827c9d73242ef.jpg","text":"TemporaryFile(/tmp/multipartBody4956697431919383560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101592395,"filename":"image_05012025_19_24_02_978266_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d63b3c5a4c4f1c807b7f830afe279ff0.jpg","text":"TemporaryFile(/tmp/multipartBody5830110612260877503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101592395,"filename":"image_05012025_19_25_02_136184_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889763","file1":"1326889762","file0":"1326889760","file3":"1326889764"},"map_files_photo_id_array":[{"photo_id":"1326889763","filename":"file2"},{"photo_id":"1326889762","filename":"file1"},{"photo_id":"1326889760","filename":"file0"},{"photo_id":"1326889764","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889764":["hashtag1","hashtag2"]},{"1326889763":["hashtag1","hashtag2"]},{"1326889760":["hashtag1","hashtag2"]},{"1326889762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889764, 1326889763, 1326889760, 1326889762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.85419464111328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:26:22.171222
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/25/image_05012025_19_25_02_136184_0003.jpg', '/home/pi/Desktop/images/05012025/19/26/image_05012025_19_26_02_423018_0000.jpg', '/home/pi/Desktop/images/05012025/19/26/image_05012025_19_26_02_423018_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/19/25/image_05012025_19_25_02_136184_0003.jpg
/home/pi/Desktop/images/05012025/19/26/image_05012025_19_26_02_423018_0000.jpg
/home/pi/Desktop/images/05012025/19/26/image_05012025_19_26_02_423018_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.3809497356414795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 19:26:32.090661
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/25/image_05012025_19_25_02_136184_0003.jpg', '/home/pi/Desktop/images/05012025/19/26/image_05012025_19_26_02_423018_0000.jpg', '/home/pi/Desktop/images/05012025/19/26/image_05012025_19_26_02_423018_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/19/25/image_05012025_19_25_02_136184_0003.jpg
/home/pi/Desktop/images/05012025/19/26/image_05012025_19_26_02_423018_0000.jpg
/home/pi/Desktop/images/05012025/19/26/image_05012025_19_26_02_423018_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889776","1326889775","1326889774"],"photo_ids_order":["1326889774","1326889775","1326889776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e4ba07aba9f4f7eb237e56da25465c1b.jpg","text":"TemporaryFile(/tmp/multipartBody7364659499251676113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101659898,"filename":"image_05012025_19_26_02_423018_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d378d61b3a57bbcce4604c304efdf9bc.jpg","text":"TemporaryFile(/tmp/multipartBody9101125607501860979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101659898,"filename":"image_05012025_19_26_02_423018_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ec008aa33b9a507d5550c788835d6a42.jpg","text":"TemporaryFile(/tmp/multipartBody163794934149734486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101659898,"filename":"image_05012025_19_25_02_136184_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889776","file1":"1326889775","file0":"1326889774"},"map_files_photo_id_array":[{"photo_id":"1326889776","filename":"file2"},{"photo_id":"1326889775","filename":"file1"},{"photo_id":"1326889774","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889776":["hashtag1","hashtag2"]},{"1326889775":["hashtag1","hashtag2"]},{"1326889774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889776, 1326889775, 1326889774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.9369740486145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:27:22.391761
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/26/image_05012025_19_26_02_423018_0003.jpg', '/home/pi/Desktop/images/05012025/19/27/image_05012025_19_27_02_447654_0000.jpg', '/home/pi/Desktop/images/05012025/19/27/image_05012025_19_27_02_447654_0001.jpg', '/home/pi/Desktop/images/05012025/19/27/image_05012025_19_27_02_447654_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/19/26/image_05012025_19_26_02_423018_0003.jpg
/home/pi/Desktop/images/05012025/19/27/image_05012025_19_27_02_447654_0000.jpg
/home/pi/Desktop/images/05012025/19/27/image_05012025_19_27_02_447654_0001.jpg
/home/pi/Desktop/images/05012025/19/27/image_05012025_19_27_02_447654_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889788","1326889790","1326889786","1326889789"],"photo_ids_order":["1326889786","1326889788","1326889789","1326889790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2dda720cfadefd758b095f1c137c682.jpg","text":"TemporaryFile(/tmp/multipartBody6904723218766534826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101712486,"filename":"image_05012025_19_27_02_447654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd35045715639d3c01a128bc1c27c3d4.jpg","text":"TemporaryFile(/tmp/multipartBody6442422271427683826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101712486,"filename":"image_05012025_19_27_02_447654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f64c3a8faca69fccc856df5539ac579a.jpg","text":"TemporaryFile(/tmp/multipartBody4779972260008434084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101712486,"filename":"image_05012025_19_26_02_423018_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d4a43293963474aa7d200c608f7c7f6a.jpg","text":"TemporaryFile(/tmp/multipartBody5941971642273861107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101712486,"filename":"image_05012025_19_27_02_447654_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889789","file1":"1326889788","file0":"1326889786","file3":"1326889790"},"map_files_photo_id_array":[{"photo_id":"1326889789","filename":"file2"},{"photo_id":"1326889788","filename":"file1"},{"photo_id":"1326889786","filename":"file0"},{"photo_id":"1326889790","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889788":["hashtag1","hashtag2"]},{"1326889790":["hashtag1","hashtag2"]},{"1326889786":["hashtag1","hashtag2"]},{"1326889789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889788, 1326889790, 1326889786, 1326889789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.305426359176636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:28:22.553735
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/27/image_05012025_19_27_02_447654_0003.jpg', '/home/pi/Desktop/images/05012025/19/28/image_05012025_19_28_02_638524_0000.jpg', '/home/pi/Desktop/images/05012025/19/28/image_05012025_19_28_02_638524_0001.jpg', '/home/pi/Desktop/images/05012025/19/28/image_05012025_19_28_02_638524_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/19/27/image_05012025_19_27_02_447654_0003.jpg
/home/pi/Desktop/images/05012025/19/28/image_05012025_19_28_02_638524_0000.jpg
/home/pi/Desktop/images/05012025/19/28/image_05012025_19_28_02_638524_0001.jpg
/home/pi/Desktop/images/05012025/19/28/image_05012025_19_28_02_638524_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889797","1326889801","1326889796","1326889799"],"photo_ids_order":["1326889796","1326889797","1326889799","1326889801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ec441392c5a929ed07bb7c352da12428.jpg","text":"TemporaryFile(/tmp/multipartBody585857973123923877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101772723,"filename":"image_05012025_19_28_02_638524_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e7f048b6dcc9b2edd62dd424490287a8.jpg","text":"TemporaryFile(/tmp/multipartBody5005413958059464655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101772723,"filename":"image_05012025_19_28_02_638524_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2fffc9b3b0a40afc38ffe1d9366f8651.jpg","text":"TemporaryFile(/tmp/multipartBody5799712815307428496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101772723,"filename":"image_05012025_19_27_02_447654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cb7c52c55fcf81bc940070c209854f46.jpg","text":"TemporaryFile(/tmp/multipartBody6120824616935650912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101772723,"filename":"image_05012025_19_28_02_638524_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889799","file1":"1326889797","file0":"1326889796","file3":"1326889801"},"map_files_photo_id_array":[{"photo_id":"1326889799","filename":"file2"},{"photo_id":"1326889797","filename":"file1"},{"photo_id":"1326889796","filename":"file0"},{"photo_id":"1326889801","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889797":["hashtag1","hashtag2"]},{"1326889801":["hashtag1","hashtag2"]},{"1326889796":["hashtag1","hashtag2"]},{"1326889799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889797, 1326889801, 1326889796, 1326889799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.52918076515198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:29:22.700954
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/28/image_05012025_19_28_02_638524_0003.jpg', '/home/pi/Desktop/images/05012025/19/29/image_05012025_19_29_02_907947_0000.jpg', '/home/pi/Desktop/images/05012025/19/29/image_05012025_19_29_02_907947_0001.jpg', '/home/pi/Desktop/images/05012025/19/29/image_05012025_19_29_02_907947_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/19/28/image_05012025_19_28_02_638524_0003.jpg
/home/pi/Desktop/images/05012025/19/29/image_05012025_19_29_02_907947_0000.jpg
/home/pi/Desktop/images/05012025/19/29/image_05012025_19_29_02_907947_0001.jpg
/home/pi/Desktop/images/05012025/19/29/image_05012025_19_29_02_907947_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889819","1326889816","1326889815","1326889817"],"photo_ids_order":["1326889815","1326889816","1326889817","1326889819"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad16050356fc962c7d81b520945abf83.jpg","text":"TemporaryFile(/tmp/multipartBody3100254760750832998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101832623,"filename":"image_05012025_19_29_02_907947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/91d4e8d2c69d19e93035b1dec6360aff.jpg","text":"TemporaryFile(/tmp/multipartBody2831686847408296384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101832623,"filename":"image_05012025_19_29_02_907947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fc992bc6dea3a7e8e4e6f545fbd3d7d1.jpg","text":"TemporaryFile(/tmp/multipartBody6314231889180706712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101832623,"filename":"image_05012025_19_28_02_638524_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f4ba326e00d39ff43a4314b11c21bb5.jpg","text":"TemporaryFile(/tmp/multipartBody5488571245202577115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101832623,"filename":"image_05012025_19_29_02_907947_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889817","file1":"1326889816","file0":"1326889815","file3":"1326889819"},"map_files_photo_id_array":[{"photo_id":"1326889817","filename":"file2"},{"photo_id":"1326889816","filename":"file1"},{"photo_id":"1326889815","filename":"file0"},{"photo_id":"1326889819","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889819":["hashtag1","hashtag2"]},{"1326889816":["hashtag1","hashtag2"]},{"1326889815":["hashtag1","hashtag2"]},{"1326889817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889819, 1326889816, 1326889815, 1326889817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3748939037323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:30:21.794151
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/29/image_05012025_19_29_02_907947_0003.jpg', '/home/pi/Desktop/images/05012025/19/30/image_05012025_19_30_03_058607_0000.jpg', '/home/pi/Desktop/images/05012025/19/30/image_05012025_19_30_03_058607_0001.jpg', '/home/pi/Desktop/images/05012025/19/30/image_05012025_19_30_03_058607_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/19/29/image_05012025_19_29_02_907947_0003.jpg
/home/pi/Desktop/images/05012025/19/30/image_05012025_19_30_03_058607_0000.jpg
/home/pi/Desktop/images/05012025/19/30/image_05012025_19_30_03_058607_0001.jpg
/home/pi/Desktop/images/05012025/19/30/image_05012025_19_30_03_058607_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.651748418807983 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 19:30:41.875663
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/29/image_05012025_19_29_02_907947_0003.jpg', '/home/pi/Desktop/images/05012025/19/30/image_05012025_19_30_03_058607_0000.jpg', '/home/pi/Desktop/images/05012025/19/30/image_05012025_19_30_03_058607_0001.jpg', '/home/pi/Desktop/images/05012025/19/30/image_05012025_19_30_03_058607_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/19/29/image_05012025_19_29_02_907947_0003.jpg
/home/pi/Desktop/images/05012025/19/30/image_05012025_19_30_03_058607_0000.jpg
/home/pi/Desktop/images/05012025/19/30/image_05012025_19_30_03_058607_0001.jpg
/home/pi/Desktop/images/05012025/19/30/image_05012025_19_30_03_058607_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889837","1326889833","1326889838","1326889835"],"photo_ids_order":["1326889833","1326889835","1326889837","1326889838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c45488ef39cedc1f0791c41ca2a6cc13.jpg","text":"TemporaryFile(/tmp/multipartBody1277327331659208251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101911957,"filename":"image_05012025_19_30_03_058607_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1a5884aea0093543e3c40a33bf799a90.jpg","text":"TemporaryFile(/tmp/multipartBody6399189670034412362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101911957,"filename":"image_05012025_19_29_02_907947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1b7065dbddd5686a397ed66867ba9341.jpg","text":"TemporaryFile(/tmp/multipartBody9028364288913517009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101911957,"filename":"image_05012025_19_30_03_058607_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/664d2ce6bf4a8c70321ae151c03faec8.jpg","text":"TemporaryFile(/tmp/multipartBody7217519383956743997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101911957,"filename":"image_05012025_19_30_03_058607_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889837","file1":"1326889835","file0":"1326889833","file3":"1326889838"},"map_files_photo_id_array":[{"photo_id":"1326889837","filename":"file2"},{"photo_id":"1326889835","filename":"file1"},{"photo_id":"1326889833","filename":"file0"},{"photo_id":"1326889838","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889837":["hashtag1","hashtag2"]},{"1326889833":["hashtag1","hashtag2"]},{"1326889838":["hashtag1","hashtag2"]},{"1326889835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889837, 1326889833, 1326889838, 1326889835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.37382125854492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 19:31:32.048211
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/30/image_05012025_19_30_03_058607_0003.jpg', '/home/pi/Desktop/images/05012025/19/31/image_05012025_19_31_02_203711_0000.jpg', '/home/pi/Desktop/images/05012025/19/31/image_05012025_19_31_02_203711_0001.jpg', '/home/pi/Desktop/images/05012025/19/31/image_05012025_19_31_02_203711_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/19/30/image_05012025_19_30_03_058607_0003.jpg
/home/pi/Desktop/images/05012025/19/31/image_05012025_19_31_02_203711_0000.jpg
/home/pi/Desktop/images/05012025/19/31/image_05012025_19_31_02_203711_0001.jpg
/home/pi/Desktop/images/05012025/19/31/image_05012025_19_31_02_203711_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889846","1326889848","1326889842","1326889844"],"photo_ids_order":["1326889842","1326889844","1326889846","1326889848"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/85ce48c881cf3a5bfd3e60de92c59b76.jpg","text":"TemporaryFile(/tmp/multipartBody361718743567794366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101962436,"filename":"image_05012025_19_31_02_203711_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5009f7c344f89962412b6aad94fa777e.jpg","text":"TemporaryFile(/tmp/multipartBody7342812025413303174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101962436,"filename":"image_05012025_19_31_02_203711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b635442ec40fd8eb578eea104fd72ee0.jpg","text":"TemporaryFile(/tmp/multipartBody4229080328339419591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101962436,"filename":"image_05012025_19_30_03_058607_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ee6d1b1a1f7f140567fc791cfc52a640.jpg","text":"TemporaryFile(/tmp/multipartBody4080518171015796404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736101962436,"filename":"image_05012025_19_31_02_203711_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889846","file1":"1326889844","file0":"1326889842","file3":"1326889848"},"map_files_photo_id_array":[{"photo_id":"1326889846","filename":"file2"},{"photo_id":"1326889844","filename":"file1"},{"photo_id":"1326889842","filename":"file0"},{"photo_id":"1326889848","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889846":["hashtag1","hashtag2"]},{"1326889848":["hashtag1","hashtag2"]},{"1326889842":["hashtag1","hashtag2"]},{"1326889844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889846, 1326889848, 1326889842, 1326889844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64623427391052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:32:22.231163
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/31/image_05012025_19_31_02_203711_0003.jpg', '/home/pi/Desktop/images/05012025/19/32/image_05012025_19_32_02_387564_0000.jpg', '/home/pi/Desktop/images/05012025/19/32/image_05012025_19_32_02_387564_0001.jpg', '/home/pi/Desktop/images/05012025/19/32/image_05012025_19_32_02_387564_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/19/31/image_05012025_19_31_02_203711_0003.jpg
/home/pi/Desktop/images/05012025/19/32/image_05012025_19_32_02_387564_0000.jpg
/home/pi/Desktop/images/05012025/19/32/image_05012025_19_32_02_387564_0001.jpg
/home/pi/Desktop/images/05012025/19/32/image_05012025_19_32_02_387564_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889860","1326889857","1326889859","1326889855"],"photo_ids_order":["1326889855","1326889857","1326889859","1326889860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/425ae84db49f76d95b5344a7c2878bc3.jpg","text":"TemporaryFile(/tmp/multipartBody4061766863042241968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102012375,"filename":"image_05012025_19_32_02_387564_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3c3afb2f1c0bb211bb45d59a1a4c4d2c.jpg","text":"TemporaryFile(/tmp/multipartBody8925424622625364186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102012375,"filename":"image_05012025_19_32_02_387564_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/53c41e77f45111624b7b46857837deec.jpg","text":"TemporaryFile(/tmp/multipartBody975850468846685781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102012375,"filename":"image_05012025_19_32_02_387564_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dd39bc522ac79b3d45b739a5c282ebd4.jpg","text":"TemporaryFile(/tmp/multipartBody2366319548255118805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102012375,"filename":"image_05012025_19_31_02_203711_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889859","file1":"1326889857","file0":"1326889855","file3":"1326889860"},"map_files_photo_id_array":[{"photo_id":"1326889859","filename":"file2"},{"photo_id":"1326889857","filename":"file1"},{"photo_id":"1326889855","filename":"file0"},{"photo_id":"1326889860","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889860":["hashtag1","hashtag2"]},{"1326889857":["hashtag1","hashtag2"]},{"1326889859":["hashtag1","hashtag2"]},{"1326889855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889860, 1326889857, 1326889859, 1326889855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.59083890914917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:33:22.469974
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/32/image_05012025_19_32_02_387564_0003.jpg', '/home/pi/Desktop/images/05012025/19/33/image_05012025_19_33_02_547325_0000.jpg', '/home/pi/Desktop/images/05012025/19/33/image_05012025_19_33_02_547325_0001.jpg', '/home/pi/Desktop/images/05012025/19/33/image_05012025_19_33_02_547325_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/19/32/image_05012025_19_32_02_387564_0003.jpg
/home/pi/Desktop/images/05012025/19/33/image_05012025_19_33_02_547325_0000.jpg
/home/pi/Desktop/images/05012025/19/33/image_05012025_19_33_02_547325_0001.jpg
/home/pi/Desktop/images/05012025/19/33/image_05012025_19_33_02_547325_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889870","1326889865","1326889868","1326889867"],"photo_ids_order":["1326889865","1326889867","1326889868","1326889870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8ddf2016f18994f9f7718dc2d0ede893.jpg","text":"TemporaryFile(/tmp/multipartBody2846449546738657238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102072597,"filename":"image_05012025_19_33_02_547325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1590b9952f0e68a12c7be8d722951cc4.jpg","text":"TemporaryFile(/tmp/multipartBody6976945181199708362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102072597,"filename":"image_05012025_19_32_02_387564_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3c681dc43fac90e29c0e98f24d0a5d37.jpg","text":"TemporaryFile(/tmp/multipartBody3201989635481492230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102072597,"filename":"image_05012025_19_33_02_547325_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/599de2dd437033148fe1ed843bf52e51.jpg","text":"TemporaryFile(/tmp/multipartBody4678862684903185930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102072597,"filename":"image_05012025_19_33_02_547325_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889868","file1":"1326889867","file0":"1326889865","file3":"1326889870"},"map_files_photo_id_array":[{"photo_id":"1326889868","filename":"file2"},{"photo_id":"1326889867","filename":"file1"},{"photo_id":"1326889865","filename":"file0"},{"photo_id":"1326889870","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889870":["hashtag1","hashtag2"]},{"1326889865":["hashtag1","hashtag2"]},{"1326889868":["hashtag1","hashtag2"]},{"1326889867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889870, 1326889865, 1326889868, 1326889867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.003989458084106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:34:22.551010
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/33/image_05012025_19_33_02_547325_0003.jpg', '/home/pi/Desktop/images/05012025/19/34/image_05012025_19_34_02_804410_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/19/33/image_05012025_19_33_02_547325_0003.jpg
/home/pi/Desktop/images/05012025/19/34/image_05012025_19_34_02_804410_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":["1326889877","1326889876"],"photo_ids_order":["1326889876","1326889877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6bc17ba2307f908f9a09400fc1000470.jpg","text":"TemporaryFile(/tmp/multipartBody1240623347465605893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102127990,"filename":"image_05012025_19_34_02_804410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/47da5eca4221bd837e904b4ad3e232a5.jpg","text":"TemporaryFile(/tmp/multipartBody3144109314854824705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102127990,"filename":"image_05012025_19_33_02_547325_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326889877","file0":"1326889876"},"map_files_photo_id_array":[{"photo_id":"1326889877","filename":"file1"},{"photo_id":"1326889876","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889877":["hashtag1","hashtag2"]},{"1326889876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889877, 1326889876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.71642756462097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 19:34:52.534541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 19:35:03.336030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:35:22.750799
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/34/image_05012025_19_34_02_804410_0003.jpg', '/home/pi/Desktop/images/05012025/19/35/image_05012025_19_35_02_890137_0000.jpg', '/home/pi/Desktop/images/05012025/19/35/image_05012025_19_35_02_890137_0001.jpg', '/home/pi/Desktop/images/05012025/19/35/image_05012025_19_35_02_890137_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/19/34/image_05012025_19_34_02_804410_0003.jpg
/home/pi/Desktop/images/05012025/19/35/image_05012025_19_35_02_890137_0000.jpg
/home/pi/Desktop/images/05012025/19/35/image_05012025_19_35_02_890137_0001.jpg
/home/pi/Desktop/images/05012025/19/35/image_05012025_19_35_02_890137_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889890","1326889892","1326889891","1326889888"],"photo_ids_order":["1326889888","1326889890","1326889891","1326889892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2c58da3d4f34c65a56faaa55c4a9d1a4.jpg","text":"TemporaryFile(/tmp/multipartBody7754634851429563841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102193036,"filename":"image_05012025_19_35_02_890137_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/41e8f514acc7e241cf3009f81dd6519b.jpg","text":"TemporaryFile(/tmp/multipartBody6692555394359368812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102193036,"filename":"image_05012025_19_35_02_890137_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6f5e0d87bd94745a286d9a37f3b79659.jpg","text":"TemporaryFile(/tmp/multipartBody8279089539359168427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102193036,"filename":"image_05012025_19_35_02_890137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/65a85e03db99c8cdbb98cc081d9202df.jpg","text":"TemporaryFile(/tmp/multipartBody7881857472437373992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102193036,"filename":"image_05012025_19_34_02_804410_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889891","file1":"1326889890","file0":"1326889888","file3":"1326889892"},"map_files_photo_id_array":[{"photo_id":"1326889891","filename":"file2"},{"photo_id":"1326889890","filename":"file1"},{"photo_id":"1326889888","filename":"file0"},{"photo_id":"1326889892","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889890":["hashtag1","hashtag2"]},{"1326889892":["hashtag1","hashtag2"]},{"1326889891":["hashtag1","hashtag2"]},{"1326889888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889890, 1326889892, 1326889891, 1326889888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.557676792144775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:36:21.906592
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/35/image_05012025_19_35_02_890137_0003.jpg', '/home/pi/Desktop/images/05012025/19/36/image_05012025_19_36_03_096032_0000.jpg', '/home/pi/Desktop/images/05012025/19/36/image_05012025_19_36_03_096032_0001.jpg', '/home/pi/Desktop/images/05012025/19/36/image_05012025_19_36_03_096032_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/19/35/image_05012025_19_35_02_890137_0003.jpg
/home/pi/Desktop/images/05012025/19/36/image_05012025_19_36_03_096032_0000.jpg
/home/pi/Desktop/images/05012025/19/36/image_05012025_19_36_03_096032_0001.jpg
/home/pi/Desktop/images/05012025/19/36/image_05012025_19_36_03_096032_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.718754053115845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 19:36:41.928562
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/35/image_05012025_19_35_02_890137_0003.jpg', '/home/pi/Desktop/images/05012025/19/36/image_05012025_19_36_03_096032_0000.jpg', '/home/pi/Desktop/images/05012025/19/36/image_05012025_19_36_03_096032_0001.jpg', '/home/pi/Desktop/images/05012025/19/36/image_05012025_19_36_03_096032_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/19/35/image_05012025_19_35_02_890137_0003.jpg
/home/pi/Desktop/images/05012025/19/36/image_05012025_19_36_03_096032_0000.jpg
/home/pi/Desktop/images/05012025/19/36/image_05012025_19_36_03_096032_0001.jpg
/home/pi/Desktop/images/05012025/19/36/image_05012025_19_36_03_096032_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889909","1326889905","1326889907","1326889904"],"photo_ids_order":["1326889904","1326889905","1326889907","1326889909"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8aca31b1e9b55bbc14202b6fd12e6600.jpg","text":"TemporaryFile(/tmp/multipartBody3142136540284806517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102272060,"filename":"image_05012025_19_36_03_096032_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/abe2df2b3ea64320ef0fadd101f034f8.jpg","text":"TemporaryFile(/tmp/multipartBody7921204167559472916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102272060,"filename":"image_05012025_19_36_03_096032_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/04a96eabe72485d410b6a7bf27fff091.jpg","text":"TemporaryFile(/tmp/multipartBody6779600799558940411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102272060,"filename":"image_05012025_19_36_03_096032_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f3040b43580f47c559eca21c75ed70d8.jpg","text":"TemporaryFile(/tmp/multipartBody4740241957210693797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102272060,"filename":"image_05012025_19_35_02_890137_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889907","file1":"1326889905","file0":"1326889904","file3":"1326889909"},"map_files_photo_id_array":[{"photo_id":"1326889907","filename":"file2"},{"photo_id":"1326889905","filename":"file1"},{"photo_id":"1326889904","filename":"file0"},{"photo_id":"1326889909","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889909":["hashtag1","hashtag2"]},{"1326889905":["hashtag1","hashtag2"]},{"1326889907":["hashtag1","hashtag2"]},{"1326889904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889909, 1326889905, 1326889907, 1326889904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.17585372924805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 19:37:32.074396
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/36/image_05012025_19_36_03_096032_0003.jpg', '/home/pi/Desktop/images/05012025/19/37/image_05012025_19_37_02_299510_0000.jpg', '/home/pi/Desktop/images/05012025/19/37/image_05012025_19_37_02_299510_0001.jpg', '/home/pi/Desktop/images/05012025/19/37/image_05012025_19_37_02_299510_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/19/36/image_05012025_19_36_03_096032_0003.jpg
/home/pi/Desktop/images/05012025/19/37/image_05012025_19_37_02_299510_0000.jpg
/home/pi/Desktop/images/05012025/19/37/image_05012025_19_37_02_299510_0001.jpg
/home/pi/Desktop/images/05012025/19/37/image_05012025_19_37_02_299510_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889918","1326889920","1326889919","1326889916"],"photo_ids_order":["1326889916","1326889918","1326889919","1326889920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b0d64c57d422ee2317218da2ff100665.jpg","text":"TemporaryFile(/tmp/multipartBody7365418578556669958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102322220,"filename":"image_05012025_19_37_02_299510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/58a72a7b1e9135323aef13f3f79799e2.jpg","text":"TemporaryFile(/tmp/multipartBody2301109391760676987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102322220,"filename":"image_05012025_19_37_02_299510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d98de2ad2025d2e0f9a7bc351acd5be6.jpg","text":"TemporaryFile(/tmp/multipartBody3671827605341952161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102322220,"filename":"image_05012025_19_37_02_299510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a65788517b088403f6e283268abdf605.jpg","text":"TemporaryFile(/tmp/multipartBody382095525292583440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102322220,"filename":"image_05012025_19_36_03_096032_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889919","file1":"1326889918","file0":"1326889916","file3":"1326889920"},"map_files_photo_id_array":[{"photo_id":"1326889919","filename":"file2"},{"photo_id":"1326889918","filename":"file1"},{"photo_id":"1326889916","filename":"file0"},{"photo_id":"1326889920","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889918":["hashtag1","hashtag2"]},{"1326889920":["hashtag1","hashtag2"]},{"1326889919":["hashtag1","hashtag2"]},{"1326889916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889918, 1326889920, 1326889919, 1326889916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.20322132110596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:38:22.272311
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/37/image_05012025_19_37_02_299510_0003.jpg', '/home/pi/Desktop/images/05012025/19/38/image_05012025_19_38_02_524110_0000.jpg', '/home/pi/Desktop/images/05012025/19/38/image_05012025_19_38_02_524110_0001.jpg', '/home/pi/Desktop/images/05012025/19/38/image_05012025_19_38_02_524110_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/19/37/image_05012025_19_37_02_299510_0003.jpg
/home/pi/Desktop/images/05012025/19/38/image_05012025_19_38_02_524110_0000.jpg
/home/pi/Desktop/images/05012025/19/38/image_05012025_19_38_02_524110_0001.jpg
/home/pi/Desktop/images/05012025/19/38/image_05012025_19_38_02_524110_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889927","1326889926","1326889929","1326889931"],"photo_ids_order":["1326889926","1326889927","1326889929","1326889931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/42f896b30ae9ddbf76a8802b4f8c0660.jpg","text":"TemporaryFile(/tmp/multipartBody7447245937012779000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102372419,"filename":"image_05012025_19_38_02_524110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/390375691e501956af9b513221a0a026.jpg","text":"TemporaryFile(/tmp/multipartBody4604272355204014416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102372419,"filename":"image_05012025_19_37_02_299510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c9c4c91f380c419425d31d35a17071d.jpg","text":"TemporaryFile(/tmp/multipartBody5447088344426694221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102372419,"filename":"image_05012025_19_38_02_524110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d15f3ec031ebe0b57d611e9c217d13ee.jpg","text":"TemporaryFile(/tmp/multipartBody6466277404973559594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102372419,"filename":"image_05012025_19_38_02_524110_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889929","file1":"1326889927","file0":"1326889926","file3":"1326889931"},"map_files_photo_id_array":[{"photo_id":"1326889929","filename":"file2"},{"photo_id":"1326889927","filename":"file1"},{"photo_id":"1326889926","filename":"file0"},{"photo_id":"1326889931","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889927":["hashtag1","hashtag2"]},{"1326889926":["hashtag1","hashtag2"]},{"1326889929":["hashtag1","hashtag2"]},{"1326889931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889927, 1326889926, 1326889929, 1326889931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.24831008911133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:39:22.505758
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/38/image_05012025_19_38_02_524110_0003.jpg', '/home/pi/Desktop/images/05012025/19/39/image_05012025_19_39_02_631361_0000.jpg', '/home/pi/Desktop/images/05012025/19/39/image_05012025_19_39_02_631361_0001.jpg', '/home/pi/Desktop/images/05012025/19/39/image_05012025_19_39_02_631361_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/19/38/image_05012025_19_38_02_524110_0003.jpg
/home/pi/Desktop/images/05012025/19/39/image_05012025_19_39_02_631361_0000.jpg
/home/pi/Desktop/images/05012025/19/39/image_05012025_19_39_02_631361_0001.jpg
/home/pi/Desktop/images/05012025/19/39/image_05012025_19_39_02_631361_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889942","1326889939","1326889941","1326889938"],"photo_ids_order":["1326889938","1326889939","1326889941","1326889942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b3c447d04697c37e6409d987655d6493.jpg","text":"TemporaryFile(/tmp/multipartBody4136527423098812325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102432794,"filename":"image_05012025_19_39_02_631361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9dfb50ff06231eee4d38750657ef15b3.jpg","text":"TemporaryFile(/tmp/multipartBody5229908034698522385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102432794,"filename":"image_05012025_19_39_02_631361_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7511213ad0c7c264808058ce749aa880.jpg","text":"TemporaryFile(/tmp/multipartBody2382007968607081916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102432794,"filename":"image_05012025_19_39_02_631361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5b6fc80bff6e7c8f135b24bb0165dc8d.jpg","text":"TemporaryFile(/tmp/multipartBody5733813560747549971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102432794,"filename":"image_05012025_19_38_02_524110_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889941","file1":"1326889939","file0":"1326889938","file3":"1326889942"},"map_files_photo_id_array":[{"photo_id":"1326889941","filename":"file2"},{"photo_id":"1326889939","filename":"file1"},{"photo_id":"1326889938","filename":"file0"},{"photo_id":"1326889942","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889942":["hashtag1","hashtag2"]},{"1326889939":["hashtag1","hashtag2"]},{"1326889941":["hashtag1","hashtag2"]},{"1326889938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889942, 1326889939, 1326889941, 1326889938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.59135866165161 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:40:22.704565
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/39/image_05012025_19_39_02_631361_0003.jpg', '/home/pi/Desktop/images/05012025/19/40/image_05012025_19_40_02_854999_0000.jpg', '/home/pi/Desktop/images/05012025/19/40/image_05012025_19_40_02_854999_0001.jpg', '/home/pi/Desktop/images/05012025/19/40/image_05012025_19_40_02_854999_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/19/39/image_05012025_19_39_02_631361_0003.jpg
/home/pi/Desktop/images/05012025/19/40/image_05012025_19_40_02_854999_0000.jpg
/home/pi/Desktop/images/05012025/19/40/image_05012025_19_40_02_854999_0001.jpg
/home/pi/Desktop/images/05012025/19/40/image_05012025_19_40_02_854999_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889950","1326889953","1326889955","1326889952"],"photo_ids_order":["1326889950","1326889952","1326889953","1326889955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d2425338bbc998f1a0dd2a2bf36bc26a.jpg","text":"TemporaryFile(/tmp/multipartBody4675770866770175603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102492864,"filename":"image_05012025_19_39_02_631361_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f388118961a25f78e50b3f6f36424518.jpg","text":"TemporaryFile(/tmp/multipartBody6911135004298664466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102492864,"filename":"image_05012025_19_40_02_854999_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f96e4bf8af8d633f39873dea70b88b80.jpg","text":"TemporaryFile(/tmp/multipartBody6527740360629605547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102492864,"filename":"image_05012025_19_40_02_854999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b65ad565fe2338b6997e7e20791331db.jpg","text":"TemporaryFile(/tmp/multipartBody9171790405622492355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102492864,"filename":"image_05012025_19_40_02_854999_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889953","file1":"1326889952","file0":"1326889950","file3":"1326889955"},"map_files_photo_id_array":[{"photo_id":"1326889953","filename":"file2"},{"photo_id":"1326889952","filename":"file1"},{"photo_id":"1326889950","filename":"file0"},{"photo_id":"1326889955","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889950":["hashtag1","hashtag2"]},{"1326889953":["hashtag1","hashtag2"]},{"1326889955":["hashtag1","hashtag2"]},{"1326889952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889950, 1326889953, 1326889955, 1326889952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.085171937942505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:41:21.869674
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/40/image_05012025_19_40_02_854999_0003.jpg', '/home/pi/Desktop/images/05012025/19/41/image_05012025_19_41_03_059540_0000.jpg', '/home/pi/Desktop/images/05012025/19/41/image_05012025_19_41_03_059540_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/19/40/image_05012025_19_40_02_854999_0003.jpg
/home/pi/Desktop/images/05012025/19/41/image_05012025_19_41_03_059540_0000.jpg
/home/pi/Desktop/images/05012025/19/41/image_05012025_19_41_03_059540_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889965","1326889968","1326889967"],"photo_ids_order":["1326889965","1326889967","1326889968"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9690d28805854f5edff00223c5ff4c0a.jpg","text":"TemporaryFile(/tmp/multipartBody6947130511349017799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102549665,"filename":"image_05012025_19_40_02_854999_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aa565b25aa231685204f52fc24239b8a.jpg","text":"TemporaryFile(/tmp/multipartBody1183408809163830012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102549665,"filename":"image_05012025_19_41_03_059540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/087571cf9901f9a1a4248d6f31b6a4ca.jpg","text":"TemporaryFile(/tmp/multipartBody5987517483708399351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102549665,"filename":"image_05012025_19_41_03_059540_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889968","file1":"1326889967","file0":"1326889965"},"map_files_photo_id_array":[{"photo_id":"1326889968","filename":"file2"},{"photo_id":"1326889967","filename":"file1"},{"photo_id":"1326889965","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889965":["hashtag1","hashtag2"]},{"1326889968":["hashtag1","hashtag2"]},{"1326889967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889965, 1326889968, 1326889967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.5407395362854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 19:42:02.459852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:42:22.133618
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/41/image_05012025_19_41_03_059540_0003.jpg', '/home/pi/Desktop/images/05012025/19/42/image_05012025_19_42_02_214118_0000.jpg', '/home/pi/Desktop/images/05012025/19/42/image_05012025_19_42_02_214118_0001.jpg', '/home/pi/Desktop/images/05012025/19/42/image_05012025_19_42_02_214118_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/19/41/image_05012025_19_41_03_059540_0003.jpg
/home/pi/Desktop/images/05012025/19/42/image_05012025_19_42_02_214118_0000.jpg
/home/pi/Desktop/images/05012025/19/42/image_05012025_19_42_02_214118_0001.jpg
/home/pi/Desktop/images/05012025/19/42/image_05012025_19_42_02_214118_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.76824951171875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 19:42:42.068362
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/41/image_05012025_19_41_03_059540_0003.jpg', '/home/pi/Desktop/images/05012025/19/42/image_05012025_19_42_02_214118_0000.jpg', '/home/pi/Desktop/images/05012025/19/42/image_05012025_19_42_02_214118_0001.jpg', '/home/pi/Desktop/images/05012025/19/42/image_05012025_19_42_02_214118_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/19/41/image_05012025_19_41_03_059540_0003.jpg
/home/pi/Desktop/images/05012025/19/42/image_05012025_19_42_02_214118_0000.jpg
/home/pi/Desktop/images/05012025/19/42/image_05012025_19_42_02_214118_0001.jpg
/home/pi/Desktop/images/05012025/19/42/image_05012025_19_42_02_214118_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889980","1326889983","1326889982","1326889979"],"photo_ids_order":["1326889979","1326889980","1326889982","1326889983"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6f8db954f76876507aadd02d2e1a6cab.jpg","text":"TemporaryFile(/tmp/multipartBody6314494394278715387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102632247,"filename":"image_05012025_19_42_02_214118_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d37855b790e079aba8af58898542198f.jpg","text":"TemporaryFile(/tmp/multipartBody4861477291326517395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102632247,"filename":"image_05012025_19_42_02_214118_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/669104db9df73ab39ce3800953c62c0c.jpg","text":"TemporaryFile(/tmp/multipartBody4786575291621571802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102632247,"filename":"image_05012025_19_42_02_214118_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aa7e192a7c4a7b046ba74137fd707d07.jpg","text":"TemporaryFile(/tmp/multipartBody5273796043110558247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102632247,"filename":"image_05012025_19_41_03_059540_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889982","file1":"1326889980","file0":"1326889979","file3":"1326889983"},"map_files_photo_id_array":[{"photo_id":"1326889982","filename":"file2"},{"photo_id":"1326889980","filename":"file1"},{"photo_id":"1326889979","filename":"file0"},{"photo_id":"1326889983","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889980":["hashtag1","hashtag2"]},{"1326889983":["hashtag1","hashtag2"]},{"1326889982":["hashtag1","hashtag2"]},{"1326889979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889980, 1326889983, 1326889982, 1326889979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.97716689109802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 19:43:32.302465
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/42/image_05012025_19_42_02_214118_0003.jpg', '/home/pi/Desktop/images/05012025/19/43/image_05012025_19_43_02_458543_0000.jpg', '/home/pi/Desktop/images/05012025/19/43/image_05012025_19_43_02_458543_0001.jpg', '/home/pi/Desktop/images/05012025/19/43/image_05012025_19_43_02_458543_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/19/42/image_05012025_19_42_02_214118_0003.jpg
/home/pi/Desktop/images/05012025/19/43/image_05012025_19_43_02_458543_0000.jpg
/home/pi/Desktop/images/05012025/19/43/image_05012025_19_43_02_458543_0001.jpg
/home/pi/Desktop/images/05012025/19/43/image_05012025_19_43_02_458543_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326889992","1326889991","1326889994","1326889993"],"photo_ids_order":["1326889991","1326889992","1326889993","1326889994"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/702653e06dc224d9b5d707c6d120a527.jpg","text":"TemporaryFile(/tmp/multipartBody2931587371079526306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102682587,"filename":"image_05012025_19_43_02_458543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e56dcd2a281a79f51179c4b4f4bafce9.jpg","text":"TemporaryFile(/tmp/multipartBody6282661940429305375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102682587,"filename":"image_05012025_19_42_02_214118_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/35a30e6707b03b50037b02a04d0d5814.jpg","text":"TemporaryFile(/tmp/multipartBody1862961861010056673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102682587,"filename":"image_05012025_19_43_02_458543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bc704766fa2384d1e4c01f661bdd57b0.jpg","text":"TemporaryFile(/tmp/multipartBody7494646621667412949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102682587,"filename":"image_05012025_19_43_02_458543_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326889993","file1":"1326889992","file0":"1326889991","file3":"1326889994"},"map_files_photo_id_array":[{"photo_id":"1326889993","filename":"file2"},{"photo_id":"1326889992","filename":"file1"},{"photo_id":"1326889991","filename":"file0"},{"photo_id":"1326889994","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326889992":["hashtag1","hashtag2"]},{"1326889991":["hashtag1","hashtag2"]},{"1326889994":["hashtag1","hashtag2"]},{"1326889993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326889992, 1326889991, 1326889994, 1326889993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3021514415741 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:44:22.506504
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/43/image_05012025_19_43_02_458543_0003.jpg', '/home/pi/Desktop/images/05012025/19/44/image_05012025_19_44_02_706524_0000.jpg', '/home/pi/Desktop/images/05012025/19/44/image_05012025_19_44_02_706524_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/19/43/image_05012025_19_43_02_458543_0003.jpg
/home/pi/Desktop/images/05012025/19/44/image_05012025_19_44_02_706524_0000.jpg
/home/pi/Desktop/images/05012025/19/44/image_05012025_19_44_02_706524_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":["1326890015","1326890018","1326890017"],"photo_ids_order":["1326890015","1326890017","1326890018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/619ed47bea2707e337dc5dcda1f6e29b.jpg","text":"TemporaryFile(/tmp/multipartBody5620534409423231845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102730233,"filename":"image_05012025_19_43_02_458543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3255b56912da94067045407c477049b.jpg","text":"TemporaryFile(/tmp/multipartBody6529717357042439287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102730233,"filename":"image_05012025_19_44_02_706524_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f2edb471502b9a757009b88700a8bc6.jpg","text":"TemporaryFile(/tmp/multipartBody5546431351092244189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102730233,"filename":"image_05012025_19_44_02_706524_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326890018","file1":"1326890017","file0":"1326890015"},"map_files_photo_id_array":[{"photo_id":"1326890018","filename":"file2"},{"photo_id":"1326890017","filename":"file1"},{"photo_id":"1326890015","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326890015":["hashtag1","hashtag2"]},{"1326890018":["hashtag1","hashtag2"]},{"1326890017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326890015, 1326890018, 1326890017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.55215644836426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 19:45:03.324548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:45:22.620202
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/44/image_05012025_19_44_02_706524_0002.jpg', '/home/pi/Desktop/images/05012025/19/45/image_05012025_19_45_02_873240_0000.jpg', '/home/pi/Desktop/images/05012025/19/45/image_05012025_19_45_02_873240_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/19/44/image_05012025_19_44_02_706524_0002.jpg
/home/pi/Desktop/images/05012025/19/45/image_05012025_19_45_02_873240_0000.jpg
/home/pi/Desktop/images/05012025/19/45/image_05012025_19_45_02_873240_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":["1326890036","1326890031","1326890033"],"photo_ids_order":["1326890031","1326890033","1326890036"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2acb3e6259a2a02b8a4d6cf704ee170e.jpg","text":"TemporaryFile(/tmp/multipartBody3657456022344579948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102790397,"filename":"image_05012025_19_45_02_873240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a19745e5c6d374436bc7f7642b52f34.jpg","text":"TemporaryFile(/tmp/multipartBody7759481677977183726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102790397,"filename":"image_05012025_19_44_02_706524_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6133511f968f6c23b58fec120d3c9d59.jpg","text":"TemporaryFile(/tmp/multipartBody8264167623844572653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102790397,"filename":"image_05012025_19_45_02_873240_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326890036","file1":"1326890033","file0":"1326890031"},"map_files_photo_id_array":[{"photo_id":"1326890036","filename":"file2"},{"photo_id":"1326890033","filename":"file1"},{"photo_id":"1326890031","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326890036":["hashtag1","hashtag2"]},{"1326890031":["hashtag1","hashtag2"]},{"1326890033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326890036, 1326890031, 1326890033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.64354610443115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 19:46:02.327939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:46:21.896610
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/45/image_05012025_19_45_02_873240_0002.jpg', '/home/pi/Desktop/images/05012025/19/46/image_05012025_19_46_03_111123_0000.jpg', '/home/pi/Desktop/images/05012025/19/46/image_05012025_19_46_03_111123_0001.jpg', '/home/pi/Desktop/images/05012025/19/46/image_05012025_19_46_03_111123_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/19/45/image_05012025_19_45_02_873240_0002.jpg
/home/pi/Desktop/images/05012025/19/46/image_05012025_19_46_03_111123_0000.jpg
/home/pi/Desktop/images/05012025/19/46/image_05012025_19_46_03_111123_0001.jpg
/home/pi/Desktop/images/05012025/19/46/image_05012025_19_46_03_111123_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326890047","1326890046","1326890051","1326890048"],"photo_ids_order":["1326890046","1326890047","1326890048","1326890051"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/25f9cab0ed827244d1b4927458f7c45a.jpg","text":"TemporaryFile(/tmp/multipartBody3929318522858785153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102852067,"filename":"image_05012025_19_46_03_111123_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0d00e5630fd46ad04b4a8fe2c9afff99.jpg","text":"TemporaryFile(/tmp/multipartBody2651994093169857328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102852067,"filename":"image_05012025_19_45_02_873240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4c5c883eba3b252fb54f07f84ade401a.jpg","text":"TemporaryFile(/tmp/multipartBody4702183491610352161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102852067,"filename":"image_05012025_19_46_03_111123_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0c1440e6b44898c97ff703cedaf5f788.jpg","text":"TemporaryFile(/tmp/multipartBody9085856463638175899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102852067,"filename":"image_05012025_19_46_03_111123_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326890048","file1":"1326890047","file0":"1326890046","file3":"1326890051"},"map_files_photo_id_array":[{"photo_id":"1326890048","filename":"file2"},{"photo_id":"1326890047","filename":"file1"},{"photo_id":"1326890046","filename":"file0"},{"photo_id":"1326890051","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326890047":["hashtag1","hashtag2"]},{"1326890046":["hashtag1","hashtag2"]},{"1326890051":["hashtag1","hashtag2"]},{"1326890048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326890047, 1326890046, 1326890051, 1326890048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.14424443244934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:47:22.073182
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/46/image_05012025_19_46_03_111123_0003.jpg', '/home/pi/Desktop/images/05012025/19/47/image_05012025_19_47_02_253512_0000.jpg', '/home/pi/Desktop/images/05012025/19/47/image_05012025_19_47_02_253512_0001.jpg', '/home/pi/Desktop/images/05012025/19/47/image_05012025_19_47_02_253512_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/19/46/image_05012025_19_46_03_111123_0003.jpg
/home/pi/Desktop/images/05012025/19/47/image_05012025_19_47_02_253512_0000.jpg
/home/pi/Desktop/images/05012025/19/47/image_05012025_19_47_02_253512_0001.jpg
/home/pi/Desktop/images/05012025/19/47/image_05012025_19_47_02_253512_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326890065","1326890062","1326890064","1326890066"],"photo_ids_order":["1326890062","1326890064","1326890065","1326890066"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fc6f4f572efab37ec3c1e6a8b00d1448.jpg","text":"TemporaryFile(/tmp/multipartBody1312888861127561976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102912198,"filename":"image_05012025_19_47_02_253512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/837939e6a6387db515e546957532239d.jpg","text":"TemporaryFile(/tmp/multipartBody3166246558672684004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102912198,"filename":"image_05012025_19_46_03_111123_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88a6ea26cab5a881589ae89e6c6233ac.jpg","text":"TemporaryFile(/tmp/multipartBody318621198437859770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102912198,"filename":"image_05012025_19_47_02_253512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8cb7eaabd8aff54a9747c52d7c59e129.jpg","text":"TemporaryFile(/tmp/multipartBody4504280548587834833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102912198,"filename":"image_05012025_19_47_02_253512_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326890065","file1":"1326890064","file0":"1326890062","file3":"1326890066"},"map_files_photo_id_array":[{"photo_id":"1326890065","filename":"file2"},{"photo_id":"1326890064","filename":"file1"},{"photo_id":"1326890062","filename":"file0"},{"photo_id":"1326890066","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326890065":["hashtag1","hashtag2"]},{"1326890062":["hashtag1","hashtag2"]},{"1326890064":["hashtag1","hashtag2"]},{"1326890066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326890065, 1326890062, 1326890064, 1326890066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.93814778327942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:48:22.310766
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/47/image_05012025_19_47_02_253512_0003.jpg', '/home/pi/Desktop/images/05012025/19/48/image_05012025_19_48_02_398543_0000.jpg', '/home/pi/Desktop/images/05012025/19/48/image_05012025_19_48_02_398543_0001.jpg', '/home/pi/Desktop/images/05012025/19/48/image_05012025_19_48_02_398543_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/19/47/image_05012025_19_47_02_253512_0003.jpg
/home/pi/Desktop/images/05012025/19/48/image_05012025_19_48_02_398543_0000.jpg
/home/pi/Desktop/images/05012025/19/48/image_05012025_19_48_02_398543_0001.jpg
/home/pi/Desktop/images/05012025/19/48/image_05012025_19_48_02_398543_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.675922870635986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 19:48:42.235686
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/47/image_05012025_19_47_02_253512_0003.jpg', '/home/pi/Desktop/images/05012025/19/48/image_05012025_19_48_02_398543_0000.jpg', '/home/pi/Desktop/images/05012025/19/48/image_05012025_19_48_02_398543_0001.jpg', '/home/pi/Desktop/images/05012025/19/48/image_05012025_19_48_02_398543_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/19/47/image_05012025_19_47_02_253512_0003.jpg
/home/pi/Desktop/images/05012025/19/48/image_05012025_19_48_02_398543_0000.jpg
/home/pi/Desktop/images/05012025/19/48/image_05012025_19_48_02_398543_0001.jpg
/home/pi/Desktop/images/05012025/19/48/image_05012025_19_48_02_398543_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326890083","1326890080","1326890085","1326890081"],"photo_ids_order":["1326890080","1326890081","1326890083","1326890085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e81d001739998df41bd68cbf1d082dc3.jpg","text":"TemporaryFile(/tmp/multipartBody8906474196208627000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102992295,"filename":"image_05012025_19_48_02_398543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1037d7afa1cbdf08404cd9ff840a64a6.jpg","text":"TemporaryFile(/tmp/multipartBody5955583006722878194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102992295,"filename":"image_05012025_19_47_02_253512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3cc3318c56d9eeda32447b1a9553ed6b.jpg","text":"TemporaryFile(/tmp/multipartBody532383247775543557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102992295,"filename":"image_05012025_19_48_02_398543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d2693133597514922130c25c65e60913.jpg","text":"TemporaryFile(/tmp/multipartBody1079798185918374778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736102992295,"filename":"image_05012025_19_48_02_398543_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326890083","file1":"1326890081","file0":"1326890080","file3":"1326890085"},"map_files_photo_id_array":[{"photo_id":"1326890083","filename":"file2"},{"photo_id":"1326890081","filename":"file1"},{"photo_id":"1326890080","filename":"file0"},{"photo_id":"1326890085","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326890083":["hashtag1","hashtag2"]},{"1326890080":["hashtag1","hashtag2"]},{"1326890085":["hashtag1","hashtag2"]},{"1326890081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326890083, 1326890080, 1326890085, 1326890081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.08729958534241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 19:49:32.411700
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/48/image_05012025_19_48_02_398543_0003.jpg', '/home/pi/Desktop/images/05012025/19/49/image_05012025_19_49_02_600068_0000.jpg', '/home/pi/Desktop/images/05012025/19/49/image_05012025_19_49_02_600068_0001.jpg', '/home/pi/Desktop/images/05012025/19/49/image_05012025_19_49_02_600068_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/19/48/image_05012025_19_48_02_398543_0003.jpg
/home/pi/Desktop/images/05012025/19/49/image_05012025_19_49_02_600068_0000.jpg
/home/pi/Desktop/images/05012025/19/49/image_05012025_19_49_02_600068_0001.jpg
/home/pi/Desktop/images/05012025/19/49/image_05012025_19_49_02_600068_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326890092","1326890094","1326890091","1326890093"],"photo_ids_order":["1326890091","1326890092","1326890093","1326890094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/90977a621cfe283b92e7b6b93cb891e9.jpg","text":"TemporaryFile(/tmp/multipartBody7010344784328624843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103042627,"filename":"image_05012025_19_49_02_600068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/19b2e09073fcefd0ee0c1370b386e1ae.jpg","text":"TemporaryFile(/tmp/multipartBody5900287153882246558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103042627,"filename":"image_05012025_19_49_02_600068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b25663e653cf8acd85237e1df286c0a4.jpg","text":"TemporaryFile(/tmp/multipartBody5084404219325095384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103042627,"filename":"image_05012025_19_48_02_398543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/07d3bafaf306018911f71541f2ddbac5.jpg","text":"TemporaryFile(/tmp/multipartBody6413742283457191542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103042627,"filename":"image_05012025_19_49_02_600068_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326890093","file1":"1326890092","file0":"1326890091","file3":"1326890094"},"map_files_photo_id_array":[{"photo_id":"1326890093","filename":"file2"},{"photo_id":"1326890092","filename":"file1"},{"photo_id":"1326890091","filename":"file0"},{"photo_id":"1326890094","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326890092":["hashtag1","hashtag2"]},{"1326890094":["hashtag1","hashtag2"]},{"1326890091":["hashtag1","hashtag2"]},{"1326890093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326890092, 1326890094, 1326890091, 1326890093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.3391387462616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:50:22.647100
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/49/image_05012025_19_49_02_600068_0003.jpg', '/home/pi/Desktop/images/05012025/19/50/image_05012025_19_50_02_811182_0000.jpg', '/home/pi/Desktop/images/05012025/19/50/image_05012025_19_50_02_811182_0001.jpg', '/home/pi/Desktop/images/05012025/19/50/image_05012025_19_50_02_811182_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/19/49/image_05012025_19_49_02_600068_0003.jpg
/home/pi/Desktop/images/05012025/19/50/image_05012025_19_50_02_811182_0000.jpg
/home/pi/Desktop/images/05012025/19/50/image_05012025_19_50_02_811182_0001.jpg
/home/pi/Desktop/images/05012025/19/50/image_05012025_19_50_02_811182_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326890101","1326890100","1326890103","1326890105"],"photo_ids_order":["1326890100","1326890101","1326890103","1326890105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd200788c10b1d5dcdfcfb1af9de4aea.jpg","text":"TemporaryFile(/tmp/multipartBody6441169621355240939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103092903,"filename":"image_05012025_19_50_02_811182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/622bfd48f5e1ed86439abfb3dd4b93c7.jpg","text":"TemporaryFile(/tmp/multipartBody7875110366326956220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103092903,"filename":"image_05012025_19_49_02_600068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eefa3282d642b29eb4139bacad1b15f6.jpg","text":"TemporaryFile(/tmp/multipartBody2850103476159789990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103092903,"filename":"image_05012025_19_50_02_811182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/58d0cb64c8d8ba3199228d8e57fefb48.jpg","text":"TemporaryFile(/tmp/multipartBody5278485864420630521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103092903,"filename":"image_05012025_19_50_02_811182_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326890103","file1":"1326890101","file0":"1326890100","file3":"1326890105"},"map_files_photo_id_array":[{"photo_id":"1326890103","filename":"file2"},{"photo_id":"1326890101","filename":"file1"},{"photo_id":"1326890100","filename":"file0"},{"photo_id":"1326890105","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326890101":["hashtag1","hashtag2"]},{"1326890100":["hashtag1","hashtag2"]},{"1326890103":["hashtag1","hashtag2"]},{"1326890105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326890101, 1326890100, 1326890103, 1326890105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.26194381713867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:51:21.891924
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/50/image_05012025_19_50_02_811182_0003.jpg', '/home/pi/Desktop/images/05012025/19/51/image_05012025_19_51_03_016913_0000.jpg', '/home/pi/Desktop/images/05012025/19/51/image_05012025_19_51_03_016913_0001.jpg', '/home/pi/Desktop/images/05012025/19/51/image_05012025_19_51_03_016913_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/19/50/image_05012025_19_50_02_811182_0003.jpg
/home/pi/Desktop/images/05012025/19/51/image_05012025_19_51_03_016913_0000.jpg
/home/pi/Desktop/images/05012025/19/51/image_05012025_19_51_03_016913_0001.jpg
/home/pi/Desktop/images/05012025/19/51/image_05012025_19_51_03_016913_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326890114","1326890116","1326890112","1326890111"],"photo_ids_order":["1326890111","1326890112","1326890114","1326890116"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7b22ede8dd626413553cb2ae1a1bdd13.jpg","text":"TemporaryFile(/tmp/multipartBody3583032432745130393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103152194,"filename":"image_05012025_19_51_03_016913_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b05ac28d1167db3e65b8968c91898613.jpg","text":"TemporaryFile(/tmp/multipartBody5967160896937438461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103152194,"filename":"image_05012025_19_51_03_016913_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a58196618514bb4317f878d866495fa.jpg","text":"TemporaryFile(/tmp/multipartBody6293201549665651549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103152194,"filename":"image_05012025_19_51_03_016913_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/784d0f4110cbe9843d18ffd1e3644f3b.jpg","text":"TemporaryFile(/tmp/multipartBody7866492230280594283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103152194,"filename":"image_05012025_19_50_02_811182_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326890114","file1":"1326890112","file0":"1326890111","file3":"1326890116"},"map_files_photo_id_array":[{"photo_id":"1326890114","filename":"file2"},{"photo_id":"1326890112","filename":"file1"},{"photo_id":"1326890111","filename":"file0"},{"photo_id":"1326890116","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326890114":["hashtag1","hashtag2"]},{"1326890116":["hashtag1","hashtag2"]},{"1326890112":["hashtag1","hashtag2"]},{"1326890111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326890114, 1326890116, 1326890112, 1326890111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.606698751449585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:52:22.174914
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/51/image_05012025_19_51_03_016913_0003.jpg', '/home/pi/Desktop/images/05012025/19/52/image_05012025_19_52_02_282938_0000.jpg', '/home/pi/Desktop/images/05012025/19/52/image_05012025_19_52_02_282938_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/19/51/image_05012025_19_51_03_016913_0003.jpg
/home/pi/Desktop/images/05012025/19/52/image_05012025_19_52_02_282938_0000.jpg
/home/pi/Desktop/images/05012025/19/52/image_05012025_19_52_02_282938_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":["1326890125","1326890124","1326890123"],"photo_ids_order":["1326890123","1326890124","1326890125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f3720d54f14114714f48cd5da1fe4490.jpg","text":"TemporaryFile(/tmp/multipartBody1313656736316686529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103210009,"filename":"image_05012025_19_52_02_282938_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/55414e45c48b824e16038dddb6f5b593.jpg","text":"TemporaryFile(/tmp/multipartBody9115529483951937500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103210009,"filename":"image_05012025_19_52_02_282938_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ed498a4221cd1ccaeedc2177af58c25d.jpg","text":"TemporaryFile(/tmp/multipartBody7942586620038985249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103210009,"filename":"image_05012025_19_51_03_016913_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326890125","file1":"1326890124","file0":"1326890123"},"map_files_photo_id_array":[{"photo_id":"1326890125","filename":"file2"},{"photo_id":"1326890124","filename":"file1"},{"photo_id":"1326890123","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326890125":["hashtag1","hashtag2"]},{"1326890124":["hashtag1","hashtag2"]},{"1326890123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326890125, 1326890124, 1326890123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.270562887191772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 19:53:02.982810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:53:22.236242
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/52/image_05012025_19_52_02_282938_0002.jpg', '/home/pi/Desktop/images/05012025/19/53/image_05012025_19_53_02_484194_0000.jpg', '/home/pi/Desktop/images/05012025/19/53/image_05012025_19_53_02_484194_0001.jpg', '/home/pi/Desktop/images/05012025/19/53/image_05012025_19_53_02_484194_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/19/52/image_05012025_19_52_02_282938_0002.jpg
/home/pi/Desktop/images/05012025/19/53/image_05012025_19_53_02_484194_0000.jpg
/home/pi/Desktop/images/05012025/19/53/image_05012025_19_53_02_484194_0001.jpg
/home/pi/Desktop/images/05012025/19/53/image_05012025_19_53_02_484194_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326890140","1326890137","1326890139","1326890141"],"photo_ids_order":["1326890137","1326890139","1326890140","1326890141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/414f09cb97436258bef4d500ea182596.jpg","text":"TemporaryFile(/tmp/multipartBody7731642970408348964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103272424,"filename":"image_05012025_19_53_02_484194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/301e337c9a1e55c669fe6c159923cdb5.jpg","text":"TemporaryFile(/tmp/multipartBody1407243767166984623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103272424,"filename":"image_05012025_19_52_02_282938_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f90a00bb783e40cedf189efa898d0102.jpg","text":"TemporaryFile(/tmp/multipartBody494218143215557060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103272424,"filename":"image_05012025_19_53_02_484194_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0b89d31589d1470ee39ed48902922602.jpg","text":"TemporaryFile(/tmp/multipartBody3816500083135373311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103272424,"filename":"image_05012025_19_53_02_484194_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326890140","file1":"1326890139","file0":"1326890137","file3":"1326890141"},"map_files_photo_id_array":[{"photo_id":"1326890140","filename":"file2"},{"photo_id":"1326890139","filename":"file1"},{"photo_id":"1326890137","filename":"file0"},{"photo_id":"1326890141","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326890140":["hashtag1","hashtag2"]},{"1326890137":["hashtag1","hashtag2"]},{"1326890139":["hashtag1","hashtag2"]},{"1326890141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326890140, 1326890137, 1326890139, 1326890141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.030765533447266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:54:22.634735
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/53/image_05012025_19_53_02_484194_0003.jpg', '/home/pi/Desktop/images/05012025/19/54/image_05012025_19_54_02_647855_0000.jpg', '/home/pi/Desktop/images/05012025/19/54/image_05012025_19_54_02_647855_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/19/53/image_05012025_19_53_02_484194_0003.jpg
/home/pi/Desktop/images/05012025/19/54/image_05012025_19_54_02_647855_0000.jpg
/home/pi/Desktop/images/05012025/19/54/image_05012025_19_54_02_647855_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.511690139770508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 19:54:32.467733
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/53/image_05012025_19_53_02_484194_0003.jpg', '/home/pi/Desktop/images/05012025/19/54/image_05012025_19_54_02_647855_0000.jpg', '/home/pi/Desktop/images/05012025/19/54/image_05012025_19_54_02_647855_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/19/53/image_05012025_19_53_02_484194_0003.jpg
/home/pi/Desktop/images/05012025/19/54/image_05012025_19_54_02_647855_0000.jpg
/home/pi/Desktop/images/05012025/19/54/image_05012025_19_54_02_647855_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":["1326890152","1326890151","1326890150"],"photo_ids_order":["1326890150","1326890151","1326890152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/87124efce1c659dd02ba2a16e43c4b0f.jpg","text":"TemporaryFile(/tmp/multipartBody9013749389707969537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103340391,"filename":"image_05012025_19_54_02_647855_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d84085751a417516cd53151d93fc117f.jpg","text":"TemporaryFile(/tmp/multipartBody2962194450096134562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103340391,"filename":"image_05012025_19_54_02_647855_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c9e25e673ba70140fb3b82aeec06b454.jpg","text":"TemporaryFile(/tmp/multipartBody5847675310549002886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103340391,"filename":"image_05012025_19_53_02_484194_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326890152","file1":"1326890151","file0":"1326890150"},"map_files_photo_id_array":[{"photo_id":"1326890152","filename":"file2"},{"photo_id":"1326890151","filename":"file1"},{"photo_id":"1326890150","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326890152":["hashtag1","hashtag2"]},{"1326890151":["hashtag1","hashtag2"]},{"1326890150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326890152, 1326890151, 1326890150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.25668454170227 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:55:22.731367
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/54/image_05012025_19_54_02_647855_0002.jpg', '/home/pi/Desktop/images/05012025/19/55/image_05012025_19_55_02_902933_0000.jpg', '/home/pi/Desktop/images/05012025/19/55/image_05012025_19_55_02_902933_0001.jpg', '/home/pi/Desktop/images/05012025/19/55/image_05012025_19_55_02_902933_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/19/54/image_05012025_19_54_02_647855_0002.jpg
/home/pi/Desktop/images/05012025/19/55/image_05012025_19_55_02_902933_0000.jpg
/home/pi/Desktop/images/05012025/19/55/image_05012025_19_55_02_902933_0001.jpg
/home/pi/Desktop/images/05012025/19/55/image_05012025_19_55_02_902933_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326890161","1326890163","1326890160","1326890162"],"photo_ids_order":["1326890160","1326890161","1326890162","1326890163"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1171d6bfa34bbea72da64f39b91bd016.jpg","text":"TemporaryFile(/tmp/multipartBody8592381763715977211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103393090,"filename":"image_05012025_19_55_02_902933_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/109d6207c1954c8bb0356e6c63e60594.jpg","text":"TemporaryFile(/tmp/multipartBody936888794221617225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103393090,"filename":"image_05012025_19_55_02_902933_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1e59226d1010d9aa8ceb047a64ec4a1a.jpg","text":"TemporaryFile(/tmp/multipartBody6156222195800772207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103393090,"filename":"image_05012025_19_54_02_647855_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1acc2d13316eb34a20222612d2f7a33b.jpg","text":"TemporaryFile(/tmp/multipartBody6826951975752635688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103393090,"filename":"image_05012025_19_55_02_902933_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326890162","file1":"1326890161","file0":"1326890160","file3":"1326890163"},"map_files_photo_id_array":[{"photo_id":"1326890162","filename":"file2"},{"photo_id":"1326890161","filename":"file1"},{"photo_id":"1326890160","filename":"file0"},{"photo_id":"1326890163","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326890161":["hashtag1","hashtag2"]},{"1326890163":["hashtag1","hashtag2"]},{"1326890160":["hashtag1","hashtag2"]},{"1326890162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326890161, 1326890163, 1326890160, 1326890162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.0787193775177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:56:21.855078
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/55/image_05012025_19_55_02_902933_0003.jpg', '/home/pi/Desktop/images/05012025/19/56/image_05012025_19_56_03_069915_0000.jpg', '/home/pi/Desktop/images/05012025/19/56/image_05012025_19_56_03_069915_0001.jpg', '/home/pi/Desktop/images/05012025/19/56/image_05012025_19_56_03_069915_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/19/55/image_05012025_19_55_02_902933_0003.jpg
/home/pi/Desktop/images/05012025/19/56/image_05012025_19_56_03_069915_0000.jpg
/home/pi/Desktop/images/05012025/19/56/image_05012025_19_56_03_069915_0001.jpg
/home/pi/Desktop/images/05012025/19/56/image_05012025_19_56_03_069915_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326890317","1326890319","1326890316","1326890315"],"photo_ids_order":["1326890315","1326890316","1326890317","1326890319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/530fc6d888104729d57db15106efab37.jpg","text":"TemporaryFile(/tmp/multipartBody6932853987456833928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103452086,"filename":"image_05012025_19_56_03_069915_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a6555a80639b7622b50565dcfe061e90.jpg","text":"TemporaryFile(/tmp/multipartBody1197129998945835052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103452086,"filename":"image_05012025_19_56_03_069915_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b34017d0a9fafd3bd4088ccf04062ee9.jpg","text":"TemporaryFile(/tmp/multipartBody3702025803632690357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103452086,"filename":"image_05012025_19_56_03_069915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6e7d0981c6f8120eec89e423f3b2ab4f.jpg","text":"TemporaryFile(/tmp/multipartBody8411790792812889676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103452086,"filename":"image_05012025_19_55_02_902933_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326890317","file1":"1326890316","file0":"1326890315","file3":"1326890319"},"map_files_photo_id_array":[{"photo_id":"1326890317","filename":"file2"},{"photo_id":"1326890316","filename":"file1"},{"photo_id":"1326890315","filename":"file0"},{"photo_id":"1326890319","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326890317":["hashtag1","hashtag2"]},{"1326890319":["hashtag1","hashtag2"]},{"1326890316":["hashtag1","hashtag2"]},{"1326890315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326890317, 1326890319, 1326890316, 1326890315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62161588668823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 19:57:02.710184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 19:57:22.024837
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/56/image_05012025_19_56_03_069915_0003.jpg', '/home/pi/Desktop/images/05012025/19/57/image_05012025_19_57_02_252850_0000.jpg', '/home/pi/Desktop/images/05012025/19/57/image_05012025_19_57_02_252850_0001.jpg', '/home/pi/Desktop/images/05012025/19/57/image_05012025_19_57_02_252850_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/19/56/image_05012025_19_56_03_069915_0003.jpg
/home/pi/Desktop/images/05012025/19/57/image_05012025_19_57_02_252850_0000.jpg
/home/pi/Desktop/images/05012025/19/57/image_05012025_19_57_02_252850_0001.jpg
/home/pi/Desktop/images/05012025/19/57/image_05012025_19_57_02_252850_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-05 19:59:02.880614
SELECT 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/19/56/image_05012025_19_56_03_069915_0003.jpg', '/home/pi/Desktop/images/05012025/19/57/image_05012025_19_57_02_252850_0000.jpg', '/home/pi/Desktop/images/05012025/19/57/image_05012025_19_57_02_252850_0001.jpg', '/home/pi/Desktop/images/05012025/19/57/image_05012025_19_57_02_252850_0002.jpg', '/home/pi/Desktop/images/05012025/19/57/image_05012025_19_57_02_252850_0003.jpg', '/home/pi/Desktop/images/05012025/19/58/image_05012025_19_58_02_414544_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/19/56/image_05012025_19_56_03_069915_0003.jpg
/home/pi/Desktop/images/05012025/19/57/image_05012025_19_57_02_252850_0000.jpg
/home/pi/Desktop/images/05012025/19/57/image_05012025_19_57_02_252850_0001.jpg
/home/pi/Desktop/images/05012025/19/57/image_05012025_19_57_02_252850_0002.jpg
/home/pi/Desktop/images/05012025/19/57/image_05012025_19_57_02_252850_0003.jpg
/home/pi/Desktop/images/05012025/19/58/image_05012025_19_58_02_414544_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":["1326891112","1326891115","1326891114","1326891104","1326891094","1326891107"],"photo_ids_order":["1326891094","1326891104","1326891107","1326891112","1326891114","1326891115"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5b4ae5a9417e54fe52f6e993988a6600.jpg","text":"TemporaryFile(/tmp/multipartBody8908390752111257032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103617935,"filename":"image_05012025_19_57_02_252850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7ddccc82a05b309619ae060281b31147.jpg","text":"TemporaryFile(/tmp/multipartBody9007144836665530893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103617935,"filename":"image_05012025_19_58_02_414544_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f85b4191981657009d01f1a7399e86a3.jpg","text":"TemporaryFile(/tmp/multipartBody8147119124776176087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103617935,"filename":"image_05012025_19_57_02_252850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/76678a2824419044e77d5fdd91d265e0.jpg","text":"TemporaryFile(/tmp/multipartBody16883734922737925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103617935,"filename":"image_05012025_19_57_02_252850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/26f3714fd7b3477b7980115ebf5a0403.jpg","text":"TemporaryFile(/tmp/multipartBody1574423584931910510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103617935,"filename":"image_05012025_19_56_03_069915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/589ad82928b0da0e39b253af011aa4d7.jpg","text":"TemporaryFile(/tmp/multipartBody3513473530166994275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103617935,"filename":"image_05012025_19_57_02_252850_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891107","file1":"1326891104","file0":"1326891094","file4":"1326891114","file5":"1326891115","file3":"1326891112"},"map_files_photo_id_array":[{"photo_id":"1326891115","filename":"file5"},{"photo_id":"1326891107","filename":"file2"},{"photo_id":"1326891114","filename":"file4"},{"photo_id":"1326891104","filename":"file1"},{"photo_id":"1326891094","filename":"file0"},{"photo_id":"1326891112","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891112":["hashtag1","hashtag2"]},{"1326891115":["hashtag1","hashtag2"]},{"1326891114":["hashtag1","hashtag2"]},{"1326891104":["hashtag1","hashtag2"]},{"1326891094":["hashtag1","hashtag2"]},{"1326891107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891112, 1326891115, 1326891114, 1326891104, 1326891094, 1326891107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.781712770462036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:00:02.901573
SELECT 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/19/58/image_05012025_19_58_02_414544_0001.jpg', '/home/pi/Desktop/images/05012025/19/58/image_05012025_19_58_02_414544_0002.jpg', '/home/pi/Desktop/images/05012025/19/58/image_05012025_19_58_02_414544_0003.jpg', '/home/pi/Desktop/images/05012025/19/59/image_05012025_19_59_02_584365_0000.jpg', '/home/pi/Desktop/images/05012025/19/59/image_05012025_19_59_02_584365_0001.jpg', '/home/pi/Desktop/images/05012025/19/59/image_05012025_19_59_02_584365_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/19/58/image_05012025_19_58_02_414544_0001.jpg
/home/pi/Desktop/images/05012025/19/58/image_05012025_19_58_02_414544_0002.jpg
/home/pi/Desktop/images/05012025/19/58/image_05012025_19_58_02_414544_0003.jpg
/home/pi/Desktop/images/05012025/19/59/image_05012025_19_59_02_584365_0000.jpg
/home/pi/Desktop/images/05012025/19/59/image_05012025_19_59_02_584365_0001.jpg
/home/pi/Desktop/images/05012025/19/59/image_05012025_19_59_02_584365_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891141","1326891135","1326891138","1326891126","1326891140","1326891131"],"photo_ids_order":["1326891126","1326891131","1326891135","1326891138","1326891140","1326891141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0526f3d4541b7152f74c6f08298c3add.jpg","text":"TemporaryFile(/tmp/multipartBody9207124674166052684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103677975,"filename":"image_05012025_19_59_02_584365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9a326426d5c1857130182bbdf3eabe4.jpg","text":"TemporaryFile(/tmp/multipartBody233050011335088028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103677975,"filename":"image_05012025_19_58_02_414544_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/587af9da4a85c8d31f42ddad3264deaf.jpg","text":"TemporaryFile(/tmp/multipartBody2368200956228956386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103677975,"filename":"image_05012025_19_59_02_584365_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/95cc8fc504af804f6f5a05447eeca172.jpg","text":"TemporaryFile(/tmp/multipartBody7484115921781981641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103677975,"filename":"image_05012025_19_58_02_414544_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/961500955b174b79eb6588df9260ef96.jpg","text":"TemporaryFile(/tmp/multipartBody6959542442691891524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103677975,"filename":"image_05012025_19_59_02_584365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c2570b6b945bcfe595457dd49a52d52f.jpg","text":"TemporaryFile(/tmp/multipartBody7875583714846126780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103677975,"filename":"image_05012025_19_58_02_414544_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891135","file1":"1326891131","file0":"1326891126","file4":"1326891140","file5":"1326891141","file3":"1326891138"},"map_files_photo_id_array":[{"photo_id":"1326891141","filename":"file5"},{"photo_id":"1326891135","filename":"file2"},{"photo_id":"1326891140","filename":"file4"},{"photo_id":"1326891131","filename":"file1"},{"photo_id":"1326891126","filename":"file0"},{"photo_id":"1326891138","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891141":["hashtag1","hashtag2"]},{"1326891135":["hashtag1","hashtag2"]},{"1326891138":["hashtag1","hashtag2"]},{"1326891126":["hashtag1","hashtag2"]},{"1326891140":["hashtag1","hashtag2"]},{"1326891131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891141, 1326891135, 1326891138, 1326891126, 1326891140, 1326891131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.51978588104248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:01:03.218373
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/19/59/image_05012025_19_59_02_584365_0003.jpg', '/home/pi/Desktop/images/05012025/20/00/image_05012025_20_00_02_736281_0000.jpg', '/home/pi/Desktop/images/05012025/20/00/image_05012025_20_00_02_736281_0001.jpg', '/home/pi/Desktop/images/05012025/20/00/image_05012025_20_00_02_736281_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/19/59/image_05012025_19_59_02_584365_0003.jpg
/home/pi/Desktop/images/05012025/20/00/image_05012025_20_00_02_736281_0000.jpg
/home/pi/Desktop/images/05012025/20/00/image_05012025_20_00_02_736281_0001.jpg
/home/pi/Desktop/images/05012025/20/00/image_05012025_20_00_02_736281_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891148","1326891144","1326891152","1326891157"],"photo_ids_order":["1326891144","1326891148","1326891152","1326891157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/64193979d824ca7654ec31157a60f22e.jpg","text":"TemporaryFile(/tmp/multipartBody9043678824872169821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103733482,"filename":"image_05012025_20_00_02_736281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c10fcaefb914a789a5d8313ec1433e0b.jpg","text":"TemporaryFile(/tmp/multipartBody7332924306212904463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103733482,"filename":"image_05012025_19_59_02_584365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1cacd918b9b779203bfd8678a5910ee9.jpg","text":"TemporaryFile(/tmp/multipartBody2564111339979007660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103733482,"filename":"image_05012025_20_00_02_736281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b5e051897f09f17794b3c7ddb8afe86f.jpg","text":"TemporaryFile(/tmp/multipartBody140038052603482385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103733482,"filename":"image_05012025_20_00_02_736281_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891152","file1":"1326891148","file0":"1326891144","file3":"1326891157"},"map_files_photo_id_array":[{"photo_id":"1326891152","filename":"file2"},{"photo_id":"1326891148","filename":"file1"},{"photo_id":"1326891144","filename":"file0"},{"photo_id":"1326891157","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891148":["hashtag1","hashtag2"]},{"1326891144":["hashtag1","hashtag2"]},{"1326891152":["hashtag1","hashtag2"]},{"1326891157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891148, 1326891144, 1326891152, 1326891157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6143217086792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 20:01:52.658304
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/00/image_05012025_20_00_02_736281_0003.jpg', '/home/pi/Desktop/images/05012025/20/01/image_05012025_20_01_02_852167_0000.jpg', '/home/pi/Desktop/images/05012025/20/01/image_05012025_20_01_02_852167_0001.jpg', '/home/pi/Desktop/images/05012025/20/01/image_05012025_20_01_02_852167_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/20/00/image_05012025_20_00_02_736281_0003.jpg
/home/pi/Desktop/images/05012025/20/01/image_05012025_20_01_02_852167_0000.jpg
/home/pi/Desktop/images/05012025/20/01/image_05012025_20_01_02_852167_0001.jpg
/home/pi/Desktop/images/05012025/20/01/image_05012025_20_01_02_852167_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891166","1326891160","1326891162","1326891164"],"photo_ids_order":["1326891160","1326891162","1326891164","1326891166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3edaa4613f38348a6c3d4f471d2a1baf.jpg","text":"TemporaryFile(/tmp/multipartBody7842081823748761532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103782956,"filename":"image_05012025_20_01_02_852167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd590b342017901b086b646d6cc458fa.jpg","text":"TemporaryFile(/tmp/multipartBody8517724010290067385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103782956,"filename":"image_05012025_20_00_02_736281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/578e7d28d0f52543849b390378c31795.jpg","text":"TemporaryFile(/tmp/multipartBody4400162460600235823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103782956,"filename":"image_05012025_20_01_02_852167_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2209c3a0e961322c36021196440dde3e.jpg","text":"TemporaryFile(/tmp/multipartBody7436807538611661435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103782956,"filename":"image_05012025_20_01_02_852167_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891164","file1":"1326891162","file0":"1326891160","file3":"1326891166"},"map_files_photo_id_array":[{"photo_id":"1326891164","filename":"file2"},{"photo_id":"1326891162","filename":"file1"},{"photo_id":"1326891160","filename":"file0"},{"photo_id":"1326891166","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891166":["hashtag1","hashtag2"]},{"1326891160":["hashtag1","hashtag2"]},{"1326891162":["hashtag1","hashtag2"]},{"1326891164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891166, 1326891160, 1326891162, 1326891164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.54822754859924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 20:02:41.853580
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/01/image_05012025_20_01_02_852167_0003.jpg', '/home/pi/Desktop/images/05012025/20/02/image_05012025_20_02_03_023083_0000.jpg', '/home/pi/Desktop/images/05012025/20/02/image_05012025_20_02_03_023083_0001.jpg', '/home/pi/Desktop/images/05012025/20/02/image_05012025_20_02_03_023083_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/20/01/image_05012025_20_01_02_852167_0003.jpg
/home/pi/Desktop/images/05012025/20/02/image_05012025_20_02_03_023083_0000.jpg
/home/pi/Desktop/images/05012025/20/02/image_05012025_20_02_03_023083_0001.jpg
/home/pi/Desktop/images/05012025/20/02/image_05012025_20_02_03_023083_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":["1326891172","1326891171","1326891174","1326891170"],"photo_ids_order":["1326891170","1326891171","1326891172","1326891174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cead8769d5391b907941b21a4c58a01b.jpg","text":"TemporaryFile(/tmp/multipartBody7197065025331614669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103832134,"filename":"image_05012025_20_02_03_023083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/054392b7cfeae8bade2faa7544372b4a.jpg","text":"TemporaryFile(/tmp/multipartBody2233558841391626411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103832134,"filename":"image_05012025_20_02_03_023083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/155ff91943777dca2bd3395d6fc33484.jpg","text":"TemporaryFile(/tmp/multipartBody3561821383321792692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103832134,"filename":"image_05012025_20_02_03_023083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dd9598c21850f315721defc48bd7f7ed.jpg","text":"TemporaryFile(/tmp/multipartBody6238648913562301656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103832134,"filename":"image_05012025_20_01_02_852167_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891172","file1":"1326891171","file0":"1326891170","file3":"1326891174"},"map_files_photo_id_array":[{"photo_id":"1326891172","filename":"file2"},{"photo_id":"1326891171","filename":"file1"},{"photo_id":"1326891170","filename":"file0"},{"photo_id":"1326891174","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891172":["hashtag1","hashtag2"]},{"1326891171":["hashtag1","hashtag2"]},{"1326891174":["hashtag1","hashtag2"]},{"1326891170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891172, 1326891171, 1326891174, 1326891170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6493353843689 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-05 20:03:32.120784
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/02/image_05012025_20_02_03_023083_0003.jpg', '/home/pi/Desktop/images/05012025/20/03/image_05012025_20_03_02_218847_0000.jpg', '/home/pi/Desktop/images/05012025/20/03/image_05012025_20_03_02_218847_0001.jpg', '/home/pi/Desktop/images/05012025/20/03/image_05012025_20_03_02_218847_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/20/02/image_05012025_20_02_03_023083_0003.jpg
/home/pi/Desktop/images/05012025/20/03/image_05012025_20_03_02_218847_0000.jpg
/home/pi/Desktop/images/05012025/20/03/image_05012025_20_03_02_218847_0001.jpg
/home/pi/Desktop/images/05012025/20/03/image_05012025_20_03_02_218847_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891186","1326891183","1326891185","1326891184"],"photo_ids_order":["1326891183","1326891184","1326891185","1326891186"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62f234883dd608e2a252911f00673025.jpg","text":"TemporaryFile(/tmp/multipartBody7668812084253754211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103882296,"filename":"image_05012025_20_03_02_218847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2760ba4b2033fa00292343f4d82ec0e1.jpg","text":"TemporaryFile(/tmp/multipartBody2185041077271423189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103882296,"filename":"image_05012025_20_02_03_023083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0c7f5f57bc5dbc2bd5b62ce522cdb0de.jpg","text":"TemporaryFile(/tmp/multipartBody2028315557716940150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103882296,"filename":"image_05012025_20_03_02_218847_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/563fcccbd351783ffb9a137da0507956.jpg","text":"TemporaryFile(/tmp/multipartBody3722332340469035282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103882296,"filename":"image_05012025_20_03_02_218847_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891185","file1":"1326891184","file0":"1326891183","file3":"1326891186"},"map_files_photo_id_array":[{"photo_id":"1326891185","filename":"file2"},{"photo_id":"1326891184","filename":"file1"},{"photo_id":"1326891183","filename":"file0"},{"photo_id":"1326891186","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891186":["hashtag1","hashtag2"]},{"1326891183":["hashtag1","hashtag2"]},{"1326891185":["hashtag1","hashtag2"]},{"1326891184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891186, 1326891183, 1326891185, 1326891184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.7794668674469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:04:22.272800
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/03/image_05012025_20_03_02_218847_0003.jpg', '/home/pi/Desktop/images/05012025/20/04/image_05012025_20_04_02_464960_0000.jpg', '/home/pi/Desktop/images/05012025/20/04/image_05012025_20_04_02_464960_0001.jpg', '/home/pi/Desktop/images/05012025/20/04/image_05012025_20_04_02_464960_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/20/03/image_05012025_20_03_02_218847_0003.jpg
/home/pi/Desktop/images/05012025/20/04/image_05012025_20_04_02_464960_0000.jpg
/home/pi/Desktop/images/05012025/20/04/image_05012025_20_04_02_464960_0001.jpg
/home/pi/Desktop/images/05012025/20/04/image_05012025_20_04_02_464960_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.686233520507812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 20:04:42.312374
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/03/image_05012025_20_03_02_218847_0003.jpg', '/home/pi/Desktop/images/05012025/20/04/image_05012025_20_04_02_464960_0000.jpg', '/home/pi/Desktop/images/05012025/20/04/image_05012025_20_04_02_464960_0001.jpg', '/home/pi/Desktop/images/05012025/20/04/image_05012025_20_04_02_464960_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/20/03/image_05012025_20_03_02_218847_0003.jpg
/home/pi/Desktop/images/05012025/20/04/image_05012025_20_04_02_464960_0000.jpg
/home/pi/Desktop/images/05012025/20/04/image_05012025_20_04_02_464960_0001.jpg
/home/pi/Desktop/images/05012025/20/04/image_05012025_20_04_02_464960_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891202","1326891205","1326891200","1326891199"],"photo_ids_order":["1326891199","1326891200","1326891202","1326891205"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3e602a86cfea1e3efd581ccfb2ef0cc1.jpg","text":"TemporaryFile(/tmp/multipartBody2414790795370493976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103952394,"filename":"image_05012025_20_04_02_464960_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c9402b36f6ddd10e263a6d49a790ecff.jpg","text":"TemporaryFile(/tmp/multipartBody3242129018869096708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103952394,"filename":"image_05012025_20_04_02_464960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b1365daaf816fb1a71589ecbc450186.jpg","text":"TemporaryFile(/tmp/multipartBody1504050423921261202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103952394,"filename":"image_05012025_20_04_02_464960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/47a3617462d6c808b24a407f7766339a.jpg","text":"TemporaryFile(/tmp/multipartBody4636514689344399896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736103952394,"filename":"image_05012025_20_03_02_218847_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891202","file1":"1326891200","file0":"1326891199","file3":"1326891205"},"map_files_photo_id_array":[{"photo_id":"1326891202","filename":"file2"},{"photo_id":"1326891200","filename":"file1"},{"photo_id":"1326891199","filename":"file0"},{"photo_id":"1326891205","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891202":["hashtag1","hashtag2"]},{"1326891205":["hashtag1","hashtag2"]},{"1326891200":["hashtag1","hashtag2"]},{"1326891199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891202, 1326891205, 1326891200, 1326891199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.903987884521484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 20:05:32.532699
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/04/image_05012025_20_04_02_464960_0003.jpg', '/home/pi/Desktop/images/05012025/20/05/image_05012025_20_05_02_646543_0000.jpg', '/home/pi/Desktop/images/05012025/20/05/image_05012025_20_05_02_646543_0001.jpg', '/home/pi/Desktop/images/05012025/20/05/image_05012025_20_05_02_646543_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/20/04/image_05012025_20_04_02_464960_0003.jpg
/home/pi/Desktop/images/05012025/20/05/image_05012025_20_05_02_646543_0000.jpg
/home/pi/Desktop/images/05012025/20/05/image_05012025_20_05_02_646543_0001.jpg
/home/pi/Desktop/images/05012025/20/05/image_05012025_20_05_02_646543_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891211","1326891210","1326891209","1326891212"],"photo_ids_order":["1326891209","1326891210","1326891211","1326891212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dc73cdcfe6e6f9297c533de246265b6d.jpg","text":"TemporaryFile(/tmp/multipartBody5726192406080407611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104002637,"filename":"image_05012025_20_05_02_646543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/263810606ad5ecfe2c77f3e039d464ce.jpg","text":"TemporaryFile(/tmp/multipartBody2958298240522372813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104002637,"filename":"image_05012025_20_05_02_646543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/551496590f96c5701153c6f3e89fa919.jpg","text":"TemporaryFile(/tmp/multipartBody1166560283980371436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104002637,"filename":"image_05012025_20_04_02_464960_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3f794912608ee710d9b98c218401a3a6.jpg","text":"TemporaryFile(/tmp/multipartBody6396491577167061848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104002637,"filename":"image_05012025_20_05_02_646543_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891211","file1":"1326891210","file0":"1326891209","file3":"1326891212"},"map_files_photo_id_array":[{"photo_id":"1326891211","filename":"file2"},{"photo_id":"1326891210","filename":"file1"},{"photo_id":"1326891209","filename":"file0"},{"photo_id":"1326891212","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891211":["hashtag1","hashtag2"]},{"1326891210":["hashtag1","hashtag2"]},{"1326891209":["hashtag1","hashtag2"]},{"1326891212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891211, 1326891210, 1326891209, 1326891212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.17902851104736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:06:22.739915
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/05/image_05012025_20_05_02_646543_0003.jpg', '/home/pi/Desktop/images/05012025/20/06/image_05012025_20_06_02_874135_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/20/05/image_05012025_20_05_02_646543_0003.jpg
/home/pi/Desktop/images/05012025/20/06/image_05012025_20_06_02_874135_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":["1326891219","1326891221"],"photo_ids_order":["1326891219","1326891221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6a65da2b83803be2390f86fe049cd194.jpg","text":"TemporaryFile(/tmp/multipartBody4089313429952417356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104048063,"filename":"image_05012025_20_05_02_646543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/afa10fe1924fc0edae2a375784461d10.jpg","text":"TemporaryFile(/tmp/multipartBody1083129189359921359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104048063,"filename":"image_05012025_20_06_02_874135_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326891221","file0":"1326891219"},"map_files_photo_id_array":[{"photo_id":"1326891221","filename":"file1"},{"photo_id":"1326891219","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891219":["hashtag1","hashtag2"]},{"1326891221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891219, 1326891221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.281671047210693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 20:06:52.632849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:07:02.364100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:07:21.951311
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/06/image_05012025_20_06_02_874135_0003.jpg', '/home/pi/Desktop/images/05012025/20/07/image_05012025_20_07_03_032806_0000.jpg', '/home/pi/Desktop/images/05012025/20/07/image_05012025_20_07_03_032806_0001.jpg', '/home/pi/Desktop/images/05012025/20/07/image_05012025_20_07_03_032806_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/20/06/image_05012025_20_06_02_874135_0003.jpg
/home/pi/Desktop/images/05012025/20/07/image_05012025_20_07_03_032806_0000.jpg
/home/pi/Desktop/images/05012025/20/07/image_05012025_20_07_03_032806_0001.jpg
/home/pi/Desktop/images/05012025/20/07/image_05012025_20_07_03_032806_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891235","1326891231","1326891233","1326891230"],"photo_ids_order":["1326891230","1326891231","1326891233","1326891235"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4c9747ae559fde11b6e8486bcace393d.jpg","text":"TemporaryFile(/tmp/multipartBody3957226399143204745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104112159,"filename":"image_05012025_20_07_03_032806_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/524c7a2309d26d89ae1c3e3ac5034d61.jpg","text":"TemporaryFile(/tmp/multipartBody2370480571447855918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104112159,"filename":"image_05012025_20_07_03_032806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/874d769bd4dccae0264f6b5030f141f6.jpg","text":"TemporaryFile(/tmp/multipartBody432024092203237712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104112159,"filename":"image_05012025_20_07_03_032806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3a31819463278d2c7ed35afabe26797f.jpg","text":"TemporaryFile(/tmp/multipartBody6058768902654397791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104112159,"filename":"image_05012025_20_06_02_874135_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891233","file1":"1326891231","file0":"1326891230","file3":"1326891235"},"map_files_photo_id_array":[{"photo_id":"1326891233","filename":"file2"},{"photo_id":"1326891231","filename":"file1"},{"photo_id":"1326891230","filename":"file0"},{"photo_id":"1326891235","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891235":["hashtag1","hashtag2"]},{"1326891231":["hashtag1","hashtag2"]},{"1326891233":["hashtag1","hashtag2"]},{"1326891230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891235, 1326891231, 1326891233, 1326891230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.51098585128784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:08:22.026632
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/07/image_05012025_20_07_03_032806_0003.jpg', '/home/pi/Desktop/images/05012025/20/08/image_05012025_20_08_02_272746_0000.jpg', '/home/pi/Desktop/images/05012025/20/08/image_05012025_20_08_02_272746_0001.jpg', '/home/pi/Desktop/images/05012025/20/08/image_05012025_20_08_02_272746_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/20/07/image_05012025_20_07_03_032806_0003.jpg
/home/pi/Desktop/images/05012025/20/08/image_05012025_20_08_02_272746_0000.jpg
/home/pi/Desktop/images/05012025/20/08/image_05012025_20_08_02_272746_0001.jpg
/home/pi/Desktop/images/05012025/20/08/image_05012025_20_08_02_272746_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891244","1326891241","1326891246","1326891242"],"photo_ids_order":["1326891241","1326891242","1326891244","1326891246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/28affcbf0362ac9c99f86a692b8ca7db.jpg","text":"TemporaryFile(/tmp/multipartBody3205624995119204347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104172415,"filename":"image_05012025_20_08_02_272746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dbaa80f71f0714bfe5c5ecf02f636b83.jpg","text":"TemporaryFile(/tmp/multipartBody6916981211696636774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104172415,"filename":"image_05012025_20_07_03_032806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8b6ef33c936d6598597223c78cc5f33a.jpg","text":"TemporaryFile(/tmp/multipartBody7871845226869481703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104172415,"filename":"image_05012025_20_08_02_272746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b5afdd96c18ab65bb15d820c0b869d84.jpg","text":"TemporaryFile(/tmp/multipartBody3495281992176380109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104172415,"filename":"image_05012025_20_08_02_272746_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891244","file1":"1326891242","file0":"1326891241","file3":"1326891246"},"map_files_photo_id_array":[{"photo_id":"1326891244","filename":"file2"},{"photo_id":"1326891242","filename":"file1"},{"photo_id":"1326891241","filename":"file0"},{"photo_id":"1326891246","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891244":["hashtag1","hashtag2"]},{"1326891241":["hashtag1","hashtag2"]},{"1326891246":["hashtag1","hashtag2"]},{"1326891242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891244, 1326891241, 1326891246, 1326891242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.96838355064392 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:09:22.255957
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/08/image_05012025_20_08_02_272746_0003.jpg', '/home/pi/Desktop/images/05012025/20/09/image_05012025_20_09_02_403936_0000.jpg', '/home/pi/Desktop/images/05012025/20/09/image_05012025_20_09_02_403936_0001.jpg', '/home/pi/Desktop/images/05012025/20/09/image_05012025_20_09_02_403936_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/20/08/image_05012025_20_08_02_272746_0003.jpg
/home/pi/Desktop/images/05012025/20/09/image_05012025_20_09_02_403936_0000.jpg
/home/pi/Desktop/images/05012025/20/09/image_05012025_20_09_02_403936_0001.jpg
/home/pi/Desktop/images/05012025/20/09/image_05012025_20_09_02_403936_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891259","1326891258","1326891260","1326891256"],"photo_ids_order":["1326891256","1326891258","1326891259","1326891260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d1d1106e264ebc49dcbdb906b022ef2d.jpg","text":"TemporaryFile(/tmp/multipartBody3716481689127280772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104232469,"filename":"image_05012025_20_09_02_403936_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/340bc8e90717b9c86d9cdcb92a1b9bb2.jpg","text":"TemporaryFile(/tmp/multipartBody2838648424843231614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104232469,"filename":"image_05012025_20_09_02_403936_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4005e8884c9270f4716427b48b43e1ed.jpg","text":"TemporaryFile(/tmp/multipartBody8319357529060313866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104232469,"filename":"image_05012025_20_09_02_403936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cba5859ef0dfbe1e3c6eb545271abcaa.jpg","text":"TemporaryFile(/tmp/multipartBody571270238560859843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104232469,"filename":"image_05012025_20_08_02_272746_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891259","file1":"1326891258","file0":"1326891256","file3":"1326891260"},"map_files_photo_id_array":[{"photo_id":"1326891259","filename":"file2"},{"photo_id":"1326891258","filename":"file1"},{"photo_id":"1326891256","filename":"file0"},{"photo_id":"1326891260","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891259":["hashtag1","hashtag2"]},{"1326891258":["hashtag1","hashtag2"]},{"1326891260":["hashtag1","hashtag2"]},{"1326891256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891259, 1326891258, 1326891260, 1326891256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.51542544364929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:10:22.506222
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/09/image_05012025_20_09_02_403936_0003.jpg', '/home/pi/Desktop/images/05012025/20/10/image_05012025_20_10_02_539677_0000.jpg', '/home/pi/Desktop/images/05012025/20/10/image_05012025_20_10_02_539677_0001.jpg', '/home/pi/Desktop/images/05012025/20/10/image_05012025_20_10_02_539677_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/20/09/image_05012025_20_09_02_403936_0003.jpg
/home/pi/Desktop/images/05012025/20/10/image_05012025_20_10_02_539677_0000.jpg
/home/pi/Desktop/images/05012025/20/10/image_05012025_20_10_02_539677_0001.jpg
/home/pi/Desktop/images/05012025/20/10/image_05012025_20_10_02_539677_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891271","1326891273","1326891272","1326891269"],"photo_ids_order":["1326891269","1326891271","1326891272","1326891273"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3a0b65e40f9c7f3778247254cdb51d9e.jpg","text":"TemporaryFile(/tmp/multipartBody8093310366026971153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104292694,"filename":"image_05012025_20_10_02_539677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a500b5c696fa151ed78dc00be5d79f6.jpg","text":"TemporaryFile(/tmp/multipartBody2546752128381355198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104292694,"filename":"image_05012025_20_10_02_539677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e1e35fea336467683ce419f16491c034.jpg","text":"TemporaryFile(/tmp/multipartBody187648757943454170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104292694,"filename":"image_05012025_20_10_02_539677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1d55c4419ef09598364a3971ffcb48a0.jpg","text":"TemporaryFile(/tmp/multipartBody1298708250356676823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104292694,"filename":"image_05012025_20_09_02_403936_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891272","file1":"1326891271","file0":"1326891269","file3":"1326891273"},"map_files_photo_id_array":[{"photo_id":"1326891272","filename":"file2"},{"photo_id":"1326891271","filename":"file1"},{"photo_id":"1326891269","filename":"file0"},{"photo_id":"1326891273","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891271":["hashtag1","hashtag2"]},{"1326891273":["hashtag1","hashtag2"]},{"1326891272":["hashtag1","hashtag2"]},{"1326891269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891271, 1326891273, 1326891272, 1326891269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.869903326034546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:11:22.615870
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/10/image_05012025_20_10_02_539677_0003.jpg', '/home/pi/Desktop/images/05012025/20/11/image_05012025_20_11_02_769408_0000.jpg', '/home/pi/Desktop/images/05012025/20/11/image_05012025_20_11_02_769408_0001.jpg', '/home/pi/Desktop/images/05012025/20/11/image_05012025_20_11_02_769408_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/20/10/image_05012025_20_10_02_539677_0003.jpg
/home/pi/Desktop/images/05012025/20/11/image_05012025_20_11_02_769408_0000.jpg
/home/pi/Desktop/images/05012025/20/11/image_05012025_20_11_02_769408_0001.jpg
/home/pi/Desktop/images/05012025/20/11/image_05012025_20_11_02_769408_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891279","1326891282","1326891281","1326891283"],"photo_ids_order":["1326891279","1326891281","1326891282","1326891283"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c0712fd01d2a709e6f3d5d34906c193a.jpg","text":"TemporaryFile(/tmp/multipartBody835147285387103861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104352938,"filename":"image_05012025_20_10_02_539677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e32b8d8828d974cc7701ed86acba8ea5.jpg","text":"TemporaryFile(/tmp/multipartBody510087845167066212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104352938,"filename":"image_05012025_20_11_02_769408_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a4502826cef36d876a7295bc1d73ffd7.jpg","text":"TemporaryFile(/tmp/multipartBody5919921434880429712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104352938,"filename":"image_05012025_20_11_02_769408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1d645d41b96fb68871514e986c3bb39d.jpg","text":"TemporaryFile(/tmp/multipartBody4422291067246295417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104352938,"filename":"image_05012025_20_11_02_769408_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891282","file1":"1326891281","file0":"1326891279","file3":"1326891283"},"map_files_photo_id_array":[{"photo_id":"1326891282","filename":"file2"},{"photo_id":"1326891281","filename":"file1"},{"photo_id":"1326891279","filename":"file0"},{"photo_id":"1326891283","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891279":["hashtag1","hashtag2"]},{"1326891282":["hashtag1","hashtag2"]},{"1326891281":["hashtag1","hashtag2"]},{"1326891283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891279, 1326891282, 1326891281, 1326891283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.5279974937439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:12:22.715006
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/11/image_05012025_20_11_02_769408_0003.jpg', '/home/pi/Desktop/images/05012025/20/12/image_05012025_20_12_02_970913_0000.jpg', '/home/pi/Desktop/images/05012025/20/12/image_05012025_20_12_02_970913_0001.jpg', '/home/pi/Desktop/images/05012025/20/12/image_05012025_20_12_02_970913_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/20/11/image_05012025_20_11_02_769408_0003.jpg
/home/pi/Desktop/images/05012025/20/12/image_05012025_20_12_02_970913_0000.jpg
/home/pi/Desktop/images/05012025/20/12/image_05012025_20_12_02_970913_0001.jpg
/home/pi/Desktop/images/05012025/20/12/image_05012025_20_12_02_970913_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891294","1326891290","1326891292","1326891289"],"photo_ids_order":["1326891289","1326891290","1326891292","1326891294"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0725b8e53562641b2170b5a93e19c10a.jpg","text":"TemporaryFile(/tmp/multipartBody5196585405811985838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104412833,"filename":"image_05012025_20_12_02_970913_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/17c323c12b2c219f32f8c8ed1cb55104.jpg","text":"TemporaryFile(/tmp/multipartBody7211305461783866663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104412833,"filename":"image_05012025_20_12_02_970913_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d40330f095574c7b0ab769dd0ea31a67.jpg","text":"TemporaryFile(/tmp/multipartBody196931279527274380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104412833,"filename":"image_05012025_20_12_02_970913_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f7c9f7e6b1c3c3748dd22880489f5dab.jpg","text":"TemporaryFile(/tmp/multipartBody720020107414900520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104412833,"filename":"image_05012025_20_11_02_769408_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891292","file1":"1326891290","file0":"1326891289","file3":"1326891294"},"map_files_photo_id_array":[{"photo_id":"1326891292","filename":"file2"},{"photo_id":"1326891290","filename":"file1"},{"photo_id":"1326891289","filename":"file0"},{"photo_id":"1326891294","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891294":["hashtag1","hashtag2"]},{"1326891290":["hashtag1","hashtag2"]},{"1326891292":["hashtag1","hashtag2"]},{"1326891289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891294, 1326891290, 1326891292, 1326891289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.00970482826233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:13:21.931200
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/12/image_05012025_20_12_02_970913_0003.jpg', '/home/pi/Desktop/images/05012025/20/13/image_05012025_20_13_03_175689_0000.jpg', '/home/pi/Desktop/images/05012025/20/13/image_05012025_20_13_03_175689_0001.jpg', '/home/pi/Desktop/images/05012025/20/13/image_05012025_20_13_03_175689_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/20/12/image_05012025_20_12_02_970913_0003.jpg
/home/pi/Desktop/images/05012025/20/13/image_05012025_20_13_03_175689_0000.jpg
/home/pi/Desktop/images/05012025/20/13/image_05012025_20_13_03_175689_0001.jpg
/home/pi/Desktop/images/05012025/20/13/image_05012025_20_13_03_175689_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891307","1326891303","1326891302","1326891305"],"photo_ids_order":["1326891302","1326891303","1326891305","1326891307"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b1253e7bb7da9bf1dd72dcd9512396c1.jpg","text":"TemporaryFile(/tmp/multipartBody3361110310373481138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104472252,"filename":"image_05012025_20_13_03_175689_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4749d706a15b9435bf083810e127bf50.jpg","text":"TemporaryFile(/tmp/multipartBody2633920608375350839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104472252,"filename":"image_05012025_20_13_03_175689_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d78fabb21b0626df039548d877c4497d.jpg","text":"TemporaryFile(/tmp/multipartBody2055550749579547328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104472252,"filename":"image_05012025_20_12_02_970913_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4b9d79cf83fed829be4c4eeb0085409f.jpg","text":"TemporaryFile(/tmp/multipartBody4295577558936414152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104472252,"filename":"image_05012025_20_13_03_175689_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891305","file1":"1326891303","file0":"1326891302","file3":"1326891307"},"map_files_photo_id_array":[{"photo_id":"1326891305","filename":"file2"},{"photo_id":"1326891303","filename":"file1"},{"photo_id":"1326891302","filename":"file0"},{"photo_id":"1326891307","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891307":["hashtag1","hashtag2"]},{"1326891303":["hashtag1","hashtag2"]},{"1326891302":["hashtag1","hashtag2"]},{"1326891305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891307, 1326891303, 1326891302, 1326891305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.45828366279602 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:14:22.162662
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/13/image_05012025_20_13_03_175689_0003.jpg', '/home/pi/Desktop/images/05012025/20/14/image_05012025_20_14_02_251533_0000.jpg', '/home/pi/Desktop/images/05012025/20/14/image_05012025_20_14_02_251533_0001.jpg', '/home/pi/Desktop/images/05012025/20/14/image_05012025_20_14_02_251533_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/20/13/image_05012025_20_13_03_175689_0003.jpg
/home/pi/Desktop/images/05012025/20/14/image_05012025_20_14_02_251533_0000.jpg
/home/pi/Desktop/images/05012025/20/14/image_05012025_20_14_02_251533_0001.jpg
/home/pi/Desktop/images/05012025/20/14/image_05012025_20_14_02_251533_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891328","1326891324","1326891326","1326891323"],"photo_ids_order":["1326891323","1326891324","1326891326","1326891328"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/feaddb040d806ee3cca0821f0af6baba.jpg","text":"TemporaryFile(/tmp/multipartBody5516224027000211835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104532481,"filename":"image_05012025_20_14_02_251533_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6823b1df0237c447703a7551a37eebe8.jpg","text":"TemporaryFile(/tmp/multipartBody2472843725135416960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104532481,"filename":"image_05012025_20_14_02_251533_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/68cd83e26b958838c36c534e50df6429.jpg","text":"TemporaryFile(/tmp/multipartBody5853348710165388788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104532481,"filename":"image_05012025_20_14_02_251533_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1a2838084a549ad96bf459d0e4db65ce.jpg","text":"TemporaryFile(/tmp/multipartBody8178967325325387083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104532481,"filename":"image_05012025_20_13_03_175689_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891326","file1":"1326891324","file0":"1326891323","file3":"1326891328"},"map_files_photo_id_array":[{"photo_id":"1326891326","filename":"file2"},{"photo_id":"1326891324","filename":"file1"},{"photo_id":"1326891323","filename":"file0"},{"photo_id":"1326891328","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891328":["hashtag1","hashtag2"]},{"1326891324":["hashtag1","hashtag2"]},{"1326891326":["hashtag1","hashtag2"]},{"1326891323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891328, 1326891324, 1326891326, 1326891323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.585984230041504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:15:22.344222
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/14/image_05012025_20_14_02_251533_0003.jpg', '/home/pi/Desktop/images/05012025/20/15/image_05012025_20_15_02_472470_0000.jpg', '/home/pi/Desktop/images/05012025/20/15/image_05012025_20_15_02_472470_0001.jpg', '/home/pi/Desktop/images/05012025/20/15/image_05012025_20_15_02_472470_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/20/14/image_05012025_20_14_02_251533_0003.jpg
/home/pi/Desktop/images/05012025/20/15/image_05012025_20_15_02_472470_0000.jpg
/home/pi/Desktop/images/05012025/20/15/image_05012025_20_15_02_472470_0001.jpg
/home/pi/Desktop/images/05012025/20/15/image_05012025_20_15_02_472470_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891334","1326891333","1326891335","1326891338"],"photo_ids_order":["1326891333","1326891334","1326891335","1326891338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/895335b5827fb4f654da7a0da22cec00.jpg","text":"TemporaryFile(/tmp/multipartBody7102777331316211836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104592631,"filename":"image_05012025_20_15_02_472470_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e90dfa7196e0454e117b2a7233af18ad.jpg","text":"TemporaryFile(/tmp/multipartBody4778322841030176912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104592631,"filename":"image_05012025_20_14_02_251533_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0a39c83fa70c1d456ec72dc2e275e2de.jpg","text":"TemporaryFile(/tmp/multipartBody5249110953355657074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104592631,"filename":"image_05012025_20_15_02_472470_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c8ae76b40a15f0f4b73336c0b99239b1.jpg","text":"TemporaryFile(/tmp/multipartBody2315551068408371677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104592631,"filename":"image_05012025_20_15_02_472470_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891335","file1":"1326891334","file0":"1326891333","file3":"1326891338"},"map_files_photo_id_array":[{"photo_id":"1326891335","filename":"file2"},{"photo_id":"1326891334","filename":"file1"},{"photo_id":"1326891333","filename":"file0"},{"photo_id":"1326891338","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891334":["hashtag1","hashtag2"]},{"1326891333":["hashtag1","hashtag2"]},{"1326891335":["hashtag1","hashtag2"]},{"1326891338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891334, 1326891333, 1326891335, 1326891338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.24223756790161 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:16:22.576374
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/15/image_05012025_20_15_02_472470_0003.jpg', '/home/pi/Desktop/images/05012025/20/16/image_05012025_20_16_02_642380_0000.jpg', '/home/pi/Desktop/images/05012025/20/16/image_05012025_20_16_02_642380_0001.jpg', '/home/pi/Desktop/images/05012025/20/16/image_05012025_20_16_02_642380_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/20/15/image_05012025_20_15_02_472470_0003.jpg
/home/pi/Desktop/images/05012025/20/16/image_05012025_20_16_02_642380_0000.jpg
/home/pi/Desktop/images/05012025/20/16/image_05012025_20_16_02_642380_0001.jpg
/home/pi/Desktop/images/05012025/20/16/image_05012025_20_16_02_642380_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891351","1326891350","1326891347","1326891349"],"photo_ids_order":["1326891347","1326891349","1326891350","1326891351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/244b9cd046e3bd228c7650659e7faf75.jpg","text":"TemporaryFile(/tmp/multipartBody2554955335057999987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104652917,"filename":"image_05012025_20_16_02_642380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ed83cd11a20d6688b76e28423fce1d59.jpg","text":"TemporaryFile(/tmp/multipartBody1589944468069275328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104652917,"filename":"image_05012025_20_16_02_642380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/06555bd01bd1f2c8e04039ef7753171a.jpg","text":"TemporaryFile(/tmp/multipartBody5760476226787102096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104652917,"filename":"image_05012025_20_15_02_472470_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8eb6e08ffecc0da12c14783f3e83b2db.jpg","text":"TemporaryFile(/tmp/multipartBody1134714334748640090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104652917,"filename":"image_05012025_20_16_02_642380_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891350","file1":"1326891349","file0":"1326891347","file3":"1326891351"},"map_files_photo_id_array":[{"photo_id":"1326891350","filename":"file2"},{"photo_id":"1326891349","filename":"file1"},{"photo_id":"1326891347","filename":"file0"},{"photo_id":"1326891351","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891351":["hashtag1","hashtag2"]},{"1326891350":["hashtag1","hashtag2"]},{"1326891347":["hashtag1","hashtag2"]},{"1326891349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891351, 1326891350, 1326891347, 1326891349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.665313959121704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:17:22.694924
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/16/image_05012025_20_16_02_642380_0003.jpg', '/home/pi/Desktop/images/05012025/20/17/image_05012025_20_17_02_904534_0000.jpg', '/home/pi/Desktop/images/05012025/20/17/image_05012025_20_17_02_904534_0001.jpg', '/home/pi/Desktop/images/05012025/20/17/image_05012025_20_17_02_904534_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/20/16/image_05012025_20_16_02_642380_0003.jpg
/home/pi/Desktop/images/05012025/20/17/image_05012025_20_17_02_904534_0000.jpg
/home/pi/Desktop/images/05012025/20/17/image_05012025_20_17_02_904534_0001.jpg
/home/pi/Desktop/images/05012025/20/17/image_05012025_20_17_02_904534_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891364","1326891360","1326891362","1326891359"],"photo_ids_order":["1326891359","1326891360","1326891362","1326891364"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/082c87935e1ceeeb690b4da4117b213d.jpg","text":"TemporaryFile(/tmp/multipartBody4929552772746772871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104712793,"filename":"image_05012025_20_17_02_904534_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ef7bbf29a062dab84c7a5c579e14589.jpg","text":"TemporaryFile(/tmp/multipartBody1868740952883796029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104712793,"filename":"image_05012025_20_17_02_904534_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/15b0d8cfafb3eb65723d99e84d487ebd.jpg","text":"TemporaryFile(/tmp/multipartBody4477499502405252251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104712793,"filename":"image_05012025_20_17_02_904534_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/80df332cbb37ad76d7d684980ebf8560.jpg","text":"TemporaryFile(/tmp/multipartBody1732319010962877157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104712793,"filename":"image_05012025_20_16_02_642380_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891362","file1":"1326891360","file0":"1326891359","file3":"1326891364"},"map_files_photo_id_array":[{"photo_id":"1326891362","filename":"file2"},{"photo_id":"1326891360","filename":"file1"},{"photo_id":"1326891359","filename":"file0"},{"photo_id":"1326891364","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891364":["hashtag1","hashtag2"]},{"1326891360":["hashtag1","hashtag2"]},{"1326891362":["hashtag1","hashtag2"]},{"1326891359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891364, 1326891360, 1326891362, 1326891359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.83859705924988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:18:21.912990
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/17/image_05012025_20_17_02_904534_0003.jpg', '/home/pi/Desktop/images/05012025/20/18/image_05012025_20_18_03_079324_0000.jpg', '/home/pi/Desktop/images/05012025/20/18/image_05012025_20_18_03_079324_0001.jpg', '/home/pi/Desktop/images/05012025/20/18/image_05012025_20_18_03_079324_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/20/17/image_05012025_20_17_02_904534_0003.jpg
/home/pi/Desktop/images/05012025/20/18/image_05012025_20_18_03_079324_0000.jpg
/home/pi/Desktop/images/05012025/20/18/image_05012025_20_18_03_079324_0001.jpg
/home/pi/Desktop/images/05012025/20/18/image_05012025_20_18_03_079324_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.802048444747925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 20:18:41.875249
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/17/image_05012025_20_17_02_904534_0003.jpg', '/home/pi/Desktop/images/05012025/20/18/image_05012025_20_18_03_079324_0000.jpg', '/home/pi/Desktop/images/05012025/20/18/image_05012025_20_18_03_079324_0001.jpg', '/home/pi/Desktop/images/05012025/20/18/image_05012025_20_18_03_079324_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/20/17/image_05012025_20_17_02_904534_0003.jpg
/home/pi/Desktop/images/05012025/20/18/image_05012025_20_18_03_079324_0000.jpg
/home/pi/Desktop/images/05012025/20/18/image_05012025_20_18_03_079324_0001.jpg
/home/pi/Desktop/images/05012025/20/18/image_05012025_20_18_03_079324_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891379","1326891381","1326891383","1326891377"],"photo_ids_order":["1326891377","1326891379","1326891381","1326891383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a8831af31dd88c055e5328bb66e05b6.jpg","text":"TemporaryFile(/tmp/multipartBody7930779452258154699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104792071,"filename":"image_05012025_20_18_03_079324_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/874196965062d3570a8164bfcbbd2829.jpg","text":"TemporaryFile(/tmp/multipartBody8231915862473417064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104792071,"filename":"image_05012025_20_18_03_079324_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b5480ef98c11e52e30b79912c492767.jpg","text":"TemporaryFile(/tmp/multipartBody976790071313425033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104792071,"filename":"image_05012025_20_18_03_079324_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1bafb4ca86e970dd5ec3be225e8a2fc5.jpg","text":"TemporaryFile(/tmp/multipartBody3707819655790120448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104792071,"filename":"image_05012025_20_17_02_904534_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891381","file1":"1326891379","file0":"1326891377","file3":"1326891383"},"map_files_photo_id_array":[{"photo_id":"1326891381","filename":"file2"},{"photo_id":"1326891379","filename":"file1"},{"photo_id":"1326891377","filename":"file0"},{"photo_id":"1326891383","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891379":["hashtag1","hashtag2"]},{"1326891381":["hashtag1","hashtag2"]},{"1326891383":["hashtag1","hashtag2"]},{"1326891377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891379, 1326891381, 1326891383, 1326891377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.15937685966492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 20:19:32.082279
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/18/image_05012025_20_18_03_079324_0003.jpg', '/home/pi/Desktop/images/05012025/20/19/image_05012025_20_19_02_218113_0000.jpg', '/home/pi/Desktop/images/05012025/20/19/image_05012025_20_19_02_218113_0001.jpg', '/home/pi/Desktop/images/05012025/20/19/image_05012025_20_19_02_218113_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/20/18/image_05012025_20_18_03_079324_0003.jpg
/home/pi/Desktop/images/05012025/20/19/image_05012025_20_19_02_218113_0000.jpg
/home/pi/Desktop/images/05012025/20/19/image_05012025_20_19_02_218113_0001.jpg
/home/pi/Desktop/images/05012025/20/19/image_05012025_20_19_02_218113_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891387","1326891389","1326891392","1326891385"],"photo_ids_order":["1326891385","1326891387","1326891389","1326891392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f6e2209182042914faccd21049d52bc3.jpg","text":"TemporaryFile(/tmp/multipartBody3626749048867314969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104842437,"filename":"image_05012025_20_19_02_218113_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad05253cb7e731d10b34a99dd482e90a.jpg","text":"TemporaryFile(/tmp/multipartBody4083211106804132471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104842437,"filename":"image_05012025_20_19_02_218113_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eee9336539c028960d89f06dc25ef20d.jpg","text":"TemporaryFile(/tmp/multipartBody4512533026597689116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104842437,"filename":"image_05012025_20_19_02_218113_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b06275bcceaec3a91003b05394e67f7.jpg","text":"TemporaryFile(/tmp/multipartBody3318707339838343275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104842437,"filename":"image_05012025_20_18_03_079324_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891389","file1":"1326891387","file0":"1326891385","file3":"1326891392"},"map_files_photo_id_array":[{"photo_id":"1326891389","filename":"file2"},{"photo_id":"1326891387","filename":"file1"},{"photo_id":"1326891385","filename":"file0"},{"photo_id":"1326891392","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891387":["hashtag1","hashtag2"]},{"1326891389":["hashtag1","hashtag2"]},{"1326891392":["hashtag1","hashtag2"]},{"1326891385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891387, 1326891389, 1326891392, 1326891385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.8618745803833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:20:22.280246
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/19/image_05012025_20_19_02_218113_0003.jpg', '/home/pi/Desktop/images/05012025/20/20/image_05012025_20_20_02_491571_0000.jpg', '/home/pi/Desktop/images/05012025/20/20/image_05012025_20_20_02_491571_0001.jpg', '/home/pi/Desktop/images/05012025/20/20/image_05012025_20_20_02_491571_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/20/19/image_05012025_20_19_02_218113_0003.jpg
/home/pi/Desktop/images/05012025/20/20/image_05012025_20_20_02_491571_0000.jpg
/home/pi/Desktop/images/05012025/20/20/image_05012025_20_20_02_491571_0001.jpg
/home/pi/Desktop/images/05012025/20/20/image_05012025_20_20_02_491571_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891403","1326891399","1326891402","1326891401"],"photo_ids_order":["1326891399","1326891401","1326891402","1326891403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8bb6e293d2667b20b3d9040b9559e99f.jpg","text":"TemporaryFile(/tmp/multipartBody6210671924412421282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104892561,"filename":"image_05012025_20_20_02_491571_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/01a9e5cad5b0c2e5c45ef348f8ee6cf7.jpg","text":"TemporaryFile(/tmp/multipartBody4981053050823336713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104892561,"filename":"image_05012025_20_19_02_218113_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0f07cb57b33ac93f8cde4eb29132ba5b.jpg","text":"TemporaryFile(/tmp/multipartBody8540407733962269239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104892561,"filename":"image_05012025_20_20_02_491571_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7cde1e17540016702ce983b44cbc322e.jpg","text":"TemporaryFile(/tmp/multipartBody2665009564320146086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104892561,"filename":"image_05012025_20_20_02_491571_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891402","file1":"1326891401","file0":"1326891399","file3":"1326891403"},"map_files_photo_id_array":[{"photo_id":"1326891402","filename":"file2"},{"photo_id":"1326891401","filename":"file1"},{"photo_id":"1326891399","filename":"file0"},{"photo_id":"1326891403","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891403":["hashtag1","hashtag2"]},{"1326891399":["hashtag1","hashtag2"]},{"1326891402":["hashtag1","hashtag2"]},{"1326891401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891403, 1326891399, 1326891402, 1326891401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.997337341308594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:21:22.524010
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/20/image_05012025_20_20_02_491571_0003.jpg', '/home/pi/Desktop/images/05012025/20/21/image_05012025_20_21_02_653864_0000.jpg', '/home/pi/Desktop/images/05012025/20/21/image_05012025_20_21_02_653864_0001.jpg', '/home/pi/Desktop/images/05012025/20/21/image_05012025_20_21_02_653864_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/20/20/image_05012025_20_20_02_491571_0003.jpg
/home/pi/Desktop/images/05012025/20/21/image_05012025_20_21_02_653864_0000.jpg
/home/pi/Desktop/images/05012025/20/21/image_05012025_20_21_02_653864_0001.jpg
/home/pi/Desktop/images/05012025/20/21/image_05012025_20_21_02_653864_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891412","1326891409","1326891414","1326891410"],"photo_ids_order":["1326891409","1326891410","1326891412","1326891414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ed472ddba6928ed0352530300bfa0fc3.jpg","text":"TemporaryFile(/tmp/multipartBody7430824518556526021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104952856,"filename":"image_05012025_20_21_02_653864_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/341602053c34e4426fa5312aa9cad100.jpg","text":"TemporaryFile(/tmp/multipartBody3842568153699260430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104952856,"filename":"image_05012025_20_20_02_491571_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e99081694599be51a81c87ad49ca49d0.jpg","text":"TemporaryFile(/tmp/multipartBody8337641322931707413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104952856,"filename":"image_05012025_20_21_02_653864_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0bfc49d999b3fd860f990de95bfc3a31.jpg","text":"TemporaryFile(/tmp/multipartBody5739315585663819503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736104952856,"filename":"image_05012025_20_21_02_653864_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891412","file1":"1326891410","file0":"1326891409","file3":"1326891414"},"map_files_photo_id_array":[{"photo_id":"1326891412","filename":"file2"},{"photo_id":"1326891410","filename":"file1"},{"photo_id":"1326891409","filename":"file0"},{"photo_id":"1326891414","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891412":["hashtag1","hashtag2"]},{"1326891409":["hashtag1","hashtag2"]},{"1326891414":["hashtag1","hashtag2"]},{"1326891410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891412, 1326891409, 1326891414, 1326891410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.34538531303406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:22:22.655209
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/21/image_05012025_20_21_02_653864_0003.jpg', '/home/pi/Desktop/images/05012025/20/22/image_05012025_20_22_02_829950_0000.jpg', '/home/pi/Desktop/images/05012025/20/22/image_05012025_20_22_02_829950_0001.jpg', '/home/pi/Desktop/images/05012025/20/22/image_05012025_20_22_02_829950_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/20/21/image_05012025_20_21_02_653864_0003.jpg
/home/pi/Desktop/images/05012025/20/22/image_05012025_20_22_02_829950_0000.jpg
/home/pi/Desktop/images/05012025/20/22/image_05012025_20_22_02_829950_0001.jpg
/home/pi/Desktop/images/05012025/20/22/image_05012025_20_22_02_829950_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891421","1326891420","1326891423","1326891425"],"photo_ids_order":["1326891420","1326891421","1326891423","1326891425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/404f31b208ee73ad25ddfa6c54df990f.jpg","text":"TemporaryFile(/tmp/multipartBody8107889422405687107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105013002,"filename":"image_05012025_20_22_02_829950_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/98db048928f026ecc8439dd2c2a28a02.jpg","text":"TemporaryFile(/tmp/multipartBody1410463558222832921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105013002,"filename":"image_05012025_20_21_02_653864_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62bb26cf2d6b67ccad278a37fefe5f0e.jpg","text":"TemporaryFile(/tmp/multipartBody936214397059221868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105013002,"filename":"image_05012025_20_22_02_829950_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2419fb4665605b61cccf9fa8fdc4a25b.jpg","text":"TemporaryFile(/tmp/multipartBody3077776627638728490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105013002,"filename":"image_05012025_20_22_02_829950_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891423","file1":"1326891421","file0":"1326891420","file3":"1326891425"},"map_files_photo_id_array":[{"photo_id":"1326891423","filename":"file2"},{"photo_id":"1326891421","filename":"file1"},{"photo_id":"1326891420","filename":"file0"},{"photo_id":"1326891425","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891421":["hashtag1","hashtag2"]},{"1326891420":["hashtag1","hashtag2"]},{"1326891423":["hashtag1","hashtag2"]},{"1326891425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891421, 1326891420, 1326891423, 1326891425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.852596044540405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:23:21.880327
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/22/image_05012025_20_22_02_829950_0003.jpg', '/home/pi/Desktop/images/05012025/20/23/image_05012025_20_23_03_006434_0000.jpg', '/home/pi/Desktop/images/05012025/20/23/image_05012025_20_23_03_006434_0001.jpg', '/home/pi/Desktop/images/05012025/20/23/image_05012025_20_23_03_006434_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/20/22/image_05012025_20_22_02_829950_0003.jpg
/home/pi/Desktop/images/05012025/20/23/image_05012025_20_23_03_006434_0000.jpg
/home/pi/Desktop/images/05012025/20/23/image_05012025_20_23_03_006434_0001.jpg
/home/pi/Desktop/images/05012025/20/23/image_05012025_20_23_03_006434_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891439","1326891435","1326891438","1326891437"],"photo_ids_order":["1326891435","1326891437","1326891438","1326891439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c83891569f3d6d28cad417f3441a786a.jpg","text":"TemporaryFile(/tmp/multipartBody7596704492397880096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105072155,"filename":"image_05012025_20_23_03_006434_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9bbadaef605bc6607bbaddcb0a29c369.jpg","text":"TemporaryFile(/tmp/multipartBody7913569822735473433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105072155,"filename":"image_05012025_20_22_02_829950_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/356645c93dd630190521fcde019e756a.jpg","text":"TemporaryFile(/tmp/multipartBody2286614520002663402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105072155,"filename":"image_05012025_20_23_03_006434_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aa3d8854e99362c2fccf14a84acffa6c.jpg","text":"TemporaryFile(/tmp/multipartBody3027608658233335231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105072155,"filename":"image_05012025_20_23_03_006434_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891438","file1":"1326891437","file0":"1326891435","file3":"1326891439"},"map_files_photo_id_array":[{"photo_id":"1326891438","filename":"file2"},{"photo_id":"1326891437","filename":"file1"},{"photo_id":"1326891435","filename":"file0"},{"photo_id":"1326891439","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891439":["hashtag1","hashtag2"]},{"1326891435":["hashtag1","hashtag2"]},{"1326891438":["hashtag1","hashtag2"]},{"1326891437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891439, 1326891435, 1326891438, 1326891437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.6420533657074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:24:22.026230
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/23/image_05012025_20_23_03_006434_0003.jpg', '/home/pi/Desktop/images/05012025/20/24/image_05012025_20_24_02_213059_0000.jpg', '/home/pi/Desktop/images/05012025/20/24/image_05012025_20_24_02_213059_0001.jpg', '/home/pi/Desktop/images/05012025/20/24/image_05012025_20_24_02_213059_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/20/23/image_05012025_20_23_03_006434_0003.jpg
/home/pi/Desktop/images/05012025/20/24/image_05012025_20_24_02_213059_0000.jpg
/home/pi/Desktop/images/05012025/20/24/image_05012025_20_24_02_213059_0001.jpg
/home/pi/Desktop/images/05012025/20/24/image_05012025_20_24_02_213059_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.985405206680298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 20:24:42.069557
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/23/image_05012025_20_23_03_006434_0003.jpg', '/home/pi/Desktop/images/05012025/20/24/image_05012025_20_24_02_213059_0000.jpg', '/home/pi/Desktop/images/05012025/20/24/image_05012025_20_24_02_213059_0001.jpg', '/home/pi/Desktop/images/05012025/20/24/image_05012025_20_24_02_213059_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/20/23/image_05012025_20_23_03_006434_0003.jpg
/home/pi/Desktop/images/05012025/20/24/image_05012025_20_24_02_213059_0000.jpg
/home/pi/Desktop/images/05012025/20/24/image_05012025_20_24_02_213059_0001.jpg
/home/pi/Desktop/images/05012025/20/24/image_05012025_20_24_02_213059_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891451","1326891450","1326891453","1326891449"],"photo_ids_order":["1326891449","1326891450","1326891451","1326891453"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7aaa9e5b46e6c7b2a9f56c006aa515e1.jpg","text":"TemporaryFile(/tmp/multipartBody2066527992427052460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105152565,"filename":"image_05012025_20_24_02_213059_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e90c12f46b6012d7a74e8fb55088d942.jpg","text":"TemporaryFile(/tmp/multipartBody3153895678044762903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105152565,"filename":"image_05012025_20_24_02_213059_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/718cc1ac35cb7ab1b725fae44fe1a04c.jpg","text":"TemporaryFile(/tmp/multipartBody6503149531934212374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105152565,"filename":"image_05012025_20_24_02_213059_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cfa19bc223963ce912d12963b00afbeb.jpg","text":"TemporaryFile(/tmp/multipartBody5079122366976720602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105152565,"filename":"image_05012025_20_23_03_006434_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891451","file1":"1326891450","file0":"1326891449","file3":"1326891453"},"map_files_photo_id_array":[{"photo_id":"1326891451","filename":"file2"},{"photo_id":"1326891450","filename":"file1"},{"photo_id":"1326891449","filename":"file0"},{"photo_id":"1326891453","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891451":["hashtag1","hashtag2"]},{"1326891450":["hashtag1","hashtag2"]},{"1326891453":["hashtag1","hashtag2"]},{"1326891449":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891451, 1326891450, 1326891453, 1326891449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.797017335891724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 20:25:32.201554
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/24/image_05012025_20_24_02_213059_0003.jpg', '/home/pi/Desktop/images/05012025/20/25/image_05012025_20_25_02_436754_0000.jpg', '/home/pi/Desktop/images/05012025/20/25/image_05012025_20_25_02_436754_0001.jpg', '/home/pi/Desktop/images/05012025/20/25/image_05012025_20_25_02_436754_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/20/24/image_05012025_20_24_02_213059_0003.jpg
/home/pi/Desktop/images/05012025/20/25/image_05012025_20_25_02_436754_0000.jpg
/home/pi/Desktop/images/05012025/20/25/image_05012025_20_25_02_436754_0001.jpg
/home/pi/Desktop/images/05012025/20/25/image_05012025_20_25_02_436754_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891463","1326891465","1326891462","1326891464"],"photo_ids_order":["1326891462","1326891463","1326891464","1326891465"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/93ec9e647fb1ff0fb117a04137caf79b.jpg","text":"TemporaryFile(/tmp/multipartBody4602324750577582866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105202440,"filename":"image_05012025_20_25_02_436754_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b9544c786c652d07a1dc43d081cc8493.jpg","text":"TemporaryFile(/tmp/multipartBody6732825349103465580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105202440,"filename":"image_05012025_20_25_02_436754_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/637d9751582969704133542ff6b86eb1.jpg","text":"TemporaryFile(/tmp/multipartBody7361686956245648760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105202440,"filename":"image_05012025_20_24_02_213059_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fdba339d1b62deb9cccad3ce0cc34ae4.jpg","text":"TemporaryFile(/tmp/multipartBody8500154246614429877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105202440,"filename":"image_05012025_20_25_02_436754_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891464","file1":"1326891463","file0":"1326891462","file3":"1326891465"},"map_files_photo_id_array":[{"photo_id":"1326891464","filename":"file2"},{"photo_id":"1326891463","filename":"file1"},{"photo_id":"1326891462","filename":"file0"},{"photo_id":"1326891465","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891463":["hashtag1","hashtag2"]},{"1326891465":["hashtag1","hashtag2"]},{"1326891462":["hashtag1","hashtag2"]},{"1326891464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891463, 1326891465, 1326891462, 1326891464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.43268418312073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:26:22.450286
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/25/image_05012025_20_25_02_436754_0003.jpg', '/home/pi/Desktop/images/05012025/20/26/image_05012025_20_26_02_620652_0000.jpg', '/home/pi/Desktop/images/05012025/20/26/image_05012025_20_26_02_620652_0001.jpg', '/home/pi/Desktop/images/05012025/20/26/image_05012025_20_26_02_620652_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/20/25/image_05012025_20_25_02_436754_0003.jpg
/home/pi/Desktop/images/05012025/20/26/image_05012025_20_26_02_620652_0000.jpg
/home/pi/Desktop/images/05012025/20/26/image_05012025_20_26_02_620652_0001.jpg
/home/pi/Desktop/images/05012025/20/26/image_05012025_20_26_02_620652_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891477","1326891474","1326891472","1326891475"],"photo_ids_order":["1326891472","1326891474","1326891475","1326891477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/22fc5f5bd617a070e5208f5d365ac103.jpg","text":"TemporaryFile(/tmp/multipartBody1251550162690613315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105252643,"filename":"image_05012025_20_26_02_620652_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/31abb97a3c07d47a27837855c0d6c9d2.jpg","text":"TemporaryFile(/tmp/multipartBody1943215160829764784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105252643,"filename":"image_05012025_20_26_02_620652_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f0961764983f9a03aa5eefcd7621567e.jpg","text":"TemporaryFile(/tmp/multipartBody714678733412742147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105252643,"filename":"image_05012025_20_25_02_436754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ee0e48dbb1e2a97a5dbe25abc1808389.jpg","text":"TemporaryFile(/tmp/multipartBody7647704981303311970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105252643,"filename":"image_05012025_20_26_02_620652_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891475","file1":"1326891474","file0":"1326891472","file3":"1326891477"},"map_files_photo_id_array":[{"photo_id":"1326891475","filename":"file2"},{"photo_id":"1326891474","filename":"file1"},{"photo_id":"1326891472","filename":"file0"},{"photo_id":"1326891477","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891477":["hashtag1","hashtag2"]},{"1326891474":["hashtag1","hashtag2"]},{"1326891472":["hashtag1","hashtag2"]},{"1326891475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891477, 1326891474, 1326891472, 1326891475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.6896116733551 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:27:03.284340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:27:22.513433
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/26/image_05012025_20_26_02_620652_0003.jpg', '/home/pi/Desktop/images/05012025/20/27/image_05012025_20_27_02_791215_0000.jpg', '/home/pi/Desktop/images/05012025/20/27/image_05012025_20_27_02_791215_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/20/26/image_05012025_20_26_02_620652_0003.jpg
/home/pi/Desktop/images/05012025/20/27/image_05012025_20_27_02_791215_0000.jpg
/home/pi/Desktop/images/05012025/20/27/image_05012025_20_27_02_791215_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891483","1326891486","1326891484"],"photo_ids_order":["1326891483","1326891484","1326891486"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d3f6c7d1fb96f3ff26ac31e4f2714cff.jpg","text":"TemporaryFile(/tmp/multipartBody3295627573096092794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105310145,"filename":"image_05012025_20_26_02_620652_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a997e66da808c85a311841a7fcf4c96b.jpg","text":"TemporaryFile(/tmp/multipartBody4919002659123364283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105310145,"filename":"image_05012025_20_27_02_791215_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ddea39cdc518badb8af0592ad37384f2.jpg","text":"TemporaryFile(/tmp/multipartBody7399730572297253869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105310145,"filename":"image_05012025_20_27_02_791215_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891486","file1":"1326891484","file0":"1326891483"},"map_files_photo_id_array":[{"photo_id":"1326891486","filename":"file2"},{"photo_id":"1326891484","filename":"file1"},{"photo_id":"1326891483","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891483":["hashtag1","hashtag2"]},{"1326891486":["hashtag1","hashtag2"]},{"1326891484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891483, 1326891486, 1326891484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.974953413009644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:28:03.149768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:28:22.799382
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/27/image_05012025_20_27_02_791215_0003.jpg', '/home/pi/Desktop/images/05012025/20/28/image_05012025_20_28_02_879193_0000.jpg', '/home/pi/Desktop/images/05012025/20/28/image_05012025_20_28_02_879193_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/20/27/image_05012025_20_27_02_791215_0003.jpg
/home/pi/Desktop/images/05012025/20/28/image_05012025_20_28_02_879193_0000.jpg
/home/pi/Desktop/images/05012025/20/28/image_05012025_20_28_02_879193_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":["1326891492","1326891494","1326891493"],"photo_ids_order":["1326891492","1326891493","1326891494"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8a6931b4f72fc9bf2c1ee70641e59680.jpg","text":"TemporaryFile(/tmp/multipartBody5777195330669921322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105370491,"filename":"image_05012025_20_27_02_791215_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b6f9a901633d0d038d65e39ac2524273.jpg","text":"TemporaryFile(/tmp/multipartBody4851527430393743431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105370491,"filename":"image_05012025_20_28_02_879193_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bd60b65a6ac6ecb54251f5126f69635c.jpg","text":"TemporaryFile(/tmp/multipartBody5990308463607290505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105370491,"filename":"image_05012025_20_28_02_879193_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891494","file1":"1326891493","file0":"1326891492"},"map_files_photo_id_array":[{"photo_id":"1326891494","filename":"file2"},{"photo_id":"1326891493","filename":"file1"},{"photo_id":"1326891492","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891492":["hashtag1","hashtag2"]},{"1326891494":["hashtag1","hashtag2"]},{"1326891493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891492, 1326891494, 1326891493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.62558889389038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:29:02.534615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:29:21.888598
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/28/image_05012025_20_28_02_879193_0003.jpg', '/home/pi/Desktop/images/05012025/20/29/image_05012025_20_29_03_166303_0001.jpg', '/home/pi/Desktop/images/05012025/20/29/image_05012025_20_29_03_166303_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/20/28/image_05012025_20_28_02_879193_0003.jpg
/home/pi/Desktop/images/05012025/20/29/image_05012025_20_29_03_166303_0001.jpg
/home/pi/Desktop/images/05012025/20/29/image_05012025_20_29_03_166303_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891517","1326891512","1326891515"],"photo_ids_order":["1326891512","1326891515","1326891517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5ec65d7b94dedd2f0e5eda3a1ea15b5c.jpg","text":"TemporaryFile(/tmp/multipartBody458873260405175902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105429379,"filename":"image_05012025_20_29_03_166303_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c12b693222d54aedc97598350fc9f927.jpg","text":"TemporaryFile(/tmp/multipartBody6120465253521669528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105429379,"filename":"image_05012025_20_28_02_879193_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3464dbcfaff3f8313273a2602b8fb1f0.jpg","text":"TemporaryFile(/tmp/multipartBody1662362492841481804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105429379,"filename":"image_05012025_20_29_03_166303_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891517","file1":"1326891515","file0":"1326891512"},"map_files_photo_id_array":[{"photo_id":"1326891517","filename":"file2"},{"photo_id":"1326891515","filename":"file1"},{"photo_id":"1326891512","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891517":["hashtag1","hashtag2"]},{"1326891512":["hashtag1","hashtag2"]},{"1326891515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891517, 1326891512, 1326891515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.68622851371765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:30:02.555511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:30:22.058403
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/29/image_05012025_20_29_03_166303_0003.jpg', '/home/pi/Desktop/images/05012025/20/30/image_05012025_20_30_02_275433_0000.jpg', '/home/pi/Desktop/images/05012025/20/30/image_05012025_20_30_02_275433_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/20/29/image_05012025_20_29_03_166303_0003.jpg
/home/pi/Desktop/images/05012025/20/30/image_05012025_20_30_02_275433_0000.jpg
/home/pi/Desktop/images/05012025/20/30/image_05012025_20_30_02_275433_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.28547215461731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 20:30:32.084288
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/29/image_05012025_20_29_03_166303_0003.jpg', '/home/pi/Desktop/images/05012025/20/30/image_05012025_20_30_02_275433_0000.jpg', '/home/pi/Desktop/images/05012025/20/30/image_05012025_20_30_02_275433_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/20/29/image_05012025_20_29_03_166303_0003.jpg
/home/pi/Desktop/images/05012025/20/30/image_05012025_20_30_02_275433_0000.jpg
/home/pi/Desktop/images/05012025/20/30/image_05012025_20_30_02_275433_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":["1326891529","1326891528","1326891530"],"photo_ids_order":["1326891528","1326891529","1326891530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bbfa02943cb4305dc7320480825c1b80.jpg","text":"TemporaryFile(/tmp/multipartBody139491596000923597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105499580,"filename":"image_05012025_20_30_02_275433_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a6e6fa993650e3e3a9647ee0275b16aa.jpg","text":"TemporaryFile(/tmp/multipartBody7882130106444883645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105499580,"filename":"image_05012025_20_29_03_166303_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6fd1ddfd6c0b27408e62686d545458bf.jpg","text":"TemporaryFile(/tmp/multipartBody874237817726608901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105499580,"filename":"image_05012025_20_30_02_275433_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891530","file1":"1326891529","file0":"1326891528"},"map_files_photo_id_array":[{"photo_id":"1326891530","filename":"file2"},{"photo_id":"1326891529","filename":"file1"},{"photo_id":"1326891528","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891529":["hashtag1","hashtag2"]},{"1326891528":["hashtag1","hashtag2"]},{"1326891530":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891529, 1326891528, 1326891530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.8335542678833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:31:22.339869
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/30/image_05012025_20_30_02_275433_0003.jpg', '/home/pi/Desktop/images/05012025/20/31/image_05012025_20_31_02_443894_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/20/30/image_05012025_20_30_02_275433_0003.jpg
/home/pi/Desktop/images/05012025/20/31/image_05012025_20_31_02_443894_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":["1326891538","1326891539"],"photo_ids_order":["1326891538","1326891539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b7326bf5fc3006ba10a802fb8be26463.jpg","text":"TemporaryFile(/tmp/multipartBody8944435612099953278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105547539,"filename":"image_05012025_20_30_02_275433_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9c029b12747e292dd247bf0304075279.jpg","text":"TemporaryFile(/tmp/multipartBody9131723071412906123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105547539,"filename":"image_05012025_20_31_02_443894_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326891539","file0":"1326891538"},"map_files_photo_id_array":[{"photo_id":"1326891539","filename":"file1"},{"photo_id":"1326891538","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891538":["hashtag1","hashtag2"]},{"1326891539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891538, 1326891539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.651806354522705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 20:31:52.252928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:32:02.917541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:32:22.428699
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/31/image_05012025_20_31_02_443894_0002.jpg', '/home/pi/Desktop/images/05012025/20/32/image_05012025_20_32_02_644803_0000.jpg', '/home/pi/Desktop/images/05012025/20/32/image_05012025_20_32_02_644803_0001.jpg', '/home/pi/Desktop/images/05012025/20/32/image_05012025_20_32_02_644803_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/20/31/image_05012025_20_31_02_443894_0002.jpg
/home/pi/Desktop/images/05012025/20/32/image_05012025_20_32_02_644803_0000.jpg
/home/pi/Desktop/images/05012025/20/32/image_05012025_20_32_02_644803_0001.jpg
/home/pi/Desktop/images/05012025/20/32/image_05012025_20_32_02_644803_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891546","1326891549","1326891551","1326891547"],"photo_ids_order":["1326891546","1326891547","1326891549","1326891551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/daf1940780b4df5658df301bbf617abc.jpg","text":"TemporaryFile(/tmp/multipartBody2435955609516110927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105612173,"filename":"image_05012025_20_31_02_443894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/19d44649a78a65537a5e44d8b8975e91.jpg","text":"TemporaryFile(/tmp/multipartBody8844320058926006893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105612173,"filename":"image_05012025_20_32_02_644803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/49b78dd4ecd122e10d80c0b542903e99.jpg","text":"TemporaryFile(/tmp/multipartBody1968690180809766950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105612173,"filename":"image_05012025_20_32_02_644803_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/baf96efbb2f9aecea5fa9c4d067c7563.jpg","text":"TemporaryFile(/tmp/multipartBody1637295069592511208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105612173,"filename":"image_05012025_20_32_02_644803_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891549","file1":"1326891547","file0":"1326891546","file3":"1326891551"},"map_files_photo_id_array":[{"photo_id":"1326891549","filename":"file2"},{"photo_id":"1326891547","filename":"file1"},{"photo_id":"1326891546","filename":"file0"},{"photo_id":"1326891551","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891546":["hashtag1","hashtag2"]},{"1326891549":["hashtag1","hashtag2"]},{"1326891551":["hashtag1","hashtag2"]},{"1326891547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891546, 1326891549, 1326891551, 1326891547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.63060522079468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:33:22.679426
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/32/image_05012025_20_32_02_644803_0003.jpg', '/home/pi/Desktop/images/05012025/20/33/image_05012025_20_33_02_848335_0000.jpg', '/home/pi/Desktop/images/05012025/20/33/image_05012025_20_33_02_848335_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/20/32/image_05012025_20_32_02_644803_0003.jpg
/home/pi/Desktop/images/05012025/20/33/image_05012025_20_33_02_848335_0000.jpg
/home/pi/Desktop/images/05012025/20/33/image_05012025_20_33_02_848335_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891562","1326891559","1326891560"],"photo_ids_order":["1326891559","1326891560","1326891562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb206d38953edd49aa6656ebe37f33d1.jpg","text":"TemporaryFile(/tmp/multipartBody8203273177188903049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105670271,"filename":"image_05012025_20_33_02_848335_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5dd49b4581debc8ea4c990ecfbe74273.jpg","text":"TemporaryFile(/tmp/multipartBody2123719238919376841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105670271,"filename":"image_05012025_20_32_02_644803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4c18edc305201c155d19e35228711c7a.jpg","text":"TemporaryFile(/tmp/multipartBody302828029038547878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105670271,"filename":"image_05012025_20_33_02_848335_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891562","file1":"1326891560","file0":"1326891559"},"map_files_photo_id_array":[{"photo_id":"1326891562","filename":"file2"},{"photo_id":"1326891560","filename":"file1"},{"photo_id":"1326891559","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891562":["hashtag1","hashtag2"]},{"1326891559":["hashtag1","hashtag2"]},{"1326891560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891562, 1326891559, 1326891560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.17962956428528 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:34:02.239794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:34:21.767800
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/33/image_05012025_20_33_02_848335_0003.jpg', '/home/pi/Desktop/images/05012025/20/34/image_05012025_20_34_02_963701_0000.jpg', '/home/pi/Desktop/images/05012025/20/34/image_05012025_20_34_02_963701_0001.jpg', '/home/pi/Desktop/images/05012025/20/34/image_05012025_20_34_02_963701_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/20/33/image_05012025_20_33_02_848335_0003.jpg
/home/pi/Desktop/images/05012025/20/34/image_05012025_20_34_02_963701_0000.jpg
/home/pi/Desktop/images/05012025/20/34/image_05012025_20_34_02_963701_0001.jpg
/home/pi/Desktop/images/05012025/20/34/image_05012025_20_34_02_963701_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891570","1326891572","1326891569","1326891574"],"photo_ids_order":["1326891569","1326891570","1326891572","1326891574"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8cdd19173d05f7631bd95f5efc9a3f6b.jpg","text":"TemporaryFile(/tmp/multipartBody4816568094828292802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105731674,"filename":"image_05012025_20_34_02_963701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe53f17caf79b18cb1ef1a1326d28f8a.jpg","text":"TemporaryFile(/tmp/multipartBody4426663827289473553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105731674,"filename":"image_05012025_20_34_02_963701_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cf8a80e7c9fa8b398b4bdaa1a8b73053.jpg","text":"TemporaryFile(/tmp/multipartBody3579558533777444255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105731674,"filename":"image_05012025_20_33_02_848335_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0f1fadba9a69deb10a2864b4500905c2.jpg","text":"TemporaryFile(/tmp/multipartBody3395362641010773452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105731674,"filename":"image_05012025_20_34_02_963701_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891572","file1":"1326891570","file0":"1326891569","file3":"1326891574"},"map_files_photo_id_array":[{"photo_id":"1326891572","filename":"file2"},{"photo_id":"1326891570","filename":"file1"},{"photo_id":"1326891569","filename":"file0"},{"photo_id":"1326891574","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891570":["hashtag1","hashtag2"]},{"1326891572":["hashtag1","hashtag2"]},{"1326891569":["hashtag1","hashtag2"]},{"1326891574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891570, 1326891572, 1326891569, 1326891574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.14466905593872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:35:22.102730
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/34/image_05012025_20_34_02_963701_0003.jpg', '/home/pi/Desktop/images/05012025/20/35/image_05012025_20_35_02_134905_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/20/34/image_05012025_20_34_02_963701_0003.jpg
/home/pi/Desktop/images/05012025/20/35/image_05012025_20_35_02_134905_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":["1326891585","1326891583"],"photo_ids_order":["1326891583","1326891585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7608361345d31b83ec835b1cb974d1e9.jpg","text":"TemporaryFile(/tmp/multipartBody1922227384215979117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105787425,"filename":"image_05012025_20_35_02_134905_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/87c2ff28b32d6ae4be081599503debb8.jpg","text":"TemporaryFile(/tmp/multipartBody8900954461972131551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105787425,"filename":"image_05012025_20_34_02_963701_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326891585","file0":"1326891583"},"map_files_photo_id_array":[{"photo_id":"1326891585","filename":"file1"},{"photo_id":"1326891583","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891585":["hashtag1","hashtag2"]},{"1326891583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891585, 1326891583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.72228980064392 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 20:35:51.943412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:36:02.509476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:36:22.136721
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/35/image_05012025_20_35_02_134905_0003.jpg', '/home/pi/Desktop/images/05012025/20/36/image_05012025_20_36_02_297988_0000.jpg', '/home/pi/Desktop/images/05012025/20/36/image_05012025_20_36_02_297988_0001.jpg', '/home/pi/Desktop/images/05012025/20/36/image_05012025_20_36_02_297988_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/20/35/image_05012025_20_35_02_134905_0003.jpg
/home/pi/Desktop/images/05012025/20/36/image_05012025_20_36_02_297988_0000.jpg
/home/pi/Desktop/images/05012025/20/36/image_05012025_20_36_02_297988_0001.jpg
/home/pi/Desktop/images/05012025/20/36/image_05012025_20_36_02_297988_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891597","1326891599","1326891598","1326891595"],"photo_ids_order":["1326891595","1326891597","1326891598","1326891599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/578865c9b427cfe049248c1169f65be5.jpg","text":"TemporaryFile(/tmp/multipartBody6661697866316872730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105852188,"filename":"image_05012025_20_36_02_297988_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b88458e264c53e7ac1eb31e9a603778.jpg","text":"TemporaryFile(/tmp/multipartBody3925213641251105106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105852188,"filename":"image_05012025_20_36_02_297988_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a6640c90784f8115f249d2defab50838.jpg","text":"TemporaryFile(/tmp/multipartBody1677973183228439601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105852188,"filename":"image_05012025_20_36_02_297988_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7799569ae9969e7028b266c14f84629b.jpg","text":"TemporaryFile(/tmp/multipartBody493018275913785645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105852188,"filename":"image_05012025_20_35_02_134905_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891598","file1":"1326891597","file0":"1326891595","file3":"1326891599"},"map_files_photo_id_array":[{"photo_id":"1326891598","filename":"file2"},{"photo_id":"1326891597","filename":"file1"},{"photo_id":"1326891595","filename":"file0"},{"photo_id":"1326891599","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891597":["hashtag1","hashtag2"]},{"1326891599":["hashtag1","hashtag2"]},{"1326891598":["hashtag1","hashtag2"]},{"1326891595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891597, 1326891599, 1326891598, 1326891595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.74544334411621 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:37:22.459520
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/36/image_05012025_20_36_02_297988_0003.jpg', '/home/pi/Desktop/images/05012025/20/37/image_05012025_20_37_02_583529_0000.jpg', '/home/pi/Desktop/images/05012025/20/37/image_05012025_20_37_02_583529_0001.jpg', '/home/pi/Desktop/images/05012025/20/37/image_05012025_20_37_02_583529_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/20/36/image_05012025_20_36_02_297988_0003.jpg
/home/pi/Desktop/images/05012025/20/37/image_05012025_20_37_02_583529_0000.jpg
/home/pi/Desktop/images/05012025/20/37/image_05012025_20_37_02_583529_0001.jpg
/home/pi/Desktop/images/05012025/20/37/image_05012025_20_37_02_583529_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891610","1326891609","1326891606","1326891605"],"photo_ids_order":["1326891605","1326891606","1326891609","1326891610"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7aad8561352f22b56a868b163e78918c.jpg","text":"TemporaryFile(/tmp/multipartBody1968810927478253453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105912337,"filename":"image_05012025_20_37_02_583529_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/99bac9153e9dead77874f1673496b962.jpg","text":"TemporaryFile(/tmp/multipartBody924815435609367996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105912337,"filename":"image_05012025_20_37_02_583529_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7d36d2feeb0603747c8fdb7a3408e06e.jpg","text":"TemporaryFile(/tmp/multipartBody6362811397792797243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105912337,"filename":"image_05012025_20_37_02_583529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ead3050a7279d1a93056d62357921f30.jpg","text":"TemporaryFile(/tmp/multipartBody3540959546736774538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105912337,"filename":"image_05012025_20_36_02_297988_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891609","file1":"1326891606","file0":"1326891605","file3":"1326891610"},"map_files_photo_id_array":[{"photo_id":"1326891609","filename":"file2"},{"photo_id":"1326891606","filename":"file1"},{"photo_id":"1326891605","filename":"file0"},{"photo_id":"1326891610","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891610":["hashtag1","hashtag2"]},{"1326891609":["hashtag1","hashtag2"]},{"1326891606":["hashtag1","hashtag2"]},{"1326891605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891610, 1326891609, 1326891606, 1326891605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.99561619758606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:38:22.519504
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/37/image_05012025_20_37_02_583529_0003.jpg', '/home/pi/Desktop/images/05012025/20/38/image_05012025_20_38_02_784327_0000.jpg', '/home/pi/Desktop/images/05012025/20/38/image_05012025_20_38_02_784327_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/20/37/image_05012025_20_37_02_583529_0003.jpg
/home/pi/Desktop/images/05012025/20/38/image_05012025_20_38_02_784327_0000.jpg
/home/pi/Desktop/images/05012025/20/38/image_05012025_20_38_02_784327_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.4059553146362305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 20:38:32.542690
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/37/image_05012025_20_37_02_583529_0003.jpg', '/home/pi/Desktop/images/05012025/20/38/image_05012025_20_38_02_784327_0000.jpg', '/home/pi/Desktop/images/05012025/20/38/image_05012025_20_38_02_784327_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/20/37/image_05012025_20_37_02_583529_0003.jpg
/home/pi/Desktop/images/05012025/20/38/image_05012025_20_38_02_784327_0000.jpg
/home/pi/Desktop/images/05012025/20/38/image_05012025_20_38_02_784327_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891616","1326891619","1326891614"],"photo_ids_order":["1326891614","1326891616","1326891619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/45e278eeadaa848df602b735064d0719.jpg","text":"TemporaryFile(/tmp/multipartBody6326155684647848512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105980313,"filename":"image_05012025_20_38_02_784327_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/323597f426c318ad6b9edb778b948c3d.jpg","text":"TemporaryFile(/tmp/multipartBody6143271197658237128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105980313,"filename":"image_05012025_20_38_02_784327_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/055c6b5f92ec67fcee58bbb46de5899f.jpg","text":"TemporaryFile(/tmp/multipartBody1853564845322645726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736105980313,"filename":"image_05012025_20_37_02_583529_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891619","file1":"1326891616","file0":"1326891614"},"map_files_photo_id_array":[{"photo_id":"1326891619","filename":"file2"},{"photo_id":"1326891616","filename":"file1"},{"photo_id":"1326891614","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891616":["hashtag1","hashtag2"]},{"1326891619":["hashtag1","hashtag2"]},{"1326891614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891616, 1326891619, 1326891614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 41.025920391082764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:39:22.693766
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/38/image_05012025_20_38_02_784327_0003.jpg', '/home/pi/Desktop/images/05012025/20/39/image_05012025_20_39_02_913710_0000.jpg', '/home/pi/Desktop/images/05012025/20/39/image_05012025_20_39_02_913710_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/20/38/image_05012025_20_38_02_784327_0003.jpg
/home/pi/Desktop/images/05012025/20/39/image_05012025_20_39_02_913710_0000.jpg
/home/pi/Desktop/images/05012025/20/39/image_05012025_20_39_02_913710_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":["1326891625","1326891627","1326891624"],"photo_ids_order":["1326891624","1326891625","1326891627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce434318f750b7c1510dc8174a726a19.jpg","text":"TemporaryFile(/tmp/multipartBody6206195985052110506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106030663,"filename":"image_05012025_20_39_02_913710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/52faf1bad7a38ec49463a6c02b58a6b6.jpg","text":"TemporaryFile(/tmp/multipartBody8407137935289744288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106030663,"filename":"image_05012025_20_39_02_913710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/32e7a0fd56db9c37cd76122592dd1b4b.jpg","text":"TemporaryFile(/tmp/multipartBody7887848898789411569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106030663,"filename":"image_05012025_20_38_02_784327_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891627","file1":"1326891625","file0":"1326891624"},"map_files_photo_id_array":[{"photo_id":"1326891627","filename":"file2"},{"photo_id":"1326891625","filename":"file1"},{"photo_id":"1326891624","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891625":["hashtag1","hashtag2"]},{"1326891627":["hashtag1","hashtag2"]},{"1326891624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891625, 1326891627, 1326891624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 39.91762661933899 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:40:21.869396
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/39/image_05012025_20_39_02_913710_0003.jpg', '/home/pi/Desktop/images/05012025/20/40/image_05012025_20_40_03_090465_0000.jpg', '/home/pi/Desktop/images/05012025/20/40/image_05012025_20_40_03_090465_0001.jpg', '/home/pi/Desktop/images/05012025/20/40/image_05012025_20_40_03_090465_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/20/39/image_05012025_20_39_02_913710_0003.jpg
/home/pi/Desktop/images/05012025/20/40/image_05012025_20_40_03_090465_0000.jpg
/home/pi/Desktop/images/05012025/20/40/image_05012025_20_40_03_090465_0001.jpg
/home/pi/Desktop/images/05012025/20/40/image_05012025_20_40_03_090465_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891643","1326891639","1326891641","1326891644"],"photo_ids_order":["1326891639","1326891641","1326891643","1326891644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd7a9930aed5d23429d461effc9cbb67.jpg","text":"TemporaryFile(/tmp/multipartBody995716358847176563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106091877,"filename":"image_05012025_20_40_03_090465_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c6082ddc005e3b18f09807b981925a0.jpg","text":"TemporaryFile(/tmp/multipartBody6131264136396483273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106091877,"filename":"image_05012025_20_39_02_913710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b069688274fc6f941d95c7abcf5f3f29.jpg","text":"TemporaryFile(/tmp/multipartBody2263322685288116021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106091877,"filename":"image_05012025_20_40_03_090465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b59b557a430c69edfe87bfd6d65aa7c0.jpg","text":"TemporaryFile(/tmp/multipartBody4324754434319325674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106091877,"filename":"image_05012025_20_40_03_090465_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891643","file1":"1326891641","file0":"1326891639","file3":"1326891644"},"map_files_photo_id_array":[{"photo_id":"1326891643","filename":"file2"},{"photo_id":"1326891641","filename":"file1"},{"photo_id":"1326891639","filename":"file0"},{"photo_id":"1326891644","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891643":["hashtag1","hashtag2"]},{"1326891639":["hashtag1","hashtag2"]},{"1326891641":["hashtag1","hashtag2"]},{"1326891644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891643, 1326891639, 1326891641, 1326891644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 50.03996300697327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:41:22.076617
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/40/image_05012025_20_40_03_090465_0003.jpg', '/home/pi/Desktop/images/05012025/20/41/image_05012025_20_41_02_256611_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/20/40/image_05012025_20_40_03_090465_0003.jpg
/home/pi/Desktop/images/05012025/20/41/image_05012025_20_41_02_256611_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":["1326891650","1326891652"],"photo_ids_order":["1326891650","1326891652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/41921b4636b299d4e232ba86d4063e86.jpg","text":"TemporaryFile(/tmp/multipartBody2606283662242482948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106147749,"filename":"image_05012025_20_40_03_090465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f7e9fa515f5d57e7fcaa9725559feb9f.jpg","text":"TemporaryFile(/tmp/multipartBody4263842709236941004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106147749,"filename":"image_05012025_20_41_02_256611_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326891652","file0":"1326891650"},"map_files_photo_id_array":[{"photo_id":"1326891652","filename":"file1"},{"photo_id":"1326891650","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891650":["hashtag1","hashtag2"]},{"1326891652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891650, 1326891652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 26.782737255096436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 20:41:52.028160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:42:02.623404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:42:22.212760
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/41/image_05012025_20_41_02_256611_0003.jpg', '/home/pi/Desktop/images/05012025/20/42/image_05012025_20_42_02_436493_0000.jpg', '/home/pi/Desktop/images/05012025/20/42/image_05012025_20_42_02_436493_0001.jpg', '/home/pi/Desktop/images/05012025/20/42/image_05012025_20_42_02_436493_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/20/41/image_05012025_20_41_02_256611_0003.jpg
/home/pi/Desktop/images/05012025/20/42/image_05012025_20_42_02_436493_0000.jpg
/home/pi/Desktop/images/05012025/20/42/image_05012025_20_42_02_436493_0001.jpg
/home/pi/Desktop/images/05012025/20/42/image_05012025_20_42_02_436493_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.338413000106812 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-05 20:42:42.259081
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/41/image_05012025_20_41_02_256611_0003.jpg', '/home/pi/Desktop/images/05012025/20/42/image_05012025_20_42_02_436493_0000.jpg', '/home/pi/Desktop/images/05012025/20/42/image_05012025_20_42_02_436493_0001.jpg', '/home/pi/Desktop/images/05012025/20/42/image_05012025_20_42_02_436493_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/20/41/image_05012025_20_41_02_256611_0003.jpg
/home/pi/Desktop/images/05012025/20/42/image_05012025_20_42_02_436493_0000.jpg
/home/pi/Desktop/images/05012025/20/42/image_05012025_20_42_02_436493_0001.jpg
/home/pi/Desktop/images/05012025/20/42/image_05012025_20_42_02_436493_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891666","1326891671","1326891668","1326891665"],"photo_ids_order":["1326891665","1326891666","1326891668","1326891671"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/59fc5b82287c587837a33b34d450752a.jpg","text":"TemporaryFile(/tmp/multipartBody5111436505124848302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106236459,"filename":"image_05012025_20_42_02_436493_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9c4f4fd5cd961d7db15666dd71b06056.jpg","text":"TemporaryFile(/tmp/multipartBody7775919205542551875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106236459,"filename":"image_05012025_20_42_02_436493_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c634ae80bf865a2adb825c6b85d0ccb4.jpg","text":"TemporaryFile(/tmp/multipartBody8383679737350991419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106236459,"filename":"image_05012025_20_42_02_436493_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b27073df5b23b27851bc33a9eed6070e.jpg","text":"TemporaryFile(/tmp/multipartBody1703507780379938080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106236459,"filename":"image_05012025_20_41_02_256611_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891668","file1":"1326891666","file0":"1326891665","file3":"1326891671"},"map_files_photo_id_array":[{"photo_id":"1326891668","filename":"file2"},{"photo_id":"1326891666","filename":"file1"},{"photo_id":"1326891665","filename":"file0"},{"photo_id":"1326891671","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891666":["hashtag1","hashtag2"]},{"1326891671":["hashtag1","hashtag2"]},{"1326891668":["hashtag1","hashtag2"]},{"1326891665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891666, 1326891671, 1326891668, 1326891665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 53.458497047424316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 20:43:42.434022
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/42/image_05012025_20_42_02_436493_0003.jpg', '/home/pi/Desktop/images/05012025/20/43/image_05012025_20_43_02_644691_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/20/42/image_05012025_20_42_02_436493_0003.jpg
/home/pi/Desktop/images/05012025/20/43/image_05012025_20_43_02_644691_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":["1326891678","1326891677"],"photo_ids_order":["1326891677","1326891678"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f0495a880332ff511971e107675f7acf.jpg","text":"TemporaryFile(/tmp/multipartBody3514783425264104368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106288146,"filename":"image_05012025_20_43_02_644691_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/04e446d1aaf2a33ef9582c814fa05ee6.jpg","text":"TemporaryFile(/tmp/multipartBody838273037184824363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106288146,"filename":"image_05012025_20_42_02_436493_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326891678","file0":"1326891677"},"map_files_photo_id_array":[{"photo_id":"1326891678","filename":"file1"},{"photo_id":"1326891677","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891678":["hashtag1","hashtag2"]},{"1326891677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891678, 1326891677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 30.873872756958008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:44:22.758953
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/43/image_05012025_20_43_02_644691_0003.jpg', '/home/pi/Desktop/images/05012025/20/44/image_05012025_20_44_02_754809_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/20/43/image_05012025_20_43_02_644691_0003.jpg
/home/pi/Desktop/images/05012025/20/44/image_05012025_20_44_02_754809_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":["1326891696","1326891691"],"photo_ids_order":["1326891691","1326891696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f6a7ff34d771a664084ac7c51c8eb74.jpg","text":"TemporaryFile(/tmp/multipartBody6585665111664081489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106328427,"filename":"image_05012025_20_44_02_754809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02eb8b1798b142bbfe5aa1cb47ca5ad6.jpg","text":"TemporaryFile(/tmp/multipartBody5690594811399043501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106328427,"filename":"image_05012025_20_43_02_644691_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326891696","file0":"1326891691"},"map_files_photo_id_array":[{"photo_id":"1326891696","filename":"file1"},{"photo_id":"1326891691","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891696":["hashtag1","hashtag2"]},{"1326891691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891696, 1326891691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 27.27340340614319 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 20:44:52.632151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:45:02.365976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:45:21.903544
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/44/image_05012025_20_44_02_754809_0003.jpg', '/home/pi/Desktop/images/05012025/20/45/image_05012025_20_45_03_060101_0000.jpg', '/home/pi/Desktop/images/05012025/20/45/image_05012025_20_45_03_060101_0001.jpg', '/home/pi/Desktop/images/05012025/20/45/image_05012025_20_45_03_060101_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/20/44/image_05012025_20_44_02_754809_0003.jpg
/home/pi/Desktop/images/05012025/20/45/image_05012025_20_45_03_060101_0000.jpg
/home/pi/Desktop/images/05012025/20/45/image_05012025_20_45_03_060101_0001.jpg
/home/pi/Desktop/images/05012025/20/45/image_05012025_20_45_03_060101_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891721","1326891718","1326891717","1326891725"],"photo_ids_order":["1326891717","1326891718","1326891721","1326891725"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/956aef9ca999e49c9654e38937063f85.jpg","text":"TemporaryFile(/tmp/multipartBody232134260045473897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106392089,"filename":"image_05012025_20_45_03_060101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4fb667f7fab246220e331b4f3a74c95a.jpg","text":"TemporaryFile(/tmp/multipartBody3277927318624197760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106392089,"filename":"image_05012025_20_45_03_060101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d8323ad21cdaae3a84f63ac5e7b4daf8.jpg","text":"TemporaryFile(/tmp/multipartBody4789172929142215230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106392089,"filename":"image_05012025_20_44_02_754809_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/056d12a8e9f203374fdd368a54356ecc.jpg","text":"TemporaryFile(/tmp/multipartBody1020753361747506219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106392089,"filename":"image_05012025_20_45_03_060101_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891721","file1":"1326891718","file0":"1326891717","file3":"1326891725"},"map_files_photo_id_array":[{"photo_id":"1326891721","filename":"file2"},{"photo_id":"1326891718","filename":"file1"},{"photo_id":"1326891717","filename":"file0"},{"photo_id":"1326891725","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891721":["hashtag1","hashtag2"]},{"1326891718":["hashtag1","hashtag2"]},{"1326891717":["hashtag1","hashtag2"]},{"1326891725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891721, 1326891718, 1326891717, 1326891725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 51.43371105194092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:46:21.990721
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/45/image_05012025_20_45_03_060101_0003.jpg', '/home/pi/Desktop/images/05012025/20/46/image_05012025_20_46_02_165104_0000.jpg', '/home/pi/Desktop/images/05012025/20/46/image_05012025_20_46_02_165104_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/20/45/image_05012025_20_45_03_060101_0003.jpg
/home/pi/Desktop/images/05012025/20/46/image_05012025_20_46_02_165104_0000.jpg
/home/pi/Desktop/images/05012025/20/46/image_05012025_20_46_02_165104_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":["1326891733","1326891736","1326891734"],"photo_ids_order":["1326891733","1326891734","1326891736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/60faeb35394357100df979172d0b3608.jpg","text":"TemporaryFile(/tmp/multipartBody797418237728302048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106450922,"filename":"image_05012025_20_45_03_060101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/59688c018db44ebc8f332f9273f10e59.jpg","text":"TemporaryFile(/tmp/multipartBody6190394207516630807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106450922,"filename":"image_05012025_20_46_02_165104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/25596936f750e9e3d2e9b39648843266.jpg","text":"TemporaryFile(/tmp/multipartBody6991668365681001509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106450922,"filename":"image_05012025_20_46_02_165104_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891736","file1":"1326891734","file0":"1326891733"},"map_files_photo_id_array":[{"photo_id":"1326891736","filename":"file2"},{"photo_id":"1326891734","filename":"file1"},{"photo_id":"1326891733","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891733":["hashtag1","hashtag2"]},{"1326891736":["hashtag1","hashtag2"]},{"1326891734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891733, 1326891736, 1326891734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 39.05974888801575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:47:02.437728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:47:22.043690
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/46/image_05012025_20_46_02_165104_0002.jpg', '/home/pi/Desktop/images/05012025/20/47/image_05012025_20_47_02_314473_0000.jpg', '/home/pi/Desktop/images/05012025/20/47/image_05012025_20_47_02_314473_0001.jpg', '/home/pi/Desktop/images/05012025/20/47/image_05012025_20_47_02_314473_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/20/46/image_05012025_20_46_02_165104_0002.jpg
/home/pi/Desktop/images/05012025/20/47/image_05012025_20_47_02_314473_0000.jpg
/home/pi/Desktop/images/05012025/20/47/image_05012025_20_47_02_314473_0001.jpg
/home/pi/Desktop/images/05012025/20/47/image_05012025_20_47_02_314473_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891748","1326891750","1326891746","1326891751"],"photo_ids_order":["1326891746","1326891748","1326891750","1326891751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ccb1d65223687f68d01486030e31a6b6.jpg","text":"TemporaryFile(/tmp/multipartBody915318362473876953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106512752,"filename":"image_05012025_20_47_02_314473_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ba3dd89c5ead376b22a63a10ccf7b88a.jpg","text":"TemporaryFile(/tmp/multipartBody7213767958560235548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106512752,"filename":"image_05012025_20_47_02_314473_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ef572d453c7609c53ec3054763cc2874.jpg","text":"TemporaryFile(/tmp/multipartBody8468144241355211554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106512752,"filename":"image_05012025_20_46_02_165104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d81fe2dc58395a7061f9174a66e61ee2.jpg","text":"TemporaryFile(/tmp/multipartBody2018502600969393966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106512752,"filename":"image_05012025_20_47_02_314473_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891750","file1":"1326891748","file0":"1326891746","file3":"1326891751"},"map_files_photo_id_array":[{"photo_id":"1326891750","filename":"file2"},{"photo_id":"1326891748","filename":"file1"},{"photo_id":"1326891746","filename":"file0"},{"photo_id":"1326891751","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891748":["hashtag1","hashtag2"]},{"1326891750":["hashtag1","hashtag2"]},{"1326891746":["hashtag1","hashtag2"]},{"1326891751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891748, 1326891750, 1326891746, 1326891751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 56.71481680870056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:48:22.407065
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/47/image_05012025_20_47_02_314473_0003.jpg', '/home/pi/Desktop/images/05012025/20/48/image_05012025_20_48_02_482474_0000.jpg', '/home/pi/Desktop/images/05012025/20/48/image_05012025_20_48_02_482474_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/20/47/image_05012025_20_47_02_314473_0003.jpg
/home/pi/Desktop/images/05012025/20/48/image_05012025_20_48_02_482474_0000.jpg
/home/pi/Desktop/images/05012025/20/48/image_05012025_20_48_02_482474_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":["1326891759","1326891755","1326891757"],"photo_ids_order":["1326891755","1326891757","1326891759"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/75b3526748b60d8a438d0a02c7e9522e.jpg","text":"TemporaryFile(/tmp/multipartBody142705107026061904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106575015,"filename":"image_05012025_20_48_02_482474_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62f240cb57c41d56b78387dcd60addf0.jpg","text":"TemporaryFile(/tmp/multipartBody5736826343441919158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106575015,"filename":"image_05012025_20_47_02_314473_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1162ce39005dc2848798d3c981812a63.jpg","text":"TemporaryFile(/tmp/multipartBody3523357596620412294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106575015,"filename":"image_05012025_20_48_02_482474_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891759","file1":"1326891757","file0":"1326891755"},"map_files_photo_id_array":[{"photo_id":"1326891759","filename":"file2"},{"photo_id":"1326891757","filename":"file1"},{"photo_id":"1326891755","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891759":["hashtag1","hashtag2"]},{"1326891755":["hashtag1","hashtag2"]},{"1326891757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891759, 1326891755, 1326891757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 56.543164014816284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:49:22.488150
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/48/image_05012025_20_48_02_482474_0002.jpg', '/home/pi/Desktop/images/05012025/20/49/image_05012025_20_49_02_689365_0001.jpg', '/home/pi/Desktop/images/05012025/20/49/image_05012025_20_49_02_689365_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/20/48/image_05012025_20_48_02_482474_0002.jpg
/home/pi/Desktop/images/05012025/20/49/image_05012025_20_49_02_689365_0001.jpg
/home/pi/Desktop/images/05012025/20/49/image_05012025_20_49_02_689365_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891769","1326891771","1326891773"],"photo_ids_order":["1326891769","1326891771","1326891773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2f5db0590157ec27e24b2d2b9f03b21f.jpg","text":"TemporaryFile(/tmp/multipartBody573776194049289603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106631411,"filename":"image_05012025_20_48_02_482474_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/51b8081212bade16e5f2583f085d3d23.jpg","text":"TemporaryFile(/tmp/multipartBody6072426945584861543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106631411,"filename":"image_05012025_20_49_02_689365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/422fd9c4246bf14c47b4e2fd9d166a03.jpg","text":"TemporaryFile(/tmp/multipartBody2730457856350732425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106631411,"filename":"image_05012025_20_49_02_689365_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891773","file1":"1326891771","file0":"1326891769"},"map_files_photo_id_array":[{"photo_id":"1326891773","filename":"file2"},{"photo_id":"1326891771","filename":"file1"},{"photo_id":"1326891769","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891769":["hashtag1","hashtag2"]},{"1326891771":["hashtag1","hashtag2"]},{"1326891773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891769, 1326891771, 1326891773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 40.93261408805847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:50:22.696276
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/49/image_05012025_20_49_02_689365_0003.jpg', '/home/pi/Desktop/images/05012025/20/50/image_05012025_20_50_02_905202_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/20/49/image_05012025_20_49_02_689365_0003.jpg
/home/pi/Desktop/images/05012025/20/50/image_05012025_20_50_02_905202_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891777","1326891779"],"photo_ids_order":["1326891777","1326891779"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5b2866ac5777b540478f8c6e1388e406.jpg","text":"TemporaryFile(/tmp/multipartBody4846855375545175950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106688734,"filename":"image_05012025_20_49_02_689365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/acc784cbd1230a423e507784d531d10a.jpg","text":"TemporaryFile(/tmp/multipartBody4167488203352299458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106688734,"filename":"image_05012025_20_50_02_905202_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326891779","file0":"1326891777"},"map_files_photo_id_array":[{"photo_id":"1326891779","filename":"file1"},{"photo_id":"1326891777","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891777":["hashtag1","hashtag2"]},{"1326891779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891777, 1326891779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 33.1943793296814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:51:02.492534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:51:21.870816
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/50/image_05012025_20_50_02_905202_0003.jpg', '/home/pi/Desktop/images/05012025/20/51/image_05012025_20_51_03_069222_0000.jpg', '/home/pi/Desktop/images/05012025/20/51/image_05012025_20_51_03_069222_0001.jpg', '/home/pi/Desktop/images/05012025/20/51/image_05012025_20_51_03_069222_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/20/50/image_05012025_20_50_02_905202_0003.jpg
/home/pi/Desktop/images/05012025/20/51/image_05012025_20_51_03_069222_0000.jpg
/home/pi/Desktop/images/05012025/20/51/image_05012025_20_51_03_069222_0001.jpg
/home/pi/Desktop/images/05012025/20/51/image_05012025_20_51_03_069222_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891797","1326891793","1326891796","1326891790"],"photo_ids_order":["1326891790","1326891793","1326891796","1326891797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/348e34a29b9ba1422e198a3ee3554261.jpg","text":"TemporaryFile(/tmp/multipartBody6801002957617744330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106752507,"filename":"image_05012025_20_51_03_069222_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3955e7ed56d6f829ddef34284b8924ed.jpg","text":"TemporaryFile(/tmp/multipartBody5800164892106198882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106752507,"filename":"image_05012025_20_51_03_069222_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a8c4a678a796277a2043580bab952672.jpg","text":"TemporaryFile(/tmp/multipartBody7359287486442186534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106752507,"filename":"image_05012025_20_51_03_069222_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e8ec280b556abc6d2e4a42251c975a2.jpg","text":"TemporaryFile(/tmp/multipartBody6539787342644208280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106752507,"filename":"image_05012025_20_50_02_905202_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891796","file1":"1326891793","file0":"1326891790","file3":"1326891797"},"map_files_photo_id_array":[{"photo_id":"1326891796","filename":"file2"},{"photo_id":"1326891793","filename":"file1"},{"photo_id":"1326891790","filename":"file0"},{"photo_id":"1326891797","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891797":["hashtag1","hashtag2"]},{"1326891793":["hashtag1","hashtag2"]},{"1326891796":["hashtag1","hashtag2"]},{"1326891790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891797, 1326891793, 1326891796, 1326891790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 54.28300452232361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:52:22.095908
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/51/image_05012025_20_51_03_069222_0003.jpg', '/home/pi/Desktop/images/05012025/20/52/image_05012025_20_52_02_248770_0000.jpg', '/home/pi/Desktop/images/05012025/20/52/image_05012025_20_52_02_248770_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/20/51/image_05012025_20_51_03_069222_0003.jpg
/home/pi/Desktop/images/05012025/20/52/image_05012025_20_52_02_248770_0000.jpg
/home/pi/Desktop/images/05012025/20/52/image_05012025_20_52_02_248770_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891802","1326891804","1326891800"],"photo_ids_order":["1326891800","1326891802","1326891804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0c31413563b64567936412967a0f0697.jpg","text":"TemporaryFile(/tmp/multipartBody4613561371776313479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106811811,"filename":"image_05012025_20_52_02_248770_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/82416e213d78e3a5d73bf9229378b581.jpg","text":"TemporaryFile(/tmp/multipartBody3080636438647804364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106811811,"filename":"image_05012025_20_52_02_248770_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b7454744daa0a32e7d00fef7cd1eb62.jpg","text":"TemporaryFile(/tmp/multipartBody272885216968610315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106811811,"filename":"image_05012025_20_51_03_069222_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891804","file1":"1326891802","file0":"1326891800"},"map_files_photo_id_array":[{"photo_id":"1326891804","filename":"file2"},{"photo_id":"1326891802","filename":"file1"},{"photo_id":"1326891800","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891802":["hashtag1","hashtag2"]},{"1326891804":["hashtag1","hashtag2"]},{"1326891800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891802, 1326891804, 1326891800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 42.853039264678955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:53:22.322223
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/52/image_05012025_20_52_02_248770_0003.jpg', '/home/pi/Desktop/images/05012025/20/53/image_05012025_20_53_02_494154_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/20/52/image_05012025_20_52_02_248770_0003.jpg
/home/pi/Desktop/images/05012025/20/53/image_05012025_20_53_02_494154_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":["1326891814","1326891816"],"photo_ids_order":["1326891814","1326891816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f96c4496da47f95abfa8f4dd934eeeb.jpg","text":"TemporaryFile(/tmp/multipartBody2026393029059891693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106868164,"filename":"image_05012025_20_52_02_248770_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ea96b4d77db8c9861eb825dbdbee1019.jpg","text":"TemporaryFile(/tmp/multipartBody4955034136101573117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106868164,"filename":"image_05012025_20_53_02_494154_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326891816","file0":"1326891814"},"map_files_photo_id_array":[{"photo_id":"1326891816","filename":"file1"},{"photo_id":"1326891814","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891814":["hashtag1","hashtag2"]},{"1326891816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891814, 1326891816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 31.76131558418274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:54:02.930728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:54:22.483041
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/53/image_05012025_20_53_02_494154_0002.jpg', '/home/pi/Desktop/images/05012025/20/54/image_05012025_20_54_02_705571_0000.jpg', '/home/pi/Desktop/images/05012025/20/54/image_05012025_20_54_02_705571_0001.jpg', '/home/pi/Desktop/images/05012025/20/54/image_05012025_20_54_02_705571_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/20/53/image_05012025_20_53_02_494154_0002.jpg
/home/pi/Desktop/images/05012025/20/54/image_05012025_20_54_02_705571_0000.jpg
/home/pi/Desktop/images/05012025/20/54/image_05012025_20_54_02_705571_0001.jpg
/home/pi/Desktop/images/05012025/20/54/image_05012025_20_54_02_705571_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326891820","1326891822","1326891819","1326891824"],"photo_ids_order":["1326891819","1326891820","1326891822","1326891824"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b34b64b1e079cb513a1d4d1c1b5b13c.jpg","text":"TemporaryFile(/tmp/multipartBody2518925221382868823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106933028,"filename":"image_05012025_20_54_02_705571_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/29fc7dae1728bfa63e5598811320873b.jpg","text":"TemporaryFile(/tmp/multipartBody8284957909799468405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106933028,"filename":"image_05012025_20_54_02_705571_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/04d537e06822ba1e4ec8b039effa8c00.jpg","text":"TemporaryFile(/tmp/multipartBody1629749389668394880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106933028,"filename":"image_05012025_20_53_02_494154_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e57636fc43a245a1ff4aaa7276027abf.jpg","text":"TemporaryFile(/tmp/multipartBody974149834408835083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106933028,"filename":"image_05012025_20_54_02_705571_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891822","file1":"1326891820","file0":"1326891819","file3":"1326891824"},"map_files_photo_id_array":[{"photo_id":"1326891822","filename":"file2"},{"photo_id":"1326891820","filename":"file1"},{"photo_id":"1326891819","filename":"file0"},{"photo_id":"1326891824","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891820":["hashtag1","hashtag2"]},{"1326891822":["hashtag1","hashtag2"]},{"1326891819":["hashtag1","hashtag2"]},{"1326891824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891820, 1326891822, 1326891819, 1326891824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 58.6632661819458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:55:22.708913
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/54/image_05012025_20_54_02_705571_0003.jpg', '/home/pi/Desktop/images/05012025/20/55/image_05012025_20_55_02_815754_0000.jpg', '/home/pi/Desktop/images/05012025/20/55/image_05012025_20_55_02_815754_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/20/54/image_05012025_20_54_02_705571_0003.jpg
/home/pi/Desktop/images/05012025/20/55/image_05012025_20_55_02_815754_0000.jpg
/home/pi/Desktop/images/05012025/20/55/image_05012025_20_55_02_815754_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":["1326891835","1326891831","1326891833"],"photo_ids_order":["1326891831","1326891833","1326891835"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/89ef9e4dad48194c4ac94535b26e0731.jpg","text":"TemporaryFile(/tmp/multipartBody8545909881698189882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106993084,"filename":"image_05012025_20_55_02_815754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f64956ab2ae93b8e3c0dc6076dbf1af.jpg","text":"TemporaryFile(/tmp/multipartBody8095365598566359072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106993084,"filename":"image_05012025_20_54_02_705571_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/70bc5107e392a614ae4486315eb41281.jpg","text":"TemporaryFile(/tmp/multipartBody3602937767610032778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736106993084,"filename":"image_05012025_20_55_02_815754_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326891835","file1":"1326891833","file0":"1326891831"},"map_files_photo_id_array":[{"photo_id":"1326891835","filename":"file2"},{"photo_id":"1326891833","filename":"file1"},{"photo_id":"1326891831","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326891835":["hashtag1","hashtag2"]},{"1326891831":["hashtag1","hashtag2"]},{"1326891833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326891835, 1326891831, 1326891833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 49.78426718711853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:56:21.849483
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/55/image_05012025_20_55_02_815754_0003.jpg', '/home/pi/Desktop/images/05012025/20/56/image_05012025_20_56_03_108674_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/20/55/image_05012025_20_55_02_815754_0003.jpg
/home/pi/Desktop/images/05012025/20/56/image_05012025_20_56_03_108674_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":["1326892050","1326892016"],"photo_ids_order":["1326892016","1326892050"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7407fee48cd4596b8d370b8cbc15138a.jpg","text":"TemporaryFile(/tmp/multipartBody5650261482351079852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107049362,"filename":"image_05012025_20_56_03_108674_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/19ef57bd8a4f9e04b93c80eca169cd1d.jpg","text":"TemporaryFile(/tmp/multipartBody7574554674864341761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107049362,"filename":"image_05012025_20_55_02_815754_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326892050","file0":"1326892016"},"map_files_photo_id_array":[{"photo_id":"1326892050","filename":"file1"},{"photo_id":"1326892016","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892050":["hashtag1","hashtag2"]},{"1326892016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892050, 1326892016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 37.31990671157837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:57:02.587168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241221 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241222 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241223 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241224 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:57:22.014855
SELECT 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 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/56/image_05012025_20_56_03_108674_0003.jpg', '/home/pi/Desktop/images/05012025/20/57/image_05012025_20_57_02_334464_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/20/56/image_05012025_20_56_03_108674_0003.jpg
/home/pi/Desktop/images/05012025/20/57/image_05012025_20_57_02_334464_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":["1326892266","1326892302"],"photo_ids_order":["1326892266","1326892302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d24da752099899344419ba8afb4d1647.jpg","text":"TemporaryFile(/tmp/multipartBody7254881195748708302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107108714,"filename":"image_05012025_20_56_03_108674_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8405eedd914cbca7e763b158dc40dde1.jpg","text":"TemporaryFile(/tmp/multipartBody3369286537022898837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107108714,"filename":"image_05012025_20_57_02_334464_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1326892302","file0":"1326892266"},"map_files_photo_id_array":[{"photo_id":"1326892302","filename":"file1"},{"photo_id":"1326892266","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892266":["hashtag1","hashtag2"]},{"1326892302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892266, 1326892302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 30.49113416671753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 20:59:03.040316
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/57/image_05012025_20_57_02_334464_0002.jpg', '/home/pi/Desktop/images/05012025/20/58/image_05012025_20_58_02_435392_0000.jpg', '/home/pi/Desktop/images/05012025/20/58/image_05012025_20_58_02_435392_0001.jpg', '/home/pi/Desktop/images/05012025/20/58/image_05012025_20_58_02_435392_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/20/57/image_05012025_20_57_02_334464_0002.jpg
/home/pi/Desktop/images/05012025/20/58/image_05012025_20_58_02_435392_0000.jpg
/home/pi/Desktop/images/05012025/20/58/image_05012025_20_58_02_435392_0001.jpg
/home/pi/Desktop/images/05012025/20/58/image_05012025_20_58_02_435392_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.532917022705078 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 20:59:22.469249
SELECT 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/20/57/image_05012025_20_57_02_334464_0002.jpg', '/home/pi/Desktop/images/05012025/20/58/image_05012025_20_58_02_435392_0000.jpg', '/home/pi/Desktop/images/05012025/20/58/image_05012025_20_58_02_435392_0001.jpg', '/home/pi/Desktop/images/05012025/20/58/image_05012025_20_58_02_435392_0002.jpg', '/home/pi/Desktop/images/05012025/20/58/image_05012025_20_58_02_435392_0003.jpg', '/home/pi/Desktop/images/05012025/20/59/image_05012025_20_59_02_601487_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/20/57/image_05012025_20_57_02_334464_0002.jpg
/home/pi/Desktop/images/05012025/20/58/image_05012025_20_58_02_435392_0000.jpg
/home/pi/Desktop/images/05012025/20/58/image_05012025_20_58_02_435392_0001.jpg
/home/pi/Desktop/images/05012025/20/58/image_05012025_20_58_02_435392_0002.jpg
/home/pi/Desktop/images/05012025/20/58/image_05012025_20_58_02_435392_0003.jpg
/home/pi/Desktop/images/05012025/20/59/image_05012025_20_59_02_601487_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":["1326892674","1326892670","1326892675","1326892663","1326892657","1326892672"],"photo_ids_order":["1326892657","1326892663","1326892670","1326892672","1326892674","1326892675"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02f2b6ca388e393b0b97b98403422658.jpg","text":"TemporaryFile(/tmp/multipartBody5945638921730219931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107238378,"filename":"image_05012025_20_58_02_435392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6ba34b756e18075dca814d81db5b64b3.jpg","text":"TemporaryFile(/tmp/multipartBody3362164657324841078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107238378,"filename":"image_05012025_20_58_02_435392_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/64daa3ec2466061efdae29cd201ecda8.jpg","text":"TemporaryFile(/tmp/multipartBody1557028468714225697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107238378,"filename":"image_05012025_20_59_02_601487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2fcb13fd03367ea91ce7d2ae32171414.jpg","text":"TemporaryFile(/tmp/multipartBody1672481281427918212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107238378,"filename":"image_05012025_20_58_02_435392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8d8d8fd44a6ba61b9c89d3b969444acc.jpg","text":"TemporaryFile(/tmp/multipartBody1586480106795271335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107238378,"filename":"image_05012025_20_57_02_334464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e18fa611c7cd8e90c9149f6b183c7075.jpg","text":"TemporaryFile(/tmp/multipartBody1556611098916921429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107238378,"filename":"image_05012025_20_58_02_435392_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892670","file1":"1326892663","file0":"1326892657","file4":"1326892674","file5":"1326892675","file3":"1326892672"},"map_files_photo_id_array":[{"photo_id":"1326892675","filename":"file5"},{"photo_id":"1326892670","filename":"file2"},{"photo_id":"1326892674","filename":"file4"},{"photo_id":"1326892663","filename":"file1"},{"photo_id":"1326892657","filename":"file0"},{"photo_id":"1326892672","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892674":["hashtag1","hashtag2"]},{"1326892670":["hashtag1","hashtag2"]},{"1326892675":["hashtag1","hashtag2"]},{"1326892663":["hashtag1","hashtag2"]},{"1326892657":["hashtag1","hashtag2"]},{"1326892672":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892674, 1326892670, 1326892675, 1326892663, 1326892657, 1326892672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.56586527824402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 21:01:22.717130
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/20/59/image_05012025_20_59_02_601487_0002.jpg', '/home/pi/Desktop/images/05012025/20/59/image_05012025_20_59_02_601487_0003.jpg', '/home/pi/Desktop/images/05012025/21/00/image_05012025_21_00_02_730953_0002.jpg', '/home/pi/Desktop/images/05012025/21/01/image_05012025_21_01_02_980281_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/20/59/image_05012025_20_59_02_601487_0002.jpg
/home/pi/Desktop/images/05012025/20/59/image_05012025_20_59_02_601487_0003.jpg
/home/pi/Desktop/images/05012025/21/00/image_05012025_21_00_02_730953_0002.jpg
/home/pi/Desktop/images/05012025/21/01/image_05012025_21_01_02_980281_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":["1326892686","1326892683","1326892685","1326892687"],"photo_ids_order":["1326892683","1326892685","1326892686","1326892687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9e492e6f08a5f1a80822fd3122a9f999.jpg","text":"TemporaryFile(/tmp/multipartBody5408815592359652832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107354128,"filename":"image_05012025_21_00_02_730953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/16614f3fe1ea8200c8d129b835b8db23.jpg","text":"TemporaryFile(/tmp/multipartBody6075343927010050981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107354128,"filename":"image_05012025_20_59_02_601487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3a0779af652c880af1161d7abdf75e42.jpg","text":"TemporaryFile(/tmp/multipartBody7962860447866280293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107354128,"filename":"image_05012025_20_59_02_601487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/503d17c0e60a85334eec4f8597ac3146.jpg","text":"TemporaryFile(/tmp/multipartBody7012278559533085505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107354128,"filename":"image_05012025_21_01_02_980281_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892686","file1":"1326892685","file0":"1326892683","file3":"1326892687"},"map_files_photo_id_array":[{"photo_id":"1326892686","filename":"file2"},{"photo_id":"1326892685","filename":"file1"},{"photo_id":"1326892683","filename":"file0"},{"photo_id":"1326892687","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892686":["hashtag1","hashtag2"]},{"1326892683":["hashtag1","hashtag2"]},{"1326892685":["hashtag1","hashtag2"]},{"1326892687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892686, 1326892683, 1326892685, 1326892687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 68.88594579696655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 21:02:41.938866
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/21/01/image_05012025_21_01_02_980281_0002.jpg', '/home/pi/Desktop/images/05012025/21/02/image_05012025_21_02_03_162872_0000.jpg', '/home/pi/Desktop/images/05012025/21/02/image_05012025_21_02_03_162872_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/21/01/image_05012025_21_01_02_980281_0002.jpg
/home/pi/Desktop/images/05012025/21/02/image_05012025_21_02_03_162872_0000.jpg
/home/pi/Desktop/images/05012025/21/02/image_05012025_21_02_03_162872_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.796910285949707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 21:03:02.739132
SELECT 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 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/21/01/image_05012025_21_01_02_980281_0002.jpg', '/home/pi/Desktop/images/05012025/21/02/image_05012025_21_02_03_162872_0000.jpg', '/home/pi/Desktop/images/05012025/21/02/image_05012025_21_02_03_162872_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/21/01/image_05012025_21_01_02_980281_0002.jpg
/home/pi/Desktop/images/05012025/21/02/image_05012025_21_02_03_162872_0000.jpg
/home/pi/Desktop/images/05012025/21/02/image_05012025_21_02_03_162872_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326892695","1326892700","1326892698"],"photo_ids_order":["1326892695","1326892698","1326892700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/10aa18eb53133e100e2146fbcd55b7d4.jpg","text":"TemporaryFile(/tmp/multipartBody4377818303830962875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107464347,"filename":"image_05012025_21_01_02_980281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4e772766f25fdf7239d40ca2b91b1c7b.jpg","text":"TemporaryFile(/tmp/multipartBody4320589811074846372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107464347,"filename":"image_05012025_21_02_03_162872_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7bf6b0ac5d28f5f7cf40979c2902161e.jpg","text":"TemporaryFile(/tmp/multipartBody3493373977812985088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107464347,"filename":"image_05012025_21_02_03_162872_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892700","file1":"1326892698","file0":"1326892695"},"map_files_photo_id_array":[{"photo_id":"1326892700","filename":"file2"},{"photo_id":"1326892698","filename":"file1"},{"photo_id":"1326892695","filename":"file0"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892695":["hashtag1","hashtag2"]},{"1326892700":["hashtag1","hashtag2"]},{"1326892698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892695, 1326892700, 1326892698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 64.66561079025269 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 21:04:22.237384
SELECT 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/21/02/image_05012025_21_02_03_162872_0003.jpg', '/home/pi/Desktop/images/05012025/21/03/image_05012025_21_03_02_285774_0000.jpg', '/home/pi/Desktop/images/05012025/21/03/image_05012025_21_03_02_285774_0001.jpg', '/home/pi/Desktop/images/05012025/21/03/image_05012025_21_03_02_285774_0002.jpg', '/home/pi/Desktop/images/05012025/21/03/image_05012025_21_03_02_285774_0003.jpg', '/home/pi/Desktop/images/05012025/21/04/image_05012025_21_04_02_448146_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/21/02/image_05012025_21_02_03_162872_0003.jpg
/home/pi/Desktop/images/05012025/21/03/image_05012025_21_03_02_285774_0000.jpg
/home/pi/Desktop/images/05012025/21/03/image_05012025_21_03_02_285774_0001.jpg
/home/pi/Desktop/images/05012025/21/03/image_05012025_21_03_02_285774_0002.jpg
/home/pi/Desktop/images/05012025/21/03/image_05012025_21_03_02_285774_0003.jpg
/home/pi/Desktop/images/05012025/21/04/image_05012025_21_04_02_448146_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":["1326892710","1326892703","1326892712","1326892706","1326892711","1326892708"],"photo_ids_order":["1326892703","1326892706","1326892708","1326892710","1326892711","1326892712"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/effbfa44d2931bde11cb2ad3d69c9409.jpg","text":"TemporaryFile(/tmp/multipartBody8870245317512244498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107566227,"filename":"image_05012025_21_03_02_285774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/07eed38234acd1dd8ee75898eff7a8ff.jpg","text":"TemporaryFile(/tmp/multipartBody2421080767859057225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107566227,"filename":"image_05012025_21_02_03_162872_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/240245ab10d3059dd366e1ae3b5de02e.jpg","text":"TemporaryFile(/tmp/multipartBody4764926206036158511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107566227,"filename":"image_05012025_21_04_02_448146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11a7b2dfe55993803d443e8f9540c2ce.jpg","text":"TemporaryFile(/tmp/multipartBody687433067287804330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107566227,"filename":"image_05012025_21_03_02_285774_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ae0399f07fcd29d35d6567fe1f38e48b.jpg","text":"TemporaryFile(/tmp/multipartBody1193716951624420788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107566227,"filename":"image_05012025_21_03_02_285774_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/32093a5fe0a6670613bcdcdd84919eaf.jpg","text":"TemporaryFile(/tmp/multipartBody1015235527009447449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107566227,"filename":"image_05012025_21_03_02_285774_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892708","file1":"1326892706","file0":"1326892703","file4":"1326892711","file5":"1326892712","file3":"1326892710"},"map_files_photo_id_array":[{"photo_id":"1326892712","filename":"file5"},{"photo_id":"1326892708","filename":"file2"},{"photo_id":"1326892711","filename":"file4"},{"photo_id":"1326892706","filename":"file1"},{"photo_id":"1326892703","filename":"file0"},{"photo_id":"1326892710","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892710":["hashtag1","hashtag2"]},{"1326892703":["hashtag1","hashtag2"]},{"1326892712":["hashtag1","hashtag2"]},{"1326892706":["hashtag1","hashtag2"]},{"1326892711":["hashtag1","hashtag2"]},{"1326892708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892710, 1326892703, 1326892712, 1326892706, 1326892711, 1326892708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 129.7842583656311 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 21:06:42.525371
SELECT 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/21/04/image_05012025_21_04_02_448146_0001.jpg', '/home/pi/Desktop/images/05012025/21/04/image_05012025_21_04_02_448146_0002.jpg', '/home/pi/Desktop/images/05012025/21/05/image_05012025_21_05_02_614837_0000.jpg', '/home/pi/Desktop/images/05012025/21/05/image_05012025_21_05_02_614837_0001.jpg', '/home/pi/Desktop/images/05012025/21/05/image_05012025_21_05_02_614837_0002.jpg', '/home/pi/Desktop/images/05012025/21/05/image_05012025_21_05_02_614837_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/21/04/image_05012025_21_04_02_448146_0001.jpg
/home/pi/Desktop/images/05012025/21/04/image_05012025_21_04_02_448146_0002.jpg
/home/pi/Desktop/images/05012025/21/05/image_05012025_21_05_02_614837_0000.jpg
/home/pi/Desktop/images/05012025/21/05/image_05012025_21_05_02_614837_0001.jpg
/home/pi/Desktop/images/05012025/21/05/image_05012025_21_05_02_614837_0002.jpg
/home/pi/Desktop/images/05012025/21/05/image_05012025_21_05_02_614837_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326892722","1326892731","1326892733","1326892726","1326892735","1326892729"],"photo_ids_order":["1326892722","1326892726","1326892729","1326892731","1326892733","1326892735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6613ed74b9cd45894d8cbf57e4ad3fe5.jpg","text":"TemporaryFile(/tmp/multipartBody289111561114330048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107698115,"filename":"image_05012025_21_04_02_448146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/128dbe273ec32f45ff96fb76ab8eb345.jpg","text":"TemporaryFile(/tmp/multipartBody7074546694986909106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107698115,"filename":"image_05012025_21_05_02_614837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/55d23839d13cb81b652e1a9f0ed95730.jpg","text":"TemporaryFile(/tmp/multipartBody3505692802120506771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107698115,"filename":"image_05012025_21_05_02_614837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/37bc2109808078c2da11db735ae4e919.jpg","text":"TemporaryFile(/tmp/multipartBody5114103282479260421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107698115,"filename":"image_05012025_21_04_02_448146_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5feda6f53a3edfaa1a6b9ce6b75280d0.jpg","text":"TemporaryFile(/tmp/multipartBody4257563869589709503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107698115,"filename":"image_05012025_21_05_02_614837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e8118185950ae0d4e03a74385fe5b185.jpg","text":"TemporaryFile(/tmp/multipartBody1118757432878902595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107698115,"filename":"image_05012025_21_05_02_614837_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892729","file1":"1326892726","file0":"1326892722","file4":"1326892733","file5":"1326892735","file3":"1326892731"},"map_files_photo_id_array":[{"photo_id":"1326892735","filename":"file5"},{"photo_id":"1326892729","filename":"file2"},{"photo_id":"1326892733","filename":"file4"},{"photo_id":"1326892726","filename":"file1"},{"photo_id":"1326892722","filename":"file0"},{"photo_id":"1326892731","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892722":["hashtag1","hashtag2"]},{"1326892731":["hashtag1","hashtag2"]},{"1326892733":["hashtag1","hashtag2"]},{"1326892726":["hashtag1","hashtag2"]},{"1326892735":["hashtag1","hashtag2"]},{"1326892729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892722, 1326892731, 1326892733, 1326892726, 1326892735, 1326892729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 121.6169707775116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 21:08:51.978951
SELECT 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/21/06/image_05012025_21_06_02_725983_0000.jpg', '/home/pi/Desktop/images/05012025/21/06/image_05012025_21_06_02_725983_0002.jpg', '/home/pi/Desktop/images/05012025/21/06/image_05012025_21_06_02_725983_0003.jpg', '/home/pi/Desktop/images/05012025/21/07/image_05012025_21_07_02_954748_0001.jpg', '/home/pi/Desktop/images/05012025/21/07/image_05012025_21_07_02_954748_0002.jpg', '/home/pi/Desktop/images/05012025/21/07/image_05012025_21_07_02_954748_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/21/06/image_05012025_21_06_02_725983_0000.jpg
/home/pi/Desktop/images/05012025/21/06/image_05012025_21_06_02_725983_0002.jpg
/home/pi/Desktop/images/05012025/21/06/image_05012025_21_06_02_725983_0003.jpg
/home/pi/Desktop/images/05012025/21/07/image_05012025_21_07_02_954748_0001.jpg
/home/pi/Desktop/images/05012025/21/07/image_05012025_21_07_02_954748_0002.jpg
/home/pi/Desktop/images/05012025/21/07/image_05012025_21_07_02_954748_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: 22.41028356552124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 21:09:22.195628
SELECT 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/21/06/image_05012025_21_06_02_725983_0000.jpg', '/home/pi/Desktop/images/05012025/21/06/image_05012025_21_06_02_725983_0002.jpg', '/home/pi/Desktop/images/05012025/21/06/image_05012025_21_06_02_725983_0003.jpg', '/home/pi/Desktop/images/05012025/21/07/image_05012025_21_07_02_954748_0001.jpg', '/home/pi/Desktop/images/05012025/21/07/image_05012025_21_07_02_954748_0002.jpg', '/home/pi/Desktop/images/05012025/21/07/image_05012025_21_07_02_954748_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/21/06/image_05012025_21_06_02_725983_0000.jpg
/home/pi/Desktop/images/05012025/21/06/image_05012025_21_06_02_725983_0002.jpg
/home/pi/Desktop/images/05012025/21/06/image_05012025_21_06_02_725983_0003.jpg
/home/pi/Desktop/images/05012025/21/07/image_05012025_21_07_02_954748_0001.jpg
/home/pi/Desktop/images/05012025/21/07/image_05012025_21_07_02_954748_0002.jpg
/home/pi/Desktop/images/05012025/21/07/image_05012025_21_07_02_954748_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":["1326892746","1326892751","1326892748","1326892750","1326892744","1326892753"],"photo_ids_order":["1326892744","1326892746","1326892748","1326892750","1326892751","1326892753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7ad0005f2711600663ba0445803444ed.jpg","text":"TemporaryFile(/tmp/multipartBody7091943006514239595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107852678,"filename":"image_05012025_21_06_02_725983_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8583df9a086796185bf97e29efc2549c.jpg","text":"TemporaryFile(/tmp/multipartBody8205985288698326611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107852678,"filename":"image_05012025_21_07_02_954748_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ec5f81880360770cb7f94361a84bf1df.jpg","text":"TemporaryFile(/tmp/multipartBody6648277388727777308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107852678,"filename":"image_05012025_21_06_02_725983_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b6495c0b3b7ef3337811775a197d7984.jpg","text":"TemporaryFile(/tmp/multipartBody7482951903433860919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107852678,"filename":"image_05012025_21_07_02_954748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/704bb74f5453051cf67e5a94cb0bfc6a.jpg","text":"TemporaryFile(/tmp/multipartBody1683267408804191753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107852678,"filename":"image_05012025_21_06_02_725983_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b66dba7cd8a5e66cece612f139d7da2e.jpg","text":"TemporaryFile(/tmp/multipartBody892518982587626681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107852678,"filename":"image_05012025_21_07_02_954748_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892748","file1":"1326892746","file0":"1326892744","file4":"1326892751","file5":"1326892753","file3":"1326892750"},"map_files_photo_id_array":[{"photo_id":"1326892753","filename":"file5"},{"photo_id":"1326892748","filename":"file2"},{"photo_id":"1326892751","filename":"file4"},{"photo_id":"1326892746","filename":"file1"},{"photo_id":"1326892744","filename":"file0"},{"photo_id":"1326892750","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892746":["hashtag1","hashtag2"]},{"1326892751":["hashtag1","hashtag2"]},{"1326892748":["hashtag1","hashtag2"]},{"1326892750":["hashtag1","hashtag2"]},{"1326892744":["hashtag1","hashtag2"]},{"1326892753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892746, 1326892751, 1326892748, 1326892750, 1326892744, 1326892753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 117.55868315696716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 21:11:22.550992
SELECT 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/21/08/image_05012025_21_08_02_202103_0000.jpg', '/home/pi/Desktop/images/05012025/21/08/image_05012025_21_08_02_202103_0001.jpg', '/home/pi/Desktop/images/05012025/21/08/image_05012025_21_08_02_202103_0002.jpg', '/home/pi/Desktop/images/05012025/21/08/image_05012025_21_08_02_202103_0003.jpg', '/home/pi/Desktop/images/05012025/21/09/image_05012025_21_09_02_311014_0000.jpg', '/home/pi/Desktop/images/05012025/21/09/image_05012025_21_09_02_311014_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/08/image_05012025_21_08_02_202103_0000.jpg
/home/pi/Desktop/images/05012025/21/08/image_05012025_21_08_02_202103_0001.jpg
/home/pi/Desktop/images/05012025/21/08/image_05012025_21_08_02_202103_0002.jpg
/home/pi/Desktop/images/05012025/21/08/image_05012025_21_08_02_202103_0003.jpg
/home/pi/Desktop/images/05012025/21/09/image_05012025_21_09_02_311014_0000.jpg
/home/pi/Desktop/images/05012025/21/09/image_05012025_21_09_02_311014_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326892763","1326892766","1326892760","1326892768","1326892762","1326892765"],"photo_ids_order":["1326892760","1326892762","1326892763","1326892765","1326892766","1326892768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6a0963510f1fb2518c9ac1549f40b142.jpg","text":"TemporaryFile(/tmp/multipartBody1738824011315311575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107966332,"filename":"image_05012025_21_08_02_202103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d679849fea921ff9608bc60b5e921beb.jpg","text":"TemporaryFile(/tmp/multipartBody1582340666128447411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107966332,"filename":"image_05012025_21_09_02_311014_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f921a1abe98d33a7e04d4b80f7016f57.jpg","text":"TemporaryFile(/tmp/multipartBody9024152731548429124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107966332,"filename":"image_05012025_21_08_02_202103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9b55e797de1daee46e4c40f8b7f0422.jpg","text":"TemporaryFile(/tmp/multipartBody2401658658262423316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107966332,"filename":"image_05012025_21_09_02_311014_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe40796a6557355c87c6dee3daf19faf.jpg","text":"TemporaryFile(/tmp/multipartBody2893493692561453300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107966332,"filename":"image_05012025_21_08_02_202103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/695d7c26401fed3a502aa5236b03ebe2.jpg","text":"TemporaryFile(/tmp/multipartBody4006520092709318138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736107966332,"filename":"image_05012025_21_08_02_202103_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892763","file1":"1326892762","file0":"1326892760","file4":"1326892766","file5":"1326892768","file3":"1326892765"},"map_files_photo_id_array":[{"photo_id":"1326892768","filename":"file5"},{"photo_id":"1326892763","filename":"file2"},{"photo_id":"1326892766","filename":"file4"},{"photo_id":"1326892762","filename":"file1"},{"photo_id":"1326892760","filename":"file0"},{"photo_id":"1326892765","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892763":["hashtag1","hashtag2"]},{"1326892766":["hashtag1","hashtag2"]},{"1326892760":["hashtag1","hashtag2"]},{"1326892768":["hashtag1","hashtag2"]},{"1326892762":["hashtag1","hashtag2"]},{"1326892765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892763, 1326892766, 1326892760, 1326892768, 1326892762, 1326892765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 114.86835741996765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 21:13:21.908376
SELECT 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/21/09/image_05012025_21_09_02_311014_0002.jpg', '/home/pi/Desktop/images/05012025/21/09/image_05012025_21_09_02_311014_0003.jpg', '/home/pi/Desktop/images/05012025/21/10/image_05012025_21_10_02_588443_0000.jpg', '/home/pi/Desktop/images/05012025/21/10/image_05012025_21_10_02_588443_0001.jpg', '/home/pi/Desktop/images/05012025/21/10/image_05012025_21_10_02_588443_0002.jpg', '/home/pi/Desktop/images/05012025/21/10/image_05012025_21_10_02_588443_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/21/09/image_05012025_21_09_02_311014_0002.jpg
/home/pi/Desktop/images/05012025/21/09/image_05012025_21_09_02_311014_0003.jpg
/home/pi/Desktop/images/05012025/21/10/image_05012025_21_10_02_588443_0000.jpg
/home/pi/Desktop/images/05012025/21/10/image_05012025_21_10_02_588443_0001.jpg
/home/pi/Desktop/images/05012025/21/10/image_05012025_21_10_02_588443_0002.jpg
/home/pi/Desktop/images/05012025/21/10/image_05012025_21_10_02_588443_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":["1326892788","1326892782","1326892775","1326892790","1326892792","1326892777"],"photo_ids_order":["1326892775","1326892777","1326892782","1326892788","1326892790","1326892792"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/93d97dbf779462c60e2080911ac782da.jpg","text":"TemporaryFile(/tmp/multipartBody4570717018668803073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108077882,"filename":"image_05012025_21_10_02_588443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2e2b07ae29130f5a9eadcfddf412dff5.jpg","text":"TemporaryFile(/tmp/multipartBody1952733357712708062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108077882,"filename":"image_05012025_21_10_02_588443_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/01d11ed300fd3e008edcfcd2d10db4f6.jpg","text":"TemporaryFile(/tmp/multipartBody947078624594888381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108077882,"filename":"image_05012025_21_09_02_311014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3a369f4a855cf0fc0e74dc4aaf94fc76.jpg","text":"TemporaryFile(/tmp/multipartBody3231825493058380283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108077882,"filename":"image_05012025_21_10_02_588443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/84b44c78e601729ffb84a7e2f12f38a0.jpg","text":"TemporaryFile(/tmp/multipartBody7496796448451524955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108077882,"filename":"image_05012025_21_10_02_588443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/987f7f62b6bf6a34513a70932630afc1.jpg","text":"TemporaryFile(/tmp/multipartBody7849682531883699429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108077882,"filename":"image_05012025_21_09_02_311014_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892782","file1":"1326892777","file0":"1326892775","file4":"1326892790","file5":"1326892792","file3":"1326892788"},"map_files_photo_id_array":[{"photo_id":"1326892792","filename":"file5"},{"photo_id":"1326892782","filename":"file2"},{"photo_id":"1326892790","filename":"file4"},{"photo_id":"1326892777","filename":"file1"},{"photo_id":"1326892775","filename":"file0"},{"photo_id":"1326892788","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892788":["hashtag1","hashtag2"]},{"1326892782":["hashtag1","hashtag2"]},{"1326892775":["hashtag1","hashtag2"]},{"1326892790":["hashtag1","hashtag2"]},{"1326892792":["hashtag1","hashtag2"]},{"1326892777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892788, 1326892782, 1326892775, 1326892790, 1326892792, 1326892777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.9441192150116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 21:15:22.267417
SELECT 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/21/11/image_05012025_21_11_02_791264_0000.jpg', '/home/pi/Desktop/images/05012025/21/11/image_05012025_21_11_02_791264_0001.jpg', '/home/pi/Desktop/images/05012025/21/11/image_05012025_21_11_02_791264_0002.jpg', '/home/pi/Desktop/images/05012025/21/11/image_05012025_21_11_02_791264_0003.jpg', '/home/pi/Desktop/images/05012025/21/12/image_05012025_21_12_02_927834_0000.jpg', '/home/pi/Desktop/images/05012025/21/12/image_05012025_21_12_02_927834_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/11/image_05012025_21_11_02_791264_0000.jpg
/home/pi/Desktop/images/05012025/21/11/image_05012025_21_11_02_791264_0001.jpg
/home/pi/Desktop/images/05012025/21/11/image_05012025_21_11_02_791264_0002.jpg
/home/pi/Desktop/images/05012025/21/11/image_05012025_21_11_02_791264_0003.jpg
/home/pi/Desktop/images/05012025/21/12/image_05012025_21_12_02_927834_0000.jpg
/home/pi/Desktop/images/05012025/21/12/image_05012025_21_12_02_927834_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326892816","1326892814","1326892817","1326892819","1326892810","1326892813"],"photo_ids_order":["1326892810","1326892813","1326892814","1326892816","1326892817","1326892819"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/346ffeacc78c14c4ea28baeb035a116f.jpg","text":"TemporaryFile(/tmp/multipartBody5669920317801747956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108205528,"filename":"image_05012025_21_11_02_791264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0cfb5b04bc5e1570d8e5de0d2c14e2a3.jpg","text":"TemporaryFile(/tmp/multipartBody8991588354007547921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108205528,"filename":"image_05012025_21_11_02_791264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ba53e7765715080ee998a8a8fb230795.jpg","text":"TemporaryFile(/tmp/multipartBody8772162613415067659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108205528,"filename":"image_05012025_21_12_02_927834_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4bc2094d5448d0d51eab7ad9029a6dd2.jpg","text":"TemporaryFile(/tmp/multipartBody8567440330268642223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108205528,"filename":"image_05012025_21_12_02_927834_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/243a6efab0e190c12fcc92ca74511bdf.jpg","text":"TemporaryFile(/tmp/multipartBody6099844508202526923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108205528,"filename":"image_05012025_21_11_02_791264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/be7411c31c91738d9f7853d8c5e6d6ee.jpg","text":"TemporaryFile(/tmp/multipartBody5013410039556580637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108205528,"filename":"image_05012025_21_11_02_791264_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892814","file1":"1326892813","file0":"1326892810","file4":"1326892817","file5":"1326892819","file3":"1326892816"},"map_files_photo_id_array":[{"photo_id":"1326892819","filename":"file5"},{"photo_id":"1326892814","filename":"file2"},{"photo_id":"1326892817","filename":"file4"},{"photo_id":"1326892813","filename":"file1"},{"photo_id":"1326892810","filename":"file0"},{"photo_id":"1326892816","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892816":["hashtag1","hashtag2"]},{"1326892814":["hashtag1","hashtag2"]},{"1326892817":["hashtag1","hashtag2"]},{"1326892819":["hashtag1","hashtag2"]},{"1326892810":["hashtag1","hashtag2"]},{"1326892813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892816, 1326892814, 1326892817, 1326892819, 1326892810, 1326892813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.82182359695435 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 21:17:22.793084
SELECT 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/21/12/image_05012025_21_12_02_927834_0002.jpg', '/home/pi/Desktop/images/05012025/21/12/image_05012025_21_12_02_927834_0003.jpg', '/home/pi/Desktop/images/05012025/21/13/image_05012025_21_13_03_124117_0000.jpg', '/home/pi/Desktop/images/05012025/21/13/image_05012025_21_13_03_124117_0001.jpg', '/home/pi/Desktop/images/05012025/21/13/image_05012025_21_13_03_124117_0002.jpg', '/home/pi/Desktop/images/05012025/21/13/image_05012025_21_13_03_124117_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/21/12/image_05012025_21_12_02_927834_0002.jpg
/home/pi/Desktop/images/05012025/21/12/image_05012025_21_12_02_927834_0003.jpg
/home/pi/Desktop/images/05012025/21/13/image_05012025_21_13_03_124117_0000.jpg
/home/pi/Desktop/images/05012025/21/13/image_05012025_21_13_03_124117_0001.jpg
/home/pi/Desktop/images/05012025/21/13/image_05012025_21_13_03_124117_0002.jpg
/home/pi/Desktop/images/05012025/21/13/image_05012025_21_13_03_124117_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":["1326892830","1326892827","1326892832","1326892826","1326892829","1326892828"],"photo_ids_order":["1326892826","1326892827","1326892828","1326892829","1326892830","1326892832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8f118a365bba4ebdf3687fbd5cfefbbb.jpg","text":"TemporaryFile(/tmp/multipartBody5260845838434377047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108324341,"filename":"image_05012025_21_13_03_124117_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/08c8a1e5d7789e8e259e3777afa187c6.jpg","text":"TemporaryFile(/tmp/multipartBody4312292735192940831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108324341,"filename":"image_05012025_21_12_02_927834_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f79411792a1f9a944e3df2c4ad8ec308.jpg","text":"TemporaryFile(/tmp/multipartBody19649272468723590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108324341,"filename":"image_05012025_21_13_03_124117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/426ec0d26e8689589aeadf40d05607b6.jpg","text":"TemporaryFile(/tmp/multipartBody5550162144334442775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108324341,"filename":"image_05012025_21_12_02_927834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fe264d12ae640c3f515e859c0b2b7b62.jpg","text":"TemporaryFile(/tmp/multipartBody8381977525027386686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108324341,"filename":"image_05012025_21_13_03_124117_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/edfa57a75478b328bb8c2f6d12b963dd.jpg","text":"TemporaryFile(/tmp/multipartBody2587503480126975246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108324341,"filename":"image_05012025_21_13_03_124117_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892828","file1":"1326892827","file0":"1326892826","file4":"1326892830","file5":"1326892832","file3":"1326892829"},"map_files_photo_id_array":[{"photo_id":"1326892832","filename":"file5"},{"photo_id":"1326892828","filename":"file2"},{"photo_id":"1326892830","filename":"file4"},{"photo_id":"1326892827","filename":"file1"},{"photo_id":"1326892826","filename":"file0"},{"photo_id":"1326892829","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892830":["hashtag1","hashtag2"]},{"1326892827":["hashtag1","hashtag2"]},{"1326892832":["hashtag1","hashtag2"]},{"1326892826":["hashtag1","hashtag2"]},{"1326892829":["hashtag1","hashtag2"]},{"1326892828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892830, 1326892827, 1326892832, 1326892826, 1326892829, 1326892828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 110.41116213798523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 21:19:22.183452
SELECT 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/21/14/image_05012025_21_14_02_302489_0000.jpg', '/home/pi/Desktop/images/05012025/21/14/image_05012025_21_14_02_302489_0001.jpg', '/home/pi/Desktop/images/05012025/21/14/image_05012025_21_14_02_302489_0002.jpg', '/home/pi/Desktop/images/05012025/21/14/image_05012025_21_14_02_302489_0003.jpg', '/home/pi/Desktop/images/05012025/21/15/image_05012025_21_15_02_415083_0000.jpg', '/home/pi/Desktop/images/05012025/21/15/image_05012025_21_15_02_415083_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/14/image_05012025_21_14_02_302489_0000.jpg
/home/pi/Desktop/images/05012025/21/14/image_05012025_21_14_02_302489_0001.jpg
/home/pi/Desktop/images/05012025/21/14/image_05012025_21_14_02_302489_0002.jpg
/home/pi/Desktop/images/05012025/21/14/image_05012025_21_14_02_302489_0003.jpg
/home/pi/Desktop/images/05012025/21/15/image_05012025_21_15_02_415083_0000.jpg
/home/pi/Desktop/images/05012025/21/15/image_05012025_21_15_02_415083_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326892842","1326892844","1326892849","1326892840","1326892843","1326892846"],"photo_ids_order":["1326892840","1326892842","1326892843","1326892844","1326892846","1326892849"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b63960174c7933446ede454b93241ec9.jpg","text":"TemporaryFile(/tmp/multipartBody8887116975057103010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108464302,"filename":"image_05012025_21_14_02_302489_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/37d752107d97f6abeb28a0382121aedb.jpg","text":"TemporaryFile(/tmp/multipartBody3492755541517839188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108464302,"filename":"image_05012025_21_14_02_302489_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0d7eb837922852fe0fd5a28a1e5744b2.jpg","text":"TemporaryFile(/tmp/multipartBody2277307737588780467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108464302,"filename":"image_05012025_21_15_02_415083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a1406f01a90a6393c2f4116947c20f04.jpg","text":"TemporaryFile(/tmp/multipartBody7275432642814644714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108464302,"filename":"image_05012025_21_14_02_302489_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce5734502c69cf5975c7263955205846.jpg","text":"TemporaryFile(/tmp/multipartBody5422560632868913134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108464302,"filename":"image_05012025_21_14_02_302489_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a6f2bd5cb5cafe7c4c7c6e2c5449c5e.jpg","text":"TemporaryFile(/tmp/multipartBody6968287872072178803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108464302,"filename":"image_05012025_21_15_02_415083_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892843","file1":"1326892842","file0":"1326892840","file4":"1326892846","file5":"1326892849","file3":"1326892844"},"map_files_photo_id_array":[{"photo_id":"1326892849","filename":"file5"},{"photo_id":"1326892843","filename":"file2"},{"photo_id":"1326892846","filename":"file4"},{"photo_id":"1326892842","filename":"file1"},{"photo_id":"1326892840","filename":"file0"},{"photo_id":"1326892844","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892842":["hashtag1","hashtag2"]},{"1326892844":["hashtag1","hashtag2"]},{"1326892849":["hashtag1","hashtag2"]},{"1326892840":["hashtag1","hashtag2"]},{"1326892843":["hashtag1","hashtag2"]},{"1326892846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892842, 1326892844, 1326892849, 1326892840, 1326892843, 1326892846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 133.03901267051697 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 21:21:42.472241
SELECT 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/21/15/image_05012025_21_15_02_415083_0002.jpg', '/home/pi/Desktop/images/05012025/21/15/image_05012025_21_15_02_415083_0003.jpg', '/home/pi/Desktop/images/05012025/21/16/image_05012025_21_16_02_591260_0000.jpg', '/home/pi/Desktop/images/05012025/21/16/image_05012025_21_16_02_591260_0001.jpg', '/home/pi/Desktop/images/05012025/21/16/image_05012025_21_16_02_591260_0002.jpg', '/home/pi/Desktop/images/05012025/21/16/image_05012025_21_16_02_591260_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/21/15/image_05012025_21_15_02_415083_0002.jpg
/home/pi/Desktop/images/05012025/21/15/image_05012025_21_15_02_415083_0003.jpg
/home/pi/Desktop/images/05012025/21/16/image_05012025_21_16_02_591260_0000.jpg
/home/pi/Desktop/images/05012025/21/16/image_05012025_21_16_02_591260_0001.jpg
/home/pi/Desktop/images/05012025/21/16/image_05012025_21_16_02_591260_0002.jpg
/home/pi/Desktop/images/05012025/21/16/image_05012025_21_16_02_591260_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326892860","1326892862","1326892856","1326892853","1326892855","1326892858"],"photo_ids_order":["1326892853","1326892855","1326892856","1326892858","1326892860","1326892862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e46ea51ee71df62d48be3746ec0c377c.jpg","text":"TemporaryFile(/tmp/multipartBody2730831224928347037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108592397,"filename":"image_05012025_21_16_02_591260_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eaf2468c9b76fbb4272a56ef34788e18.jpg","text":"TemporaryFile(/tmp/multipartBody1403338749649082921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108592397,"filename":"image_05012025_21_16_02_591260_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e8d9e1b518af3b5c0428fb8357e4fde9.jpg","text":"TemporaryFile(/tmp/multipartBody6775592609560798059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108592397,"filename":"image_05012025_21_16_02_591260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/125b104e2bc267db04c84f6b86aafa0c.jpg","text":"TemporaryFile(/tmp/multipartBody3256588881857406847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108592397,"filename":"image_05012025_21_15_02_415083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ba082a2fc133314375c44080817b5150.jpg","text":"TemporaryFile(/tmp/multipartBody9115254586413721396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108592397,"filename":"image_05012025_21_15_02_415083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1aa3240fdd85645b63c0766f6ab64ea6.jpg","text":"TemporaryFile(/tmp/multipartBody169249050204705079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108592397,"filename":"image_05012025_21_16_02_591260_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892856","file1":"1326892855","file0":"1326892853","file4":"1326892860","file5":"1326892862","file3":"1326892858"},"map_files_photo_id_array":[{"photo_id":"1326892862","filename":"file5"},{"photo_id":"1326892856","filename":"file2"},{"photo_id":"1326892860","filename":"file4"},{"photo_id":"1326892855","filename":"file1"},{"photo_id":"1326892853","filename":"file0"},{"photo_id":"1326892858","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892860":["hashtag1","hashtag2"]},{"1326892862":["hashtag1","hashtag2"]},{"1326892856":["hashtag1","hashtag2"]},{"1326892853":["hashtag1","hashtag2"]},{"1326892855":["hashtag1","hashtag2"]},{"1326892858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892860, 1326892862, 1326892856, 1326892853, 1326892855, 1326892858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 123.20318531990051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 21:23:51.750274
SELECT 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/21/17/image_05012025_21_17_02_800675_0000.jpg', '/home/pi/Desktop/images/05012025/21/17/image_05012025_21_17_02_800675_0001.jpg', '/home/pi/Desktop/images/05012025/21/17/image_05012025_21_17_02_800675_0002.jpg', '/home/pi/Desktop/images/05012025/21/17/image_05012025_21_17_02_800675_0003.jpg', '/home/pi/Desktop/images/05012025/21/18/image_05012025_21_18_03_120050_0000.jpg', '/home/pi/Desktop/images/05012025/21/18/image_05012025_21_18_03_120050_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/17/image_05012025_21_17_02_800675_0000.jpg
/home/pi/Desktop/images/05012025/21/17/image_05012025_21_17_02_800675_0001.jpg
/home/pi/Desktop/images/05012025/21/17/image_05012025_21_17_02_800675_0002.jpg
/home/pi/Desktop/images/05012025/21/17/image_05012025_21_17_02_800675_0003.jpg
/home/pi/Desktop/images/05012025/21/18/image_05012025_21_18_03_120050_0000.jpg
/home/pi/Desktop/images/05012025/21/18/image_05012025_21_18_03_120050_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326892878","1326892880","1326892868","1326892873","1326892876","1326892870"],"photo_ids_order":["1326892868","1326892870","1326892873","1326892876","1326892878","1326892880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/32081841a37fccdb42c42f66bcf9c93b.jpg","text":"TemporaryFile(/tmp/multipartBody8031397852394045505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108738879,"filename":"image_05012025_21_18_03_120050_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3c51f9e02bb3d97ffe8412a10f687b05.jpg","text":"TemporaryFile(/tmp/multipartBody4365308765894346674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108738879,"filename":"image_05012025_21_18_03_120050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6d199185a52d0638efbd6471db2abc03.jpg","text":"TemporaryFile(/tmp/multipartBody5042976788003603848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108738879,"filename":"image_05012025_21_17_02_800675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b3ad029ff5bdfcd35065c8aa72595cb.jpg","text":"TemporaryFile(/tmp/multipartBody9116671893177802933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108738879,"filename":"image_05012025_21_17_02_800675_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/75ba502fd8546b99e620346b431aa81e.jpg","text":"TemporaryFile(/tmp/multipartBody7015583456903690001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108738879,"filename":"image_05012025_21_17_02_800675_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/50e6ba099b4e7f0d648612b94410d30a.jpg","text":"TemporaryFile(/tmp/multipartBody6710066348738919536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108738879,"filename":"image_05012025_21_17_02_800675_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892873","file1":"1326892870","file0":"1326892868","file4":"1326892878","file5":"1326892880","file3":"1326892876"},"map_files_photo_id_array":[{"photo_id":"1326892880","filename":"file5"},{"photo_id":"1326892873","filename":"file2"},{"photo_id":"1326892878","filename":"file4"},{"photo_id":"1326892870","filename":"file1"},{"photo_id":"1326892868","filename":"file0"},{"photo_id":"1326892876","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892878":["hashtag1","hashtag2"]},{"1326892880":["hashtag1","hashtag2"]},{"1326892868":["hashtag1","hashtag2"]},{"1326892873":["hashtag1","hashtag2"]},{"1326892876":["hashtag1","hashtag2"]},{"1326892870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892878, 1326892880, 1326892868, 1326892873, 1326892876, 1326892870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 139.26171135902405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 21:26:22.416397
SELECT 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/21/18/image_05012025_21_18_03_120050_0002.jpg', '/home/pi/Desktop/images/05012025/21/18/image_05012025_21_18_03_120050_0003.jpg', '/home/pi/Desktop/images/05012025/21/19/image_05012025_21_19_02_279188_0000.jpg', '/home/pi/Desktop/images/05012025/21/19/image_05012025_21_19_02_279188_0001.jpg', '/home/pi/Desktop/images/05012025/21/19/image_05012025_21_19_02_279188_0002.jpg', '/home/pi/Desktop/images/05012025/21/19/image_05012025_21_19_02_279188_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/21/18/image_05012025_21_18_03_120050_0002.jpg
/home/pi/Desktop/images/05012025/21/18/image_05012025_21_18_03_120050_0003.jpg
/home/pi/Desktop/images/05012025/21/19/image_05012025_21_19_02_279188_0000.jpg
/home/pi/Desktop/images/05012025/21/19/image_05012025_21_19_02_279188_0001.jpg
/home/pi/Desktop/images/05012025/21/19/image_05012025_21_19_02_279188_0002.jpg
/home/pi/Desktop/images/05012025/21/19/image_05012025_21_19_02_279188_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":["1326892899","1326892884","1326892892","1326892901","1326892888","1326892896"],"photo_ids_order":["1326892884","1326892888","1326892892","1326892896","1326892899","1326892901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/df452fc4f96652d9f6a3aa78dc437bef.jpg","text":"TemporaryFile(/tmp/multipartBody283600309572376376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108868853,"filename":"image_05012025_21_19_02_279188_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a759b2efcd7c1d32e8a4ae81c9284b68.jpg","text":"TemporaryFile(/tmp/multipartBody4441038383290808399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108868853,"filename":"image_05012025_21_18_03_120050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/002463febc2bda5a92c18b228e907b34.jpg","text":"TemporaryFile(/tmp/multipartBody4853584452954498996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108868853,"filename":"image_05012025_21_19_02_279188_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/be9b038f2c262644eb724503e1cc59c9.jpg","text":"TemporaryFile(/tmp/multipartBody4633483497647311690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108868853,"filename":"image_05012025_21_19_02_279188_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2f8ae7c62fe7a3e9821bfa8add07e127.jpg","text":"TemporaryFile(/tmp/multipartBody7809609825926970403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108868853,"filename":"image_05012025_21_18_03_120050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0544768e04fe47c50746234a6212d5e4.jpg","text":"TemporaryFile(/tmp/multipartBody1345342134321531569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108868853,"filename":"image_05012025_21_19_02_279188_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892892","file1":"1326892888","file0":"1326892884","file4":"1326892899","file5":"1326892901","file3":"1326892896"},"map_files_photo_id_array":[{"photo_id":"1326892901","filename":"file5"},{"photo_id":"1326892892","filename":"file2"},{"photo_id":"1326892899","filename":"file4"},{"photo_id":"1326892888","filename":"file1"},{"photo_id":"1326892884","filename":"file0"},{"photo_id":"1326892896","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892899":["hashtag1","hashtag2"]},{"1326892884":["hashtag1","hashtag2"]},{"1326892892":["hashtag1","hashtag2"]},{"1326892901":["hashtag1","hashtag2"]},{"1326892888":["hashtag1","hashtag2"]},{"1326892896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892899, 1326892884, 1326892892, 1326892901, 1326892888, 1326892896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 119.19987106323242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 21:28:22.765369
SELECT 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/21/20/image_05012025_21_20_02_427200_0000.jpg', '/home/pi/Desktop/images/05012025/21/20/image_05012025_21_20_02_427200_0001.jpg', '/home/pi/Desktop/images/05012025/21/20/image_05012025_21_20_02_427200_0002.jpg', '/home/pi/Desktop/images/05012025/21/20/image_05012025_21_20_02_427200_0003.jpg', '/home/pi/Desktop/images/05012025/21/21/image_05012025_21_21_02_597297_0000.jpg', '/home/pi/Desktop/images/05012025/21/21/image_05012025_21_21_02_597297_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/20/image_05012025_21_20_02_427200_0000.jpg
/home/pi/Desktop/images/05012025/21/20/image_05012025_21_20_02_427200_0001.jpg
/home/pi/Desktop/images/05012025/21/20/image_05012025_21_20_02_427200_0002.jpg
/home/pi/Desktop/images/05012025/21/20/image_05012025_21_20_02_427200_0003.jpg
/home/pi/Desktop/images/05012025/21/21/image_05012025_21_21_02_597297_0000.jpg
/home/pi/Desktop/images/05012025/21/21/image_05012025_21_21_02_597297_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326892911","1326892904","1326892921","1326892924","1326892918","1326892906"],"photo_ids_order":["1326892904","1326892906","1326892911","1326892918","1326892921","1326892924"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/63be2c13028c7739085724d54897a121.jpg","text":"TemporaryFile(/tmp/multipartBody6771034673617336635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108978797,"filename":"image_05012025_21_20_02_427200_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/db5b2a9d228d97014ef920bae899df9d.jpg","text":"TemporaryFile(/tmp/multipartBody4009521913839687444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108978797,"filename":"image_05012025_21_20_02_427200_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/74446b53ec6594652600fafb66bd2285.jpg","text":"TemporaryFile(/tmp/multipartBody4801105646544356746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108978797,"filename":"image_05012025_21_21_02_597297_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/80313c27c40e03e1b3bcaa8213dd485f.jpg","text":"TemporaryFile(/tmp/multipartBody7491081433145527535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108978797,"filename":"image_05012025_21_21_02_597297_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8355db0c1f55c60ab8f43d3c0178b4cc.jpg","text":"TemporaryFile(/tmp/multipartBody3417233799442124575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108978797,"filename":"image_05012025_21_20_02_427200_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/abd9bef6c0c5f5bb5c6329d2638711f3.jpg","text":"TemporaryFile(/tmp/multipartBody2074827862529824918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736108978797,"filename":"image_05012025_21_20_02_427200_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892911","file1":"1326892906","file0":"1326892904","file4":"1326892921","file5":"1326892924","file3":"1326892918"},"map_files_photo_id_array":[{"photo_id":"1326892924","filename":"file5"},{"photo_id":"1326892911","filename":"file2"},{"photo_id":"1326892921","filename":"file4"},{"photo_id":"1326892906","filename":"file1"},{"photo_id":"1326892904","filename":"file0"},{"photo_id":"1326892918","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892911":["hashtag1","hashtag2"]},{"1326892904":["hashtag1","hashtag2"]},{"1326892921":["hashtag1","hashtag2"]},{"1326892924":["hashtag1","hashtag2"]},{"1326892918":["hashtag1","hashtag2"]},{"1326892906":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892911, 1326892904, 1326892921, 1326892924, 1326892918, 1326892906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.90394067764282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 21:30:22.149487
SELECT 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/21/21/image_05012025_21_21_02_597297_0002.jpg', '/home/pi/Desktop/images/05012025/21/22/image_05012025_21_22_02_853180_0000.jpg', '/home/pi/Desktop/images/05012025/21/22/image_05012025_21_22_02_853180_0001.jpg', '/home/pi/Desktop/images/05012025/21/22/image_05012025_21_22_02_853180_0003.jpg', '/home/pi/Desktop/images/05012025/21/23/image_05012025_21_23_02_994161_0000.jpg', '/home/pi/Desktop/images/05012025/21/23/image_05012025_21_23_02_994161_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/21/image_05012025_21_21_02_597297_0002.jpg
/home/pi/Desktop/images/05012025/21/22/image_05012025_21_22_02_853180_0000.jpg
/home/pi/Desktop/images/05012025/21/22/image_05012025_21_22_02_853180_0001.jpg
/home/pi/Desktop/images/05012025/21/22/image_05012025_21_22_02_853180_0003.jpg
/home/pi/Desktop/images/05012025/21/23/image_05012025_21_23_02_994161_0000.jpg
/home/pi/Desktop/images/05012025/21/23/image_05012025_21_23_02_994161_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: 15.188026428222656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 21:30:42.161233
SELECT 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/21/21/image_05012025_21_21_02_597297_0002.jpg', '/home/pi/Desktop/images/05012025/21/22/image_05012025_21_22_02_853180_0000.jpg', '/home/pi/Desktop/images/05012025/21/22/image_05012025_21_22_02_853180_0001.jpg', '/home/pi/Desktop/images/05012025/21/22/image_05012025_21_22_02_853180_0003.jpg', '/home/pi/Desktop/images/05012025/21/23/image_05012025_21_23_02_994161_0000.jpg', '/home/pi/Desktop/images/05012025/21/23/image_05012025_21_23_02_994161_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/21/image_05012025_21_21_02_597297_0002.jpg
/home/pi/Desktop/images/05012025/21/22/image_05012025_21_22_02_853180_0000.jpg
/home/pi/Desktop/images/05012025/21/22/image_05012025_21_22_02_853180_0001.jpg
/home/pi/Desktop/images/05012025/21/22/image_05012025_21_22_02_853180_0003.jpg
/home/pi/Desktop/images/05012025/21/23/image_05012025_21_23_02_994161_0000.jpg
/home/pi/Desktop/images/05012025/21/23/image_05012025_21_23_02_994161_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326892956","1326892958","1326892946","1326892954","1326892957","1326892951"],"photo_ids_order":["1326892946","1326892951","1326892954","1326892956","1326892957","1326892958"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cbbbcf07da126f0bfc58cc257b7db998.jpg","text":"TemporaryFile(/tmp/multipartBody2207053177355804469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109126757,"filename":"image_05012025_21_22_02_853180_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/39a00550dac948acd41e6bbef2727b65.jpg","text":"TemporaryFile(/tmp/multipartBody2152699956692032636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109126757,"filename":"image_05012025_21_23_02_994161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d687ab2ead519a956d1b997080c293b5.jpg","text":"TemporaryFile(/tmp/multipartBody5766599508136035327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109126757,"filename":"image_05012025_21_21_02_597297_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2fe96df78e82491375d69e99e62e32e2.jpg","text":"TemporaryFile(/tmp/multipartBody6765769171284181624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109126757,"filename":"image_05012025_21_22_02_853180_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b44731b8a3fe99d1fb43701e5d6a5266.jpg","text":"TemporaryFile(/tmp/multipartBody1415179488627926622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109126757,"filename":"image_05012025_21_23_02_994161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1bf38586c32e0f373a8610f9844b1a94.jpg","text":"TemporaryFile(/tmp/multipartBody7633103036631068064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109126757,"filename":"image_05012025_21_22_02_853180_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892954","file1":"1326892951","file0":"1326892946","file4":"1326892957","file5":"1326892958","file3":"1326892956"},"map_files_photo_id_array":[{"photo_id":"1326892958","filename":"file5"},{"photo_id":"1326892954","filename":"file2"},{"photo_id":"1326892957","filename":"file4"},{"photo_id":"1326892951","filename":"file1"},{"photo_id":"1326892946","filename":"file0"},{"photo_id":"1326892956","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892956":["hashtag1","hashtag2"]},{"1326892958":["hashtag1","hashtag2"]},{"1326892946":["hashtag1","hashtag2"]},{"1326892954":["hashtag1","hashtag2"]},{"1326892957":["hashtag1","hashtag2"]},{"1326892951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892956, 1326892958, 1326892946, 1326892954, 1326892957, 1326892951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 123.8020007610321 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 21:32:52.487398
SELECT 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/21/23/image_05012025_21_23_02_994161_0002.jpg', '/home/pi/Desktop/images/05012025/21/23/image_05012025_21_23_02_994161_0003.jpg', '/home/pi/Desktop/images/05012025/21/24/image_05012025_21_24_02_194365_0000.jpg', '/home/pi/Desktop/images/05012025/21/24/image_05012025_21_24_02_194365_0001.jpg', '/home/pi/Desktop/images/05012025/21/24/image_05012025_21_24_02_194365_0002.jpg', '/home/pi/Desktop/images/05012025/21/24/image_05012025_21_24_02_194365_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/21/23/image_05012025_21_23_02_994161_0002.jpg
/home/pi/Desktop/images/05012025/21/23/image_05012025_21_23_02_994161_0003.jpg
/home/pi/Desktop/images/05012025/21/24/image_05012025_21_24_02_194365_0000.jpg
/home/pi/Desktop/images/05012025/21/24/image_05012025_21_24_02_194365_0001.jpg
/home/pi/Desktop/images/05012025/21/24/image_05012025_21_24_02_194365_0002.jpg
/home/pi/Desktop/images/05012025/21/24/image_05012025_21_24_02_194365_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":["1326892962","1326892971","1326892968","1326892970","1326892972","1326892966"],"photo_ids_order":["1326892962","1326892966","1326892968","1326892970","1326892971","1326892972"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fdccb661af90266e6582473c82ef7965.jpg","text":"TemporaryFile(/tmp/multipartBody7126771420594290715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109253618,"filename":"image_05012025_21_23_02_994161_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/86daec6b6f9890a5ad45b8be467db239.jpg","text":"TemporaryFile(/tmp/multipartBody6369727789787763409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109253618,"filename":"image_05012025_21_24_02_194365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ee1273ea6829a8f8a8ce15fa302ae918.jpg","text":"TemporaryFile(/tmp/multipartBody5416126382981454002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109253618,"filename":"image_05012025_21_24_02_194365_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f436aef320ea9eb05130decc4825e4b.jpg","text":"TemporaryFile(/tmp/multipartBody7738809319295091818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109253618,"filename":"image_05012025_21_24_02_194365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0d3fd42c621a86043a401d49cd367ef9.jpg","text":"TemporaryFile(/tmp/multipartBody570046268912877000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109253618,"filename":"image_05012025_21_24_02_194365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f196c51f9bac894283ac3addb7a67c1.jpg","text":"TemporaryFile(/tmp/multipartBody5143366681221665608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109253618,"filename":"image_05012025_21_23_02_994161_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892968","file1":"1326892966","file0":"1326892962","file4":"1326892971","file5":"1326892972","file3":"1326892970"},"map_files_photo_id_array":[{"photo_id":"1326892972","filename":"file5"},{"photo_id":"1326892968","filename":"file2"},{"photo_id":"1326892971","filename":"file4"},{"photo_id":"1326892966","filename":"file1"},{"photo_id":"1326892962","filename":"file0"},{"photo_id":"1326892970","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892962":["hashtag1","hashtag2"]},{"1326892971":["hashtag1","hashtag2"]},{"1326892968":["hashtag1","hashtag2"]},{"1326892970":["hashtag1","hashtag2"]},{"1326892972":["hashtag1","hashtag2"]},{"1326892966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892962, 1326892971, 1326892968, 1326892970, 1326892972, 1326892966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 109.22230911254883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 21:34:51.855175
SELECT 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/21/25/image_05012025_21_25_02_354315_0000.jpg', '/home/pi/Desktop/images/05012025/21/25/image_05012025_21_25_02_354315_0001.jpg', '/home/pi/Desktop/images/05012025/21/25/image_05012025_21_25_02_354315_0002.jpg', '/home/pi/Desktop/images/05012025/21/25/image_05012025_21_25_02_354315_0003.jpg', '/home/pi/Desktop/images/05012025/21/26/image_05012025_21_26_02_487772_0000.jpg', '/home/pi/Desktop/images/05012025/21/26/image_05012025_21_26_02_487772_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/25/image_05012025_21_25_02_354315_0000.jpg
/home/pi/Desktop/images/05012025/21/25/image_05012025_21_25_02_354315_0001.jpg
/home/pi/Desktop/images/05012025/21/25/image_05012025_21_25_02_354315_0002.jpg
/home/pi/Desktop/images/05012025/21/25/image_05012025_21_25_02_354315_0003.jpg
/home/pi/Desktop/images/05012025/21/26/image_05012025_21_26_02_487772_0000.jpg
/home/pi/Desktop/images/05012025/21/26/image_05012025_21_26_02_487772_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326892988","1326892982","1326892976","1326892999","1326892978","1326892980"],"photo_ids_order":["1326892976","1326892978","1326892980","1326892982","1326892988","1326892999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1b7a8b0416ed60e6ff826390af39bddb.jpg","text":"TemporaryFile(/tmp/multipartBody4096616058853458933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109382543,"filename":"image_05012025_21_26_02_487772_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/670caa68fb90888574cdd1c89a2598ad.jpg","text":"TemporaryFile(/tmp/multipartBody2538309118245419700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109382543,"filename":"image_05012025_21_25_02_354315_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e4239924b6e9f51bb1236c3f28ae751e.jpg","text":"TemporaryFile(/tmp/multipartBody8469197992154797861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109382543,"filename":"image_05012025_21_25_02_354315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/46a934e72038ce55cb35e949138fef52.jpg","text":"TemporaryFile(/tmp/multipartBody1054977426259121725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109382543,"filename":"image_05012025_21_26_02_487772_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7bf1f028ad32835fb237e17fadbb90f1.jpg","text":"TemporaryFile(/tmp/multipartBody5742831832299191015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109382543,"filename":"image_05012025_21_25_02_354315_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/43797dbd60c13fa72e6dd64d852818f3.jpg","text":"TemporaryFile(/tmp/multipartBody5282520360626949917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109382543,"filename":"image_05012025_21_25_02_354315_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326892980","file1":"1326892978","file0":"1326892976","file4":"1326892988","file5":"1326892999","file3":"1326892982"},"map_files_photo_id_array":[{"photo_id":"1326892999","filename":"file5"},{"photo_id":"1326892980","filename":"file2"},{"photo_id":"1326892988","filename":"file4"},{"photo_id":"1326892978","filename":"file1"},{"photo_id":"1326892976","filename":"file0"},{"photo_id":"1326892982","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326892988":["hashtag1","hashtag2"]},{"1326892982":["hashtag1","hashtag2"]},{"1326892976":["hashtag1","hashtag2"]},{"1326892999":["hashtag1","hashtag2"]},{"1326892978":["hashtag1","hashtag2"]},{"1326892980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326892988, 1326892982, 1326892976, 1326892999, 1326892978, 1326892980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 123.83756494522095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 21:37:03.054841
SELECT 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/21/26/image_05012025_21_26_02_487772_0002.jpg', '/home/pi/Desktop/images/05012025/21/26/image_05012025_21_26_02_487772_0003.jpg', '/home/pi/Desktop/images/05012025/21/27/image_05012025_21_27_02_695137_0000.jpg', '/home/pi/Desktop/images/05012025/21/27/image_05012025_21_27_02_695137_0001.jpg', '/home/pi/Desktop/images/05012025/21/27/image_05012025_21_27_02_695137_0002.jpg', '/home/pi/Desktop/images/05012025/21/27/image_05012025_21_27_02_695137_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/21/26/image_05012025_21_26_02_487772_0002.jpg
/home/pi/Desktop/images/05012025/21/26/image_05012025_21_26_02_487772_0003.jpg
/home/pi/Desktop/images/05012025/21/27/image_05012025_21_27_02_695137_0000.jpg
/home/pi/Desktop/images/05012025/21/27/image_05012025_21_27_02_695137_0001.jpg
/home/pi/Desktop/images/05012025/21/27/image_05012025_21_27_02_695137_0002.jpg
/home/pi/Desktop/images/05012025/21/27/image_05012025_21_27_02_695137_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":["1326893046","1326893049","1326893054","1326893051","1326893059","1326893044"],"photo_ids_order":["1326893044","1326893046","1326893049","1326893051","1326893054","1326893059"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2c3ab88b8ead698edaee99d8146e1d00.jpg","text":"TemporaryFile(/tmp/multipartBody8177739098187772461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109500222,"filename":"image_05012025_21_26_02_487772_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ecfbb7964cbf3388b33246947194a8dd.jpg","text":"TemporaryFile(/tmp/multipartBody6479231324457894624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109500222,"filename":"image_05012025_21_27_02_695137_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b371d457c5e8ba949bb2eeba59b35fd0.jpg","text":"TemporaryFile(/tmp/multipartBody6589268678079143491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109500222,"filename":"image_05012025_21_27_02_695137_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3286b48192644e14194db715076e204.jpg","text":"TemporaryFile(/tmp/multipartBody835251548828832726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109500222,"filename":"image_05012025_21_27_02_695137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b961436d39ad589a587f6beb5cfece7d.jpg","text":"TemporaryFile(/tmp/multipartBody3963465938165466096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109500222,"filename":"image_05012025_21_27_02_695137_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1aa740c8dd777ec696c924ed0479155c.jpg","text":"TemporaryFile(/tmp/multipartBody9056045992569010189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109500222,"filename":"image_05012025_21_26_02_487772_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326893049","file1":"1326893046","file0":"1326893044","file4":"1326893054","file5":"1326893059","file3":"1326893051"},"map_files_photo_id_array":[{"photo_id":"1326893059","filename":"file5"},{"photo_id":"1326893049","filename":"file2"},{"photo_id":"1326893054","filename":"file4"},{"photo_id":"1326893046","filename":"file1"},{"photo_id":"1326893044","filename":"file0"},{"photo_id":"1326893051","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326893046":["hashtag1","hashtag2"]},{"1326893049":["hashtag1","hashtag2"]},{"1326893054":["hashtag1","hashtag2"]},{"1326893051":["hashtag1","hashtag2"]},{"1326893059":["hashtag1","hashtag2"]},{"1326893044":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326893046, 1326893049, 1326893054, 1326893051, 1326893059, 1326893044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 112.65726947784424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 21:39:03.376846
SELECT 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/21/28/image_05012025_21_28_02_900366_0000.jpg', '/home/pi/Desktop/images/05012025/21/28/image_05012025_21_28_02_900366_0001.jpg', '/home/pi/Desktop/images/05012025/21/28/image_05012025_21_28_02_900366_0002.jpg', '/home/pi/Desktop/images/05012025/21/28/image_05012025_21_28_02_900366_0003.jpg', '/home/pi/Desktop/images/05012025/21/29/image_05012025_21_29_03_139498_0000.jpg', '/home/pi/Desktop/images/05012025/21/29/image_05012025_21_29_03_139498_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/28/image_05012025_21_28_02_900366_0000.jpg
/home/pi/Desktop/images/05012025/21/28/image_05012025_21_28_02_900366_0001.jpg
/home/pi/Desktop/images/05012025/21/28/image_05012025_21_28_02_900366_0002.jpg
/home/pi/Desktop/images/05012025/21/28/image_05012025_21_28_02_900366_0003.jpg
/home/pi/Desktop/images/05012025/21/29/image_05012025_21_29_03_139498_0000.jpg
/home/pi/Desktop/images/05012025/21/29/image_05012025_21_29_03_139498_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326893072","1326893075","1326893111","1326893105","1326893110","1326893113"],"photo_ids_order":["1326893072","1326893075","1326893105","1326893110","1326893111","1326893113"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6c247e3843419c86e7d0e0cb09d1e95b.jpg","text":"TemporaryFile(/tmp/multipartBody2292278295109781303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109646282,"filename":"image_05012025_21_28_02_900366_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b49f820c72cc9c3daf62e33f2bb5d996.jpg","text":"TemporaryFile(/tmp/multipartBody4568115413042324930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109646282,"filename":"image_05012025_21_28_02_900366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3225821ae963e325a464a5f2e7905ea0.jpg","text":"TemporaryFile(/tmp/multipartBody7103068251931430364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109646282,"filename":"image_05012025_21_29_03_139498_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/553d32894f32f390030e77d69ac51e22.jpg","text":"TemporaryFile(/tmp/multipartBody7280758007956387402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109646282,"filename":"image_05012025_21_28_02_900366_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5b7d8fa187fb722e0e6c5fd8f3152981.jpg","text":"TemporaryFile(/tmp/multipartBody7487663240057770134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109646282,"filename":"image_05012025_21_28_02_900366_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5e717183509da5453ce665021be0b828.jpg","text":"TemporaryFile(/tmp/multipartBody1758855300154689492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109646282,"filename":"image_05012025_21_29_03_139498_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326893105","file1":"1326893075","file0":"1326893072","file4":"1326893111","file5":"1326893113","file3":"1326893110"},"map_files_photo_id_array":[{"photo_id":"1326893113","filename":"file5"},{"photo_id":"1326893105","filename":"file2"},{"photo_id":"1326893111","filename":"file4"},{"photo_id":"1326893075","filename":"file1"},{"photo_id":"1326893072","filename":"file0"},{"photo_id":"1326893110","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326893072":["hashtag1","hashtag2"]},{"1326893075":["hashtag1","hashtag2"]},{"1326893111":["hashtag1","hashtag2"]},{"1326893105":["hashtag1","hashtag2"]},{"1326893110":["hashtag1","hashtag2"]},{"1326893113":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326893072, 1326893075, 1326893111, 1326893105, 1326893110, 1326893113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 139.8970992565155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 21:41:32.091147
SELECT 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/21/29/image_05012025_21_29_03_139498_0002.jpg', '/home/pi/Desktop/images/05012025/21/29/image_05012025_21_29_03_139498_0003.jpg', '/home/pi/Desktop/images/05012025/21/30/image_05012025_21_30_02_380993_0000.jpg', '/home/pi/Desktop/images/05012025/21/30/image_05012025_21_30_02_380993_0001.jpg', '/home/pi/Desktop/images/05012025/21/30/image_05012025_21_30_02_380993_0002.jpg', '/home/pi/Desktop/images/05012025/21/30/image_05012025_21_30_02_380993_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/21/29/image_05012025_21_29_03_139498_0002.jpg
/home/pi/Desktop/images/05012025/21/29/image_05012025_21_29_03_139498_0003.jpg
/home/pi/Desktop/images/05012025/21/30/image_05012025_21_30_02_380993_0000.jpg
/home/pi/Desktop/images/05012025/21/30/image_05012025_21_30_02_380993_0001.jpg
/home/pi/Desktop/images/05012025/21/30/image_05012025_21_30_02_380993_0002.jpg
/home/pi/Desktop/images/05012025/21/30/image_05012025_21_30_02_380993_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":["1326893124","1326893127","1326893123","1326893129","1326893122","1326893125"],"photo_ids_order":["1326893122","1326893123","1326893124","1326893125","1326893127","1326893129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3b9d27fcbfb15a331635aa4f02e1ad6.jpg","text":"TemporaryFile(/tmp/multipartBody1580075271578490372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109775870,"filename":"image_05012025_21_30_02_380993_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eeb78f0d8c225a54d1713d1c895812e3.jpg","text":"TemporaryFile(/tmp/multipartBody7796357560810430520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109775870,"filename":"image_05012025_21_30_02_380993_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f27fd8dde2241d7454a732b9de6dc3f.jpg","text":"TemporaryFile(/tmp/multipartBody4470722273418667352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109775870,"filename":"image_05012025_21_29_03_139498_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5b897c90e4c6ca80079448545eaa725c.jpg","text":"TemporaryFile(/tmp/multipartBody5396405808083674129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109775870,"filename":"image_05012025_21_30_02_380993_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3912e24798466e1c5aed51231efcf799.jpg","text":"TemporaryFile(/tmp/multipartBody5778577140019165047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109775870,"filename":"image_05012025_21_29_03_139498_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/73c43098388c3bb0324416901ca014a7.jpg","text":"TemporaryFile(/tmp/multipartBody7118273040284726634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109775870,"filename":"image_05012025_21_30_02_380993_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326893124","file1":"1326893123","file0":"1326893122","file4":"1326893127","file5":"1326893129","file3":"1326893125"},"map_files_photo_id_array":[{"photo_id":"1326893129","filename":"file5"},{"photo_id":"1326893124","filename":"file2"},{"photo_id":"1326893127","filename":"file4"},{"photo_id":"1326893123","filename":"file1"},{"photo_id":"1326893122","filename":"file0"},{"photo_id":"1326893125","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326893124":["hashtag1","hashtag2"]},{"1326893127":["hashtag1","hashtag2"]},{"1326893123":["hashtag1","hashtag2"]},{"1326893129":["hashtag1","hashtag2"]},{"1326893122":["hashtag1","hashtag2"]},{"1326893125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326893124, 1326893127, 1326893123, 1326893129, 1326893122, 1326893125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 119.1676230430603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 21:43:32.426150
SELECT 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/21/31/image_05012025_21_31_02_484846_0000.jpg', '/home/pi/Desktop/images/05012025/21/31/image_05012025_21_31_02_484846_0001.jpg', '/home/pi/Desktop/images/05012025/21/31/image_05012025_21_31_02_484846_0002.jpg', '/home/pi/Desktop/images/05012025/21/31/image_05012025_21_31_02_484846_0003.jpg', '/home/pi/Desktop/images/05012025/21/32/image_05012025_21_32_02_686090_0000.jpg', '/home/pi/Desktop/images/05012025/21/32/image_05012025_21_32_02_686090_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/31/image_05012025_21_31_02_484846_0000.jpg
/home/pi/Desktop/images/05012025/21/31/image_05012025_21_31_02_484846_0001.jpg
/home/pi/Desktop/images/05012025/21/31/image_05012025_21_31_02_484846_0002.jpg
/home/pi/Desktop/images/05012025/21/31/image_05012025_21_31_02_484846_0003.jpg
/home/pi/Desktop/images/05012025/21/32/image_05012025_21_32_02_686090_0000.jpg
/home/pi/Desktop/images/05012025/21/32/image_05012025_21_32_02_686090_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326893145","1326893148","1326893138","1326893147","1326893152","1326893143"],"photo_ids_order":["1326893138","1326893143","1326893145","1326893147","1326893148","1326893152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3bd60dd2705cf8dc523036bdf14efb53.jpg","text":"TemporaryFile(/tmp/multipartBody5879214857471967836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109896259,"filename":"image_05012025_21_31_02_484846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bcff16433096109f63a6079b4ff11a70.jpg","text":"TemporaryFile(/tmp/multipartBody8133567358495090496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109896259,"filename":"image_05012025_21_32_02_686090_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/98b1a508154e16172ad3fe1f217d8027.jpg","text":"TemporaryFile(/tmp/multipartBody448475212965764129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109896259,"filename":"image_05012025_21_31_02_484846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62c19ba54b8c2bb37538edc11885b1e7.jpg","text":"TemporaryFile(/tmp/multipartBody5213820431452160643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109896259,"filename":"image_05012025_21_31_02_484846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6dfec5cce7f1a085146efdca99e5d777.jpg","text":"TemporaryFile(/tmp/multipartBody9208718787728215821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109896259,"filename":"image_05012025_21_32_02_686090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e15aa22fcd193c05f4032ec6b3a99be9.jpg","text":"TemporaryFile(/tmp/multipartBody7565712017095685024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736109896259,"filename":"image_05012025_21_31_02_484846_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326893145","file1":"1326893143","file0":"1326893138","file4":"1326893148","file5":"1326893152","file3":"1326893147"},"map_files_photo_id_array":[{"photo_id":"1326893152","filename":"file5"},{"photo_id":"1326893145","filename":"file2"},{"photo_id":"1326893148","filename":"file4"},{"photo_id":"1326893143","filename":"file1"},{"photo_id":"1326893138","filename":"file0"},{"photo_id":"1326893147","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326893145":["hashtag1","hashtag2"]},{"1326893148":["hashtag1","hashtag2"]},{"1326893138":["hashtag1","hashtag2"]},{"1326893147":["hashtag1","hashtag2"]},{"1326893152":["hashtag1","hashtag2"]},{"1326893143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326893145, 1326893148, 1326893138, 1326893147, 1326893152, 1326893143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 116.4798047542572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 21:45:31.901799
SELECT 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/21/32/image_05012025_21_32_02_686090_0002.jpg', '/home/pi/Desktop/images/05012025/21/32/image_05012025_21_32_02_686090_0003.jpg', '/home/pi/Desktop/images/05012025/21/33/image_05012025_21_33_02_895404_0000.jpg', '/home/pi/Desktop/images/05012025/21/33/image_05012025_21_33_02_895404_0001.jpg', '/home/pi/Desktop/images/05012025/21/33/image_05012025_21_33_02_895404_0002.jpg', '/home/pi/Desktop/images/05012025/21/33/image_05012025_21_33_02_895404_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/21/32/image_05012025_21_32_02_686090_0002.jpg
/home/pi/Desktop/images/05012025/21/32/image_05012025_21_32_02_686090_0003.jpg
/home/pi/Desktop/images/05012025/21/33/image_05012025_21_33_02_895404_0000.jpg
/home/pi/Desktop/images/05012025/21/33/image_05012025_21_33_02_895404_0001.jpg
/home/pi/Desktop/images/05012025/21/33/image_05012025_21_33_02_895404_0002.jpg
/home/pi/Desktop/images/05012025/21/33/image_05012025_21_33_02_895404_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326893168","1326893165","1326893170","1326893164","1326893161","1326893163"],"photo_ids_order":["1326893161","1326893163","1326893164","1326893165","1326893168","1326893170"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b8b53e7d279db55fdf2911321d56c3b5.jpg","text":"TemporaryFile(/tmp/multipartBody3118414389673922355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110022537,"filename":"image_05012025_21_33_02_895404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/57a78f8e186abe2902dfec6bc7357642.jpg","text":"TemporaryFile(/tmp/multipartBody4400679723349315105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110022537,"filename":"image_05012025_21_33_02_895404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/03911981ed4ac52124c789421bde0f63.jpg","text":"TemporaryFile(/tmp/multipartBody5008569864217951100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110022537,"filename":"image_05012025_21_33_02_895404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e6496a453902cce67b4572216b1840d3.jpg","text":"TemporaryFile(/tmp/multipartBody2832892657825515299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110022537,"filename":"image_05012025_21_33_02_895404_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fdb9d563e09ee6eb1594eb758212e140.jpg","text":"TemporaryFile(/tmp/multipartBody3390316588218431724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110022537,"filename":"image_05012025_21_32_02_686090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1d4b7f5abef9451e38d0a9ce1886d09d.jpg","text":"TemporaryFile(/tmp/multipartBody1450568413887678266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110022537,"filename":"image_05012025_21_32_02_686090_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326893164","file1":"1326893163","file0":"1326893161","file4":"1326893168","file5":"1326893170","file3":"1326893165"},"map_files_photo_id_array":[{"photo_id":"1326893170","filename":"file5"},{"photo_id":"1326893164","filename":"file2"},{"photo_id":"1326893168","filename":"file4"},{"photo_id":"1326893163","filename":"file1"},{"photo_id":"1326893161","filename":"file0"},{"photo_id":"1326893165","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326893168":["hashtag1","hashtag2"]},{"1326893165":["hashtag1","hashtag2"]},{"1326893170":["hashtag1","hashtag2"]},{"1326893164":["hashtag1","hashtag2"]},{"1326893161":["hashtag1","hashtag2"]},{"1326893163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326893168, 1326893165, 1326893170, 1326893164, 1326893161, 1326893163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 123.27115249633789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 21:47:42.232861
SELECT 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/21/34/image_05012025_21_34_03_092054_0000.jpg', '/home/pi/Desktop/images/05012025/21/34/image_05012025_21_34_03_092054_0001.jpg', '/home/pi/Desktop/images/05012025/21/34/image_05012025_21_34_03_092054_0002.jpg', '/home/pi/Desktop/images/05012025/21/34/image_05012025_21_34_03_092054_0003.jpg', '/home/pi/Desktop/images/05012025/21/35/image_05012025_21_35_02_242548_0000.jpg', '/home/pi/Desktop/images/05012025/21/35/image_05012025_21_35_02_242548_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/34/image_05012025_21_34_03_092054_0000.jpg
/home/pi/Desktop/images/05012025/21/34/image_05012025_21_34_03_092054_0001.jpg
/home/pi/Desktop/images/05012025/21/34/image_05012025_21_34_03_092054_0002.jpg
/home/pi/Desktop/images/05012025/21/34/image_05012025_21_34_03_092054_0003.jpg
/home/pi/Desktop/images/05012025/21/35/image_05012025_21_35_02_242548_0000.jpg
/home/pi/Desktop/images/05012025/21/35/image_05012025_21_35_02_242548_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 [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 30.727739095687866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 21:48:22.443903
SELECT 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/21/34/image_05012025_21_34_03_092054_0000.jpg', '/home/pi/Desktop/images/05012025/21/34/image_05012025_21_34_03_092054_0001.jpg', '/home/pi/Desktop/images/05012025/21/34/image_05012025_21_34_03_092054_0002.jpg', '/home/pi/Desktop/images/05012025/21/34/image_05012025_21_34_03_092054_0003.jpg', '/home/pi/Desktop/images/05012025/21/35/image_05012025_21_35_02_242548_0000.jpg', '/home/pi/Desktop/images/05012025/21/35/image_05012025_21_35_02_242548_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/34/image_05012025_21_34_03_092054_0000.jpg
/home/pi/Desktop/images/05012025/21/34/image_05012025_21_34_03_092054_0001.jpg
/home/pi/Desktop/images/05012025/21/34/image_05012025_21_34_03_092054_0002.jpg
/home/pi/Desktop/images/05012025/21/34/image_05012025_21_34_03_092054_0003.jpg
/home/pi/Desktop/images/05012025/21/35/image_05012025_21_35_02_242548_0000.jpg
/home/pi/Desktop/images/05012025/21/35/image_05012025_21_35_02_242548_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326893186","1326893189","1326893188","1326893181","1326893190","1326893184"],"photo_ids_order":["1326893181","1326893184","1326893186","1326893188","1326893189","1326893190"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0ed7dc2019061ddbfed161a93ecae909.jpg","text":"TemporaryFile(/tmp/multipartBody3346169149687001086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110205730,"filename":"image_05012025_21_34_03_092054_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7123462573afe46b4c24a2c917c9565b.jpg","text":"TemporaryFile(/tmp/multipartBody6544045555738226681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110205730,"filename":"image_05012025_21_35_02_242548_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ee7d253f12fac3ac9b70b346f9ce0a6.jpg","text":"TemporaryFile(/tmp/multipartBody3065274813740553302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110205730,"filename":"image_05012025_21_34_03_092054_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/46b8dfbb42fffc860464e952e9242efb.jpg","text":"TemporaryFile(/tmp/multipartBody2071735118927198932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110205730,"filename":"image_05012025_21_34_03_092054_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2d5d568c8113cafa6de5f11d3e282a90.jpg","text":"TemporaryFile(/tmp/multipartBody7256065096439463414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110205730,"filename":"image_05012025_21_35_02_242548_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/555e1e9f554f3ee4bc4143c10fbe8a2d.jpg","text":"TemporaryFile(/tmp/multipartBody3858290758787030564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110205730,"filename":"image_05012025_21_34_03_092054_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326893186","file1":"1326893184","file0":"1326893181","file4":"1326893189","file5":"1326893190","file3":"1326893188"},"map_files_photo_id_array":[{"photo_id":"1326893190","filename":"file5"},{"photo_id":"1326893186","filename":"file2"},{"photo_id":"1326893189","filename":"file4"},{"photo_id":"1326893184","filename":"file1"},{"photo_id":"1326893181","filename":"file0"},{"photo_id":"1326893188","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326893186":["hashtag1","hashtag2"]},{"1326893189":["hashtag1","hashtag2"]},{"1326893188":["hashtag1","hashtag2"]},{"1326893181":["hashtag1","hashtag2"]},{"1326893190":["hashtag1","hashtag2"]},{"1326893184":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326893186, 1326893189, 1326893188, 1326893181, 1326893190, 1326893184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 144.92081713676453 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 21:50:51.922669
SELECT 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/21/35/image_05012025_21_35_02_242548_0002.jpg', '/home/pi/Desktop/images/05012025/21/35/image_05012025_21_35_02_242548_0003.jpg', '/home/pi/Desktop/images/05012025/21/36/image_05012025_21_36_02_435906_0000.jpg', '/home/pi/Desktop/images/05012025/21/36/image_05012025_21_36_02_435906_0001.jpg', '/home/pi/Desktop/images/05012025/21/36/image_05012025_21_36_02_435906_0002.jpg', '/home/pi/Desktop/images/05012025/21/36/image_05012025_21_36_02_435906_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/21/35/image_05012025_21_35_02_242548_0002.jpg
/home/pi/Desktop/images/05012025/21/35/image_05012025_21_35_02_242548_0003.jpg
/home/pi/Desktop/images/05012025/21/36/image_05012025_21_36_02_435906_0000.jpg
/home/pi/Desktop/images/05012025/21/36/image_05012025_21_36_02_435906_0001.jpg
/home/pi/Desktop/images/05012025/21/36/image_05012025_21_36_02_435906_0002.jpg
/home/pi/Desktop/images/05012025/21/36/image_05012025_21_36_02_435906_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 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: 46.83146810531616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 21:51:42.094577
SELECT 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/21/35/image_05012025_21_35_02_242548_0002.jpg', '/home/pi/Desktop/images/05012025/21/35/image_05012025_21_35_02_242548_0003.jpg', '/home/pi/Desktop/images/05012025/21/36/image_05012025_21_36_02_435906_0000.jpg', '/home/pi/Desktop/images/05012025/21/36/image_05012025_21_36_02_435906_0001.jpg', '/home/pi/Desktop/images/05012025/21/36/image_05012025_21_36_02_435906_0002.jpg', '/home/pi/Desktop/images/05012025/21/36/image_05012025_21_36_02_435906_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/21/35/image_05012025_21_35_02_242548_0002.jpg
/home/pi/Desktop/images/05012025/21/35/image_05012025_21_35_02_242548_0003.jpg
/home/pi/Desktop/images/05012025/21/36/image_05012025_21_36_02_435906_0000.jpg
/home/pi/Desktop/images/05012025/21/36/image_05012025_21_36_02_435906_0001.jpg
/home/pi/Desktop/images/05012025/21/36/image_05012025_21_36_02_435906_0002.jpg
/home/pi/Desktop/images/05012025/21/36/image_05012025_21_36_02_435906_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":["1326893211","1326893205","1326893202","1326893210","1326893207","1326893199"],"photo_ids_order":["1326893199","1326893202","1326893205","1326893207","1326893210","1326893211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fec2b5bd601d46d7a461412cb4bd931f.jpg","text":"TemporaryFile(/tmp/multipartBody6692252288196131089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110383601,"filename":"image_05012025_21_36_02_435906_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ae97f661fd05b6bd68720b30375885c6.jpg","text":"TemporaryFile(/tmp/multipartBody3187427739014475979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110383601,"filename":"image_05012025_21_36_02_435906_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/86f4f66f1fcd8892276ff4f78a54b768.jpg","text":"TemporaryFile(/tmp/multipartBody8011978556990330296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110383601,"filename":"image_05012025_21_35_02_242548_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b92321096f9651de76e181916d61dfee.jpg","text":"TemporaryFile(/tmp/multipartBody4565052673415082319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110383601,"filename":"image_05012025_21_36_02_435906_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c52873ad3cc780b46ac400e424bedce3.jpg","text":"TemporaryFile(/tmp/multipartBody8120536908892759376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110383601,"filename":"image_05012025_21_36_02_435906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5b32809cded099c20610e9751421bf2f.jpg","text":"TemporaryFile(/tmp/multipartBody5267633274457818805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110383601,"filename":"image_05012025_21_35_02_242548_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326893205","file1":"1326893202","file0":"1326893199","file4":"1326893210","file5":"1326893211","file3":"1326893207"},"map_files_photo_id_array":[{"photo_id":"1326893211","filename":"file5"},{"photo_id":"1326893205","filename":"file2"},{"photo_id":"1326893210","filename":"file4"},{"photo_id":"1326893202","filename":"file1"},{"photo_id":"1326893199","filename":"file0"},{"photo_id":"1326893207","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326893211":["hashtag1","hashtag2"]},{"1326893205":["hashtag1","hashtag2"]},{"1326893202":["hashtag1","hashtag2"]},{"1326893210":["hashtag1","hashtag2"]},{"1326893207":["hashtag1","hashtag2"]},{"1326893199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326893211, 1326893205, 1326893202, 1326893210, 1326893207, 1326893199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 112.86979269981384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 21:53:42.464481
SELECT 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/21/37/image_05012025_21_37_02_594104_0000.jpg', '/home/pi/Desktop/images/05012025/21/37/image_05012025_21_37_02_594104_0001.jpg', '/home/pi/Desktop/images/05012025/21/37/image_05012025_21_37_02_594104_0002.jpg', '/home/pi/Desktop/images/05012025/21/37/image_05012025_21_37_02_594104_0003.jpg', '/home/pi/Desktop/images/05012025/21/38/image_05012025_21_38_02_885191_0000.jpg', '/home/pi/Desktop/images/05012025/21/38/image_05012025_21_38_02_885191_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/37/image_05012025_21_37_02_594104_0000.jpg
/home/pi/Desktop/images/05012025/21/37/image_05012025_21_37_02_594104_0001.jpg
/home/pi/Desktop/images/05012025/21/37/image_05012025_21_37_02_594104_0002.jpg
/home/pi/Desktop/images/05012025/21/37/image_05012025_21_37_02_594104_0003.jpg
/home/pi/Desktop/images/05012025/21/38/image_05012025_21_38_02_885191_0000.jpg
/home/pi/Desktop/images/05012025/21/38/image_05012025_21_38_02_885191_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326893244","1326893238","1326893226","1326893220","1326893222","1326893241"],"photo_ids_order":["1326893220","1326893222","1326893226","1326893238","1326893241","1326893244"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ade9db994028d3310075eae16f58926b.jpg","text":"TemporaryFile(/tmp/multipartBody1582937691001222165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110520059,"filename":"image_05012025_21_38_02_885191_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e49115716e50bc91c11563ebae77a12.jpg","text":"TemporaryFile(/tmp/multipartBody4887700813319152378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110520059,"filename":"image_05012025_21_37_02_594104_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/651fa9ac70d96e6a56fabc2d00569ded.jpg","text":"TemporaryFile(/tmp/multipartBody3758144661342588462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110520059,"filename":"image_05012025_21_37_02_594104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b841772c6cbbe9781edff0c636b54b4.jpg","text":"TemporaryFile(/tmp/multipartBody1980872267409212609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110520059,"filename":"image_05012025_21_37_02_594104_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8938224240e313620c52e16c23b9e7ac.jpg","text":"TemporaryFile(/tmp/multipartBody516687940255309869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110520059,"filename":"image_05012025_21_37_02_594104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/47806839eaa6e7a9c4fb35555767cc86.jpg","text":"TemporaryFile(/tmp/multipartBody1211895117950769286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110520059,"filename":"image_05012025_21_38_02_885191_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326893226","file1":"1326893222","file0":"1326893220","file4":"1326893241","file5":"1326893244","file3":"1326893238"},"map_files_photo_id_array":[{"photo_id":"1326893244","filename":"file5"},{"photo_id":"1326893226","filename":"file2"},{"photo_id":"1326893241","filename":"file4"},{"photo_id":"1326893222","filename":"file1"},{"photo_id":"1326893220","filename":"file0"},{"photo_id":"1326893238","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326893244":["hashtag1","hashtag2"]},{"1326893238":["hashtag1","hashtag2"]},{"1326893226":["hashtag1","hashtag2"]},{"1326893220":["hashtag1","hashtag2"]},{"1326893222":["hashtag1","hashtag2"]},{"1326893241":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326893244, 1326893238, 1326893226, 1326893220, 1326893222, 1326893241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 133.73010206222534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 21:56:02.470550
SELECT 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/21/38/image_05012025_21_38_02_885191_0002.jpg', '/home/pi/Desktop/images/05012025/21/38/image_05012025_21_38_02_885191_0003.jpg', '/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0000.jpg', '/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0001.jpg', '/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0002.jpg', '/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_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/21/38/image_05012025_21_38_02_885191_0002.jpg
/home/pi/Desktop/images/05012025/21/38/image_05012025_21_38_02_885191_0003.jpg
/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0000.jpg
/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0001.jpg
/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0002.jpg
/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_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! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 21:59:03.068348
SELECT 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/21/38/image_05012025_21_38_02_885191_0002.jpg', '/home/pi/Desktop/images/05012025/21/38/image_05012025_21_38_02_885191_0003.jpg', '/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0000.jpg', '/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0001.jpg', '/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0002.jpg', '/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_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/21/38/image_05012025_21_38_02_885191_0002.jpg
/home/pi/Desktop/images/05012025/21/38/image_05012025_21_38_02_885191_0003.jpg
/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0000.jpg
/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0001.jpg
/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0002.jpg
/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 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: 40.697298526763916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 21:59:52.492718
SELECT 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/21/38/image_05012025_21_38_02_885191_0002.jpg', '/home/pi/Desktop/images/05012025/21/38/image_05012025_21_38_02_885191_0003.jpg', '/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0000.jpg', '/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0001.jpg', '/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0002.jpg', '/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_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/21/38/image_05012025_21_38_02_885191_0002.jpg
/home/pi/Desktop/images/05012025/21/38/image_05012025_21_38_02_885191_0003.jpg
/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0000.jpg
/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0001.jpg
/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_0002.jpg
/home/pi/Desktop/images/05012025/21/39/image_05012025_21_39_02_956165_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326895093","1326895010","1326894908","1326894958","1326895801","1326895437"],"photo_ids_order":["1326894908","1326894958","1326895010","1326895093","1326895437","1326895801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0815d426d932d0f96c070c93eef7f747.jpg","text":"TemporaryFile(/tmp/multipartBody4854062939996741470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110905597,"filename":"image_05012025_21_39_02_956165_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5d5d37126f2e61a3c7b7caadfdba2964.jpg","text":"TemporaryFile(/tmp/multipartBody3147802214802012734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110905597,"filename":"image_05012025_21_39_02_956165_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1a6da655ba8085b2def8df38bc46a3bb.jpg","text":"TemporaryFile(/tmp/multipartBody4023522804612547398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110905597,"filename":"image_05012025_21_38_02_885191_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d66b71d553f53f58d27904338de899a2.jpg","text":"TemporaryFile(/tmp/multipartBody9135026325855602998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110905597,"filename":"image_05012025_21_38_02_885191_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/430ceb195ad9a6ed6f11ec967d743774.jpg","text":"TemporaryFile(/tmp/multipartBody2027095642438047651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110905597,"filename":"image_05012025_21_39_02_956165_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8cc859e9b48c2adb72f07dac3a38cbd1.jpg","text":"TemporaryFile(/tmp/multipartBody5295597640981265494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736110905597,"filename":"image_05012025_21_39_02_956165_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326895010","file1":"1326894958","file0":"1326894908","file4":"1326895437","file5":"1326895801","file3":"1326895093"},"map_files_photo_id_array":[{"photo_id":"1326895801","filename":"file5"},{"photo_id":"1326895010","filename":"file2"},{"photo_id":"1326895437","filename":"file4"},{"photo_id":"1326894958","filename":"file1"},{"photo_id":"1326894908","filename":"file0"},{"photo_id":"1326895093","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326895093":["hashtag1","hashtag2"]},{"1326895010":["hashtag1","hashtag2"]},{"1326894908":["hashtag1","hashtag2"]},{"1326894958":["hashtag1","hashtag2"]},{"1326895801":["hashtag1","hashtag2"]},{"1326895437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326895093, 1326895010, 1326894908, 1326894958, 1326895801, 1326895437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 141.98941135406494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 22:02:22.098995
SELECT 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/21/40/image_05012025_21_40_03_087639_0000.jpg', '/home/pi/Desktop/images/05012025/21/40/image_05012025_21_40_03_087639_0001.jpg', '/home/pi/Desktop/images/05012025/21/40/image_05012025_21_40_03_087639_0002.jpg', '/home/pi/Desktop/images/05012025/21/40/image_05012025_21_40_03_087639_0003.jpg', '/home/pi/Desktop/images/05012025/21/41/image_05012025_21_41_02_289006_0000.jpg', '/home/pi/Desktop/images/05012025/21/41/image_05012025_21_41_02_289006_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/40/image_05012025_21_40_03_087639_0000.jpg
/home/pi/Desktop/images/05012025/21/40/image_05012025_21_40_03_087639_0001.jpg
/home/pi/Desktop/images/05012025/21/40/image_05012025_21_40_03_087639_0002.jpg
/home/pi/Desktop/images/05012025/21/40/image_05012025_21_40_03_087639_0003.jpg
/home/pi/Desktop/images/05012025/21/41/image_05012025_21_41_02_289006_0000.jpg
/home/pi/Desktop/images/05012025/21/41/image_05012025_21_41_02_289006_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: 16.064218759536743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 22:02:42.018740
SELECT 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/21/40/image_05012025_21_40_03_087639_0000.jpg', '/home/pi/Desktop/images/05012025/21/40/image_05012025_21_40_03_087639_0001.jpg', '/home/pi/Desktop/images/05012025/21/40/image_05012025_21_40_03_087639_0002.jpg', '/home/pi/Desktop/images/05012025/21/40/image_05012025_21_40_03_087639_0003.jpg', '/home/pi/Desktop/images/05012025/21/41/image_05012025_21_41_02_289006_0000.jpg', '/home/pi/Desktop/images/05012025/21/41/image_05012025_21_41_02_289006_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/40/image_05012025_21_40_03_087639_0000.jpg
/home/pi/Desktop/images/05012025/21/40/image_05012025_21_40_03_087639_0001.jpg
/home/pi/Desktop/images/05012025/21/40/image_05012025_21_40_03_087639_0002.jpg
/home/pi/Desktop/images/05012025/21/40/image_05012025_21_40_03_087639_0003.jpg
/home/pi/Desktop/images/05012025/21/41/image_05012025_21_41_02_289006_0000.jpg
/home/pi/Desktop/images/05012025/21/41/image_05012025_21_41_02_289006_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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326896077","1326896079","1326896291","1326896081","1326896075","1326896069"],"photo_ids_order":["1326896069","1326896075","1326896077","1326896079","1326896081","1326896291"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8ccab323c9563496305188f34ffa2855.jpg","text":"TemporaryFile(/tmp/multipartBody6660433227381681349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111061778,"filename":"image_05012025_21_40_03_087639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/35e52407aea7df017454d4732b73258d.jpg","text":"TemporaryFile(/tmp/multipartBody3258895539629625601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111061778,"filename":"image_05012025_21_40_03_087639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1fc0ee760f43e35796ff13885907e7d1.jpg","text":"TemporaryFile(/tmp/multipartBody4921102926210086803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111061778,"filename":"image_05012025_21_41_02_289006_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/840e280c84f4d7258d0690c23591931d.jpg","text":"TemporaryFile(/tmp/multipartBody7467227117651103518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111061778,"filename":"image_05012025_21_41_02_289006_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e4f031b780b440e811ff8c4f1a645881.jpg","text":"TemporaryFile(/tmp/multipartBody8884919296494737244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111061778,"filename":"image_05012025_21_40_03_087639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/822686d1c2f713be68e025ebd18137c6.jpg","text":"TemporaryFile(/tmp/multipartBody6708574253895576077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111061778,"filename":"image_05012025_21_40_03_087639_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326896077","file1":"1326896075","file0":"1326896069","file4":"1326896081","file5":"1326896291","file3":"1326896079"},"map_files_photo_id_array":[{"photo_id":"1326896291","filename":"file5"},{"photo_id":"1326896077","filename":"file2"},{"photo_id":"1326896081","filename":"file4"},{"photo_id":"1326896075","filename":"file1"},{"photo_id":"1326896069","filename":"file0"},{"photo_id":"1326896079","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326896077":["hashtag1","hashtag2"]},{"1326896079":["hashtag1","hashtag2"]},{"1326896291":["hashtag1","hashtag2"]},{"1326896081":["hashtag1","hashtag2"]},{"1326896075":["hashtag1","hashtag2"]},{"1326896069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326896077, 1326896079, 1326896291, 1326896081, 1326896075, 1326896069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 135.84012079238892 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 22:05:03.394172
SELECT 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/21/41/image_05012025_21_41_02_289006_0002.jpg', '/home/pi/Desktop/images/05012025/21/41/image_05012025_21_41_02_289006_0003.jpg', '/home/pi/Desktop/images/05012025/21/42/image_05012025_21_42_02_455952_0000.jpg', '/home/pi/Desktop/images/05012025/21/42/image_05012025_21_42_02_455952_0001.jpg', '/home/pi/Desktop/images/05012025/21/42/image_05012025_21_42_02_455952_0002.jpg', '/home/pi/Desktop/images/05012025/21/42/image_05012025_21_42_02_455952_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/21/41/image_05012025_21_41_02_289006_0002.jpg
/home/pi/Desktop/images/05012025/21/41/image_05012025_21_41_02_289006_0003.jpg
/home/pi/Desktop/images/05012025/21/42/image_05012025_21_42_02_455952_0000.jpg
/home/pi/Desktop/images/05012025/21/42/image_05012025_21_42_02_455952_0001.jpg
/home/pi/Desktop/images/05012025/21/42/image_05012025_21_42_02_455952_0002.jpg
/home/pi/Desktop/images/05012025/21/42/image_05012025_21_42_02_455952_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: 16.150233507156372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 22:05:22.611900
SELECT 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/21/41/image_05012025_21_41_02_289006_0002.jpg', '/home/pi/Desktop/images/05012025/21/41/image_05012025_21_41_02_289006_0003.jpg', '/home/pi/Desktop/images/05012025/21/42/image_05012025_21_42_02_455952_0000.jpg', '/home/pi/Desktop/images/05012025/21/42/image_05012025_21_42_02_455952_0001.jpg', '/home/pi/Desktop/images/05012025/21/42/image_05012025_21_42_02_455952_0002.jpg', '/home/pi/Desktop/images/05012025/21/42/image_05012025_21_42_02_455952_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/21/41/image_05012025_21_41_02_289006_0002.jpg
/home/pi/Desktop/images/05012025/21/41/image_05012025_21_41_02_289006_0003.jpg
/home/pi/Desktop/images/05012025/21/42/image_05012025_21_42_02_455952_0000.jpg
/home/pi/Desktop/images/05012025/21/42/image_05012025_21_42_02_455952_0001.jpg
/home/pi/Desktop/images/05012025/21/42/image_05012025_21_42_02_455952_0002.jpg
/home/pi/Desktop/images/05012025/21/42/image_05012025_21_42_02_455952_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":["1326896566","1326897112","1326897208","1326897035","1326896607","1326896684"],"photo_ids_order":["1326896566","1326896607","1326896684","1326897035","1326897112","1326897208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d1cb697a6691878439253bdae686e66a.jpg","text":"TemporaryFile(/tmp/multipartBody107784799568193837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111202195,"filename":"image_05012025_21_41_02_289006_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ee4b3d051a4fb6f75916b1c5fc94515f.jpg","text":"TemporaryFile(/tmp/multipartBody4206754137870483448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111202195,"filename":"image_05012025_21_42_02_455952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/927649fb2bebe22a08ef66c588881760.jpg","text":"TemporaryFile(/tmp/multipartBody7135073546809576287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111202195,"filename":"image_05012025_21_42_02_455952_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0336df781e0b44be1c006e78e9bb3dfe.jpg","text":"TemporaryFile(/tmp/multipartBody8624973891104335480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111202195,"filename":"image_05012025_21_42_02_455952_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ffb3cb8a6ece25deb14d93298ae10f3.jpg","text":"TemporaryFile(/tmp/multipartBody2697849912632653725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111202195,"filename":"image_05012025_21_41_02_289006_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b90c4629a8b898445da0bb0b7b670c28.jpg","text":"TemporaryFile(/tmp/multipartBody2045979900968780611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111202195,"filename":"image_05012025_21_42_02_455952_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326896684","file1":"1326896607","file0":"1326896566","file4":"1326897112","file5":"1326897208","file3":"1326897035"},"map_files_photo_id_array":[{"photo_id":"1326897208","filename":"file5"},{"photo_id":"1326896684","filename":"file2"},{"photo_id":"1326897112","filename":"file4"},{"photo_id":"1326896607","filename":"file1"},{"photo_id":"1326896566","filename":"file0"},{"photo_id":"1326897035","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326896566":["hashtag1","hashtag2"]},{"1326897112":["hashtag1","hashtag2"]},{"1326897208":["hashtag1","hashtag2"]},{"1326897035":["hashtag1","hashtag2"]},{"1326896607":["hashtag1","hashtag2"]},{"1326896684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326896566, 1326897112, 1326897208, 1326897035, 1326896607, 1326896684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.84501934051514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 22:07:02.645760
SELECT 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/21/43/image_05012025_21_43_02_699388_0000.jpg', '/home/pi/Desktop/images/05012025/21/43/image_05012025_21_43_02_699388_0001.jpg', '/home/pi/Desktop/images/05012025/21/43/image_05012025_21_43_02_699388_0002.jpg', '/home/pi/Desktop/images/05012025/21/43/image_05012025_21_43_02_699388_0003.jpg', '/home/pi/Desktop/images/05012025/21/44/image_05012025_21_44_02_781027_0000.jpg', '/home/pi/Desktop/images/05012025/21/44/image_05012025_21_44_02_781027_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/43/image_05012025_21_43_02_699388_0000.jpg
/home/pi/Desktop/images/05012025/21/43/image_05012025_21_43_02_699388_0001.jpg
/home/pi/Desktop/images/05012025/21/43/image_05012025_21_43_02_699388_0002.jpg
/home/pi/Desktop/images/05012025/21/43/image_05012025_21_43_02_699388_0003.jpg
/home/pi/Desktop/images/05012025/21/44/image_05012025_21_44_02_781027_0000.jpg
/home/pi/Desktop/images/05012025/21/44/image_05012025_21_44_02_781027_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":["1326897596","1326897284","1326897617","1326897614","1326897565","1326897367"],"photo_ids_order":["1326897284","1326897367","1326897565","1326897596","1326897614","1326897617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11da0f601b4777c5a7b7f39877a534ce.jpg","text":"TemporaryFile(/tmp/multipartBody5422140928767318022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111299669,"filename":"image_05012025_21_43_02_699388_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d51a167105e516f5defdcd09e8a27adb.jpg","text":"TemporaryFile(/tmp/multipartBody3532781143099824770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111299669,"filename":"image_05012025_21_43_02_699388_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/14b1495072a77e36054355b61e291d7a.jpg","text":"TemporaryFile(/tmp/multipartBody4530062659929258162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111299669,"filename":"image_05012025_21_44_02_781027_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/925ec912db4bd129ee12710c812552fe.jpg","text":"TemporaryFile(/tmp/multipartBody4202353201005632650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111299669,"filename":"image_05012025_21_44_02_781027_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f6441a543105f535a7101aca6322530.jpg","text":"TemporaryFile(/tmp/multipartBody4249282895240104200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111299669,"filename":"image_05012025_21_43_02_699388_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e0ad512374219c26665eb417b166491d.jpg","text":"TemporaryFile(/tmp/multipartBody1657790835920496813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111299669,"filename":"image_05012025_21_43_02_699388_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326897565","file1":"1326897367","file0":"1326897284","file4":"1326897614","file5":"1326897617","file3":"1326897596"},"map_files_photo_id_array":[{"photo_id":"1326897617","filename":"file5"},{"photo_id":"1326897565","filename":"file2"},{"photo_id":"1326897614","filename":"file4"},{"photo_id":"1326897367","filename":"file1"},{"photo_id":"1326897284","filename":"file0"},{"photo_id":"1326897596","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326897596":["hashtag1","hashtag2"]},{"1326897284":["hashtag1","hashtag2"]},{"1326897617":["hashtag1","hashtag2"]},{"1326897614":["hashtag1","hashtag2"]},{"1326897565":["hashtag1","hashtag2"]},{"1326897367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326897596, 1326897284, 1326897617, 1326897614, 1326897565, 1326897367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.70325207710266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:08:52.175017
SELECT 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/21/44/image_05012025_21_44_02_781027_0002.jpg', '/home/pi/Desktop/images/05012025/21/44/image_05012025_21_44_02_781027_0003.jpg', '/home/pi/Desktop/images/05012025/21/45/image_05012025_21_45_03_045556_0000.jpg', '/home/pi/Desktop/images/05012025/21/45/image_05012025_21_45_03_045556_0001.jpg', '/home/pi/Desktop/images/05012025/21/45/image_05012025_21_45_03_045556_0002.jpg', '/home/pi/Desktop/images/05012025/21/45/image_05012025_21_45_03_045556_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/21/44/image_05012025_21_44_02_781027_0002.jpg
/home/pi/Desktop/images/05012025/21/44/image_05012025_21_44_02_781027_0003.jpg
/home/pi/Desktop/images/05012025/21/45/image_05012025_21_45_03_045556_0000.jpg
/home/pi/Desktop/images/05012025/21/45/image_05012025_21_45_03_045556_0001.jpg
/home/pi/Desktop/images/05012025/21/45/image_05012025_21_45_03_045556_0002.jpg
/home/pi/Desktop/images/05012025/21/45/image_05012025_21_45_03_045556_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":["1326898091","1326897621","1326898183","1326897842","1326897800","1326897844"],"photo_ids_order":["1326897621","1326897800","1326897842","1326897844","1326898091","1326898183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/96137596c4656bd030484d6b9daa47f0.jpg","text":"TemporaryFile(/tmp/multipartBody8778126652221005767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111409012,"filename":"image_05012025_21_45_03_045556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f789e4abfb00b7352ac74fec676c45c9.jpg","text":"TemporaryFile(/tmp/multipartBody1194138888385654596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111409012,"filename":"image_05012025_21_44_02_781027_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/78eea95fea1213d1dd5d3810d82d30a8.jpg","text":"TemporaryFile(/tmp/multipartBody7715417149848906220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111409012,"filename":"image_05012025_21_45_03_045556_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/93d573c7d2d4ba55621acde07ab0ea94.jpg","text":"TemporaryFile(/tmp/multipartBody6909099216517965468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111409012,"filename":"image_05012025_21_45_03_045556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f4fea3e239213165ca768bdf41b17465.jpg","text":"TemporaryFile(/tmp/multipartBody2663693969816450098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111409012,"filename":"image_05012025_21_44_02_781027_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d68c7e133cf2542d423156ec35d74cd1.jpg","text":"TemporaryFile(/tmp/multipartBody8224259153981638352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111409012,"filename":"image_05012025_21_45_03_045556_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326897842","file1":"1326897800","file0":"1326897621","file4":"1326898091","file5":"1326898183","file3":"1326897844"},"map_files_photo_id_array":[{"photo_id":"1326898183","filename":"file5"},{"photo_id":"1326897842","filename":"file2"},{"photo_id":"1326898091","filename":"file4"},{"photo_id":"1326897800","filename":"file1"},{"photo_id":"1326897621","filename":"file0"},{"photo_id":"1326897844","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326898091":["hashtag1","hashtag2"]},{"1326897621":["hashtag1","hashtag2"]},{"1326898183":["hashtag1","hashtag2"]},{"1326897842":["hashtag1","hashtag2"]},{"1326897800":["hashtag1","hashtag2"]},{"1326897844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326898091, 1326897621, 1326898183, 1326897842, 1326897800, 1326897844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.71326780319214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 22:10:42.660324
SELECT 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/21/46/image_05012025_21_46_02_234584_0000.jpg', '/home/pi/Desktop/images/05012025/21/46/image_05012025_21_46_02_234584_0001.jpg', '/home/pi/Desktop/images/05012025/21/46/image_05012025_21_46_02_234584_0002.jpg', '/home/pi/Desktop/images/05012025/21/46/image_05012025_21_46_02_234584_0003.jpg', '/home/pi/Desktop/images/05012025/21/47/image_05012025_21_47_02_451715_0000.jpg', '/home/pi/Desktop/images/05012025/21/47/image_05012025_21_47_02_451715_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/46/image_05012025_21_46_02_234584_0000.jpg
/home/pi/Desktop/images/05012025/21/46/image_05012025_21_46_02_234584_0001.jpg
/home/pi/Desktop/images/05012025/21/46/image_05012025_21_46_02_234584_0002.jpg
/home/pi/Desktop/images/05012025/21/46/image_05012025_21_46_02_234584_0003.jpg
/home/pi/Desktop/images/05012025/21/47/image_05012025_21_47_02_451715_0000.jpg
/home/pi/Desktop/images/05012025/21/47/image_05012025_21_47_02_451715_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":["1326899072","1326898650","1326898484","1326898478","1326898480","1326898516"],"photo_ids_order":["1326898478","1326898480","1326898484","1326898516","1326898650","1326899072"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d3f85bc710a8418305135db1649c118b.jpg","text":"TemporaryFile(/tmp/multipartBody1463378920392266901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111519245,"filename":"image_05012025_21_47_02_451715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/115395e682e50746398309234cbff830.jpg","text":"TemporaryFile(/tmp/multipartBody5409173434141437506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111519245,"filename":"image_05012025_21_47_02_451715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ff664a020107c9aa71ae8a9ee341ffb2.jpg","text":"TemporaryFile(/tmp/multipartBody5581733353980885047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111519245,"filename":"image_05012025_21_46_02_234584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6ada2be8e69bd7362bab137ab94f4569.jpg","text":"TemporaryFile(/tmp/multipartBody3979582653231921906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111519245,"filename":"image_05012025_21_46_02_234584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c2297ade2116acfa664c49a26a571709.jpg","text":"TemporaryFile(/tmp/multipartBody4707543827257016768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111519245,"filename":"image_05012025_21_46_02_234584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4913b73cb37fd12cf78d084d7f600c79.jpg","text":"TemporaryFile(/tmp/multipartBody8919408481984683223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111519245,"filename":"image_05012025_21_46_02_234584_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326898484","file1":"1326898480","file0":"1326898478","file4":"1326898650","file5":"1326899072","file3":"1326898516"},"map_files_photo_id_array":[{"photo_id":"1326899072","filename":"file5"},{"photo_id":"1326898484","filename":"file2"},{"photo_id":"1326898650","filename":"file4"},{"photo_id":"1326898480","filename":"file1"},{"photo_id":"1326898478","filename":"file0"},{"photo_id":"1326898516","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326899072":["hashtag1","hashtag2"]},{"1326898650":["hashtag1","hashtag2"]},{"1326898484":["hashtag1","hashtag2"]},{"1326898478":["hashtag1","hashtag2"]},{"1326898480":["hashtag1","hashtag2"]},{"1326898516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326899072, 1326898650, 1326898484, 1326898478, 1326898480, 1326898516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.27047371864319 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 22:12:22.041396
SELECT 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/21/47/image_05012025_21_47_02_451715_0002.jpg', '/home/pi/Desktop/images/05012025/21/47/image_05012025_21_47_02_451715_0003.jpg', '/home/pi/Desktop/images/05012025/21/48/image_05012025_21_48_02_586276_0000.jpg', '/home/pi/Desktop/images/05012025/21/48/image_05012025_21_48_02_586276_0001.jpg', '/home/pi/Desktop/images/05012025/21/48/image_05012025_21_48_02_586276_0002.jpg', '/home/pi/Desktop/images/05012025/21/48/image_05012025_21_48_02_586276_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/21/47/image_05012025_21_47_02_451715_0002.jpg
/home/pi/Desktop/images/05012025/21/47/image_05012025_21_47_02_451715_0003.jpg
/home/pi/Desktop/images/05012025/21/48/image_05012025_21_48_02_586276_0000.jpg
/home/pi/Desktop/images/05012025/21/48/image_05012025_21_48_02_586276_0001.jpg
/home/pi/Desktop/images/05012025/21/48/image_05012025_21_48_02_586276_0002.jpg
/home/pi/Desktop/images/05012025/21/48/image_05012025_21_48_02_586276_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":["1326899717","1326899599","1326899689","1326899274","1326899574","1326899277"],"photo_ids_order":["1326899274","1326899277","1326899574","1326899599","1326899689","1326899717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b09e8a61472bf974391a3721c7189ec8.jpg","text":"TemporaryFile(/tmp/multipartBody6935004727483428245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111623021,"filename":"image_05012025_21_48_02_586276_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ba19ea4e3dabe64a38cb73d33d5649d6.jpg","text":"TemporaryFile(/tmp/multipartBody4090943572264436453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111623021,"filename":"image_05012025_21_48_02_586276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/805ca8c3964195cb89951acf36405e55.jpg","text":"TemporaryFile(/tmp/multipartBody3369796237598143118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111623021,"filename":"image_05012025_21_48_02_586276_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/af16ab927924ee9f6c750c8d68584b1d.jpg","text":"TemporaryFile(/tmp/multipartBody1938394223968651339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111623021,"filename":"image_05012025_21_47_02_451715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/27172a928a1c194bd4a5d055542557c8.jpg","text":"TemporaryFile(/tmp/multipartBody824209325514777260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111623021,"filename":"image_05012025_21_48_02_586276_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cfa9822d78c424085780b23581ff6ac3.jpg","text":"TemporaryFile(/tmp/multipartBody3469910873998050163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111623021,"filename":"image_05012025_21_47_02_451715_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326899574","file1":"1326899277","file0":"1326899274","file4":"1326899689","file5":"1326899717","file3":"1326899599"},"map_files_photo_id_array":[{"photo_id":"1326899717","filename":"file5"},{"photo_id":"1326899574","filename":"file2"},{"photo_id":"1326899689","filename":"file4"},{"photo_id":"1326899277","filename":"file1"},{"photo_id":"1326899274","filename":"file0"},{"photo_id":"1326899599","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326899717":["hashtag1","hashtag2"]},{"1326899599":["hashtag1","hashtag2"]},{"1326899689":["hashtag1","hashtag2"]},{"1326899274":["hashtag1","hashtag2"]},{"1326899574":["hashtag1","hashtag2"]},{"1326899277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326899717, 1326899599, 1326899689, 1326899274, 1326899574, 1326899277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.87120175361633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 22:14:22.333511
SELECT 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/21/49/image_05012025_21_49_02_792050_0000.jpg', '/home/pi/Desktop/images/05012025/21/49/image_05012025_21_49_02_792050_0001.jpg', '/home/pi/Desktop/images/05012025/21/49/image_05012025_21_49_02_792050_0002.jpg', '/home/pi/Desktop/images/05012025/21/49/image_05012025_21_49_02_792050_0003.jpg', '/home/pi/Desktop/images/05012025/21/50/image_05012025_21_50_03_169407_0000.jpg', '/home/pi/Desktop/images/05012025/21/50/image_05012025_21_50_03_169407_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/49/image_05012025_21_49_02_792050_0000.jpg
/home/pi/Desktop/images/05012025/21/49/image_05012025_21_49_02_792050_0001.jpg
/home/pi/Desktop/images/05012025/21/49/image_05012025_21_49_02_792050_0002.jpg
/home/pi/Desktop/images/05012025/21/49/image_05012025_21_49_02_792050_0003.jpg
/home/pi/Desktop/images/05012025/21/50/image_05012025_21_50_03_169407_0000.jpg
/home/pi/Desktop/images/05012025/21/50/image_05012025_21_50_03_169407_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":["1326900005","1326899996","1326899993","1326900004","1326900007","1326900185"],"photo_ids_order":["1326899993","1326899996","1326900004","1326900005","1326900007","1326900185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5643805acc128489ba6b7837e510b515.jpg","text":"TemporaryFile(/tmp/multipartBody5057247154189035635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111738999,"filename":"image_05012025_21_49_02_792050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/31f7949bbaf0719804e8f3660622347c.jpg","text":"TemporaryFile(/tmp/multipartBody3312713079508224929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111738999,"filename":"image_05012025_21_49_02_792050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ff8118343650075ead49982c327bc601.jpg","text":"TemporaryFile(/tmp/multipartBody6430242631952289429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111738999,"filename":"image_05012025_21_49_02_792050_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/51d51009a4e0adca85da3688aadba291.jpg","text":"TemporaryFile(/tmp/multipartBody93359359997549593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111738999,"filename":"image_05012025_21_49_02_792050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5d75ff0438cc4e98f80eaae763202c08.jpg","text":"TemporaryFile(/tmp/multipartBody6805732981579969856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111738999,"filename":"image_05012025_21_50_03_169407_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5d4510e7ab00d6bb85cb246312e4be22.jpg","text":"TemporaryFile(/tmp/multipartBody3006244426160385980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111738999,"filename":"image_05012025_21_50_03_169407_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326900004","file1":"1326899996","file0":"1326899993","file4":"1326900007","file5":"1326900185","file3":"1326900005"},"map_files_photo_id_array":[{"photo_id":"1326900185","filename":"file5"},{"photo_id":"1326900004","filename":"file2"},{"photo_id":"1326900007","filename":"file4"},{"photo_id":"1326899996","filename":"file1"},{"photo_id":"1326899993","filename":"file0"},{"photo_id":"1326900005","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326900005":["hashtag1","hashtag2"]},{"1326899996":["hashtag1","hashtag2"]},{"1326899993":["hashtag1","hashtag2"]},{"1326900004":["hashtag1","hashtag2"]},{"1326900007":["hashtag1","hashtag2"]},{"1326900185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326900005, 1326899996, 1326899993, 1326900004, 1326900007, 1326900185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.14322400093079 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 22:16:03.091454
SELECT 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/21/50/image_05012025_21_50_03_169407_0002.jpg', '/home/pi/Desktop/images/05012025/21/50/image_05012025_21_50_03_169407_0003.jpg', '/home/pi/Desktop/images/05012025/21/51/image_05012025_21_51_02_266484_0000.jpg', '/home/pi/Desktop/images/05012025/21/51/image_05012025_21_51_02_266484_0001.jpg', '/home/pi/Desktop/images/05012025/21/51/image_05012025_21_51_02_266484_0002.jpg', '/home/pi/Desktop/images/05012025/21/51/image_05012025_21_51_02_266484_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/21/50/image_05012025_21_50_03_169407_0002.jpg
/home/pi/Desktop/images/05012025/21/50/image_05012025_21_50_03_169407_0003.jpg
/home/pi/Desktop/images/05012025/21/51/image_05012025_21_51_02_266484_0000.jpg
/home/pi/Desktop/images/05012025/21/51/image_05012025_21_51_02_266484_0001.jpg
/home/pi/Desktop/images/05012025/21/51/image_05012025_21_51_02_266484_0002.jpg
/home/pi/Desktop/images/05012025/21/51/image_05012025_21_51_02_266484_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":["1326900926","1326901120","1326900760","1326901102","1326900454","1326901034"],"photo_ids_order":["1326900454","1326900760","1326900926","1326901034","1326901102","1326901120"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f02363d86f83e06fa238dcf0ca99dae1.jpg","text":"TemporaryFile(/tmp/multipartBody8475342448168479865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111842759,"filename":"image_05012025_21_51_02_266484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b61a3c041b1183a64c1b95c11bb0f57d.jpg","text":"TemporaryFile(/tmp/multipartBody525995752055641860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111842759,"filename":"image_05012025_21_51_02_266484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6de50b2e1dc018f743e6e18e1bb7352e.jpg","text":"TemporaryFile(/tmp/multipartBody4959303404568968091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111842759,"filename":"image_05012025_21_50_03_169407_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d982d583427b4ce11abe08cd16859fa4.jpg","text":"TemporaryFile(/tmp/multipartBody7623799736859680174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111842759,"filename":"image_05012025_21_51_02_266484_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/daafcd27b2a7ae0b84db632c218502e5.jpg","text":"TemporaryFile(/tmp/multipartBody2555090842722872498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111842759,"filename":"image_05012025_21_50_03_169407_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/063c459a2c41aa66696153c093beedcc.jpg","text":"TemporaryFile(/tmp/multipartBody6010665092863248376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111842759,"filename":"image_05012025_21_51_02_266484_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326900926","file1":"1326900760","file0":"1326900454","file4":"1326901102","file5":"1326901120","file3":"1326901034"},"map_files_photo_id_array":[{"photo_id":"1326901120","filename":"file5"},{"photo_id":"1326900926","filename":"file2"},{"photo_id":"1326901102","filename":"file4"},{"photo_id":"1326900760","filename":"file1"},{"photo_id":"1326900454","filename":"file0"},{"photo_id":"1326901034","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326900926":["hashtag1","hashtag2"]},{"1326901120":["hashtag1","hashtag2"]},{"1326900760":["hashtag1","hashtag2"]},{"1326901102":["hashtag1","hashtag2"]},{"1326900454":["hashtag1","hashtag2"]},{"1326901034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326900926, 1326901120, 1326900760, 1326901102, 1326900454, 1326901034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.00112199783325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:17:51.908668
SELECT 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/21/52/image_05012025_21_52_02_435326_0000.jpg', '/home/pi/Desktop/images/05012025/21/52/image_05012025_21_52_02_435326_0001.jpg', '/home/pi/Desktop/images/05012025/21/52/image_05012025_21_52_02_435326_0002.jpg', '/home/pi/Desktop/images/05012025/21/52/image_05012025_21_52_02_435326_0003.jpg', '/home/pi/Desktop/images/05012025/21/53/image_05012025_21_53_02_639398_0000.jpg', '/home/pi/Desktop/images/05012025/21/53/image_05012025_21_53_02_639398_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/52/image_05012025_21_52_02_435326_0000.jpg
/home/pi/Desktop/images/05012025/21/52/image_05012025_21_52_02_435326_0001.jpg
/home/pi/Desktop/images/05012025/21/52/image_05012025_21_52_02_435326_0002.jpg
/home/pi/Desktop/images/05012025/21/52/image_05012025_21_52_02_435326_0003.jpg
/home/pi/Desktop/images/05012025/21/53/image_05012025_21_53_02_639398_0000.jpg
/home/pi/Desktop/images/05012025/21/53/image_05012025_21_53_02_639398_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":["1326901418","1326901127","1326901462","1326901126","1326901359","1326901125"],"photo_ids_order":["1326901125","1326901126","1326901127","1326901359","1326901418","1326901462"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62c8b3c5b8e9ec9ba5b4113fe1a1742b.jpg","text":"TemporaryFile(/tmp/multipartBody2625008069955677006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111948456,"filename":"image_05012025_21_53_02_639398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8e922484a1ad96edcf2e72a21aec61cb.jpg","text":"TemporaryFile(/tmp/multipartBody1470359763573499079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111948456,"filename":"image_05012025_21_52_02_435326_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1b81b62cd5503e73ffc820958564ce97.jpg","text":"TemporaryFile(/tmp/multipartBody8830487086402557440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111948456,"filename":"image_05012025_21_53_02_639398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/da309320cb556758acb7696171f2076c.jpg","text":"TemporaryFile(/tmp/multipartBody2734309371042432348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111948456,"filename":"image_05012025_21_52_02_435326_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6e919ab51090a54cab5fec6e428fd18e.jpg","text":"TemporaryFile(/tmp/multipartBody50630332434151752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111948456,"filename":"image_05012025_21_52_02_435326_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6e075d65187fee4e19bb10398a315b28.jpg","text":"TemporaryFile(/tmp/multipartBody9124702386253751534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736111948456,"filename":"image_05012025_21_52_02_435326_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326901127","file1":"1326901126","file0":"1326901125","file4":"1326901418","file5":"1326901462","file3":"1326901359"},"map_files_photo_id_array":[{"photo_id":"1326901462","filename":"file5"},{"photo_id":"1326901127","filename":"file2"},{"photo_id":"1326901418","filename":"file4"},{"photo_id":"1326901126","filename":"file1"},{"photo_id":"1326901125","filename":"file0"},{"photo_id":"1326901359","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326901418":["hashtag1","hashtag2"]},{"1326901127":["hashtag1","hashtag2"]},{"1326901462":["hashtag1","hashtag2"]},{"1326901126":["hashtag1","hashtag2"]},{"1326901359":["hashtag1","hashtag2"]},{"1326901125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326901418, 1326901127, 1326901462, 1326901126, 1326901359, 1326901125)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 89.84575915336609 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:19:32.289146
SELECT 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/21/53/image_05012025_21_53_02_639398_0002.jpg', '/home/pi/Desktop/images/05012025/21/53/image_05012025_21_53_02_639398_0003.jpg', '/home/pi/Desktop/images/05012025/21/54/image_05012025_21_54_02_872027_0000.jpg', '/home/pi/Desktop/images/05012025/21/54/image_05012025_21_54_02_872027_0001.jpg', '/home/pi/Desktop/images/05012025/21/54/image_05012025_21_54_02_872027_0002.jpg', '/home/pi/Desktop/images/05012025/21/54/image_05012025_21_54_02_872027_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/21/53/image_05012025_21_53_02_639398_0002.jpg
/home/pi/Desktop/images/05012025/21/53/image_05012025_21_53_02_639398_0003.jpg
/home/pi/Desktop/images/05012025/21/54/image_05012025_21_54_02_872027_0000.jpg
/home/pi/Desktop/images/05012025/21/54/image_05012025_21_54_02_872027_0001.jpg
/home/pi/Desktop/images/05012025/21/54/image_05012025_21_54_02_872027_0002.jpg
/home/pi/Desktop/images/05012025/21/54/image_05012025_21_54_02_872027_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":["1326901468","1326901711","1326901470","1326901467","1326901713","1326901681"],"photo_ids_order":["1326901467","1326901468","1326901470","1326901681","1326901711","1326901713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/08c8be50c6980c73c22f8f931daff9ee.jpg","text":"TemporaryFile(/tmp/multipartBody4128271782550155769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112053309,"filename":"image_05012025_21_53_02_639398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2396cffa6ddf7fd9b8e1890efdc53727.jpg","text":"TemporaryFile(/tmp/multipartBody7977585279950058553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112053309,"filename":"image_05012025_21_54_02_872027_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4c75e6ddad9fdf9a3f189eec27b3decc.jpg","text":"TemporaryFile(/tmp/multipartBody3760660510091745496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112053309,"filename":"image_05012025_21_54_02_872027_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9de54236f8cff5ee4cacfa27e07ffe13.jpg","text":"TemporaryFile(/tmp/multipartBody6170970720413749907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112053309,"filename":"image_05012025_21_53_02_639398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6c6784848bc8d2c3b3f7d93760131176.jpg","text":"TemporaryFile(/tmp/multipartBody8626890969426142389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112053309,"filename":"image_05012025_21_54_02_872027_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9727b446bf3b6bf41c88765b2f9ccf1e.jpg","text":"TemporaryFile(/tmp/multipartBody6823096966242757060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112053309,"filename":"image_05012025_21_54_02_872027_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326901470","file1":"1326901468","file0":"1326901467","file4":"1326901711","file5":"1326901713","file3":"1326901681"},"map_files_photo_id_array":[{"photo_id":"1326901713","filename":"file5"},{"photo_id":"1326901470","filename":"file2"},{"photo_id":"1326901711","filename":"file4"},{"photo_id":"1326901468","filename":"file1"},{"photo_id":"1326901467","filename":"file0"},{"photo_id":"1326901681","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326901468":["hashtag1","hashtag2"]},{"1326901711":["hashtag1","hashtag2"]},{"1326901470":["hashtag1","hashtag2"]},{"1326901467":["hashtag1","hashtag2"]},{"1326901713":["hashtag1","hashtag2"]},{"1326901681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326901468, 1326901711, 1326901470, 1326901467, 1326901713, 1326901681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.82502245903015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 22:21:03.248352
SELECT 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/21/55/image_05012025_21_55_02_989795_0000.jpg', '/home/pi/Desktop/images/05012025/21/55/image_05012025_21_55_02_989795_0001.jpg', '/home/pi/Desktop/images/05012025/21/55/image_05012025_21_55_02_989795_0002.jpg', '/home/pi/Desktop/images/05012025/21/55/image_05012025_21_55_02_989795_0003.jpg', '/home/pi/Desktop/images/05012025/21/56/image_05012025_21_56_02_174875_0000.jpg', '/home/pi/Desktop/images/05012025/21/56/image_05012025_21_56_02_174875_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/55/image_05012025_21_55_02_989795_0000.jpg
/home/pi/Desktop/images/05012025/21/55/image_05012025_21_55_02_989795_0001.jpg
/home/pi/Desktop/images/05012025/21/55/image_05012025_21_55_02_989795_0002.jpg
/home/pi/Desktop/images/05012025/21/55/image_05012025_21_55_02_989795_0003.jpg
/home/pi/Desktop/images/05012025/21/56/image_05012025_21_56_02_174875_0000.jpg
/home/pi/Desktop/images/05012025/21/56/image_05012025_21_56_02_174875_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":["1326902038","1326901984","1326902046","1326902049","1326901938","1326902048"],"photo_ids_order":["1326901938","1326901984","1326902038","1326902046","1326902048","1326902049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a7b8605fb860683fc930c86246b8d868.jpg","text":"TemporaryFile(/tmp/multipartBody5475090716032887354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112139143,"filename":"image_05012025_21_55_02_989795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a9c2d72b8fde51ee37d2981485513a83.jpg","text":"TemporaryFile(/tmp/multipartBody1472402760287306109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112139143,"filename":"image_05012025_21_55_02_989795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/56475b42fc1448a2905b944d8a5297a3.jpg","text":"TemporaryFile(/tmp/multipartBody976646686533822475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112139143,"filename":"image_05012025_21_55_02_989795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb8a706cd8352db19cb99626529f92f3.jpg","text":"TemporaryFile(/tmp/multipartBody4352403221627426189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112139143,"filename":"image_05012025_21_56_02_174875_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c891b837c5df80117d7c0a1af1542a5.jpg","text":"TemporaryFile(/tmp/multipartBody6655027300750022476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112139143,"filename":"image_05012025_21_55_02_989795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3ae0406e80dbd4ed18d79f24ad157828.jpg","text":"TemporaryFile(/tmp/multipartBody6517838905022061830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112139143,"filename":"image_05012025_21_56_02_174875_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326902038","file1":"1326901984","file0":"1326901938","file4":"1326902048","file5":"1326902049","file3":"1326902046"},"map_files_photo_id_array":[{"photo_id":"1326902049","filename":"file5"},{"photo_id":"1326902038","filename":"file2"},{"photo_id":"1326902048","filename":"file4"},{"photo_id":"1326901984","filename":"file1"},{"photo_id":"1326901938","filename":"file0"},{"photo_id":"1326902046","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326902038":["hashtag1","hashtag2"]},{"1326901984":["hashtag1","hashtag2"]},{"1326902046":["hashtag1","hashtag2"]},{"1326902049":["hashtag1","hashtag2"]},{"1326901938":["hashtag1","hashtag2"]},{"1326902048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326902038, 1326901984, 1326902046, 1326902049, 1326901938, 1326902048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.81317138671875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:22:31.784893
SELECT 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/21/56/image_05012025_21_56_02_174875_0002.jpg', '/home/pi/Desktop/images/05012025/21/56/image_05012025_21_56_02_174875_0003.jpg', '/home/pi/Desktop/images/05012025/21/57/image_05012025_21_57_02_420022_0000.jpg', '/home/pi/Desktop/images/05012025/21/57/image_05012025_21_57_02_420022_0001.jpg', '/home/pi/Desktop/images/05012025/21/57/image_05012025_21_57_02_420022_0002.jpg', '/home/pi/Desktop/images/05012025/21/57/image_05012025_21_57_02_420022_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/21/56/image_05012025_21_56_02_174875_0002.jpg
/home/pi/Desktop/images/05012025/21/56/image_05012025_21_56_02_174875_0003.jpg
/home/pi/Desktop/images/05012025/21/57/image_05012025_21_57_02_420022_0000.jpg
/home/pi/Desktop/images/05012025/21/57/image_05012025_21_57_02_420022_0001.jpg
/home/pi/Desktop/images/05012025/21/57/image_05012025_21_57_02_420022_0002.jpg
/home/pi/Desktop/images/05012025/21/57/image_05012025_21_57_02_420022_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":["1326902059","1326902061","1326902055","1326902063","1326902057","1326902054"],"photo_ids_order":["1326902054","1326902055","1326902057","1326902059","1326902061","1326902063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/28047a2a925ae415532c3854f7bd0471.jpg","text":"TemporaryFile(/tmp/multipartBody6662921603558761590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112227900,"filename":"image_05012025_21_57_02_420022_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b2506a8117cba8a21a7b66814102cb45.jpg","text":"TemporaryFile(/tmp/multipartBody6542116156772895690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112227900,"filename":"image_05012025_21_57_02_420022_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/32aa4065d33c4712e9ec1e2d57049160.jpg","text":"TemporaryFile(/tmp/multipartBody9057841303581791796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112227900,"filename":"image_05012025_21_56_02_174875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/64cef2c7f26ec10d4d0c854b71baeb2b.jpg","text":"TemporaryFile(/tmp/multipartBody1203906492719632327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112227900,"filename":"image_05012025_21_57_02_420022_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c6a5312306f34cb2f26001ea497b869.jpg","text":"TemporaryFile(/tmp/multipartBody4415896735817057287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112227900,"filename":"image_05012025_21_57_02_420022_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/55e62dde8c3e85f8c7b81cc26665223b.jpg","text":"TemporaryFile(/tmp/multipartBody5285163293758538238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112227900,"filename":"image_05012025_21_56_02_174875_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326902057","file1":"1326902055","file0":"1326902054","file4":"1326902061","file5":"1326902063","file3":"1326902059"},"map_files_photo_id_array":[{"photo_id":"1326902063","filename":"file5"},{"photo_id":"1326902057","filename":"file2"},{"photo_id":"1326902061","filename":"file4"},{"photo_id":"1326902055","filename":"file1"},{"photo_id":"1326902054","filename":"file0"},{"photo_id":"1326902059","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326902059":["hashtag1","hashtag2"]},{"1326902061":["hashtag1","hashtag2"]},{"1326902055":["hashtag1","hashtag2"]},{"1326902063":["hashtag1","hashtag2"]},{"1326902057":["hashtag1","hashtag2"]},{"1326902054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326902059, 1326902061, 1326902055, 1326902063, 1326902057, 1326902054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 83.90333724021912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 22:24:02.546788
SELECT 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/21/58/image_05012025_21_58_02_659812_0000.jpg', '/home/pi/Desktop/images/05012025/21/58/image_05012025_21_58_02_659812_0001.jpg', '/home/pi/Desktop/images/05012025/21/58/image_05012025_21_58_02_659812_0002.jpg', '/home/pi/Desktop/images/05012025/21/58/image_05012025_21_58_02_659812_0003.jpg', '/home/pi/Desktop/images/05012025/21/59/image_05012025_21_59_02_816111_0000.jpg', '/home/pi/Desktop/images/05012025/21/59/image_05012025_21_59_02_816111_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/21/58/image_05012025_21_58_02_659812_0000.jpg
/home/pi/Desktop/images/05012025/21/58/image_05012025_21_58_02_659812_0001.jpg
/home/pi/Desktop/images/05012025/21/58/image_05012025_21_58_02_659812_0002.jpg
/home/pi/Desktop/images/05012025/21/58/image_05012025_21_58_02_659812_0003.jpg
/home/pi/Desktop/images/05012025/21/59/image_05012025_21_59_02_816111_0000.jpg
/home/pi/Desktop/images/05012025/21/59/image_05012025_21_59_02_816111_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":["1326902322","1326902106","1326902066","1326902324","1326902327","1326902290"],"photo_ids_order":["1326902066","1326902106","1326902290","1326902322","1326902324","1326902327"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bda0ed2061310f02f66d58934d2cbac1.jpg","text":"TemporaryFile(/tmp/multipartBody3947140591575637279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112318434,"filename":"image_05012025_21_58_02_659812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0a4177253294fcbc333e287658ddb1a1.jpg","text":"TemporaryFile(/tmp/multipartBody886833663769471213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112318434,"filename":"image_05012025_21_58_02_659812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f8526935a7a6a6f48cc2a018770c28b8.jpg","text":"TemporaryFile(/tmp/multipartBody8123412219619546596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112318434,"filename":"image_05012025_21_58_02_659812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fedf1b74c473321790ef7d339ebe8607.jpg","text":"TemporaryFile(/tmp/multipartBody715742171864230419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112318434,"filename":"image_05012025_21_59_02_816111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9fdd4d768abbb09e1591137a88357e4c.jpg","text":"TemporaryFile(/tmp/multipartBody4499840398165491383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112318434,"filename":"image_05012025_21_59_02_816111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/88626753850ddca31986c9811f835c84.jpg","text":"TemporaryFile(/tmp/multipartBody4331967441216817036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112318434,"filename":"image_05012025_21_58_02_659812_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326902290","file1":"1326902106","file0":"1326902066","file4":"1326902324","file5":"1326902327","file3":"1326902322"},"map_files_photo_id_array":[{"photo_id":"1326902327","filename":"file5"},{"photo_id":"1326902290","filename":"file2"},{"photo_id":"1326902324","filename":"file4"},{"photo_id":"1326902106","filename":"file1"},{"photo_id":"1326902066","filename":"file0"},{"photo_id":"1326902322","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326902322":["hashtag1","hashtag2"]},{"1326902106":["hashtag1","hashtag2"]},{"1326902066":["hashtag1","hashtag2"]},{"1326902324":["hashtag1","hashtag2"]},{"1326902327":["hashtag1","hashtag2"]},{"1326902290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326902322, 1326902106, 1326902066, 1326902324, 1326902327, 1326902290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.43235445022583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:25:32.267146
SELECT 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/21/59/image_05012025_21_59_02_816111_0002.jpg', '/home/pi/Desktop/images/05012025/21/59/image_05012025_21_59_02_816111_0003.jpg', '/home/pi/Desktop/images/05012025/22/00/image_05012025_22_00_02_906746_0000.jpg', '/home/pi/Desktop/images/05012025/22/00/image_05012025_22_00_02_906746_0001.jpg', '/home/pi/Desktop/images/05012025/22/00/image_05012025_22_00_02_906746_0002.jpg', '/home/pi/Desktop/images/05012025/22/00/image_05012025_22_00_02_906746_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/21/59/image_05012025_21_59_02_816111_0002.jpg
/home/pi/Desktop/images/05012025/21/59/image_05012025_21_59_02_816111_0003.jpg
/home/pi/Desktop/images/05012025/22/00/image_05012025_22_00_02_906746_0000.jpg
/home/pi/Desktop/images/05012025/22/00/image_05012025_22_00_02_906746_0001.jpg
/home/pi/Desktop/images/05012025/22/00/image_05012025_22_00_02_906746_0002.jpg
/home/pi/Desktop/images/05012025/22/00/image_05012025_22_00_02_906746_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326902923","1326902976","1326903033","1326903230","1326903034","1326902644"],"photo_ids_order":["1326902644","1326902923","1326902976","1326903033","1326903034","1326903230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cd52ff67bc8a980cb0507466f8a8f6dc.jpg","text":"TemporaryFile(/tmp/multipartBody4640862783970367314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112408385,"filename":"image_05012025_21_59_02_816111_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2360414a58604f650e600e6d01d3c04.jpg","text":"TemporaryFile(/tmp/multipartBody3959728982618034336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112408385,"filename":"image_05012025_22_00_02_906746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d42e244c281f04be0766921f07a5d6c4.jpg","text":"TemporaryFile(/tmp/multipartBody3482130948460088731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112408385,"filename":"image_05012025_22_00_02_906746_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7122c35a84c7a72bb1c48c270bfe898e.jpg","text":"TemporaryFile(/tmp/multipartBody275204298843388020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112408385,"filename":"image_05012025_22_00_02_906746_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/28d9675f0522d352a2f50bfbf2087675.jpg","text":"TemporaryFile(/tmp/multipartBody3571016129698213180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112408385,"filename":"image_05012025_22_00_02_906746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/889aef003e6bc999d76e1a2c2693477e.jpg","text":"TemporaryFile(/tmp/multipartBody5367802478892524671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112408385,"filename":"image_05012025_21_59_02_816111_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326902976","file1":"1326902923","file0":"1326902644","file4":"1326903034","file5":"1326903230","file3":"1326903033"},"map_files_photo_id_array":[{"photo_id":"1326903230","filename":"file5"},{"photo_id":"1326902976","filename":"file2"},{"photo_id":"1326903034","filename":"file4"},{"photo_id":"1326902923","filename":"file1"},{"photo_id":"1326902644","filename":"file0"},{"photo_id":"1326903033","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326902923":["hashtag1","hashtag2"]},{"1326902976":["hashtag1","hashtag2"]},{"1326903033":["hashtag1","hashtag2"]},{"1326903230":["hashtag1","hashtag2"]},{"1326903034":["hashtag1","hashtag2"]},{"1326902644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326902923, 1326902976, 1326903033, 1326903230, 1326903034, 1326902644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.92491793632507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:26:52.371893
SELECT 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/22/01/image_05012025_22_01_02_997154_0000.jpg', '/home/pi/Desktop/images/05012025/22/01/image_05012025_22_01_02_997154_0001.jpg', '/home/pi/Desktop/images/05012025/22/01/image_05012025_22_01_02_997154_0002.jpg', '/home/pi/Desktop/images/05012025/22/01/image_05012025_22_01_02_997154_0003.jpg', '/home/pi/Desktop/images/05012025/22/02/image_05012025_22_02_02_262708_0000.jpg', '/home/pi/Desktop/images/05012025/22/02/image_05012025_22_02_02_262708_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/01/image_05012025_22_01_02_997154_0000.jpg
/home/pi/Desktop/images/05012025/22/01/image_05012025_22_01_02_997154_0001.jpg
/home/pi/Desktop/images/05012025/22/01/image_05012025_22_01_02_997154_0002.jpg
/home/pi/Desktop/images/05012025/22/01/image_05012025_22_01_02_997154_0003.jpg
/home/pi/Desktop/images/05012025/22/02/image_05012025_22_02_02_262708_0000.jpg
/home/pi/Desktop/images/05012025/22/02/image_05012025_22_02_02_262708_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":["1326903709","1326903708","1326903398","1326903665","1326903707","1326903696"],"photo_ids_order":["1326903398","1326903665","1326903696","1326903707","1326903708","1326903709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bda29ff64fb84cf96174d181b4e39195.jpg","text":"TemporaryFile(/tmp/multipartBody6972709750860967647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112487888,"filename":"image_05012025_22_02_02_262708_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0398d78dafbef04cf0d75602262366ce.jpg","text":"TemporaryFile(/tmp/multipartBody640512354994482046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112487888,"filename":"image_05012025_22_02_02_262708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c44512cf0d30fd95a876ac2b77ec8be.jpg","text":"TemporaryFile(/tmp/multipartBody3246609195985227698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112487888,"filename":"image_05012025_22_01_02_997154_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/05318796f7e776da17a0223f172cf314.jpg","text":"TemporaryFile(/tmp/multipartBody4479509439990412246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112487888,"filename":"image_05012025_22_01_02_997154_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bfbd561fa16966f2892f7ff7c56c8a9e.jpg","text":"TemporaryFile(/tmp/multipartBody3878741156283392749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112487888,"filename":"image_05012025_22_01_02_997154_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e820baa645ebff1db3325e7b73c6a979.jpg","text":"TemporaryFile(/tmp/multipartBody3167592309324694786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112487888,"filename":"image_05012025_22_01_02_997154_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326903696","file1":"1326903665","file0":"1326903398","file4":"1326903708","file5":"1326903709","file3":"1326903707"},"map_files_photo_id_array":[{"photo_id":"1326903709","filename":"file5"},{"photo_id":"1326903696","filename":"file2"},{"photo_id":"1326903708","filename":"file4"},{"photo_id":"1326903665","filename":"file1"},{"photo_id":"1326903398","filename":"file0"},{"photo_id":"1326903707","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326903709":["hashtag1","hashtag2"]},{"1326903708":["hashtag1","hashtag2"]},{"1326903398":["hashtag1","hashtag2"]},{"1326903665":["hashtag1","hashtag2"]},{"1326903707":["hashtag1","hashtag2"]},{"1326903696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326903709, 1326903708, 1326903398, 1326903665, 1326903707, 1326903696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.0108733177185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 22:28:22.769193
SELECT 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/22/02/image_05012025_22_02_02_262708_0002.jpg', '/home/pi/Desktop/images/05012025/22/02/image_05012025_22_02_02_262708_0003.jpg', '/home/pi/Desktop/images/05012025/22/03/image_05012025_22_03_02_368222_0000.jpg', '/home/pi/Desktop/images/05012025/22/03/image_05012025_22_03_02_368222_0001.jpg', '/home/pi/Desktop/images/05012025/22/03/image_05012025_22_03_02_368222_0002.jpg', '/home/pi/Desktop/images/05012025/22/03/image_05012025_22_03_02_368222_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/22/02/image_05012025_22_02_02_262708_0002.jpg
/home/pi/Desktop/images/05012025/22/02/image_05012025_22_02_02_262708_0003.jpg
/home/pi/Desktop/images/05012025/22/03/image_05012025_22_03_02_368222_0000.jpg
/home/pi/Desktop/images/05012025/22/03/image_05012025_22_03_02_368222_0001.jpg
/home/pi/Desktop/images/05012025/22/03/image_05012025_22_03_02_368222_0002.jpg
/home/pi/Desktop/images/05012025/22/03/image_05012025_22_03_02_368222_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":["1326903714","1326904121","1326903716","1326904048","1326904092","1326903718"],"photo_ids_order":["1326903714","1326903716","1326903718","1326904048","1326904092","1326904121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/708277ba98e642b84ea164464a5e7c1a.jpg","text":"TemporaryFile(/tmp/multipartBody4159236570356697872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112580719,"filename":"image_05012025_22_02_02_262708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5043e8a1a2bc67fb5f49b9606d200027.jpg","text":"TemporaryFile(/tmp/multipartBody4423485440091479152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112580719,"filename":"image_05012025_22_03_02_368222_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b8401e1e1163172dce243dab9370dd58.jpg","text":"TemporaryFile(/tmp/multipartBody4305569905612688570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112580719,"filename":"image_05012025_22_02_02_262708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/16650a5600779ce4bd8e8ee6b1dddbd4.jpg","text":"TemporaryFile(/tmp/multipartBody1982740870318004176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112580719,"filename":"image_05012025_22_03_02_368222_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a338bee4046c047d6ed71aab5f9ebfbd.jpg","text":"TemporaryFile(/tmp/multipartBody3952591548263491724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112580719,"filename":"image_05012025_22_03_02_368222_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d5c20061c8f1ab4634bb27a30f2f44f2.jpg","text":"TemporaryFile(/tmp/multipartBody2989619651456102887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112580719,"filename":"image_05012025_22_03_02_368222_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326903718","file1":"1326903716","file0":"1326903714","file4":"1326904092","file5":"1326904121","file3":"1326904048"},"map_files_photo_id_array":[{"photo_id":"1326904121","filename":"file5"},{"photo_id":"1326903718","filename":"file2"},{"photo_id":"1326904092","filename":"file4"},{"photo_id":"1326903716","filename":"file1"},{"photo_id":"1326903714","filename":"file0"},{"photo_id":"1326904048","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326903714":["hashtag1","hashtag2"]},{"1326904121":["hashtag1","hashtag2"]},{"1326903716":["hashtag1","hashtag2"]},{"1326904048":["hashtag1","hashtag2"]},{"1326904092":["hashtag1","hashtag2"]},{"1326903718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326903714, 1326904121, 1326903716, 1326904048, 1326904092, 1326903718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.9936192035675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:29:51.905390
SELECT 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/22/04/image_05012025_22_04_02_594043_0000.jpg', '/home/pi/Desktop/images/05012025/22/04/image_05012025_22_04_02_594043_0001.jpg', '/home/pi/Desktop/images/05012025/22/04/image_05012025_22_04_02_594043_0002.jpg', '/home/pi/Desktop/images/05012025/22/04/image_05012025_22_04_02_594043_0003.jpg', '/home/pi/Desktop/images/05012025/22/05/image_05012025_22_05_02_782785_0000.jpg', '/home/pi/Desktop/images/05012025/22/05/image_05012025_22_05_02_782785_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/04/image_05012025_22_04_02_594043_0000.jpg
/home/pi/Desktop/images/05012025/22/04/image_05012025_22_04_02_594043_0001.jpg
/home/pi/Desktop/images/05012025/22/04/image_05012025_22_04_02_594043_0002.jpg
/home/pi/Desktop/images/05012025/22/04/image_05012025_22_04_02_594043_0003.jpg
/home/pi/Desktop/images/05012025/22/05/image_05012025_22_05_02_782785_0000.jpg
/home/pi/Desktop/images/05012025/22/05/image_05012025_22_05_02_782785_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":["1326904164","1326904174","1326904168","1326904162","1326904171","1326904159"],"photo_ids_order":["1326904159","1326904162","1326904164","1326904168","1326904171","1326904174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/80cb75281da62764612c3cf9dc2fa094.jpg","text":"TemporaryFile(/tmp/multipartBody3969280399493250375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112668788,"filename":"image_05012025_22_04_02_594043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ee051d89116fd99e95a090649d3cafe7.jpg","text":"TemporaryFile(/tmp/multipartBody6738446450721173065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112668788,"filename":"image_05012025_22_05_02_782785_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3935555171e91cd5059bbf7ece2106dd.jpg","text":"TemporaryFile(/tmp/multipartBody159169677134552865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112668788,"filename":"image_05012025_22_04_02_594043_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/89ba0b95bf24ae2d7c0f2b602323e1af.jpg","text":"TemporaryFile(/tmp/multipartBody1881645885536200480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112668788,"filename":"image_05012025_22_04_02_594043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9c2d8ef9b4ceb2d1dd5469d585dcb6bd.jpg","text":"TemporaryFile(/tmp/multipartBody1947925036525113660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112668788,"filename":"image_05012025_22_05_02_782785_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3aa7a60e80fe0362b09609fd644317d6.jpg","text":"TemporaryFile(/tmp/multipartBody4061014549854003875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112668788,"filename":"image_05012025_22_04_02_594043_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326904164","file1":"1326904162","file0":"1326904159","file4":"1326904171","file5":"1326904174","file3":"1326904168"},"map_files_photo_id_array":[{"photo_id":"1326904174","filename":"file5"},{"photo_id":"1326904164","filename":"file2"},{"photo_id":"1326904171","filename":"file4"},{"photo_id":"1326904162","filename":"file1"},{"photo_id":"1326904159","filename":"file0"},{"photo_id":"1326904168","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326904164":["hashtag1","hashtag2"]},{"1326904174":["hashtag1","hashtag2"]},{"1326904168":["hashtag1","hashtag2"]},{"1326904162":["hashtag1","hashtag2"]},{"1326904171":["hashtag1","hashtag2"]},{"1326904159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326904164, 1326904174, 1326904168, 1326904162, 1326904171, 1326904159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.31002473831177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 22:31:22.283764
SELECT 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/22/05/image_05012025_22_05_02_782785_0002.jpg', '/home/pi/Desktop/images/05012025/22/05/image_05012025_22_05_02_782785_0003.jpg', '/home/pi/Desktop/images/05012025/22/06/image_05012025_22_06_03_030060_0000.jpg', '/home/pi/Desktop/images/05012025/22/06/image_05012025_22_06_03_030060_0001.jpg', '/home/pi/Desktop/images/05012025/22/06/image_05012025_22_06_03_030060_0002.jpg', '/home/pi/Desktop/images/05012025/22/06/image_05012025_22_06_03_030060_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/22/05/image_05012025_22_05_02_782785_0002.jpg
/home/pi/Desktop/images/05012025/22/05/image_05012025_22_05_02_782785_0003.jpg
/home/pi/Desktop/images/05012025/22/06/image_05012025_22_06_03_030060_0000.jpg
/home/pi/Desktop/images/05012025/22/06/image_05012025_22_06_03_030060_0001.jpg
/home/pi/Desktop/images/05012025/22/06/image_05012025_22_06_03_030060_0002.jpg
/home/pi/Desktop/images/05012025/22/06/image_05012025_22_06_03_030060_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":["1326905267","1326905248","1326905119","1326905157","1326905364","1326905265"],"photo_ids_order":["1326905119","1326905157","1326905248","1326905265","1326905267","1326905364"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f91e976c344055e972349fab866b64ed.jpg","text":"TemporaryFile(/tmp/multipartBody5747456469088324410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112757916,"filename":"image_05012025_22_06_03_030060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/97456b2dc3a649eeed80b4533df5f9ab.jpg","text":"TemporaryFile(/tmp/multipartBody4224426094590052738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112757916,"filename":"image_05012025_22_06_03_030060_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62660133dc05ae9744670659980aeff7.jpg","text":"TemporaryFile(/tmp/multipartBody4548029193710314089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112757916,"filename":"image_05012025_22_05_02_782785_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b626ab7cd3e40ca4609c62ecccc7a396.jpg","text":"TemporaryFile(/tmp/multipartBody3293963770679089377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112757916,"filename":"image_05012025_22_05_02_782785_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d01882c53b3858d208bddf59a6fbe9a7.jpg","text":"TemporaryFile(/tmp/multipartBody3063935708114827667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112757916,"filename":"image_05012025_22_06_03_030060_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8868daf5263ec1576e88f6db572d21b9.jpg","text":"TemporaryFile(/tmp/multipartBody2333393797318467457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112757916,"filename":"image_05012025_22_06_03_030060_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326905248","file1":"1326905157","file0":"1326905119","file4":"1326905267","file5":"1326905364","file3":"1326905265"},"map_files_photo_id_array":[{"photo_id":"1326905364","filename":"file5"},{"photo_id":"1326905248","filename":"file2"},{"photo_id":"1326905267","filename":"file4"},{"photo_id":"1326905157","filename":"file1"},{"photo_id":"1326905119","filename":"file0"},{"photo_id":"1326905265","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326905267":["hashtag1","hashtag2"]},{"1326905248":["hashtag1","hashtag2"]},{"1326905119":["hashtag1","hashtag2"]},{"1326905157":["hashtag1","hashtag2"]},{"1326905364":["hashtag1","hashtag2"]},{"1326905265":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326905267, 1326905248, 1326905119, 1326905157, 1326905364, 1326905265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.20943212509155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:32:32.428591
SELECT 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/22/07/image_05012025_22_07_02_256994_0000.jpg', '/home/pi/Desktop/images/05012025/22/07/image_05012025_22_07_02_256994_0001.jpg', '/home/pi/Desktop/images/05012025/22/07/image_05012025_22_07_02_256994_0002.jpg', '/home/pi/Desktop/images/05012025/22/07/image_05012025_22_07_02_256994_0003.jpg', '/home/pi/Desktop/images/05012025/22/08/image_05012025_22_08_02_420291_0000.jpg', '/home/pi/Desktop/images/05012025/22/08/image_05012025_22_08_02_420291_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/07/image_05012025_22_07_02_256994_0000.jpg
/home/pi/Desktop/images/05012025/22/07/image_05012025_22_07_02_256994_0001.jpg
/home/pi/Desktop/images/05012025/22/07/image_05012025_22_07_02_256994_0002.jpg
/home/pi/Desktop/images/05012025/22/07/image_05012025_22_07_02_256994_0003.jpg
/home/pi/Desktop/images/05012025/22/08/image_05012025_22_08_02_420291_0000.jpg
/home/pi/Desktop/images/05012025/22/08/image_05012025_22_08_02_420291_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":["1326905717","1326905695","1326905659","1326905719","1326905715","1326905619"],"photo_ids_order":["1326905619","1326905659","1326905695","1326905715","1326905717","1326905719"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/921139dbaf7508f71756ad8f8c38371c.jpg","text":"TemporaryFile(/tmp/multipartBody6369442944839853721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112827875,"filename":"image_05012025_22_08_02_420291_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/444176345224fed8e39c62a07aad42b5.jpg","text":"TemporaryFile(/tmp/multipartBody6019067063247970295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112827875,"filename":"image_05012025_22_07_02_256994_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c3a37350934bba0f7347302d9264ccc1.jpg","text":"TemporaryFile(/tmp/multipartBody7527315509130063287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112827875,"filename":"image_05012025_22_07_02_256994_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8a91075f5787a1fde0847c82d8cee1b7.jpg","text":"TemporaryFile(/tmp/multipartBody4403370720083799726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112827875,"filename":"image_05012025_22_08_02_420291_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5663625d22c3dbcb0c30b68078de936f.jpg","text":"TemporaryFile(/tmp/multipartBody2156955496543894971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112827875,"filename":"image_05012025_22_07_02_256994_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f378f0ba418a4b8508741eadf9607f7.jpg","text":"TemporaryFile(/tmp/multipartBody6228057298716142436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112827875,"filename":"image_05012025_22_07_02_256994_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326905695","file1":"1326905659","file0":"1326905619","file4":"1326905717","file5":"1326905719","file3":"1326905715"},"map_files_photo_id_array":[{"photo_id":"1326905719","filename":"file5"},{"photo_id":"1326905695","filename":"file2"},{"photo_id":"1326905717","filename":"file4"},{"photo_id":"1326905659","filename":"file1"},{"photo_id":"1326905619","filename":"file0"},{"photo_id":"1326905715","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326905717":["hashtag1","hashtag2"]},{"1326905695":["hashtag1","hashtag2"]},{"1326905659":["hashtag1","hashtag2"]},{"1326905719":["hashtag1","hashtag2"]},{"1326905715":["hashtag1","hashtag2"]},{"1326905619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326905717, 1326905695, 1326905659, 1326905719, 1326905715, 1326905619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.86904191970825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 22:33:42.639551
SELECT 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/22/08/image_05012025_22_08_02_420291_0002.jpg', '/home/pi/Desktop/images/05012025/22/08/image_05012025_22_08_02_420291_0003.jpg', '/home/pi/Desktop/images/05012025/22/09/image_05012025_22_09_02_602394_0000.jpg', '/home/pi/Desktop/images/05012025/22/09/image_05012025_22_09_02_602394_0001.jpg', '/home/pi/Desktop/images/05012025/22/09/image_05012025_22_09_02_602394_0002.jpg', '/home/pi/Desktop/images/05012025/22/09/image_05012025_22_09_02_602394_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/22/08/image_05012025_22_08_02_420291_0002.jpg
/home/pi/Desktop/images/05012025/22/08/image_05012025_22_08_02_420291_0003.jpg
/home/pi/Desktop/images/05012025/22/09/image_05012025_22_09_02_602394_0000.jpg
/home/pi/Desktop/images/05012025/22/09/image_05012025_22_09_02_602394_0001.jpg
/home/pi/Desktop/images/05012025/22/09/image_05012025_22_09_02_602394_0002.jpg
/home/pi/Desktop/images/05012025/22/09/image_05012025_22_09_02_602394_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":["1326906059","1326906005","1326906214","1326906450","1326906048","1326906479"],"photo_ids_order":["1326906005","1326906048","1326906059","1326906214","1326906450","1326906479"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/caf7be63c7d5f6479ae82586b7fa5f0c.jpg","text":"TemporaryFile(/tmp/multipartBody2044666099653418265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112898140,"filename":"image_05012025_22_09_02_602394_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/51e1d37af6cb4141d3617f96b06549e6.jpg","text":"TemporaryFile(/tmp/multipartBody7165604533168124592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112898140,"filename":"image_05012025_22_08_02_420291_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/35adc3bb8a85cd98b854fdbb3d3488ef.jpg","text":"TemporaryFile(/tmp/multipartBody2763466644484849949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112898140,"filename":"image_05012025_22_09_02_602394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cd3adf356ba924d18a3a80fc8128ee58.jpg","text":"TemporaryFile(/tmp/multipartBody3346230113654401798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112898140,"filename":"image_05012025_22_09_02_602394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4d2418dd4b9a1bdddcb9ca1b3c1a6bb1.jpg","text":"TemporaryFile(/tmp/multipartBody185196315775298323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112898140,"filename":"image_05012025_22_08_02_420291_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d9bc1d27ed2e7c53044863074ad0bfe4.jpg","text":"TemporaryFile(/tmp/multipartBody7168678559584391994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112898140,"filename":"image_05012025_22_09_02_602394_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326906059","file1":"1326906048","file0":"1326906005","file4":"1326906450","file5":"1326906479","file3":"1326906214"},"map_files_photo_id_array":[{"photo_id":"1326906479","filename":"file5"},{"photo_id":"1326906059","filename":"file2"},{"photo_id":"1326906450","filename":"file4"},{"photo_id":"1326906048","filename":"file1"},{"photo_id":"1326906005","filename":"file0"},{"photo_id":"1326906214","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326906059":["hashtag1","hashtag2"]},{"1326906005":["hashtag1","hashtag2"]},{"1326906214":["hashtag1","hashtag2"]},{"1326906450":["hashtag1","hashtag2"]},{"1326906048":["hashtag1","hashtag2"]},{"1326906479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326906059, 1326906005, 1326906214, 1326906450, 1326906048, 1326906479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.62269401550293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:34:51.773871
SELECT 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/22/10/image_05012025_22_10_02_813945_0000.jpg', '/home/pi/Desktop/images/05012025/22/10/image_05012025_22_10_02_813945_0001.jpg', '/home/pi/Desktop/images/05012025/22/10/image_05012025_22_10_02_813945_0002.jpg', '/home/pi/Desktop/images/05012025/22/10/image_05012025_22_10_02_813945_0003.jpg', '/home/pi/Desktop/images/05012025/22/11/image_05012025_22_11_03_046715_0000.jpg', '/home/pi/Desktop/images/05012025/22/11/image_05012025_22_11_03_046715_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/10/image_05012025_22_10_02_813945_0000.jpg
/home/pi/Desktop/images/05012025/22/10/image_05012025_22_10_02_813945_0001.jpg
/home/pi/Desktop/images/05012025/22/10/image_05012025_22_10_02_813945_0002.jpg
/home/pi/Desktop/images/05012025/22/10/image_05012025_22_10_02_813945_0003.jpg
/home/pi/Desktop/images/05012025/22/11/image_05012025_22_11_03_046715_0000.jpg
/home/pi/Desktop/images/05012025/22/11/image_05012025_22_11_03_046715_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":["1326906938","1326906940","1326907023","1326906942","1326906936","1326907157"],"photo_ids_order":["1326906936","1326906938","1326906940","1326906942","1326907023","1326907157"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e341c718e650026257c7991030a8850.jpg","text":"TemporaryFile(/tmp/multipartBody933115009844711856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112967266,"filename":"image_05012025_22_10_02_813945_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3f5b53f81da5df373356c6c7a6c04839.jpg","text":"TemporaryFile(/tmp/multipartBody48805198712383468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112967266,"filename":"image_05012025_22_10_02_813945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1ba84018919c1d3d1d79a1a842a28977.jpg","text":"TemporaryFile(/tmp/multipartBody1731881014038423334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112967266,"filename":"image_05012025_22_11_03_046715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f62c57c806a6f63e82db4cf452ec5b28.jpg","text":"TemporaryFile(/tmp/multipartBody4138394421503443904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112967266,"filename":"image_05012025_22_10_02_813945_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/538c14468a47660346caa5b50c7046fc.jpg","text":"TemporaryFile(/tmp/multipartBody5415620459060661010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112967266,"filename":"image_05012025_22_10_02_813945_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e4edebe9496cf4553bb2fdf295e241b6.jpg","text":"TemporaryFile(/tmp/multipartBody9171403728257908575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736112967266,"filename":"image_05012025_22_11_03_046715_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326906940","file1":"1326906938","file0":"1326906936","file4":"1326907023","file5":"1326907157","file3":"1326906942"},"map_files_photo_id_array":[{"photo_id":"1326907157","filename":"file5"},{"photo_id":"1326906940","filename":"file2"},{"photo_id":"1326907023","filename":"file4"},{"photo_id":"1326906938","filename":"file1"},{"photo_id":"1326906936","filename":"file0"},{"photo_id":"1326906942","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326906938":["hashtag1","hashtag2"]},{"1326906940":["hashtag1","hashtag2"]},{"1326907023":["hashtag1","hashtag2"]},{"1326906942":["hashtag1","hashtag2"]},{"1326906936":["hashtag1","hashtag2"]},{"1326907157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326906938, 1326906940, 1326907023, 1326906942, 1326906936, 1326907157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.26391530036926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 22:36:02.577374
SELECT 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/22/11/image_05012025_22_11_03_046715_0002.jpg', '/home/pi/Desktop/images/05012025/22/11/image_05012025_22_11_03_046715_0003.jpg', '/home/pi/Desktop/images/05012025/22/12/image_05012025_22_12_02_213748_0000.jpg', '/home/pi/Desktop/images/05012025/22/12/image_05012025_22_12_02_213748_0001.jpg', '/home/pi/Desktop/images/05012025/22/12/image_05012025_22_12_02_213748_0002.jpg', '/home/pi/Desktop/images/05012025/22/12/image_05012025_22_12_02_213748_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/22/11/image_05012025_22_11_03_046715_0002.jpg
/home/pi/Desktop/images/05012025/22/11/image_05012025_22_11_03_046715_0003.jpg
/home/pi/Desktop/images/05012025/22/12/image_05012025_22_12_02_213748_0000.jpg
/home/pi/Desktop/images/05012025/22/12/image_05012025_22_12_02_213748_0001.jpg
/home/pi/Desktop/images/05012025/22/12/image_05012025_22_12_02_213748_0002.jpg
/home/pi/Desktop/images/05012025/22/12/image_05012025_22_12_02_213748_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":["1326907579","1326907275","1326907580","1326907265","1326907430","1326907268"],"photo_ids_order":["1326907265","1326907268","1326907275","1326907430","1326907579","1326907580"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6e123c4d1117af5505a4a49bc3a95b39.jpg","text":"TemporaryFile(/tmp/multipartBody2332302299430089971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113037765,"filename":"image_05012025_22_12_02_213748_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3d262423dee8e566542e3f5d3325611a.jpg","text":"TemporaryFile(/tmp/multipartBody4533029826605915496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113037765,"filename":"image_05012025_22_12_02_213748_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c982122888bf1f7a3d05bdd2dee8a106.jpg","text":"TemporaryFile(/tmp/multipartBody31111861187533226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113037765,"filename":"image_05012025_22_12_02_213748_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f0fe1dd9582f964f63729e32b1ba7849.jpg","text":"TemporaryFile(/tmp/multipartBody7208297476968304005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113037765,"filename":"image_05012025_22_11_03_046715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02d79b49e3768225a933c289943d4167.jpg","text":"TemporaryFile(/tmp/multipartBody5110626180505515139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113037765,"filename":"image_05012025_22_12_02_213748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9ad70ff521ca178773aa0b4daca2ca7f.jpg","text":"TemporaryFile(/tmp/multipartBody7068949382772679861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113037765,"filename":"image_05012025_22_11_03_046715_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326907275","file1":"1326907268","file0":"1326907265","file4":"1326907579","file5":"1326907580","file3":"1326907430"},"map_files_photo_id_array":[{"photo_id":"1326907580","filename":"file5"},{"photo_id":"1326907275","filename":"file2"},{"photo_id":"1326907579","filename":"file4"},{"photo_id":"1326907268","filename":"file1"},{"photo_id":"1326907265","filename":"file0"},{"photo_id":"1326907430","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326907579":["hashtag1","hashtag2"]},{"1326907275":["hashtag1","hashtag2"]},{"1326907580":["hashtag1","hashtag2"]},{"1326907265":["hashtag1","hashtag2"]},{"1326907430":["hashtag1","hashtag2"]},{"1326907268":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326907579, 1326907275, 1326907580, 1326907265, 1326907430, 1326907268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.42238640785217 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 22:37:22.272406
SELECT 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/22/13/image_05012025_22_13_02_398908_0000.jpg', '/home/pi/Desktop/images/05012025/22/13/image_05012025_22_13_02_398908_0001.jpg', '/home/pi/Desktop/images/05012025/22/13/image_05012025_22_13_02_398908_0002.jpg', '/home/pi/Desktop/images/05012025/22/13/image_05012025_22_13_02_398908_0003.jpg', '/home/pi/Desktop/images/05012025/22/14/image_05012025_22_14_02_566692_0000.jpg', '/home/pi/Desktop/images/05012025/22/14/image_05012025_22_14_02_566692_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/13/image_05012025_22_13_02_398908_0000.jpg
/home/pi/Desktop/images/05012025/22/13/image_05012025_22_13_02_398908_0001.jpg
/home/pi/Desktop/images/05012025/22/13/image_05012025_22_13_02_398908_0002.jpg
/home/pi/Desktop/images/05012025/22/13/image_05012025_22_13_02_398908_0003.jpg
/home/pi/Desktop/images/05012025/22/14/image_05012025_22_14_02_566692_0000.jpg
/home/pi/Desktop/images/05012025/22/14/image_05012025_22_14_02_566692_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":["1326908104","1326908358","1326908400","1326908399","1326908357","1326908402"],"photo_ids_order":["1326908104","1326908357","1326908358","1326908399","1326908400","1326908402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0b42f0b0bbd5e01c988e58f9ec568be8.jpg","text":"TemporaryFile(/tmp/multipartBody6924268671829379600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113117516,"filename":"image_05012025_22_13_02_398908_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7bbb7aae32f1e8f9befaf62565a6b2a5.jpg","text":"TemporaryFile(/tmp/multipartBody6177759652201206858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113117516,"filename":"image_05012025_22_13_02_398908_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7d9066955f342b854930ec94c76d0123.jpg","text":"TemporaryFile(/tmp/multipartBody6402446685039516120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113117516,"filename":"image_05012025_22_14_02_566692_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/952f5a50465ee7bf46ab3348f2e8bdb3.jpg","text":"TemporaryFile(/tmp/multipartBody336060997790623048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113117516,"filename":"image_05012025_22_13_02_398908_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c530a1a280af06451855d118f921494e.jpg","text":"TemporaryFile(/tmp/multipartBody5216643625517745689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113117516,"filename":"image_05012025_22_13_02_398908_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4b5226e65ae145d363cfcf4b43ebe554.jpg","text":"TemporaryFile(/tmp/multipartBody167192207394326878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113117516,"filename":"image_05012025_22_14_02_566692_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908358","file1":"1326908357","file0":"1326908104","file4":"1326908400","file5":"1326908402","file3":"1326908399"},"map_files_photo_id_array":[{"photo_id":"1326908402","filename":"file5"},{"photo_id":"1326908358","filename":"file2"},{"photo_id":"1326908400","filename":"file4"},{"photo_id":"1326908357","filename":"file1"},{"photo_id":"1326908104","filename":"file0"},{"photo_id":"1326908399","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908104":["hashtag1","hashtag2"]},{"1326908358":["hashtag1","hashtag2"]},{"1326908400":["hashtag1","hashtag2"]},{"1326908399":["hashtag1","hashtag2"]},{"1326908357":["hashtag1","hashtag2"]},{"1326908402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908104, 1326908358, 1326908400, 1326908399, 1326908357, 1326908402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.15512299537659 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 22:38:22.471791
SELECT 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/22/14/image_05012025_22_14_02_566692_0002.jpg', '/home/pi/Desktop/images/05012025/22/14/image_05012025_22_14_02_566692_0003.jpg', '/home/pi/Desktop/images/05012025/22/15/image_05012025_22_15_02_686579_0000.jpg', '/home/pi/Desktop/images/05012025/22/15/image_05012025_22_15_02_686579_0001.jpg', '/home/pi/Desktop/images/05012025/22/15/image_05012025_22_15_02_686579_0002.jpg', '/home/pi/Desktop/images/05012025/22/15/image_05012025_22_15_02_686579_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/22/14/image_05012025_22_14_02_566692_0002.jpg
/home/pi/Desktop/images/05012025/22/14/image_05012025_22_14_02_566692_0003.jpg
/home/pi/Desktop/images/05012025/22/15/image_05012025_22_15_02_686579_0000.jpg
/home/pi/Desktop/images/05012025/22/15/image_05012025_22_15_02_686579_0001.jpg
/home/pi/Desktop/images/05012025/22/15/image_05012025_22_15_02_686579_0002.jpg
/home/pi/Desktop/images/05012025/22/15/image_05012025_22_15_02_686579_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":["1326908490","1326908484","1326908492","1326908486","1326908488","1326908482"],"photo_ids_order":["1326908482","1326908484","1326908486","1326908488","1326908490","1326908492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dfd3df7d6ba5557d0052de588aa8b5f7.jpg","text":"TemporaryFile(/tmp/multipartBody5470231382861814758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113178068,"filename":"image_05012025_22_15_02_686579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f6d2af49aa7bcd3e545b126bb0667bae.jpg","text":"TemporaryFile(/tmp/multipartBody7470154174868816863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113178068,"filename":"image_05012025_22_14_02_566692_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eaf7b6da0c78338dba0e1920911a05fb.jpg","text":"TemporaryFile(/tmp/multipartBody8085482500483980215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113178068,"filename":"image_05012025_22_15_02_686579_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c2105129a2e7a485ced707de2b39c4af.jpg","text":"TemporaryFile(/tmp/multipartBody4749901923242008560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113178068,"filename":"image_05012025_22_15_02_686579_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/246127241f49bea53807a8018b0d5ea8.jpg","text":"TemporaryFile(/tmp/multipartBody3085844395217160745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113178068,"filename":"image_05012025_22_15_02_686579_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7ca43e698841197d5b77fb3f50b44758.jpg","text":"TemporaryFile(/tmp/multipartBody6894609016947120905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113178068,"filename":"image_05012025_22_14_02_566692_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908486","file1":"1326908484","file0":"1326908482","file4":"1326908490","file5":"1326908492","file3":"1326908488"},"map_files_photo_id_array":[{"photo_id":"1326908492","filename":"file5"},{"photo_id":"1326908486","filename":"file2"},{"photo_id":"1326908490","filename":"file4"},{"photo_id":"1326908484","filename":"file1"},{"photo_id":"1326908482","filename":"file0"},{"photo_id":"1326908488","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908490":["hashtag1","hashtag2"]},{"1326908484":["hashtag1","hashtag2"]},{"1326908492":["hashtag1","hashtag2"]},{"1326908486":["hashtag1","hashtag2"]},{"1326908488":["hashtag1","hashtag2"]},{"1326908482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908490, 1326908484, 1326908492, 1326908486, 1326908488, 1326908482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.269089460372925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 22:39:22.715079
SELECT 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/22/16/image_05012025_22_16_02_878911_0000.jpg', '/home/pi/Desktop/images/05012025/22/16/image_05012025_22_16_02_878911_0001.jpg', '/home/pi/Desktop/images/05012025/22/16/image_05012025_22_16_02_878911_0002.jpg', '/home/pi/Desktop/images/05012025/22/16/image_05012025_22_16_02_878911_0003.jpg', '/home/pi/Desktop/images/05012025/22/17/image_05012025_22_17_03_059541_0000.jpg', '/home/pi/Desktop/images/05012025/22/17/image_05012025_22_17_03_059541_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/16/image_05012025_22_16_02_878911_0000.jpg
/home/pi/Desktop/images/05012025/22/16/image_05012025_22_16_02_878911_0001.jpg
/home/pi/Desktop/images/05012025/22/16/image_05012025_22_16_02_878911_0002.jpg
/home/pi/Desktop/images/05012025/22/16/image_05012025_22_16_02_878911_0003.jpg
/home/pi/Desktop/images/05012025/22/17/image_05012025_22_17_03_059541_0000.jpg
/home/pi/Desktop/images/05012025/22/17/image_05012025_22_17_03_059541_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":["1326908499","1326908503","1326908495","1326908501","1326908494","1326908497"],"photo_ids_order":["1326908494","1326908495","1326908497","1326908499","1326908501","1326908503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb53699157afb0f758acce63acac06d2.jpg","text":"TemporaryFile(/tmp/multipartBody4353955888862151130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113237912,"filename":"image_05012025_22_16_02_878911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3a0ef4ed6c535792ca05298f005953b7.jpg","text":"TemporaryFile(/tmp/multipartBody5811374261237446348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113237912,"filename":"image_05012025_22_17_03_059541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1aefdc7e1906a052ceeb77a315bc9677.jpg","text":"TemporaryFile(/tmp/multipartBody6340072310991571423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113237912,"filename":"image_05012025_22_16_02_878911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6ba68e1d501bf833564e6e95dc0f7bd4.jpg","text":"TemporaryFile(/tmp/multipartBody7457080066630337317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113237912,"filename":"image_05012025_22_17_03_059541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9728d026c06ff87723e6516129882203.jpg","text":"TemporaryFile(/tmp/multipartBody4684389476858010895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113237912,"filename":"image_05012025_22_16_02_878911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/220bd166b19a8d4a7cbbba71492c38af.jpg","text":"TemporaryFile(/tmp/multipartBody6195587301012201615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113237912,"filename":"image_05012025_22_16_02_878911_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908497","file1":"1326908495","file0":"1326908494","file4":"1326908501","file5":"1326908503","file3":"1326908499"},"map_files_photo_id_array":[{"photo_id":"1326908503","filename":"file5"},{"photo_id":"1326908497","filename":"file2"},{"photo_id":"1326908501","filename":"file4"},{"photo_id":"1326908495","filename":"file1"},{"photo_id":"1326908494","filename":"file0"},{"photo_id":"1326908499","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908499":["hashtag1","hashtag2"]},{"1326908503":["hashtag1","hashtag2"]},{"1326908495":["hashtag1","hashtag2"]},{"1326908501":["hashtag1","hashtag2"]},{"1326908494":["hashtag1","hashtag2"]},{"1326908497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908499, 1326908503, 1326908495, 1326908501, 1326908494, 1326908497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.908430337905884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 22:40:21.854377
SELECT 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/22/17/image_05012025_22_17_03_059541_0002.jpg', '/home/pi/Desktop/images/05012025/22/17/image_05012025_22_17_03_059541_0003.jpg', '/home/pi/Desktop/images/05012025/22/18/image_05012025_22_18_02_262849_0000.jpg', '/home/pi/Desktop/images/05012025/22/18/image_05012025_22_18_02_262849_0001.jpg', '/home/pi/Desktop/images/05012025/22/18/image_05012025_22_18_02_262849_0002.jpg', '/home/pi/Desktop/images/05012025/22/18/image_05012025_22_18_02_262849_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/22/17/image_05012025_22_17_03_059541_0002.jpg
/home/pi/Desktop/images/05012025/22/17/image_05012025_22_17_03_059541_0003.jpg
/home/pi/Desktop/images/05012025/22/18/image_05012025_22_18_02_262849_0000.jpg
/home/pi/Desktop/images/05012025/22/18/image_05012025_22_18_02_262849_0001.jpg
/home/pi/Desktop/images/05012025/22/18/image_05012025_22_18_02_262849_0002.jpg
/home/pi/Desktop/images/05012025/22/18/image_05012025_22_18_02_262849_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":["1326908512","1326908506","1326908509","1326908514","1326908516","1326908507"],"photo_ids_order":["1326908506","1326908507","1326908509","1326908512","1326908514","1326908516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b91167255e6b03bf3920bd2fd5416c8.jpg","text":"TemporaryFile(/tmp/multipartBody9184985237811388138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113297530,"filename":"image_05012025_22_18_02_262849_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/553b25caccda3a1f6dc10a3707bae164.jpg","text":"TemporaryFile(/tmp/multipartBody3634702407140756847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113297530,"filename":"image_05012025_22_17_03_059541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/06a42b75b58d5192ebc5dc4ea35389f0.jpg","text":"TemporaryFile(/tmp/multipartBody2293103201931799659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113297530,"filename":"image_05012025_22_18_02_262849_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb00bee76f0f830f0c550ed614f02cf2.jpg","text":"TemporaryFile(/tmp/multipartBody6995027539386463510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113297530,"filename":"image_05012025_22_18_02_262849_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c8e30819b6847841555d1ba4aba58fff.jpg","text":"TemporaryFile(/tmp/multipartBody4850646997241968658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113297530,"filename":"image_05012025_22_18_02_262849_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a767c6ee3eab55b16851f6a49a970c3c.jpg","text":"TemporaryFile(/tmp/multipartBody4118266265925936815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113297530,"filename":"image_05012025_22_17_03_059541_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908509","file1":"1326908507","file0":"1326908506","file4":"1326908514","file5":"1326908516","file3":"1326908512"},"map_files_photo_id_array":[{"photo_id":"1326908516","filename":"file5"},{"photo_id":"1326908509","filename":"file2"},{"photo_id":"1326908514","filename":"file4"},{"photo_id":"1326908507","filename":"file1"},{"photo_id":"1326908506","filename":"file0"},{"photo_id":"1326908512","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908512":["hashtag1","hashtag2"]},{"1326908506":["hashtag1","hashtag2"]},{"1326908509":["hashtag1","hashtag2"]},{"1326908514":["hashtag1","hashtag2"]},{"1326908516":["hashtag1","hashtag2"]},{"1326908507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908512, 1326908506, 1326908509, 1326908514, 1326908516, 1326908507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.41113018989563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:41:31.977565
SELECT 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/22/19/image_05012025_22_19_02_442200_0000.jpg', '/home/pi/Desktop/images/05012025/22/19/image_05012025_22_19_02_442200_0001.jpg', '/home/pi/Desktop/images/05012025/22/19/image_05012025_22_19_02_442200_0002.jpg', '/home/pi/Desktop/images/05012025/22/19/image_05012025_22_19_02_442200_0003.jpg', '/home/pi/Desktop/images/05012025/22/20/image_05012025_22_20_02_714678_0000.jpg', '/home/pi/Desktop/images/05012025/22/20/image_05012025_22_20_02_714678_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/19/image_05012025_22_19_02_442200_0000.jpg
/home/pi/Desktop/images/05012025/22/19/image_05012025_22_19_02_442200_0001.jpg
/home/pi/Desktop/images/05012025/22/19/image_05012025_22_19_02_442200_0002.jpg
/home/pi/Desktop/images/05012025/22/19/image_05012025_22_19_02_442200_0003.jpg
/home/pi/Desktop/images/05012025/22/20/image_05012025_22_20_02_714678_0000.jpg
/home/pi/Desktop/images/05012025/22/20/image_05012025_22_20_02_714678_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":["1326908521","1326908529","1326908523","1326908528","1326908525","1326908519"],"photo_ids_order":["1326908519","1326908521","1326908523","1326908525","1326908528","1326908529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dddcfde31b6d7dbe4914e18f2adc78a5.jpg","text":"TemporaryFile(/tmp/multipartBody4982857014055966032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113367089,"filename":"image_05012025_22_19_02_442200_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/356742443245976f0a21d5a2a2b74857.jpg","text":"TemporaryFile(/tmp/multipartBody6669128026171914114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113367089,"filename":"image_05012025_22_20_02_714678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6f9c8502d3e4bbc0edc7764c6f59a517.jpg","text":"TemporaryFile(/tmp/multipartBody6458373542537753853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113367089,"filename":"image_05012025_22_19_02_442200_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f8d227439fb6d5fd1a49cc4d32f4a659.jpg","text":"TemporaryFile(/tmp/multipartBody6069832371899436349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113367089,"filename":"image_05012025_22_20_02_714678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/458f80370f5e0b91925aeb55fb019137.jpg","text":"TemporaryFile(/tmp/multipartBody2959338250916982930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113367089,"filename":"image_05012025_22_19_02_442200_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2b2ff6c590097cbc3f9e85f3cb53aeb6.jpg","text":"TemporaryFile(/tmp/multipartBody3530985998812866870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113367089,"filename":"image_05012025_22_19_02_442200_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908523","file1":"1326908521","file0":"1326908519","file4":"1326908528","file5":"1326908529","file3":"1326908525"},"map_files_photo_id_array":[{"photo_id":"1326908529","filename":"file5"},{"photo_id":"1326908523","filename":"file2"},{"photo_id":"1326908528","filename":"file4"},{"photo_id":"1326908521","filename":"file1"},{"photo_id":"1326908519","filename":"file0"},{"photo_id":"1326908525","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908521":["hashtag1","hashtag2"]},{"1326908529":["hashtag1","hashtag2"]},{"1326908523":["hashtag1","hashtag2"]},{"1326908528":["hashtag1","hashtag2"]},{"1326908525":["hashtag1","hashtag2"]},{"1326908519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908521, 1326908529, 1326908523, 1326908528, 1326908525, 1326908519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.19926071166992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 22:42:42.198892
SELECT 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/22/20/image_05012025_22_20_02_714678_0002.jpg', '/home/pi/Desktop/images/05012025/22/20/image_05012025_22_20_02_714678_0003.jpg', '/home/pi/Desktop/images/05012025/22/21/image_05012025_22_21_02_800394_0000.jpg', '/home/pi/Desktop/images/05012025/22/21/image_05012025_22_21_02_800394_0001.jpg', '/home/pi/Desktop/images/05012025/22/21/image_05012025_22_21_02_800394_0002.jpg', '/home/pi/Desktop/images/05012025/22/21/image_05012025_22_21_02_800394_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/22/20/image_05012025_22_20_02_714678_0002.jpg
/home/pi/Desktop/images/05012025/22/20/image_05012025_22_20_02_714678_0003.jpg
/home/pi/Desktop/images/05012025/22/21/image_05012025_22_21_02_800394_0000.jpg
/home/pi/Desktop/images/05012025/22/21/image_05012025_22_21_02_800394_0001.jpg
/home/pi/Desktop/images/05012025/22/21/image_05012025_22_21_02_800394_0002.jpg
/home/pi/Desktop/images/05012025/22/21/image_05012025_22_21_02_800394_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":["1326908541","1326908538","1326908532","1326908540","1326908534","1326908536"],"photo_ids_order":["1326908532","1326908534","1326908536","1326908538","1326908540","1326908541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f63d9532c51224b646729f287222fe08.jpg","text":"TemporaryFile(/tmp/multipartBody964929086092665882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113437480,"filename":"image_05012025_22_21_02_800394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d42145782da2e4eac280151a4e8ec8f9.jpg","text":"TemporaryFile(/tmp/multipartBody5826797124670125042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113437480,"filename":"image_05012025_22_21_02_800394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8e3ec8ebde38a53268efe7bb6cebf061.jpg","text":"TemporaryFile(/tmp/multipartBody5892377313650093054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113437480,"filename":"image_05012025_22_20_02_714678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/39b928a287772c147b8cfbab15a85cf0.jpg","text":"TemporaryFile(/tmp/multipartBody7528308800225869747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113437480,"filename":"image_05012025_22_21_02_800394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/504f57a5532cc4da9c5e17c8a91338f7.jpg","text":"TemporaryFile(/tmp/multipartBody2005948591299633545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113437480,"filename":"image_05012025_22_20_02_714678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/af773f2d241d6cddf4614432a8f09d32.jpg","text":"TemporaryFile(/tmp/multipartBody8228818327482089131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113437480,"filename":"image_05012025_22_21_02_800394_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908536","file1":"1326908534","file0":"1326908532","file4":"1326908540","file5":"1326908541","file3":"1326908538"},"map_files_photo_id_array":[{"photo_id":"1326908541","filename":"file5"},{"photo_id":"1326908536","filename":"file2"},{"photo_id":"1326908540","filename":"file4"},{"photo_id":"1326908534","filename":"file1"},{"photo_id":"1326908532","filename":"file0"},{"photo_id":"1326908538","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908541":["hashtag1","hashtag2"]},{"1326908538":["hashtag1","hashtag2"]},{"1326908532":["hashtag1","hashtag2"]},{"1326908540":["hashtag1","hashtag2"]},{"1326908534":["hashtag1","hashtag2"]},{"1326908536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908541, 1326908538, 1326908532, 1326908540, 1326908534, 1326908536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.392430782318115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 22:43:42.374032
SELECT 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/22/22/image_05012025_22_22_02_955615_0000.jpg', '/home/pi/Desktop/images/05012025/22/22/image_05012025_22_22_02_955615_0001.jpg', '/home/pi/Desktop/images/05012025/22/22/image_05012025_22_22_02_955615_0002.jpg', '/home/pi/Desktop/images/05012025/22/22/image_05012025_22_22_02_955615_0003.jpg', '/home/pi/Desktop/images/05012025/22/23/image_05012025_22_23_02_201928_0000.jpg', '/home/pi/Desktop/images/05012025/22/23/image_05012025_22_23_02_201928_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/22/image_05012025_22_22_02_955615_0000.jpg
/home/pi/Desktop/images/05012025/22/22/image_05012025_22_22_02_955615_0001.jpg
/home/pi/Desktop/images/05012025/22/22/image_05012025_22_22_02_955615_0002.jpg
/home/pi/Desktop/images/05012025/22/22/image_05012025_22_22_02_955615_0003.jpg
/home/pi/Desktop/images/05012025/22/23/image_05012025_22_23_02_201928_0000.jpg
/home/pi/Desktop/images/05012025/22/23/image_05012025_22_23_02_201928_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":["1326908552","1326908546","1326908561","1326908555","1326908557","1326908545"],"photo_ids_order":["1326908545","1326908546","1326908552","1326908555","1326908557","1326908561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/de5c22f8347a00e369a6eff83ea725f3.jpg","text":"TemporaryFile(/tmp/multipartBody8029828540490933864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113497567,"filename":"image_05012025_22_22_02_955615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b7c1c3347632109191288428df2688ac.jpg","text":"TemporaryFile(/tmp/multipartBody2142264766355057189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113497567,"filename":"image_05012025_22_22_02_955615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/47a988b759b873f8749e88d6b08c7018.jpg","text":"TemporaryFile(/tmp/multipartBody1743691742027316078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113497567,"filename":"image_05012025_22_23_02_201928_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a30b9316aa4ebbe90be370777b309494.jpg","text":"TemporaryFile(/tmp/multipartBody6648192137943097903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113497567,"filename":"image_05012025_22_22_02_955615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/07cc02d0d435cae59a9a28078d38e273.jpg","text":"TemporaryFile(/tmp/multipartBody5420034086596918892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113497567,"filename":"image_05012025_22_23_02_201928_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cf34de35e2317a9639c2b1a9e6d76e46.jpg","text":"TemporaryFile(/tmp/multipartBody8032048085109480939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113497567,"filename":"image_05012025_22_22_02_955615_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908552","file1":"1326908546","file0":"1326908545","file4":"1326908557","file5":"1326908561","file3":"1326908555"},"map_files_photo_id_array":[{"photo_id":"1326908561","filename":"file5"},{"photo_id":"1326908552","filename":"file2"},{"photo_id":"1326908557","filename":"file4"},{"photo_id":"1326908546","filename":"file1"},{"photo_id":"1326908545","filename":"file0"},{"photo_id":"1326908555","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908552":["hashtag1","hashtag2"]},{"1326908546":["hashtag1","hashtag2"]},{"1326908561":["hashtag1","hashtag2"]},{"1326908555":["hashtag1","hashtag2"]},{"1326908557":["hashtag1","hashtag2"]},{"1326908545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908552, 1326908546, 1326908561, 1326908555, 1326908557, 1326908545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.63520359992981 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 22:44:42.518234
SELECT 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/22/23/image_05012025_22_23_02_201928_0002.jpg', '/home/pi/Desktop/images/05012025/22/23/image_05012025_22_23_02_201928_0003.jpg', '/home/pi/Desktop/images/05012025/22/24/image_05012025_22_24_02_364603_0000.jpg', '/home/pi/Desktop/images/05012025/22/24/image_05012025_22_24_02_364603_0001.jpg', '/home/pi/Desktop/images/05012025/22/24/image_05012025_22_24_02_364603_0002.jpg', '/home/pi/Desktop/images/05012025/22/24/image_05012025_22_24_02_364603_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/22/23/image_05012025_22_23_02_201928_0002.jpg
/home/pi/Desktop/images/05012025/22/23/image_05012025_22_23_02_201928_0003.jpg
/home/pi/Desktop/images/05012025/22/24/image_05012025_22_24_02_364603_0000.jpg
/home/pi/Desktop/images/05012025/22/24/image_05012025_22_24_02_364603_0001.jpg
/home/pi/Desktop/images/05012025/22/24/image_05012025_22_24_02_364603_0002.jpg
/home/pi/Desktop/images/05012025/22/24/image_05012025_22_24_02_364603_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":["1326908571","1326908580","1326908574","1326908568","1326908577","1326908581"],"photo_ids_order":["1326908568","1326908571","1326908574","1326908577","1326908580","1326908581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/13480e0b8aa9d4a495c5d10fd718c5ba.jpg","text":"TemporaryFile(/tmp/multipartBody5511589629749736223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113557328,"filename":"image_05012025_22_23_02_201928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9442bbf21be16c2938f593e0b1f40279.jpg","text":"TemporaryFile(/tmp/multipartBody1056340560015926310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113557328,"filename":"image_05012025_22_24_02_364603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3ea54b446b56f3a4e5fac66d2da74132.jpg","text":"TemporaryFile(/tmp/multipartBody5477108358491324250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113557328,"filename":"image_05012025_22_24_02_364603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e952a364e3e4a0e55bcb4221a07f8906.jpg","text":"TemporaryFile(/tmp/multipartBody1814920715035591535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113557328,"filename":"image_05012025_22_23_02_201928_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b0840b776904f8f2abf8cc41d258b725.jpg","text":"TemporaryFile(/tmp/multipartBody6847783753540385108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113557328,"filename":"image_05012025_22_24_02_364603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/80ae1e12825150fad28c855981d0e37e.jpg","text":"TemporaryFile(/tmp/multipartBody7966767710835443021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113557328,"filename":"image_05012025_22_24_02_364603_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908574","file1":"1326908571","file0":"1326908568","file4":"1326908580","file5":"1326908581","file3":"1326908577"},"map_files_photo_id_array":[{"photo_id":"1326908581","filename":"file5"},{"photo_id":"1326908574","filename":"file2"},{"photo_id":"1326908580","filename":"file4"},{"photo_id":"1326908571","filename":"file1"},{"photo_id":"1326908568","filename":"file0"},{"photo_id":"1326908577","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908571":["hashtag1","hashtag2"]},{"1326908580":["hashtag1","hashtag2"]},{"1326908574":["hashtag1","hashtag2"]},{"1326908568":["hashtag1","hashtag2"]},{"1326908577":["hashtag1","hashtag2"]},{"1326908581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908571, 1326908580, 1326908574, 1326908568, 1326908577, 1326908581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.2589385509491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 22:45:42.742826
SELECT 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/22/25/image_05012025_22_25_02_455923_0000.jpg', '/home/pi/Desktop/images/05012025/22/25/image_05012025_22_25_02_455923_0001.jpg', '/home/pi/Desktop/images/05012025/22/25/image_05012025_22_25_02_455923_0002.jpg', '/home/pi/Desktop/images/05012025/22/25/image_05012025_22_25_02_455923_0003.jpg', '/home/pi/Desktop/images/05012025/22/26/image_05012025_22_26_02_653908_0000.jpg', '/home/pi/Desktop/images/05012025/22/26/image_05012025_22_26_02_653908_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/25/image_05012025_22_25_02_455923_0000.jpg
/home/pi/Desktop/images/05012025/22/25/image_05012025_22_25_02_455923_0001.jpg
/home/pi/Desktop/images/05012025/22/25/image_05012025_22_25_02_455923_0002.jpg
/home/pi/Desktop/images/05012025/22/25/image_05012025_22_25_02_455923_0003.jpg
/home/pi/Desktop/images/05012025/22/26/image_05012025_22_26_02_653908_0000.jpg
/home/pi/Desktop/images/05012025/22/26/image_05012025_22_26_02_653908_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":["1326908598","1326908595","1326908597","1326908591","1326908599","1326908593"],"photo_ids_order":["1326908591","1326908593","1326908595","1326908597","1326908598","1326908599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f99b96605dc40a1df66757a422e75f0d.jpg","text":"TemporaryFile(/tmp/multipartBody1335685859173607545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113617681,"filename":"image_05012025_22_26_02_653908_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/86ee669fd8c9e5bc2c5844f0eda87231.jpg","text":"TemporaryFile(/tmp/multipartBody7086226425836421574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113617681,"filename":"image_05012025_22_25_02_455923_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/92b096384e6f6f8e7bc92407ecc2f6ff.jpg","text":"TemporaryFile(/tmp/multipartBody8746995792054655321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113617681,"filename":"image_05012025_22_25_02_455923_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2126d6f65b5b2713d8b0fe8d8c5674ca.jpg","text":"TemporaryFile(/tmp/multipartBody2522396480646397559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113617681,"filename":"image_05012025_22_25_02_455923_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/18bc96cacdea81e32ed302180c7112b8.jpg","text":"TemporaryFile(/tmp/multipartBody2002489445087260925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113617681,"filename":"image_05012025_22_26_02_653908_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5272ec5a4856db973760a078db472650.jpg","text":"TemporaryFile(/tmp/multipartBody3856896733733640553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113617681,"filename":"image_05012025_22_25_02_455923_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908595","file1":"1326908593","file0":"1326908591","file4":"1326908598","file5":"1326908599","file3":"1326908597"},"map_files_photo_id_array":[{"photo_id":"1326908599","filename":"file5"},{"photo_id":"1326908595","filename":"file2"},{"photo_id":"1326908598","filename":"file4"},{"photo_id":"1326908593","filename":"file1"},{"photo_id":"1326908591","filename":"file0"},{"photo_id":"1326908597","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908598":["hashtag1","hashtag2"]},{"1326908595":["hashtag1","hashtag2"]},{"1326908597":["hashtag1","hashtag2"]},{"1326908591":["hashtag1","hashtag2"]},{"1326908599":["hashtag1","hashtag2"]},{"1326908593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908598, 1326908595, 1326908597, 1326908591, 1326908599, 1326908593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.85430860519409 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 22:46:41.902461
SELECT 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/22/26/image_05012025_22_26_02_653908_0002.jpg', '/home/pi/Desktop/images/05012025/22/26/image_05012025_22_26_02_653908_0003.jpg', '/home/pi/Desktop/images/05012025/22/27/image_05012025_22_27_02_774878_0000.jpg', '/home/pi/Desktop/images/05012025/22/27/image_05012025_22_27_02_774878_0001.jpg', '/home/pi/Desktop/images/05012025/22/27/image_05012025_22_27_02_774878_0002.jpg', '/home/pi/Desktop/images/05012025/22/27/image_05012025_22_27_02_774878_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/22/26/image_05012025_22_26_02_653908_0002.jpg
/home/pi/Desktop/images/05012025/22/26/image_05012025_22_26_02_653908_0003.jpg
/home/pi/Desktop/images/05012025/22/27/image_05012025_22_27_02_774878_0000.jpg
/home/pi/Desktop/images/05012025/22/27/image_05012025_22_27_02_774878_0001.jpg
/home/pi/Desktop/images/05012025/22/27/image_05012025_22_27_02_774878_0002.jpg
/home/pi/Desktop/images/05012025/22/27/image_05012025_22_27_02_774878_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":["1326908611","1326908605","1326908602","1326908613","1326908615","1326908609"],"photo_ids_order":["1326908602","1326908605","1326908609","1326908611","1326908613","1326908615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/791364e0d4dd7f707b93fb2df136540b.jpg","text":"TemporaryFile(/tmp/multipartBody1866685215274240091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113676781,"filename":"image_05012025_22_27_02_774878_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8746a0710ef77594e316e90543e7cae9.jpg","text":"TemporaryFile(/tmp/multipartBody5082428210044159802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113676781,"filename":"image_05012025_22_26_02_653908_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f422dbafe5b17dfb7d69bdea8ded1e0b.jpg","text":"TemporaryFile(/tmp/multipartBody4965526175609619532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113676781,"filename":"image_05012025_22_26_02_653908_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/380dd5a64517a9a8039e827829f8564b.jpg","text":"TemporaryFile(/tmp/multipartBody6528226456918080806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113676781,"filename":"image_05012025_22_27_02_774878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/80c77e0a4db5d247e7617a7c94e49f06.jpg","text":"TemporaryFile(/tmp/multipartBody7532725889472132154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113676781,"filename":"image_05012025_22_27_02_774878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ccd6a10e2881319c5b2aaf9b1eb4837b.jpg","text":"TemporaryFile(/tmp/multipartBody5177020709641212819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113676781,"filename":"image_05012025_22_27_02_774878_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908609","file1":"1326908605","file0":"1326908602","file4":"1326908613","file5":"1326908615","file3":"1326908611"},"map_files_photo_id_array":[{"photo_id":"1326908615","filename":"file5"},{"photo_id":"1326908609","filename":"file2"},{"photo_id":"1326908613","filename":"file4"},{"photo_id":"1326908605","filename":"file1"},{"photo_id":"1326908602","filename":"file0"},{"photo_id":"1326908611","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908611":["hashtag1","hashtag2"]},{"1326908605":["hashtag1","hashtag2"]},{"1326908602":["hashtag1","hashtag2"]},{"1326908613":["hashtag1","hashtag2"]},{"1326908615":["hashtag1","hashtag2"]},{"1326908609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908611, 1326908605, 1326908602, 1326908613, 1326908615, 1326908609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.626439332962036 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:47:52.098703
SELECT 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/22/28/image_05012025_22_28_02_867554_0000.jpg', '/home/pi/Desktop/images/05012025/22/28/image_05012025_22_28_02_867554_0001.jpg', '/home/pi/Desktop/images/05012025/22/28/image_05012025_22_28_02_867554_0002.jpg', '/home/pi/Desktop/images/05012025/22/28/image_05012025_22_28_02_867554_0003.jpg', '/home/pi/Desktop/images/05012025/22/29/image_05012025_22_29_03_080706_0000.jpg', '/home/pi/Desktop/images/05012025/22/29/image_05012025_22_29_03_080706_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/28/image_05012025_22_28_02_867554_0000.jpg
/home/pi/Desktop/images/05012025/22/28/image_05012025_22_28_02_867554_0001.jpg
/home/pi/Desktop/images/05012025/22/28/image_05012025_22_28_02_867554_0002.jpg
/home/pi/Desktop/images/05012025/22/28/image_05012025_22_28_02_867554_0003.jpg
/home/pi/Desktop/images/05012025/22/29/image_05012025_22_29_03_080706_0000.jpg
/home/pi/Desktop/images/05012025/22/29/image_05012025_22_29_03_080706_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":["1326908626","1326908620","1326908622","1326908627","1326908624","1326908618"],"photo_ids_order":["1326908618","1326908620","1326908622","1326908624","1326908626","1326908627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5b06e187f3cf4ded9e4a7c6cb4eaeff6.jpg","text":"TemporaryFile(/tmp/multipartBody9221071030384064942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113747162,"filename":"image_05012025_22_29_03_080706_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/60da7d2829c488926e5e70cb2d234a31.jpg","text":"TemporaryFile(/tmp/multipartBody7264280765289052700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113747162,"filename":"image_05012025_22_28_02_867554_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c8c069f99492bcb2bf17c3c5221ab426.jpg","text":"TemporaryFile(/tmp/multipartBody7958117312991016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113747162,"filename":"image_05012025_22_28_02_867554_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd67440299cfddbb93f04a3670673951.jpg","text":"TemporaryFile(/tmp/multipartBody5226655587156910005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113747162,"filename":"image_05012025_22_29_03_080706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8bac15c0982cb66560bc127754e3f6f2.jpg","text":"TemporaryFile(/tmp/multipartBody3829467560671403024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113747162,"filename":"image_05012025_22_28_02_867554_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d35f7f416198a022d787c6c1edb4f67f.jpg","text":"TemporaryFile(/tmp/multipartBody6538521903387030299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113747162,"filename":"image_05012025_22_28_02_867554_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908622","file1":"1326908620","file0":"1326908618","file4":"1326908626","file5":"1326908627","file3":"1326908624"},"map_files_photo_id_array":[{"photo_id":"1326908627","filename":"file5"},{"photo_id":"1326908622","filename":"file2"},{"photo_id":"1326908626","filename":"file4"},{"photo_id":"1326908620","filename":"file1"},{"photo_id":"1326908618","filename":"file0"},{"photo_id":"1326908624","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908626":["hashtag1","hashtag2"]},{"1326908620":["hashtag1","hashtag2"]},{"1326908622":["hashtag1","hashtag2"]},{"1326908627":["hashtag1","hashtag2"]},{"1326908624":["hashtag1","hashtag2"]},{"1326908618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908626, 1326908620, 1326908622, 1326908627, 1326908624, 1326908618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.53909993171692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:48:52.270962
SELECT 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/22/29/image_05012025_22_29_03_080706_0002.jpg', '/home/pi/Desktop/images/05012025/22/29/image_05012025_22_29_03_080706_0003.jpg', '/home/pi/Desktop/images/05012025/22/30/image_05012025_22_30_02_288138_0000.jpg', '/home/pi/Desktop/images/05012025/22/30/image_05012025_22_30_02_288138_0001.jpg', '/home/pi/Desktop/images/05012025/22/30/image_05012025_22_30_02_288138_0002.jpg', '/home/pi/Desktop/images/05012025/22/30/image_05012025_22_30_02_288138_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/22/29/image_05012025_22_29_03_080706_0002.jpg
/home/pi/Desktop/images/05012025/22/29/image_05012025_22_29_03_080706_0003.jpg
/home/pi/Desktop/images/05012025/22/30/image_05012025_22_30_02_288138_0000.jpg
/home/pi/Desktop/images/05012025/22/30/image_05012025_22_30_02_288138_0001.jpg
/home/pi/Desktop/images/05012025/22/30/image_05012025_22_30_02_288138_0002.jpg
/home/pi/Desktop/images/05012025/22/30/image_05012025_22_30_02_288138_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":["1326908632","1326908634","1326908637","1326908639","1326908636","1326908638"],"photo_ids_order":["1326908632","1326908634","1326908636","1326908637","1326908638","1326908639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/93aeaa5221530e39f2517407e7f0292d.jpg","text":"TemporaryFile(/tmp/multipartBody3097489673904777590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113807441,"filename":"image_05012025_22_29_03_080706_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d0bd3a0b8453593e377e8404d0fc6b99.jpg","text":"TemporaryFile(/tmp/multipartBody3521807418546836591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113807441,"filename":"image_05012025_22_29_03_080706_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/99095b972edc24bb6516ddbeb4a1b5d3.jpg","text":"TemporaryFile(/tmp/multipartBody4023939018719452899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113807441,"filename":"image_05012025_22_30_02_288138_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d4988f73b2099dcf37204791df02c6ab.jpg","text":"TemporaryFile(/tmp/multipartBody2358203367395626995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113807441,"filename":"image_05012025_22_30_02_288138_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5df9b0601c5b7563d1dd66bb122a35bd.jpg","text":"TemporaryFile(/tmp/multipartBody384653324462732837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113807441,"filename":"image_05012025_22_30_02_288138_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ff6e9fc0ee01cf8c42bbf1a7f9c60ddf.jpg","text":"TemporaryFile(/tmp/multipartBody716649049981603034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113807441,"filename":"image_05012025_22_30_02_288138_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908636","file1":"1326908634","file0":"1326908632","file4":"1326908638","file5":"1326908639","file3":"1326908637"},"map_files_photo_id_array":[{"photo_id":"1326908639","filename":"file5"},{"photo_id":"1326908636","filename":"file2"},{"photo_id":"1326908638","filename":"file4"},{"photo_id":"1326908634","filename":"file1"},{"photo_id":"1326908632","filename":"file0"},{"photo_id":"1326908637","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908632":["hashtag1","hashtag2"]},{"1326908634":["hashtag1","hashtag2"]},{"1326908637":["hashtag1","hashtag2"]},{"1326908639":["hashtag1","hashtag2"]},{"1326908636":["hashtag1","hashtag2"]},{"1326908638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908632, 1326908634, 1326908637, 1326908639, 1326908636, 1326908638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.01437830924988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:49:52.411918
SELECT 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/22/31/image_05012025_22_31_02_434842_0000.jpg', '/home/pi/Desktop/images/05012025/22/31/image_05012025_22_31_02_434842_0001.jpg', '/home/pi/Desktop/images/05012025/22/31/image_05012025_22_31_02_434842_0002.jpg', '/home/pi/Desktop/images/05012025/22/31/image_05012025_22_31_02_434842_0003.jpg', '/home/pi/Desktop/images/05012025/22/32/image_05012025_22_32_02_643837_0000.jpg', '/home/pi/Desktop/images/05012025/22/32/image_05012025_22_32_02_643837_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/31/image_05012025_22_31_02_434842_0000.jpg
/home/pi/Desktop/images/05012025/22/31/image_05012025_22_31_02_434842_0001.jpg
/home/pi/Desktop/images/05012025/22/31/image_05012025_22_31_02_434842_0002.jpg
/home/pi/Desktop/images/05012025/22/31/image_05012025_22_31_02_434842_0003.jpg
/home/pi/Desktop/images/05012025/22/32/image_05012025_22_32_02_643837_0000.jpg
/home/pi/Desktop/images/05012025/22/32/image_05012025_22_32_02_643837_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":["1326908647","1326908652","1326908654","1326908656","1326908650","1326908644"],"photo_ids_order":["1326908644","1326908647","1326908650","1326908652","1326908654","1326908656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8c5e07931bef691a82b513fca3cdea48.jpg","text":"TemporaryFile(/tmp/multipartBody2530145100704924452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113867348,"filename":"image_05012025_22_31_02_434842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2355a3ab8f393e7e1ac9e2cfe39cda9b.jpg","text":"TemporaryFile(/tmp/multipartBody696380295561852730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113867348,"filename":"image_05012025_22_31_02_434842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dba46e39162f04cc114fb167c78de41e.jpg","text":"TemporaryFile(/tmp/multipartBody3995112655905029562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113867348,"filename":"image_05012025_22_32_02_643837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad10f6305efcd625ca191bcaee1dc2b4.jpg","text":"TemporaryFile(/tmp/multipartBody9166173431375787525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113867348,"filename":"image_05012025_22_32_02_643837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/08f6f564123eba215e01598d426da16c.jpg","text":"TemporaryFile(/tmp/multipartBody8938580458495906889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113867348,"filename":"image_05012025_22_31_02_434842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/62d67e12dc82ddf39a8552b1e387b39c.jpg","text":"TemporaryFile(/tmp/multipartBody8431966973416420210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113867348,"filename":"image_05012025_22_31_02_434842_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908650","file1":"1326908647","file0":"1326908644","file4":"1326908654","file5":"1326908656","file3":"1326908652"},"map_files_photo_id_array":[{"photo_id":"1326908656","filename":"file5"},{"photo_id":"1326908650","filename":"file2"},{"photo_id":"1326908654","filename":"file4"},{"photo_id":"1326908647","filename":"file1"},{"photo_id":"1326908644","filename":"file0"},{"photo_id":"1326908652","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908647":["hashtag1","hashtag2"]},{"1326908652":["hashtag1","hashtag2"]},{"1326908654":["hashtag1","hashtag2"]},{"1326908656":["hashtag1","hashtag2"]},{"1326908650":["hashtag1","hashtag2"]},{"1326908644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908647, 1326908652, 1326908654, 1326908656, 1326908650, 1326908644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.57850193977356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:50:52.572023
SELECT 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/22/32/image_05012025_22_32_02_643837_0002.jpg', '/home/pi/Desktop/images/05012025/22/32/image_05012025_22_32_02_643837_0003.jpg', '/home/pi/Desktop/images/05012025/22/33/image_05012025_22_33_02_881220_0000.jpg', '/home/pi/Desktop/images/05012025/22/33/image_05012025_22_33_02_881220_0001.jpg', '/home/pi/Desktop/images/05012025/22/33/image_05012025_22_33_02_881220_0002.jpg', '/home/pi/Desktop/images/05012025/22/33/image_05012025_22_33_02_881220_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/22/32/image_05012025_22_32_02_643837_0002.jpg
/home/pi/Desktop/images/05012025/22/32/image_05012025_22_32_02_643837_0003.jpg
/home/pi/Desktop/images/05012025/22/33/image_05012025_22_33_02_881220_0000.jpg
/home/pi/Desktop/images/05012025/22/33/image_05012025_22_33_02_881220_0001.jpg
/home/pi/Desktop/images/05012025/22/33/image_05012025_22_33_02_881220_0002.jpg
/home/pi/Desktop/images/05012025/22/33/image_05012025_22_33_02_881220_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":["1326908664","1326908667","1326908658","1326908666","1326908660","1326908662"],"photo_ids_order":["1326908658","1326908660","1326908662","1326908664","1326908666","1326908667"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4204ccad045df0217807477072078e13.jpg","text":"TemporaryFile(/tmp/multipartBody3686852406218321691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113927622,"filename":"image_05012025_22_33_02_881220_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e3dafcf79e28b65da31dd1902920d100.jpg","text":"TemporaryFile(/tmp/multipartBody5587777235253484706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113927622,"filename":"image_05012025_22_33_02_881220_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b866c70c4bdc46078842b9ddb00633b.jpg","text":"TemporaryFile(/tmp/multipartBody2173932870002884651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113927622,"filename":"image_05012025_22_32_02_643837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b1291fd4fc46461837495a2d1f6b3562.jpg","text":"TemporaryFile(/tmp/multipartBody4183179740512502711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113927622,"filename":"image_05012025_22_33_02_881220_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e670f37f905e4797939b782cfc6870b5.jpg","text":"TemporaryFile(/tmp/multipartBody3499573030399409233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113927622,"filename":"image_05012025_22_32_02_643837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/17164f07489ca1099a3a4fb6525ee52b.jpg","text":"TemporaryFile(/tmp/multipartBody5783067665320709928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113927622,"filename":"image_05012025_22_33_02_881220_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908662","file1":"1326908660","file0":"1326908658","file4":"1326908666","file5":"1326908667","file3":"1326908664"},"map_files_photo_id_array":[{"photo_id":"1326908667","filename":"file5"},{"photo_id":"1326908662","filename":"file2"},{"photo_id":"1326908666","filename":"file4"},{"photo_id":"1326908660","filename":"file1"},{"photo_id":"1326908658","filename":"file0"},{"photo_id":"1326908664","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908664":["hashtag1","hashtag2"]},{"1326908667":["hashtag1","hashtag2"]},{"1326908658":["hashtag1","hashtag2"]},{"1326908666":["hashtag1","hashtag2"]},{"1326908660":["hashtag1","hashtag2"]},{"1326908662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908664, 1326908667, 1326908658, 1326908666, 1326908660, 1326908662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.08802008628845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:51:52.741731
SELECT 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/22/34/image_05012025_22_34_03_007113_0000.jpg', '/home/pi/Desktop/images/05012025/22/34/image_05012025_22_34_03_007113_0001.jpg', '/home/pi/Desktop/images/05012025/22/34/image_05012025_22_34_03_007113_0002.jpg', '/home/pi/Desktop/images/05012025/22/34/image_05012025_22_34_03_007113_0003.jpg', '/home/pi/Desktop/images/05012025/22/35/image_05012025_22_35_02_162625_0000.jpg', '/home/pi/Desktop/images/05012025/22/35/image_05012025_22_35_02_162625_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/34/image_05012025_22_34_03_007113_0000.jpg
/home/pi/Desktop/images/05012025/22/34/image_05012025_22_34_03_007113_0001.jpg
/home/pi/Desktop/images/05012025/22/34/image_05012025_22_34_03_007113_0002.jpg
/home/pi/Desktop/images/05012025/22/34/image_05012025_22_34_03_007113_0003.jpg
/home/pi/Desktop/images/05012025/22/35/image_05012025_22_35_02_162625_0000.jpg
/home/pi/Desktop/images/05012025/22/35/image_05012025_22_35_02_162625_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":["1326908673","1326908676","1326908675","1326908678","1326908680","1326908677"],"photo_ids_order":["1326908673","1326908675","1326908676","1326908677","1326908678","1326908680"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b9d361d35a3cd291b1351f94b99bd9b.jpg","text":"TemporaryFile(/tmp/multipartBody8773346905759451824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113987849,"filename":"image_05012025_22_34_03_007113_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/73d8d88cccb38587cc1cb76240f5cacb.jpg","text":"TemporaryFile(/tmp/multipartBody3934050607455824450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113987849,"filename":"image_05012025_22_34_03_007113_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aeeff4f4065956828ebc89e70866514c.jpg","text":"TemporaryFile(/tmp/multipartBody4968002811558817663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113987849,"filename":"image_05012025_22_34_03_007113_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/25588d65dbd9ce980ea66b3f25274e02.jpg","text":"TemporaryFile(/tmp/multipartBody4086202130371108322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113987849,"filename":"image_05012025_22_35_02_162625_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4d844c90f21f46216132bf4cd1f3f2ad.jpg","text":"TemporaryFile(/tmp/multipartBody3249607233393478957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113987849,"filename":"image_05012025_22_35_02_162625_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/99eef04dfa6ca6cfe4f6373fef73c54e.jpg","text":"TemporaryFile(/tmp/multipartBody3981376054900146086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736113987849,"filename":"image_05012025_22_34_03_007113_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908676","file1":"1326908675","file0":"1326908673","file4":"1326908678","file5":"1326908680","file3":"1326908677"},"map_files_photo_id_array":[{"photo_id":"1326908680","filename":"file5"},{"photo_id":"1326908676","filename":"file2"},{"photo_id":"1326908678","filename":"file4"},{"photo_id":"1326908675","filename":"file1"},{"photo_id":"1326908673","filename":"file0"},{"photo_id":"1326908677","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908673":["hashtag1","hashtag2"]},{"1326908676":["hashtag1","hashtag2"]},{"1326908675":["hashtag1","hashtag2"]},{"1326908678":["hashtag1","hashtag2"]},{"1326908680":["hashtag1","hashtag2"]},{"1326908677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908673, 1326908676, 1326908675, 1326908678, 1326908680, 1326908677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.743197202682495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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 22:53:02.704983
SELECT 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/22/35/image_05012025_22_35_02_162625_0002.jpg', '/home/pi/Desktop/images/05012025/22/35/image_05012025_22_35_02_162625_0003.jpg', '/home/pi/Desktop/images/05012025/22/36/image_05012025_22_36_02_360256_0000.jpg', '/home/pi/Desktop/images/05012025/22/36/image_05012025_22_36_02_360256_0001.jpg', '/home/pi/Desktop/images/05012025/22/36/image_05012025_22_36_02_360256_0002.jpg', '/home/pi/Desktop/images/05012025/22/36/image_05012025_22_36_02_360256_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/22/35/image_05012025_22_35_02_162625_0002.jpg
/home/pi/Desktop/images/05012025/22/35/image_05012025_22_35_02_162625_0003.jpg
/home/pi/Desktop/images/05012025/22/36/image_05012025_22_36_02_360256_0000.jpg
/home/pi/Desktop/images/05012025/22/36/image_05012025_22_36_02_360256_0001.jpg
/home/pi/Desktop/images/05012025/22/36/image_05012025_22_36_02_360256_0002.jpg
/home/pi/Desktop/images/05012025/22/36/image_05012025_22_36_02_360256_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.622269630432129 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 22:53:22.207916
SELECT 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/22/35/image_05012025_22_35_02_162625_0002.jpg', '/home/pi/Desktop/images/05012025/22/35/image_05012025_22_35_02_162625_0003.jpg', '/home/pi/Desktop/images/05012025/22/36/image_05012025_22_36_02_360256_0000.jpg', '/home/pi/Desktop/images/05012025/22/36/image_05012025_22_36_02_360256_0001.jpg', '/home/pi/Desktop/images/05012025/22/36/image_05012025_22_36_02_360256_0002.jpg', '/home/pi/Desktop/images/05012025/22/36/image_05012025_22_36_02_360256_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/22/35/image_05012025_22_35_02_162625_0002.jpg
/home/pi/Desktop/images/05012025/22/35/image_05012025_22_35_02_162625_0003.jpg
/home/pi/Desktop/images/05012025/22/36/image_05012025_22_36_02_360256_0000.jpg
/home/pi/Desktop/images/05012025/22/36/image_05012025_22_36_02_360256_0001.jpg
/home/pi/Desktop/images/05012025/22/36/image_05012025_22_36_02_360256_0002.jpg
/home/pi/Desktop/images/05012025/22/36/image_05012025_22_36_02_360256_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":["1326908701","1326908691","1326908694","1326908696","1326908699","1326908689"],"photo_ids_order":["1326908689","1326908691","1326908694","1326908696","1326908699","1326908701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8158072ea109c8fa5a228c7fc757e59e.jpg","text":"TemporaryFile(/tmp/multipartBody1229493893341702735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114077160,"filename":"image_05012025_22_36_02_360256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6807ebe9767eb9bfcaa1fac0959a0b58.jpg","text":"TemporaryFile(/tmp/multipartBody7139515158668110574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114077160,"filename":"image_05012025_22_35_02_162625_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/48020d5e8e49fce7c8b6266b76d76e95.jpg","text":"TemporaryFile(/tmp/multipartBody3826606769587740974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114077160,"filename":"image_05012025_22_36_02_360256_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/332430e105572e72929cae9f4729d14d.jpg","text":"TemporaryFile(/tmp/multipartBody8712072215003693829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114077160,"filename":"image_05012025_22_36_02_360256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ceb723e1add0aeef3b93a9689033649b.jpg","text":"TemporaryFile(/tmp/multipartBody920829201761294950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114077160,"filename":"image_05012025_22_36_02_360256_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/65ceaede074012079028f08227acfefd.jpg","text":"TemporaryFile(/tmp/multipartBody7615725322584254544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114077160,"filename":"image_05012025_22_35_02_162625_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908694","file1":"1326908691","file0":"1326908689","file4":"1326908699","file5":"1326908701","file3":"1326908696"},"map_files_photo_id_array":[{"photo_id":"1326908701","filename":"file5"},{"photo_id":"1326908694","filename":"file2"},{"photo_id":"1326908699","filename":"file4"},{"photo_id":"1326908691","filename":"file1"},{"photo_id":"1326908689","filename":"file0"},{"photo_id":"1326908696","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908701":["hashtag1","hashtag2"]},{"1326908691":["hashtag1","hashtag2"]},{"1326908694":["hashtag1","hashtag2"]},{"1326908696":["hashtag1","hashtag2"]},{"1326908699":["hashtag1","hashtag2"]},{"1326908689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908701, 1326908691, 1326908694, 1326908696, 1326908699, 1326908689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.005003929138184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:54:32.252541
SELECT 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/22/37/image_05012025_22_37_02_491635_0000.jpg', '/home/pi/Desktop/images/05012025/22/37/image_05012025_22_37_02_491635_0001.jpg', '/home/pi/Desktop/images/05012025/22/37/image_05012025_22_37_02_491635_0002.jpg', '/home/pi/Desktop/images/05012025/22/37/image_05012025_22_37_02_491635_0003.jpg', '/home/pi/Desktop/images/05012025/22/38/image_05012025_22_38_02_689335_0000.jpg', '/home/pi/Desktop/images/05012025/22/38/image_05012025_22_38_02_689335_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/37/image_05012025_22_37_02_491635_0000.jpg
/home/pi/Desktop/images/05012025/22/37/image_05012025_22_37_02_491635_0001.jpg
/home/pi/Desktop/images/05012025/22/37/image_05012025_22_37_02_491635_0002.jpg
/home/pi/Desktop/images/05012025/22/37/image_05012025_22_37_02_491635_0003.jpg
/home/pi/Desktop/images/05012025/22/38/image_05012025_22_38_02_689335_0000.jpg
/home/pi/Desktop/images/05012025/22/38/image_05012025_22_38_02_689335_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":["1326908703","1326908706","1326908711","1326908714","1326908708","1326908716"],"photo_ids_order":["1326908703","1326908706","1326908708","1326908711","1326908714","1326908716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a579d9e1e07fc9f3f59380e62574c432.jpg","text":"TemporaryFile(/tmp/multipartBody1900862802689174661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114147210,"filename":"image_05012025_22_37_02_491635_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0d7177691e241f938dd4a602b7e72046.jpg","text":"TemporaryFile(/tmp/multipartBody5809478245645098328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114147210,"filename":"image_05012025_22_37_02_491635_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/87458e20cc46958b346b244bc24bc5c5.jpg","text":"TemporaryFile(/tmp/multipartBody1872296375484624874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114147210,"filename":"image_05012025_22_37_02_491635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/44eabcd6b31af65561b067013a0f700f.jpg","text":"TemporaryFile(/tmp/multipartBody4222137921999600919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114147210,"filename":"image_05012025_22_38_02_689335_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/03df586c591568edcdbbdc49bfdc118d.jpg","text":"TemporaryFile(/tmp/multipartBody649940007753002025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114147210,"filename":"image_05012025_22_37_02_491635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2eab1a03bb83231390861443cda63b06.jpg","text":"TemporaryFile(/tmp/multipartBody3383113192941838255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114147210,"filename":"image_05012025_22_38_02_689335_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908708","file1":"1326908706","file0":"1326908703","file4":"1326908714","file5":"1326908716","file3":"1326908711"},"map_files_photo_id_array":[{"photo_id":"1326908716","filename":"file5"},{"photo_id":"1326908708","filename":"file2"},{"photo_id":"1326908714","filename":"file4"},{"photo_id":"1326908706","filename":"file1"},{"photo_id":"1326908703","filename":"file0"},{"photo_id":"1326908711","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908703":["hashtag1","hashtag2"]},{"1326908706":["hashtag1","hashtag2"]},{"1326908711":["hashtag1","hashtag2"]},{"1326908714":["hashtag1","hashtag2"]},{"1326908708":["hashtag1","hashtag2"]},{"1326908716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908703, 1326908706, 1326908711, 1326908714, 1326908708, 1326908716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.56602931022644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:55:32.448226
SELECT 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/22/38/image_05012025_22_38_02_689335_0002.jpg', '/home/pi/Desktop/images/05012025/22/38/image_05012025_22_38_02_689335_0003.jpg', '/home/pi/Desktop/images/05012025/22/39/image_05012025_22_39_02_824830_0000.jpg', '/home/pi/Desktop/images/05012025/22/39/image_05012025_22_39_02_824830_0001.jpg', '/home/pi/Desktop/images/05012025/22/39/image_05012025_22_39_02_824830_0002.jpg', '/home/pi/Desktop/images/05012025/22/39/image_05012025_22_39_02_824830_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/22/38/image_05012025_22_38_02_689335_0002.jpg
/home/pi/Desktop/images/05012025/22/38/image_05012025_22_38_02_689335_0003.jpg
/home/pi/Desktop/images/05012025/22/39/image_05012025_22_39_02_824830_0000.jpg
/home/pi/Desktop/images/05012025/22/39/image_05012025_22_39_02_824830_0001.jpg
/home/pi/Desktop/images/05012025/22/39/image_05012025_22_39_02_824830_0002.jpg
/home/pi/Desktop/images/05012025/22/39/image_05012025_22_39_02_824830_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":["1326908725","1326908727","1326908721","1326908720","1326908723","1326908722"],"photo_ids_order":["1326908720","1326908721","1326908722","1326908723","1326908725","1326908727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7caa7eac17cca8c03737338fa3beb8f1.jpg","text":"TemporaryFile(/tmp/multipartBody1412461276797447417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114207340,"filename":"image_05012025_22_39_02_824830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a7c5bfc8acc456de6a5df8da1f2896ac.jpg","text":"TemporaryFile(/tmp/multipartBody7463034958693898967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114207340,"filename":"image_05012025_22_39_02_824830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c5b5805495baac592f4256902fb8bc44.jpg","text":"TemporaryFile(/tmp/multipartBody3140868259821274394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114207340,"filename":"image_05012025_22_38_02_689335_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dbe76a2d821e1d801b1e4663b5724e56.jpg","text":"TemporaryFile(/tmp/multipartBody3417954057678911286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114207340,"filename":"image_05012025_22_38_02_689335_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/225262ccc7312833e4a5789506557a51.jpg","text":"TemporaryFile(/tmp/multipartBody7833216392800780966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114207340,"filename":"image_05012025_22_39_02_824830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fbbc94711e3a1c3cf5da062a24145eb8.jpg","text":"TemporaryFile(/tmp/multipartBody5143420983075756174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114207340,"filename":"image_05012025_22_39_02_824830_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326908722","file1":"1326908721","file0":"1326908720","file4":"1326908725","file5":"1326908727","file3":"1326908723"},"map_files_photo_id_array":[{"photo_id":"1326908727","filename":"file5"},{"photo_id":"1326908722","filename":"file2"},{"photo_id":"1326908725","filename":"file4"},{"photo_id":"1326908721","filename":"file1"},{"photo_id":"1326908720","filename":"file0"},{"photo_id":"1326908723","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908725":["hashtag1","hashtag2"]},{"1326908727":["hashtag1","hashtag2"]},{"1326908721":["hashtag1","hashtag2"]},{"1326908720":["hashtag1","hashtag2"]},{"1326908723":["hashtag1","hashtag2"]},{"1326908722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908725, 1326908727, 1326908721, 1326908720, 1326908723, 1326908722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.136210680007935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:56:32.625010
SELECT 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/22/40/image_05012025_22_40_03_024887_0000.jpg', '/home/pi/Desktop/images/05012025/22/40/image_05012025_22_40_03_024887_0001.jpg', '/home/pi/Desktop/images/05012025/22/40/image_05012025_22_40_03_024887_0002.jpg', '/home/pi/Desktop/images/05012025/22/40/image_05012025_22_40_03_024887_0003.jpg', '/home/pi/Desktop/images/05012025/22/41/image_05012025_22_41_02_205893_0000.jpg', '/home/pi/Desktop/images/05012025/22/41/image_05012025_22_41_02_205893_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/40/image_05012025_22_40_03_024887_0000.jpg
/home/pi/Desktop/images/05012025/22/40/image_05012025_22_40_03_024887_0001.jpg
/home/pi/Desktop/images/05012025/22/40/image_05012025_22_40_03_024887_0002.jpg
/home/pi/Desktop/images/05012025/22/40/image_05012025_22_40_03_024887_0003.jpg
/home/pi/Desktop/images/05012025/22/41/image_05012025_22_41_02_205893_0000.jpg
/home/pi/Desktop/images/05012025/22/41/image_05012025_22_41_02_205893_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.718083143234253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:56:52.629186
SELECT 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/22/40/image_05012025_22_40_03_024887_0000.jpg', '/home/pi/Desktop/images/05012025/22/40/image_05012025_22_40_03_024887_0001.jpg', '/home/pi/Desktop/images/05012025/22/40/image_05012025_22_40_03_024887_0002.jpg', '/home/pi/Desktop/images/05012025/22/40/image_05012025_22_40_03_024887_0003.jpg', '/home/pi/Desktop/images/05012025/22/41/image_05012025_22_41_02_205893_0000.jpg', '/home/pi/Desktop/images/05012025/22/41/image_05012025_22_41_02_205893_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/40/image_05012025_22_40_03_024887_0000.jpg
/home/pi/Desktop/images/05012025/22/40/image_05012025_22_40_03_024887_0001.jpg
/home/pi/Desktop/images/05012025/22/40/image_05012025_22_40_03_024887_0002.jpg
/home/pi/Desktop/images/05012025/22/40/image_05012025_22_40_03_024887_0003.jpg
/home/pi/Desktop/images/05012025/22/41/image_05012025_22_41_02_205893_0000.jpg
/home/pi/Desktop/images/05012025/22/41/image_05012025_22_41_02_205893_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":["1326908803","1326909117","1326909045","1326909102","1326909047","1326909100"],"photo_ids_order":["1326908803","1326909045","1326909047","1326909100","1326909102","1326909117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1cdb23802cff1464d94ad2593648f479.jpg","text":"TemporaryFile(/tmp/multipartBody6617927685318128911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114287763,"filename":"image_05012025_22_40_03_024887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/35d1264e3da5295001a5e3065a37c8ae.jpg","text":"TemporaryFile(/tmp/multipartBody4159778037144009697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114287763,"filename":"image_05012025_22_41_02_205893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3e6cb16065d5da151ea8f91ed65eef79.jpg","text":"TemporaryFile(/tmp/multipartBody4795260657289742739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114287763,"filename":"image_05012025_22_40_03_024887_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/df7b481c0532b1e020cc6990b3a5904e.jpg","text":"TemporaryFile(/tmp/multipartBody2211270036406674425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114287763,"filename":"image_05012025_22_41_02_205893_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/94105660854a55940c4bfc11e16e1f2a.jpg","text":"TemporaryFile(/tmp/multipartBody1092496108360238202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114287763,"filename":"image_05012025_22_40_03_024887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/789dcaad8510efc2e0467c96ef8bcaa3.jpg","text":"TemporaryFile(/tmp/multipartBody414590921643331711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114287763,"filename":"image_05012025_22_40_03_024887_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326909047","file1":"1326909045","file0":"1326908803","file4":"1326909102","file5":"1326909117","file3":"1326909100"},"map_files_photo_id_array":[{"photo_id":"1326909117","filename":"file5"},{"photo_id":"1326909047","filename":"file2"},{"photo_id":"1326909102","filename":"file4"},{"photo_id":"1326909045","filename":"file1"},{"photo_id":"1326908803","filename":"file0"},{"photo_id":"1326909100","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326908803":["hashtag1","hashtag2"]},{"1326909117":["hashtag1","hashtag2"]},{"1326909045":["hashtag1","hashtag2"]},{"1326909102":["hashtag1","hashtag2"]},{"1326909047":["hashtag1","hashtag2"]},{"1326909100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326908803, 1326909117, 1326909045, 1326909102, 1326909047, 1326909100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.033552169799805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 22:57:51.811083
SELECT 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/22/41/image_05012025_22_41_02_205893_0002.jpg', '/home/pi/Desktop/images/05012025/22/41/image_05012025_22_41_02_205893_0003.jpg', '/home/pi/Desktop/images/05012025/22/42/image_05012025_22_42_02_306991_0000.jpg', '/home/pi/Desktop/images/05012025/22/42/image_05012025_22_42_02_306991_0001.jpg', '/home/pi/Desktop/images/05012025/22/42/image_05012025_22_42_02_306991_0002.jpg', '/home/pi/Desktop/images/05012025/22/42/image_05012025_22_42_02_306991_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/22/41/image_05012025_22_41_02_205893_0002.jpg
/home/pi/Desktop/images/05012025/22/41/image_05012025_22_41_02_205893_0003.jpg
/home/pi/Desktop/images/05012025/22/42/image_05012025_22_42_02_306991_0000.jpg
/home/pi/Desktop/images/05012025/22/42/image_05012025_22_42_02_306991_0001.jpg
/home/pi/Desktop/images/05012025/22/42/image_05012025_22_42_02_306991_0002.jpg
/home/pi/Desktop/images/05012025/22/42/image_05012025_22_42_02_306991_0003.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-05 22:59:02.716075
SELECT 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/22/41/image_05012025_22_41_02_205893_0002.jpg', '/home/pi/Desktop/images/05012025/22/41/image_05012025_22_41_02_205893_0003.jpg', '/home/pi/Desktop/images/05012025/22/42/image_05012025_22_42_02_306991_0000.jpg', '/home/pi/Desktop/images/05012025/22/42/image_05012025_22_42_02_306991_0001.jpg', '/home/pi/Desktop/images/05012025/22/42/image_05012025_22_42_02_306991_0002.jpg', '/home/pi/Desktop/images/05012025/22/42/image_05012025_22_42_02_306991_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/22/41/image_05012025_22_41_02_205893_0002.jpg
/home/pi/Desktop/images/05012025/22/41/image_05012025_22_41_02_205893_0003.jpg
/home/pi/Desktop/images/05012025/22/42/image_05012025_22_42_02_306991_0000.jpg
/home/pi/Desktop/images/05012025/22/42/image_05012025_22_42_02_306991_0001.jpg
/home/pi/Desktop/images/05012025/22/42/image_05012025_22_42_02_306991_0002.jpg
/home/pi/Desktop/images/05012025/22/42/image_05012025_22_42_02_306991_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":["1326909881","1326909892","1326909889","1326909874","1326909891","1326909885"],"photo_ids_order":["1326909874","1326909881","1326909885","1326909889","1326909891","1326909892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4197614966c9be32773c3cc628ccf040.jpg","text":"TemporaryFile(/tmp/multipartBody3287014918652609899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114418149,"filename":"image_05012025_22_41_02_205893_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb015d07d71f4ac024c1b38ba113eb2a.jpg","text":"TemporaryFile(/tmp/multipartBody7842635859367122521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114418149,"filename":"image_05012025_22_42_02_306991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/214a58726e9aac1ae3af3c9f27624eb4.jpg","text":"TemporaryFile(/tmp/multipartBody6625163752435758762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114418149,"filename":"image_05012025_22_42_02_306991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e91270d4217499da3bf718254bcf52eb.jpg","text":"TemporaryFile(/tmp/multipartBody244987919669087027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114418149,"filename":"image_05012025_22_41_02_205893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/689c53ae9b1a0b79a84dffe2cde784fe.jpg","text":"TemporaryFile(/tmp/multipartBody231393897055064104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114418149,"filename":"image_05012025_22_42_02_306991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c101fbf7b370d846d4902742a2e5efa.jpg","text":"TemporaryFile(/tmp/multipartBody7749067763159606133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114418149,"filename":"image_05012025_22_42_02_306991_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326909885","file1":"1326909881","file0":"1326909874","file4":"1326909891","file5":"1326909892","file3":"1326909889"},"map_files_photo_id_array":[{"photo_id":"1326909892","filename":"file5"},{"photo_id":"1326909885","filename":"file2"},{"photo_id":"1326909891","filename":"file4"},{"photo_id":"1326909881","filename":"file1"},{"photo_id":"1326909874","filename":"file0"},{"photo_id":"1326909889","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326909881":["hashtag1","hashtag2"]},{"1326909892":["hashtag1","hashtag2"]},{"1326909889":["hashtag1","hashtag2"]},{"1326909874":["hashtag1","hashtag2"]},{"1326909891":["hashtag1","hashtag2"]},{"1326909885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326909881, 1326909892, 1326909889, 1326909874, 1326909891, 1326909885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.459155797958374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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:00:02.728864
SELECT 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/22/43/image_05012025_22_43_02_523992_0000.jpg', '/home/pi/Desktop/images/05012025/22/43/image_05012025_22_43_02_523992_0001.jpg', '/home/pi/Desktop/images/05012025/22/43/image_05012025_22_43_02_523992_0002.jpg', '/home/pi/Desktop/images/05012025/22/43/image_05012025_22_43_02_523992_0003.jpg', '/home/pi/Desktop/images/05012025/22/44/image_05012025_22_44_02_752933_0000.jpg', '/home/pi/Desktop/images/05012025/22/44/image_05012025_22_44_02_752933_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/43/image_05012025_22_43_02_523992_0000.jpg
/home/pi/Desktop/images/05012025/22/43/image_05012025_22_43_02_523992_0001.jpg
/home/pi/Desktop/images/05012025/22/43/image_05012025_22_43_02_523992_0002.jpg
/home/pi/Desktop/images/05012025/22/43/image_05012025_22_43_02_523992_0003.jpg
/home/pi/Desktop/images/05012025/22/44/image_05012025_22_44_02_752933_0000.jpg
/home/pi/Desktop/images/05012025/22/44/image_05012025_22_44_02_752933_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":["1326909903","1326909896","1326909900","1326909902","1326909898","1326909904"],"photo_ids_order":["1326909896","1326909898","1326909900","1326909902","1326909903","1326909904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0e1c199ee414bf2aa704462c0279d98b.jpg","text":"TemporaryFile(/tmp/multipartBody3602689620815044448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114477965,"filename":"image_05012025_22_44_02_752933_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2f0f69f823355f1cab41d2041d9f8ca0.jpg","text":"TemporaryFile(/tmp/multipartBody7559529567990107209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114477965,"filename":"image_05012025_22_43_02_523992_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ce8eef3d78525540d1c890e40921ce68.jpg","text":"TemporaryFile(/tmp/multipartBody6740053522174485966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114477965,"filename":"image_05012025_22_43_02_523992_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ed6ff504fbc3815523ede2120a4c8fbd.jpg","text":"TemporaryFile(/tmp/multipartBody6526408086825504944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114477965,"filename":"image_05012025_22_43_02_523992_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0379b4d17f583341c7c43cf591c03791.jpg","text":"TemporaryFile(/tmp/multipartBody13425731047412857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114477965,"filename":"image_05012025_22_43_02_523992_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d0613ced168ba9acd83f5e72f84a6efd.jpg","text":"TemporaryFile(/tmp/multipartBody3334424207087460098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114477965,"filename":"image_05012025_22_44_02_752933_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326909900","file1":"1326909898","file0":"1326909896","file4":"1326909903","file5":"1326909904","file3":"1326909902"},"map_files_photo_id_array":[{"photo_id":"1326909904","filename":"file5"},{"photo_id":"1326909900","filename":"file2"},{"photo_id":"1326909903","filename":"file4"},{"photo_id":"1326909898","filename":"file1"},{"photo_id":"1326909896","filename":"file0"},{"photo_id":"1326909902","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326909903":["hashtag1","hashtag2"]},{"1326909896":["hashtag1","hashtag2"]},{"1326909900":["hashtag1","hashtag2"]},{"1326909902":["hashtag1","hashtag2"]},{"1326909898":["hashtag1","hashtag2"]},{"1326909904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326909903, 1326909896, 1326909900, 1326909902, 1326909898, 1326909904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.660388231277466 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:01:22.579529
SELECT 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/22/44/image_05012025_22_44_02_752933_0002.jpg', '/home/pi/Desktop/images/05012025/22/44/image_05012025_22_44_02_752933_0003.jpg', '/home/pi/Desktop/images/05012025/22/45/image_05012025_22_45_02_933260_0000.jpg', '/home/pi/Desktop/images/05012025/22/45/image_05012025_22_45_02_933260_0001.jpg', '/home/pi/Desktop/images/05012025/22/45/image_05012025_22_45_02_933260_0002.jpg', '/home/pi/Desktop/images/05012025/22/45/image_05012025_22_45_02_933260_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/22/44/image_05012025_22_44_02_752933_0002.jpg
/home/pi/Desktop/images/05012025/22/44/image_05012025_22_44_02_752933_0003.jpg
/home/pi/Desktop/images/05012025/22/45/image_05012025_22_45_02_933260_0000.jpg
/home/pi/Desktop/images/05012025/22/45/image_05012025_22_45_02_933260_0001.jpg
/home/pi/Desktop/images/05012025/22/45/image_05012025_22_45_02_933260_0002.jpg
/home/pi/Desktop/images/05012025/22/45/image_05012025_22_45_02_933260_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":["1326909912","1326909915","1326909914","1326909917","1326909910","1326909913"],"photo_ids_order":["1326909910","1326909912","1326909913","1326909914","1326909915","1326909917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b9c90d5426dbb13b0fc01f5d18697d79.jpg","text":"TemporaryFile(/tmp/multipartBody6267454480684868874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114557490,"filename":"image_05012025_22_44_02_752933_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0c278576c59895b62a4eef2192974519.jpg","text":"TemporaryFile(/tmp/multipartBody5142401558683412329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114557490,"filename":"image_05012025_22_45_02_933260_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8ce1ff2c6898105db49b3800540ed527.jpg","text":"TemporaryFile(/tmp/multipartBody1935065898361217645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114557490,"filename":"image_05012025_22_45_02_933260_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad4623c2f71cae2bbf95836387b9497e.jpg","text":"TemporaryFile(/tmp/multipartBody8356384960982437856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114557490,"filename":"image_05012025_22_45_02_933260_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/22843d35c7befbdaf305ebd2ad5843a5.jpg","text":"TemporaryFile(/tmp/multipartBody2200438158716086096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114557490,"filename":"image_05012025_22_44_02_752933_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a4fee00fadf11cb514ba04f363a2c24b.jpg","text":"TemporaryFile(/tmp/multipartBody6882689387519527027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114557490,"filename":"image_05012025_22_45_02_933260_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326909913","file1":"1326909912","file0":"1326909910","file4":"1326909915","file5":"1326909917","file3":"1326909914"},"map_files_photo_id_array":[{"photo_id":"1326909917","filename":"file5"},{"photo_id":"1326909913","filename":"file2"},{"photo_id":"1326909915","filename":"file4"},{"photo_id":"1326909912","filename":"file1"},{"photo_id":"1326909910","filename":"file0"},{"photo_id":"1326909914","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326909912":["hashtag1","hashtag2"]},{"1326909915":["hashtag1","hashtag2"]},{"1326909914":["hashtag1","hashtag2"]},{"1326909917":["hashtag1","hashtag2"]},{"1326909910":["hashtag1","hashtag2"]},{"1326909913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326909912, 1326909915, 1326909914, 1326909917, 1326909910, 1326909913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.436009645462036 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-05 23:02:32.631268
SELECT 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/22/46/image_05012025_22_46_03_080274_0000.jpg', '/home/pi/Desktop/images/05012025/22/46/image_05012025_22_46_03_080274_0001.jpg', '/home/pi/Desktop/images/05012025/22/46/image_05012025_22_46_03_080274_0002.jpg', '/home/pi/Desktop/images/05012025/22/46/image_05012025_22_46_03_080274_0003.jpg', '/home/pi/Desktop/images/05012025/22/47/image_05012025_22_47_02_256855_0000.jpg', '/home/pi/Desktop/images/05012025/22/47/image_05012025_22_47_02_256855_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/46/image_05012025_22_46_03_080274_0000.jpg
/home/pi/Desktop/images/05012025/22/46/image_05012025_22_46_03_080274_0001.jpg
/home/pi/Desktop/images/05012025/22/46/image_05012025_22_46_03_080274_0002.jpg
/home/pi/Desktop/images/05012025/22/46/image_05012025_22_46_03_080274_0003.jpg
/home/pi/Desktop/images/05012025/22/47/image_05012025_22_47_02_256855_0000.jpg
/home/pi/Desktop/images/05012025/22/47/image_05012025_22_47_02_256855_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.704946279525757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:02:52.626194
SELECT 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/22/46/image_05012025_22_46_03_080274_0000.jpg', '/home/pi/Desktop/images/05012025/22/46/image_05012025_22_46_03_080274_0001.jpg', '/home/pi/Desktop/images/05012025/22/46/image_05012025_22_46_03_080274_0002.jpg', '/home/pi/Desktop/images/05012025/22/46/image_05012025_22_46_03_080274_0003.jpg', '/home/pi/Desktop/images/05012025/22/47/image_05012025_22_47_02_256855_0000.jpg', '/home/pi/Desktop/images/05012025/22/47/image_05012025_22_47_02_256855_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/46/image_05012025_22_46_03_080274_0000.jpg
/home/pi/Desktop/images/05012025/22/46/image_05012025_22_46_03_080274_0001.jpg
/home/pi/Desktop/images/05012025/22/46/image_05012025_22_46_03_080274_0002.jpg
/home/pi/Desktop/images/05012025/22/46/image_05012025_22_46_03_080274_0003.jpg
/home/pi/Desktop/images/05012025/22/47/image_05012025_22_47_02_256855_0000.jpg
/home/pi/Desktop/images/05012025/22/47/image_05012025_22_47_02_256855_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":["1326909936","1326909930","1326909933","1326909927","1326909938","1326909940"],"photo_ids_order":["1326909927","1326909930","1326909933","1326909936","1326909938","1326909940"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ca26922b129315fe9fa4237848c5b8cd.jpg","text":"TemporaryFile(/tmp/multipartBody1226018160454177151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114647770,"filename":"image_05012025_22_46_03_080274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8466dc68406891a06590e2e9cf7403db.jpg","text":"TemporaryFile(/tmp/multipartBody2759405457552221476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114647770,"filename":"image_05012025_22_46_03_080274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3c95788f95ffeac242ff52575cb81f90.jpg","text":"TemporaryFile(/tmp/multipartBody6492107267970563732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114647770,"filename":"image_05012025_22_46_03_080274_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fbf6e7e10128c13e681ee917b4570a86.jpg","text":"TemporaryFile(/tmp/multipartBody7849561926904407319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114647770,"filename":"image_05012025_22_46_03_080274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/109d2c21545b47eab7b3b96294278fc9.jpg","text":"TemporaryFile(/tmp/multipartBody157598695962617170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114647770,"filename":"image_05012025_22_47_02_256855_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/541c94f0ec32431e4a17e802d705d26c.jpg","text":"TemporaryFile(/tmp/multipartBody3148081653033294985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114647770,"filename":"image_05012025_22_47_02_256855_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326909933","file1":"1326909930","file0":"1326909927","file4":"1326909938","file5":"1326909940","file3":"1326909936"},"map_files_photo_id_array":[{"photo_id":"1326909940","filename":"file5"},{"photo_id":"1326909933","filename":"file2"},{"photo_id":"1326909938","filename":"file4"},{"photo_id":"1326909930","filename":"file1"},{"photo_id":"1326909927","filename":"file0"},{"photo_id":"1326909936","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326909936":["hashtag1","hashtag2"]},{"1326909930":["hashtag1","hashtag2"]},{"1326909933":["hashtag1","hashtag2"]},{"1326909927":["hashtag1","hashtag2"]},{"1326909938":["hashtag1","hashtag2"]},{"1326909940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326909936, 1326909930, 1326909933, 1326909927, 1326909938, 1326909940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.6099967956543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:03:51.803084
SELECT 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/22/47/image_05012025_22_47_02_256855_0002.jpg', '/home/pi/Desktop/images/05012025/22/47/image_05012025_22_47_02_256855_0003.jpg', '/home/pi/Desktop/images/05012025/22/48/image_05012025_22_48_02_471327_0000.jpg', '/home/pi/Desktop/images/05012025/22/48/image_05012025_22_48_02_471327_0001.jpg', '/home/pi/Desktop/images/05012025/22/48/image_05012025_22_48_02_471327_0002.jpg', '/home/pi/Desktop/images/05012025/22/48/image_05012025_22_48_02_471327_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/22/47/image_05012025_22_47_02_256855_0002.jpg
/home/pi/Desktop/images/05012025/22/47/image_05012025_22_47_02_256855_0003.jpg
/home/pi/Desktop/images/05012025/22/48/image_05012025_22_48_02_471327_0000.jpg
/home/pi/Desktop/images/05012025/22/48/image_05012025_22_48_02_471327_0001.jpg
/home/pi/Desktop/images/05012025/22/48/image_05012025_22_48_02_471327_0002.jpg
/home/pi/Desktop/images/05012025/22/48/image_05012025_22_48_02_471327_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":["1326909948","1326909942","1326909951","1326909945","1326909950","1326909944"],"photo_ids_order":["1326909942","1326909944","1326909945","1326909948","1326909950","1326909951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f194257836479ff6b54fd94dd79d5c55.jpg","text":"TemporaryFile(/tmp/multipartBody2074184249598475034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114706863,"filename":"image_05012025_22_48_02_471327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0c9d39892b965a0ba54c4647ce0673ef.jpg","text":"TemporaryFile(/tmp/multipartBody4450966296056867728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114706863,"filename":"image_05012025_22_47_02_256855_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c0441418346c65d49b42b73771c84cbe.jpg","text":"TemporaryFile(/tmp/multipartBody3729191295204282545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114706863,"filename":"image_05012025_22_48_02_471327_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2c4f39a5d960158af36a044ca9c1db66.jpg","text":"TemporaryFile(/tmp/multipartBody3095676046047792920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114706863,"filename":"image_05012025_22_48_02_471327_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4854a57dbc2e4e7431273e76dd6324e2.jpg","text":"TemporaryFile(/tmp/multipartBody3853060168423253987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114706863,"filename":"image_05012025_22_48_02_471327_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ddcb95a40d53afe831a1c337d7e9c32a.jpg","text":"TemporaryFile(/tmp/multipartBody3101613068143498746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114706863,"filename":"image_05012025_22_47_02_256855_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326909945","file1":"1326909944","file0":"1326909942","file4":"1326909950","file5":"1326909951","file3":"1326909948"},"map_files_photo_id_array":[{"photo_id":"1326909951","filename":"file5"},{"photo_id":"1326909945","filename":"file2"},{"photo_id":"1326909950","filename":"file4"},{"photo_id":"1326909944","filename":"file1"},{"photo_id":"1326909942","filename":"file0"},{"photo_id":"1326909948","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326909948":["hashtag1","hashtag2"]},{"1326909942":["hashtag1","hashtag2"]},{"1326909951":["hashtag1","hashtag2"]},{"1326909945":["hashtag1","hashtag2"]},{"1326909950":["hashtag1","hashtag2"]},{"1326909944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326909948, 1326909942, 1326909951, 1326909945, 1326909950, 1326909944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.374090909957886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:04:52.046959
SELECT 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/22/49/image_05012025_22_49_02_629837_0000.jpg', '/home/pi/Desktop/images/05012025/22/49/image_05012025_22_49_02_629837_0001.jpg', '/home/pi/Desktop/images/05012025/22/49/image_05012025_22_49_02_629837_0002.jpg', '/home/pi/Desktop/images/05012025/22/49/image_05012025_22_49_02_629837_0003.jpg', '/home/pi/Desktop/images/05012025/22/50/image_05012025_22_50_02_824941_0000.jpg', '/home/pi/Desktop/images/05012025/22/50/image_05012025_22_50_02_824941_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/49/image_05012025_22_49_02_629837_0000.jpg
/home/pi/Desktop/images/05012025/22/49/image_05012025_22_49_02_629837_0001.jpg
/home/pi/Desktop/images/05012025/22/49/image_05012025_22_49_02_629837_0002.jpg
/home/pi/Desktop/images/05012025/22/49/image_05012025_22_49_02_629837_0003.jpg
/home/pi/Desktop/images/05012025/22/50/image_05012025_22_50_02_824941_0000.jpg
/home/pi/Desktop/images/05012025/22/50/image_05012025_22_50_02_824941_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":["1326909960","1326909963","1326909962","1326909956","1326909961","1326909958"],"photo_ids_order":["1326909956","1326909958","1326909960","1326909961","1326909962","1326909963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9bcc782270be583d1f01972ae80ae55e.jpg","text":"TemporaryFile(/tmp/multipartBody80426997582157972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114767462,"filename":"image_05012025_22_49_02_629837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/00864afd04f3240b5233b07f773ff54b.jpg","text":"TemporaryFile(/tmp/multipartBody5091690735138506194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114767462,"filename":"image_05012025_22_50_02_824941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/942b43b96647468572068770b595e794.jpg","text":"TemporaryFile(/tmp/multipartBody3406504841546010142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114767462,"filename":"image_05012025_22_50_02_824941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6690f41660ce78a92c437b330bea8606.jpg","text":"TemporaryFile(/tmp/multipartBody1403952091853235294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114767462,"filename":"image_05012025_22_49_02_629837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9f39b68acaf06af1d5b5795502aa1584.jpg","text":"TemporaryFile(/tmp/multipartBody1906271103653505738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114767462,"filename":"image_05012025_22_49_02_629837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ffba9e9bf8b13dd93291c9d0d83039e9.jpg","text":"TemporaryFile(/tmp/multipartBody5319175037062910322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114767462,"filename":"image_05012025_22_49_02_629837_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326909960","file1":"1326909958","file0":"1326909956","file4":"1326909962","file5":"1326909963","file3":"1326909961"},"map_files_photo_id_array":[{"photo_id":"1326909963","filename":"file5"},{"photo_id":"1326909960","filename":"file2"},{"photo_id":"1326909962","filename":"file4"},{"photo_id":"1326909958","filename":"file1"},{"photo_id":"1326909956","filename":"file0"},{"photo_id":"1326909961","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326909960":["hashtag1","hashtag2"]},{"1326909963":["hashtag1","hashtag2"]},{"1326909962":["hashtag1","hashtag2"]},{"1326909956":["hashtag1","hashtag2"]},{"1326909961":["hashtag1","hashtag2"]},{"1326909958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326909960, 1326909963, 1326909962, 1326909956, 1326909961, 1326909958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.57011270523071 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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:06:02.764893
SELECT 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/22/50/image_05012025_22_50_02_824941_0002.jpg', '/home/pi/Desktop/images/05012025/22/50/image_05012025_22_50_02_824941_0003.jpg', '/home/pi/Desktop/images/05012025/22/51/image_05012025_22_51_02_957809_0000.jpg', '/home/pi/Desktop/images/05012025/22/51/image_05012025_22_51_02_957809_0001.jpg', '/home/pi/Desktop/images/05012025/22/51/image_05012025_22_51_02_957809_0002.jpg', '/home/pi/Desktop/images/05012025/22/51/image_05012025_22_51_02_957809_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/22/50/image_05012025_22_50_02_824941_0002.jpg
/home/pi/Desktop/images/05012025/22/50/image_05012025_22_50_02_824941_0003.jpg
/home/pi/Desktop/images/05012025/22/51/image_05012025_22_51_02_957809_0000.jpg
/home/pi/Desktop/images/05012025/22/51/image_05012025_22_51_02_957809_0001.jpg
/home/pi/Desktop/images/05012025/22/51/image_05012025_22_51_02_957809_0002.jpg
/home/pi/Desktop/images/05012025/22/51/image_05012025_22_51_02_957809_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":["1326909971","1326909974","1326909973","1326909976","1326909970","1326909972"],"photo_ids_order":["1326909970","1326909971","1326909972","1326909973","1326909974","1326909976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0afddddac1e61b40c7ced7cae8341bdb.jpg","text":"TemporaryFile(/tmp/multipartBody5028225661087478927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114837858,"filename":"image_05012025_22_50_02_824941_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4a3b3fc056eecc1b8f64e17afab0742e.jpg","text":"TemporaryFile(/tmp/multipartBody2027226601568182095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114837858,"filename":"image_05012025_22_51_02_957809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a4da43041ebaa2411cfd2f8779fea622.jpg","text":"TemporaryFile(/tmp/multipartBody1737578521579011163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114837858,"filename":"image_05012025_22_51_02_957809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a08612a5a41242d9b4eaa5283c2ab8d9.jpg","text":"TemporaryFile(/tmp/multipartBody5335734387429310777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114837858,"filename":"image_05012025_22_51_02_957809_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eac2ff6349e8dc3487648e6b2144f311.jpg","text":"TemporaryFile(/tmp/multipartBody6899855184816753181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114837858,"filename":"image_05012025_22_50_02_824941_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8434199c57ebbcb02c7308ad61605437.jpg","text":"TemporaryFile(/tmp/multipartBody8370776609001567255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114837858,"filename":"image_05012025_22_51_02_957809_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326909972","file1":"1326909971","file0":"1326909970","file4":"1326909974","file5":"1326909976","file3":"1326909973"},"map_files_photo_id_array":[{"photo_id":"1326909976","filename":"file5"},{"photo_id":"1326909972","filename":"file2"},{"photo_id":"1326909974","filename":"file4"},{"photo_id":"1326909971","filename":"file1"},{"photo_id":"1326909970","filename":"file0"},{"photo_id":"1326909973","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326909971":["hashtag1","hashtag2"]},{"1326909974":["hashtag1","hashtag2"]},{"1326909973":["hashtag1","hashtag2"]},{"1326909976":["hashtag1","hashtag2"]},{"1326909970":["hashtag1","hashtag2"]},{"1326909972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326909971, 1326909974, 1326909973, 1326909976, 1326909970, 1326909972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.3665235042572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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:07:03.144236
SELECT 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/22/52/image_05012025_22_52_03_219247_0000.jpg', '/home/pi/Desktop/images/05012025/22/52/image_05012025_22_52_03_219247_0001.jpg', '/home/pi/Desktop/images/05012025/22/52/image_05012025_22_52_03_219247_0002.jpg', '/home/pi/Desktop/images/05012025/22/52/image_05012025_22_52_03_219247_0003.jpg', '/home/pi/Desktop/images/05012025/22/53/image_05012025_22_53_02_332110_0000.jpg', '/home/pi/Desktop/images/05012025/22/53/image_05012025_22_53_02_332110_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/52/image_05012025_22_52_03_219247_0000.jpg
/home/pi/Desktop/images/05012025/22/52/image_05012025_22_52_03_219247_0001.jpg
/home/pi/Desktop/images/05012025/22/52/image_05012025_22_52_03_219247_0002.jpg
/home/pi/Desktop/images/05012025/22/52/image_05012025_22_52_03_219247_0003.jpg
/home/pi/Desktop/images/05012025/22/53/image_05012025_22_53_02_332110_0000.jpg
/home/pi/Desktop/images/05012025/22/53/image_05012025_22_53_02_332110_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.76724624633789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:07:22.653246
SELECT 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/22/52/image_05012025_22_52_03_219247_0000.jpg', '/home/pi/Desktop/images/05012025/22/52/image_05012025_22_52_03_219247_0001.jpg', '/home/pi/Desktop/images/05012025/22/52/image_05012025_22_52_03_219247_0002.jpg', '/home/pi/Desktop/images/05012025/22/52/image_05012025_22_52_03_219247_0003.jpg', '/home/pi/Desktop/images/05012025/22/53/image_05012025_22_53_02_332110_0000.jpg', '/home/pi/Desktop/images/05012025/22/53/image_05012025_22_53_02_332110_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/52/image_05012025_22_52_03_219247_0000.jpg
/home/pi/Desktop/images/05012025/22/52/image_05012025_22_52_03_219247_0001.jpg
/home/pi/Desktop/images/05012025/22/52/image_05012025_22_52_03_219247_0002.jpg
/home/pi/Desktop/images/05012025/22/52/image_05012025_22_52_03_219247_0003.jpg
/home/pi/Desktop/images/05012025/22/53/image_05012025_22_53_02_332110_0000.jpg
/home/pi/Desktop/images/05012025/22/53/image_05012025_22_53_02_332110_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":["1326909996","1326909992","1326909994","1326909985","1326909990","1326909987"],"photo_ids_order":["1326909985","1326909987","1326909990","1326909992","1326909994","1326909996"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5db712f8ed06f5afc7962ff8825e80d7.jpg","text":"TemporaryFile(/tmp/multipartBody6904987265154888576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114917761,"filename":"image_05012025_22_53_02_332110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/14abf63b79c53d9e57bb1a066d78da6d.jpg","text":"TemporaryFile(/tmp/multipartBody1417495853196123612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114917761,"filename":"image_05012025_22_52_03_219247_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/071ffc14a4777936eceaa642210155a6.jpg","text":"TemporaryFile(/tmp/multipartBody8887791861291708616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114917761,"filename":"image_05012025_22_53_02_332110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ae52a04436dd5371d08bc665a64f510c.jpg","text":"TemporaryFile(/tmp/multipartBody8899173098628531071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114917761,"filename":"image_05012025_22_52_03_219247_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4d7403ef574962ce2297e7f14a69f3c9.jpg","text":"TemporaryFile(/tmp/multipartBody8507669868664228127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114917761,"filename":"image_05012025_22_52_03_219247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6e1af460d2ce6d666bf38339a30b5c24.jpg","text":"TemporaryFile(/tmp/multipartBody2970121513041047620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114917761,"filename":"image_05012025_22_52_03_219247_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326909990","file1":"1326909987","file0":"1326909985","file4":"1326909994","file5":"1326909996","file3":"1326909992"},"map_files_photo_id_array":[{"photo_id":"1326909996","filename":"file5"},{"photo_id":"1326909990","filename":"file2"},{"photo_id":"1326909994","filename":"file4"},{"photo_id":"1326909987","filename":"file1"},{"photo_id":"1326909985","filename":"file0"},{"photo_id":"1326909992","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326909996":["hashtag1","hashtag2"]},{"1326909992":["hashtag1","hashtag2"]},{"1326909994":["hashtag1","hashtag2"]},{"1326909985":["hashtag1","hashtag2"]},{"1326909990":["hashtag1","hashtag2"]},{"1326909987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326909996, 1326909992, 1326909994, 1326909985, 1326909990, 1326909987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.056366205215454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:08:22.800346
SELECT 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/22/53/image_05012025_22_53_02_332110_0002.jpg', '/home/pi/Desktop/images/05012025/22/53/image_05012025_22_53_02_332110_0003.jpg', '/home/pi/Desktop/images/05012025/22/54/image_05012025_22_54_02_493107_0000.jpg', '/home/pi/Desktop/images/05012025/22/54/image_05012025_22_54_02_493107_0001.jpg', '/home/pi/Desktop/images/05012025/22/54/image_05012025_22_54_02_493107_0002.jpg', '/home/pi/Desktop/images/05012025/22/54/image_05012025_22_54_02_493107_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/22/53/image_05012025_22_53_02_332110_0002.jpg
/home/pi/Desktop/images/05012025/22/53/image_05012025_22_53_02_332110_0003.jpg
/home/pi/Desktop/images/05012025/22/54/image_05012025_22_54_02_493107_0000.jpg
/home/pi/Desktop/images/05012025/22/54/image_05012025_22_54_02_493107_0001.jpg
/home/pi/Desktop/images/05012025/22/54/image_05012025_22_54_02_493107_0002.jpg
/home/pi/Desktop/images/05012025/22/54/image_05012025_22_54_02_493107_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":["1326910006","1326910000","1326910008","1326910002","1326910004","1326909999"],"photo_ids_order":["1326909999","1326910000","1326910002","1326910004","1326910006","1326910008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/deb4f043e762e56b020e123de63bd0c7.jpg","text":"TemporaryFile(/tmp/multipartBody3458709734246267259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114977817,"filename":"image_05012025_22_54_02_493107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/695e163bc258faa74fd1a3dd3cf40726.jpg","text":"TemporaryFile(/tmp/multipartBody6254578385042765248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114977817,"filename":"image_05012025_22_53_02_332110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/10b9b3af3fd93cb55ee5598a25fe71af.jpg","text":"TemporaryFile(/tmp/multipartBody2515078841369038159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114977817,"filename":"image_05012025_22_54_02_493107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/795ff1733b6c736e3ee1cad9f5ad058d.jpg","text":"TemporaryFile(/tmp/multipartBody5188627549547501152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114977817,"filename":"image_05012025_22_54_02_493107_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/189a65057b5523ca0f159199e1f0a628.jpg","text":"TemporaryFile(/tmp/multipartBody2168355444427940999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114977817,"filename":"image_05012025_22_54_02_493107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/497e7c7fffbc94cb1e7d2deee578ac32.jpg","text":"TemporaryFile(/tmp/multipartBody321920970095048155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736114977817,"filename":"image_05012025_22_53_02_332110_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910002","file1":"1326910000","file0":"1326909999","file4":"1326910006","file5":"1326910008","file3":"1326910004"},"map_files_photo_id_array":[{"photo_id":"1326910008","filename":"file5"},{"photo_id":"1326910002","filename":"file2"},{"photo_id":"1326910006","filename":"file4"},{"photo_id":"1326910000","filename":"file1"},{"photo_id":"1326909999","filename":"file0"},{"photo_id":"1326910004","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910006":["hashtag1","hashtag2"]},{"1326910000":["hashtag1","hashtag2"]},{"1326910008":["hashtag1","hashtag2"]},{"1326910002":["hashtag1","hashtag2"]},{"1326910004":["hashtag1","hashtag2"]},{"1326909999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910006, 1326910000, 1326910008, 1326910002, 1326910004, 1326909999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.00624060630798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:09:31.890612
SELECT 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/22/55/image_05012025_22_55_02_631036_0000.jpg', '/home/pi/Desktop/images/05012025/22/55/image_05012025_22_55_02_631036_0001.jpg', '/home/pi/Desktop/images/05012025/22/55/image_05012025_22_55_02_631036_0002.jpg', '/home/pi/Desktop/images/05012025/22/55/image_05012025_22_55_02_631036_0003.jpg', '/home/pi/Desktop/images/05012025/22/56/image_05012025_22_56_02_773394_0000.jpg', '/home/pi/Desktop/images/05012025/22/56/image_05012025_22_56_02_773394_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/55/image_05012025_22_55_02_631036_0000.jpg
/home/pi/Desktop/images/05012025/22/55/image_05012025_22_55_02_631036_0001.jpg
/home/pi/Desktop/images/05012025/22/55/image_05012025_22_55_02_631036_0002.jpg
/home/pi/Desktop/images/05012025/22/55/image_05012025_22_55_02_631036_0003.jpg
/home/pi/Desktop/images/05012025/22/56/image_05012025_22_56_02_773394_0000.jpg
/home/pi/Desktop/images/05012025/22/56/image_05012025_22_56_02_773394_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.73206090927124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:09:51.876588
SELECT 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/22/55/image_05012025_22_55_02_631036_0000.jpg', '/home/pi/Desktop/images/05012025/22/55/image_05012025_22_55_02_631036_0001.jpg', '/home/pi/Desktop/images/05012025/22/55/image_05012025_22_55_02_631036_0002.jpg', '/home/pi/Desktop/images/05012025/22/55/image_05012025_22_55_02_631036_0003.jpg', '/home/pi/Desktop/images/05012025/22/56/image_05012025_22_56_02_773394_0000.jpg', '/home/pi/Desktop/images/05012025/22/56/image_05012025_22_56_02_773394_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2466362&datou=0
/home/pi/Desktop/images/05012025/22/55/image_05012025_22_55_02_631036_0000.jpg
/home/pi/Desktop/images/05012025/22/55/image_05012025_22_55_02_631036_0001.jpg
/home/pi/Desktop/images/05012025/22/55/image_05012025_22_55_02_631036_0002.jpg
/home/pi/Desktop/images/05012025/22/55/image_05012025_22_55_02_631036_0003.jpg
/home/pi/Desktop/images/05012025/22/56/image_05012025_22_56_02_773394_0000.jpg
/home/pi/Desktop/images/05012025/22/56/image_05012025_22_56_02_773394_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":["1326910027","1326910026","1326910022","1326910025","1326910019","1326910024"],"photo_ids_order":["1326910019","1326910022","1326910024","1326910025","1326910026","1326910027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fdb057c6c3122af720d17860cbda7a96.jpg","text":"TemporaryFile(/tmp/multipartBody5595342981863151778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115066985,"filename":"image_05012025_22_56_02_773394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bcd60026364b9084e01d8bedc321a799.jpg","text":"TemporaryFile(/tmp/multipartBody954869339339992116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115066985,"filename":"image_05012025_22_56_02_773394_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4495e5b0d1bf0b1501519333371f083b.jpg","text":"TemporaryFile(/tmp/multipartBody461787025327907315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115066985,"filename":"image_05012025_22_55_02_631036_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/57f14359548a6b19e3358f6b4544038f.jpg","text":"TemporaryFile(/tmp/multipartBody7942181525164200007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115066985,"filename":"image_05012025_22_55_02_631036_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ec167979b565c22d817a230fdd17879e.jpg","text":"TemporaryFile(/tmp/multipartBody8480412658895461609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115066985,"filename":"image_05012025_22_55_02_631036_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9632dda7bf36b1a9e7e5f6b147f94034.jpg","text":"TemporaryFile(/tmp/multipartBody1258402673847981496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115066985,"filename":"image_05012025_22_55_02_631036_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910024","file1":"1326910022","file0":"1326910019","file4":"1326910026","file5":"1326910027","file3":"1326910025"},"map_files_photo_id_array":[{"photo_id":"1326910027","filename":"file5"},{"photo_id":"1326910024","filename":"file2"},{"photo_id":"1326910026","filename":"file4"},{"photo_id":"1326910022","filename":"file1"},{"photo_id":"1326910019","filename":"file0"},{"photo_id":"1326910025","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910027":["hashtag1","hashtag2"]},{"1326910026":["hashtag1","hashtag2"]},{"1326910022":["hashtag1","hashtag2"]},{"1326910025":["hashtag1","hashtag2"]},{"1326910019":["hashtag1","hashtag2"]},{"1326910024":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910027, 1326910026, 1326910022, 1326910025, 1326910019, 1326910024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.978938579559326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:10:52.067612
SELECT 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/22/56/image_05012025_22_56_02_773394_0002.jpg', '/home/pi/Desktop/images/05012025/22/56/image_05012025_22_56_02_773394_0003.jpg', '/home/pi/Desktop/images/05012025/22/57/image_05012025_22_57_03_055656_0000.jpg', '/home/pi/Desktop/images/05012025/22/57/image_05012025_22_57_03_055656_0001.jpg', '/home/pi/Desktop/images/05012025/22/57/image_05012025_22_57_03_055656_0002.jpg', '/home/pi/Desktop/images/05012025/22/58/image_05012025_22_58_02_244438_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/22/56/image_05012025_22_56_02_773394_0002.jpg
/home/pi/Desktop/images/05012025/22/56/image_05012025_22_56_02_773394_0003.jpg
/home/pi/Desktop/images/05012025/22/57/image_05012025_22_57_03_055656_0000.jpg
/home/pi/Desktop/images/05012025/22/57/image_05012025_22_57_03_055656_0001.jpg
/home/pi/Desktop/images/05012025/22/57/image_05012025_22_57_03_055656_0002.jpg
/home/pi/Desktop/images/05012025/22/58/image_05012025_22_58_02_244438_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.652494192123413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:11:22.358095
SELECT 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/22/56/image_05012025_22_56_02_773394_0002.jpg', '/home/pi/Desktop/images/05012025/22/56/image_05012025_22_56_02_773394_0003.jpg', '/home/pi/Desktop/images/05012025/22/57/image_05012025_22_57_03_055656_0000.jpg', '/home/pi/Desktop/images/05012025/22/57/image_05012025_22_57_03_055656_0001.jpg', '/home/pi/Desktop/images/05012025/22/57/image_05012025_22_57_03_055656_0002.jpg', '/home/pi/Desktop/images/05012025/22/58/image_05012025_22_58_02_244438_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/22/56/image_05012025_22_56_02_773394_0002.jpg
/home/pi/Desktop/images/05012025/22/56/image_05012025_22_56_02_773394_0003.jpg
/home/pi/Desktop/images/05012025/22/57/image_05012025_22_57_03_055656_0000.jpg
/home/pi/Desktop/images/05012025/22/57/image_05012025_22_57_03_055656_0001.jpg
/home/pi/Desktop/images/05012025/22/57/image_05012025_22_57_03_055656_0002.jpg
/home/pi/Desktop/images/05012025/22/58/image_05012025_22_58_02_244438_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":["1326910041","1326910047","1326910049","1326910043","1326910045","1326910039"],"photo_ids_order":["1326910039","1326910041","1326910043","1326910045","1326910047","1326910049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1974b4a0d547ce93451737848cb8b7a8.jpg","text":"TemporaryFile(/tmp/multipartBody1183239815962009878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115157386,"filename":"image_05012025_22_56_02_773394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ec356686687da4204c16133a4f8dceb8.jpg","text":"TemporaryFile(/tmp/multipartBody333484192635046362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115157386,"filename":"image_05012025_22_57_03_055656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2c54c3fc979f26a54f0366cee1ebdb22.jpg","text":"TemporaryFile(/tmp/multipartBody735596714445804133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115157386,"filename":"image_05012025_22_58_02_244438_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4613ba173d5bb83a6f57f5d719d4d182.jpg","text":"TemporaryFile(/tmp/multipartBody2862361446573143375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115157386,"filename":"image_05012025_22_57_03_055656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1f39b2a2e3b5fc2b6db0e27124ba716d.jpg","text":"TemporaryFile(/tmp/multipartBody794014593228655048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115157386,"filename":"image_05012025_22_57_03_055656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cac07c942bd087fe6645f21e0de9bf12.jpg","text":"TemporaryFile(/tmp/multipartBody3220365467121346067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115157386,"filename":"image_05012025_22_56_02_773394_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910043","file1":"1326910041","file0":"1326910039","file4":"1326910047","file5":"1326910049","file3":"1326910045"},"map_files_photo_id_array":[{"photo_id":"1326910049","filename":"file5"},{"photo_id":"1326910043","filename":"file2"},{"photo_id":"1326910047","filename":"file4"},{"photo_id":"1326910041","filename":"file1"},{"photo_id":"1326910039","filename":"file0"},{"photo_id":"1326910045","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910041":["hashtag1","hashtag2"]},{"1326910047":["hashtag1","hashtag2"]},{"1326910049":["hashtag1","hashtag2"]},{"1326910043":["hashtag1","hashtag2"]},{"1326910045":["hashtag1","hashtag2"]},{"1326910039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910041, 1326910047, 1326910049, 1326910043, 1326910045, 1326910039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.74207544326782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:12:32.404942
SELECT 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/22/58/image_05012025_22_58_02_244438_0001.jpg', '/home/pi/Desktop/images/05012025/22/58/image_05012025_22_58_02_244438_0002.jpg', '/home/pi/Desktop/images/05012025/22/58/image_05012025_22_58_02_244438_0003.jpg', '/home/pi/Desktop/images/05012025/22/59/image_05012025_22_59_02_367626_0000.jpg', '/home/pi/Desktop/images/05012025/22/59/image_05012025_22_59_02_367626_0001.jpg', '/home/pi/Desktop/images/05012025/22/59/image_05012025_22_59_02_367626_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/22/58/image_05012025_22_58_02_244438_0001.jpg
/home/pi/Desktop/images/05012025/22/58/image_05012025_22_58_02_244438_0002.jpg
/home/pi/Desktop/images/05012025/22/58/image_05012025_22_58_02_244438_0003.jpg
/home/pi/Desktop/images/05012025/22/59/image_05012025_22_59_02_367626_0000.jpg
/home/pi/Desktop/images/05012025/22/59/image_05012025_22_59_02_367626_0001.jpg
/home/pi/Desktop/images/05012025/22/59/image_05012025_22_59_02_367626_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326910053","1326910065","1326910061","1326910055","1326910063","1326910057"],"photo_ids_order":["1326910053","1326910055","1326910057","1326910061","1326910063","1326910065"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4da41e680a8cc8f6350f1071d7d18801.jpg","text":"TemporaryFile(/tmp/multipartBody6578350364723441534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115228152,"filename":"image_05012025_22_58_02_244438_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f726226f2af028a9726422be2f693bc.jpg","text":"TemporaryFile(/tmp/multipartBody8765426177623772040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115228152,"filename":"image_05012025_22_59_02_367626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/defa4b9fec53a213be2983c75144b984.jpg","text":"TemporaryFile(/tmp/multipartBody4838261415816955673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115228152,"filename":"image_05012025_22_59_02_367626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fcb7faf597042772c40589ac8bcbafc0.jpg","text":"TemporaryFile(/tmp/multipartBody7183479952923952792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115228152,"filename":"image_05012025_22_58_02_244438_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/63892ba8ba5fa61a9f00f42459a158d2.jpg","text":"TemporaryFile(/tmp/multipartBody4557868818310360900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115228152,"filename":"image_05012025_22_59_02_367626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0546c752b892a1c0e34fc49f7fea3795.jpg","text":"TemporaryFile(/tmp/multipartBody3471826975386118354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115228152,"filename":"image_05012025_22_58_02_244438_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910057","file1":"1326910055","file0":"1326910053","file4":"1326910063","file5":"1326910065","file3":"1326910061"},"map_files_photo_id_array":[{"photo_id":"1326910065","filename":"file5"},{"photo_id":"1326910057","filename":"file2"},{"photo_id":"1326910063","filename":"file4"},{"photo_id":"1326910055","filename":"file1"},{"photo_id":"1326910053","filename":"file0"},{"photo_id":"1326910061","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910053":["hashtag1","hashtag2"]},{"1326910065":["hashtag1","hashtag2"]},{"1326910061":["hashtag1","hashtag2"]},{"1326910055":["hashtag1","hashtag2"]},{"1326910063":["hashtag1","hashtag2"]},{"1326910057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910053, 1326910065, 1326910061, 1326910055, 1326910063, 1326910057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.41765356063843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 23:13:42.608477
SELECT 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/22/59/image_05012025_22_59_02_367626_0003.jpg', '/home/pi/Desktop/images/05012025/23/00/image_05012025_23_00_02_588380_0000.jpg', '/home/pi/Desktop/images/05012025/23/00/image_05012025_23_00_02_588380_0001.jpg', '/home/pi/Desktop/images/05012025/23/00/image_05012025_23_00_02_588380_0002.jpg', '/home/pi/Desktop/images/05012025/23/00/image_05012025_23_00_02_588380_0003.jpg', '/home/pi/Desktop/images/05012025/23/01/image_05012025_23_01_02_658691_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/22/59/image_05012025_22_59_02_367626_0003.jpg
/home/pi/Desktop/images/05012025/23/00/image_05012025_23_00_02_588380_0000.jpg
/home/pi/Desktop/images/05012025/23/00/image_05012025_23_00_02_588380_0001.jpg
/home/pi/Desktop/images/05012025/23/00/image_05012025_23_00_02_588380_0002.jpg
/home/pi/Desktop/images/05012025/23/00/image_05012025_23_00_02_588380_0003.jpg
/home/pi/Desktop/images/05012025/23/01/image_05012025_23_01_02_658691_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":["1326910086","1326910076","1326910079","1326910088","1326910069","1326910084"],"photo_ids_order":["1326910069","1326910076","1326910079","1326910084","1326910086","1326910088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/75fde6ec8d0140da504fb55cfeaa4e85.jpg","text":"TemporaryFile(/tmp/multipartBody6466323771948825405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115297584,"filename":"image_05012025_23_00_02_588380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/524dd72ba9f20bcea78c18c80335cd2d.jpg","text":"TemporaryFile(/tmp/multipartBody7620269874355567898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115297584,"filename":"image_05012025_23_00_02_588380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2fad2e724e990dc5d92df0dd31df942d.jpg","text":"TemporaryFile(/tmp/multipartBody3787900083546327871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115297584,"filename":"image_05012025_23_00_02_588380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3be8dd675cd8ad72434e20b2c1a60f83.jpg","text":"TemporaryFile(/tmp/multipartBody7797887731289431053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115297584,"filename":"image_05012025_23_01_02_658691_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f8fa4d7c508a3fc788140c3849c02ed.jpg","text":"TemporaryFile(/tmp/multipartBody3099256697350545836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115297584,"filename":"image_05012025_22_59_02_367626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/acaa8b1db94efe664c7b08f527babb54.jpg","text":"TemporaryFile(/tmp/multipartBody7134654099334562295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115297584,"filename":"image_05012025_23_00_02_588380_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910079","file1":"1326910076","file0":"1326910069","file4":"1326910086","file5":"1326910088","file3":"1326910084"},"map_files_photo_id_array":[{"photo_id":"1326910088","filename":"file5"},{"photo_id":"1326910079","filename":"file2"},{"photo_id":"1326910086","filename":"file4"},{"photo_id":"1326910076","filename":"file1"},{"photo_id":"1326910069","filename":"file0"},{"photo_id":"1326910084","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910086":["hashtag1","hashtag2"]},{"1326910076":["hashtag1","hashtag2"]},{"1326910079":["hashtag1","hashtag2"]},{"1326910088":["hashtag1","hashtag2"]},{"1326910069":["hashtag1","hashtag2"]},{"1326910084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910086, 1326910076, 1326910079, 1326910088, 1326910069, 1326910084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.68851971626282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:14:52.785281
SELECT 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/01/image_05012025_23_01_02_658691_0001.jpg', '/home/pi/Desktop/images/05012025/23/01/image_05012025_23_01_02_658691_0002.jpg', '/home/pi/Desktop/images/05012025/23/01/image_05012025_23_01_02_658691_0003.jpg', '/home/pi/Desktop/images/05012025/23/02/image_05012025_23_02_02_810672_0000.jpg', '/home/pi/Desktop/images/05012025/23/02/image_05012025_23_02_02_810672_0001.jpg', '/home/pi/Desktop/images/05012025/23/02/image_05012025_23_02_02_810672_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/01/image_05012025_23_01_02_658691_0001.jpg
/home/pi/Desktop/images/05012025/23/01/image_05012025_23_01_02_658691_0002.jpg
/home/pi/Desktop/images/05012025/23/01/image_05012025_23_01_02_658691_0003.jpg
/home/pi/Desktop/images/05012025/23/02/image_05012025_23_02_02_810672_0000.jpg
/home/pi/Desktop/images/05012025/23/02/image_05012025_23_02_02_810672_0001.jpg
/home/pi/Desktop/images/05012025/23/02/image_05012025_23_02_02_810672_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326910098","1326910092","1326910094","1326910096","1326910099","1326910090"],"photo_ids_order":["1326910090","1326910092","1326910094","1326910096","1326910098","1326910099"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02e1a6c62b7d76cf542bab4ef41cef76.jpg","text":"TemporaryFile(/tmp/multipartBody1803117937049261176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115367637,"filename":"image_05012025_23_02_02_810672_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cfe68759a5f16a2344eab2c9e734a663.jpg","text":"TemporaryFile(/tmp/multipartBody881442372173776162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115367637,"filename":"image_05012025_23_01_02_658691_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e978a2db5c03c3d79a575fcb751e2e69.jpg","text":"TemporaryFile(/tmp/multipartBody7411411683517002292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115367637,"filename":"image_05012025_23_01_02_658691_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dde6beb81b937343ed84c396dd1c9107.jpg","text":"TemporaryFile(/tmp/multipartBody4803058446995444285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115367637,"filename":"image_05012025_23_02_02_810672_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/932b39d26bb3c45eddfc72ccfb55b237.jpg","text":"TemporaryFile(/tmp/multipartBody4061749736061065268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115367637,"filename":"image_05012025_23_02_02_810672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5cd0be84e49cfcccf77f289ec62467da.jpg","text":"TemporaryFile(/tmp/multipartBody3376319689001818374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115367637,"filename":"image_05012025_23_01_02_658691_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910094","file1":"1326910092","file0":"1326910090","file4":"1326910098","file5":"1326910099","file3":"1326910096"},"map_files_photo_id_array":[{"photo_id":"1326910099","filename":"file5"},{"photo_id":"1326910094","filename":"file2"},{"photo_id":"1326910098","filename":"file4"},{"photo_id":"1326910092","filename":"file1"},{"photo_id":"1326910090","filename":"file0"},{"photo_id":"1326910096","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910098":["hashtag1","hashtag2"]},{"1326910092":["hashtag1","hashtag2"]},{"1326910094":["hashtag1","hashtag2"]},{"1326910096":["hashtag1","hashtag2"]},{"1326910099":["hashtag1","hashtag2"]},{"1326910090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910098, 1326910092, 1326910094, 1326910096, 1326910099, 1326910090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.26162672042847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:15:51.929736
SELECT 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/03/image_05012025_23_03_03_038902_0000.jpg', '/home/pi/Desktop/images/05012025/23/03/image_05012025_23_03_03_038902_0001.jpg', '/home/pi/Desktop/images/05012025/23/03/image_05012025_23_03_03_038902_0002.jpg', '/home/pi/Desktop/images/05012025/23/03/image_05012025_23_03_03_038902_0003.jpg', '/home/pi/Desktop/images/05012025/23/04/image_05012025_23_04_02_181822_0000.jpg', '/home/pi/Desktop/images/05012025/23/04/image_05012025_23_04_02_181822_0001.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/03/image_05012025_23_03_03_038902_0000.jpg
/home/pi/Desktop/images/05012025/23/03/image_05012025_23_03_03_038902_0001.jpg
/home/pi/Desktop/images/05012025/23/03/image_05012025_23_03_03_038902_0002.jpg
/home/pi/Desktop/images/05012025/23/03/image_05012025_23_03_03_038902_0003.jpg
/home/pi/Desktop/images/05012025/23/04/image_05012025_23_04_02_181822_0000.jpg
/home/pi/Desktop/images/05012025/23/04/image_05012025_23_04_02_181822_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":["1326910111","1326910108","1326910110","1326910104","1326910109","1326910106"],"photo_ids_order":["1326910104","1326910106","1326910108","1326910109","1326910110","1326910111"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e6e08931d6217afc5cbb52efe59429ee.jpg","text":"TemporaryFile(/tmp/multipartBody6093085439728280378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115426819,"filename":"image_05012025_23_04_02_181822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fd3e9ec1bd7eb696a2000738db556b69.jpg","text":"TemporaryFile(/tmp/multipartBody5836627763348243836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115426819,"filename":"image_05012025_23_03_03_038902_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/32551d7a117a08330e72f2c8f1c503f2.jpg","text":"TemporaryFile(/tmp/multipartBody2726976550782638025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115426819,"filename":"image_05012025_23_04_02_181822_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a0c47a1b9181b88be9112aa2cb794e6.jpg","text":"TemporaryFile(/tmp/multipartBody7471314050711059936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115426819,"filename":"image_05012025_23_03_03_038902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f5c63a5b650f78eb6c7ff1c25586dcd6.jpg","text":"TemporaryFile(/tmp/multipartBody6479235340807453018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115426819,"filename":"image_05012025_23_03_03_038902_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8d83ab468143ddb8db3f4770cbc916df.jpg","text":"TemporaryFile(/tmp/multipartBody4437420700189216553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115426819,"filename":"image_05012025_23_03_03_038902_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910108","file1":"1326910106","file0":"1326910104","file4":"1326910110","file5":"1326910111","file3":"1326910109"},"map_files_photo_id_array":[{"photo_id":"1326910111","filename":"file5"},{"photo_id":"1326910108","filename":"file2"},{"photo_id":"1326910110","filename":"file4"},{"photo_id":"1326910106","filename":"file1"},{"photo_id":"1326910104","filename":"file0"},{"photo_id":"1326910109","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910111":["hashtag1","hashtag2"]},{"1326910108":["hashtag1","hashtag2"]},{"1326910110":["hashtag1","hashtag2"]},{"1326910104":["hashtag1","hashtag2"]},{"1326910109":["hashtag1","hashtag2"]},{"1326910106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910111, 1326910108, 1326910110, 1326910104, 1326910109, 1326910106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.073081254959106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:16:52.139499
SELECT 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/04/image_05012025_23_04_02_181822_0002.jpg', '/home/pi/Desktop/images/05012025/23/04/image_05012025_23_04_02_181822_0003.jpg', '/home/pi/Desktop/images/05012025/23/05/image_05012025_23_05_02_333996_0000.jpg', '/home/pi/Desktop/images/05012025/23/05/image_05012025_23_05_02_333996_0001.jpg', '/home/pi/Desktop/images/05012025/23/05/image_05012025_23_05_02_333996_0002.jpg', '/home/pi/Desktop/images/05012025/23/05/image_05012025_23_05_02_333996_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/04/image_05012025_23_04_02_181822_0002.jpg
/home/pi/Desktop/images/05012025/23/04/image_05012025_23_04_02_181822_0003.jpg
/home/pi/Desktop/images/05012025/23/05/image_05012025_23_05_02_333996_0000.jpg
/home/pi/Desktop/images/05012025/23/05/image_05012025_23_05_02_333996_0001.jpg
/home/pi/Desktop/images/05012025/23/05/image_05012025_23_05_02_333996_0002.jpg
/home/pi/Desktop/images/05012025/23/05/image_05012025_23_05_02_333996_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.518022298812866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:17:22.297631
SELECT 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/04/image_05012025_23_04_02_181822_0002.jpg', '/home/pi/Desktop/images/05012025/23/04/image_05012025_23_04_02_181822_0003.jpg', '/home/pi/Desktop/images/05012025/23/05/image_05012025_23_05_02_333996_0000.jpg', '/home/pi/Desktop/images/05012025/23/05/image_05012025_23_05_02_333996_0001.jpg', '/home/pi/Desktop/images/05012025/23/05/image_05012025_23_05_02_333996_0002.jpg', '/home/pi/Desktop/images/05012025/23/05/image_05012025_23_05_02_333996_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/04/image_05012025_23_04_02_181822_0002.jpg
/home/pi/Desktop/images/05012025/23/04/image_05012025_23_04_02_181822_0003.jpg
/home/pi/Desktop/images/05012025/23/05/image_05012025_23_05_02_333996_0000.jpg
/home/pi/Desktop/images/05012025/23/05/image_05012025_23_05_02_333996_0001.jpg
/home/pi/Desktop/images/05012025/23/05/image_05012025_23_05_02_333996_0002.jpg
/home/pi/Desktop/images/05012025/23/05/image_05012025_23_05_02_333996_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":["1326910132","1326910125","1326910128","1326910130","1326910133","1326910124"],"photo_ids_order":["1326910124","1326910125","1326910128","1326910130","1326910132","1326910133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7b625dce341a8b9df0eb1f36853579bd.jpg","text":"TemporaryFile(/tmp/multipartBody5189522749392407751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115517217,"filename":"image_05012025_23_05_02_333996_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/41d6454b89573e2ab9a2056a31c20255.jpg","text":"TemporaryFile(/tmp/multipartBody6277847356923697031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115517217,"filename":"image_05012025_23_04_02_181822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3010e240fa35e8da45f386c8dec57030.jpg","text":"TemporaryFile(/tmp/multipartBody1253292132299577472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115517217,"filename":"image_05012025_23_05_02_333996_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1bf3bdac3f9323a664b67bbe9018e08f.jpg","text":"TemporaryFile(/tmp/multipartBody6693467276333670090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115517217,"filename":"image_05012025_23_05_02_333996_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4ffa74f07a1ee7e0ac9cae804ec31515.jpg","text":"TemporaryFile(/tmp/multipartBody6126780905612480383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115517217,"filename":"image_05012025_23_05_02_333996_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1ede2cd6bfe5c38a65380af7f5524cce.jpg","text":"TemporaryFile(/tmp/multipartBody2417899079447038274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115517217,"filename":"image_05012025_23_04_02_181822_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910128","file1":"1326910125","file0":"1326910124","file4":"1326910132","file5":"1326910133","file3":"1326910130"},"map_files_photo_id_array":[{"photo_id":"1326910133","filename":"file5"},{"photo_id":"1326910128","filename":"file2"},{"photo_id":"1326910132","filename":"file4"},{"photo_id":"1326910125","filename":"file1"},{"photo_id":"1326910124","filename":"file0"},{"photo_id":"1326910130","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910132":["hashtag1","hashtag2"]},{"1326910125":["hashtag1","hashtag2"]},{"1326910128":["hashtag1","hashtag2"]},{"1326910130":["hashtag1","hashtag2"]},{"1326910133":["hashtag1","hashtag2"]},{"1326910124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910132, 1326910125, 1326910128, 1326910130, 1326910133, 1326910124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.346832036972046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:18:22.558872
SELECT 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/06/image_05012025_23_06_02_577723_0000.jpg', '/home/pi/Desktop/images/05012025/23/06/image_05012025_23_06_02_577723_0001.jpg', '/home/pi/Desktop/images/05012025/23/06/image_05012025_23_06_02_577723_0002.jpg', '/home/pi/Desktop/images/05012025/23/06/image_05012025_23_06_02_577723_0003.jpg', '/home/pi/Desktop/images/05012025/23/07/image_05012025_23_07_02_810912_0000.jpg', '/home/pi/Desktop/images/05012025/23/07/image_05012025_23_07_02_810912_0001.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/06/image_05012025_23_06_02_577723_0000.jpg
/home/pi/Desktop/images/05012025/23/06/image_05012025_23_06_02_577723_0001.jpg
/home/pi/Desktop/images/05012025/23/06/image_05012025_23_06_02_577723_0002.jpg
/home/pi/Desktop/images/05012025/23/06/image_05012025_23_06_02_577723_0003.jpg
/home/pi/Desktop/images/05012025/23/07/image_05012025_23_07_02_810912_0000.jpg
/home/pi/Desktop/images/05012025/23/07/image_05012025_23_07_02_810912_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":["1326910143","1326910137","1326910146","1326910139","1326910136","1326910141"],"photo_ids_order":["1326910136","1326910137","1326910139","1326910141","1326910143","1326910146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/702db5a9aab75a8d607d95594ef4ec1c.jpg","text":"TemporaryFile(/tmp/multipartBody5282333044077326557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115577464,"filename":"image_05012025_23_07_02_810912_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9fe6660e7ee0a0d9829902c17ab3c41c.jpg","text":"TemporaryFile(/tmp/multipartBody4340039156303613772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115577464,"filename":"image_05012025_23_06_02_577723_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/81822a401e0500ecb7bba308e164d622.jpg","text":"TemporaryFile(/tmp/multipartBody7448378128886041136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115577464,"filename":"image_05012025_23_07_02_810912_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d75c7ea47f90ec90569267f7db619d10.jpg","text":"TemporaryFile(/tmp/multipartBody3403038705586423465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115577464,"filename":"image_05012025_23_06_02_577723_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/68f4aaf7f2bc0b1e1a102e1b42f73d99.jpg","text":"TemporaryFile(/tmp/multipartBody2718581795065814623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115577464,"filename":"image_05012025_23_06_02_577723_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/54defb33dd311bd24c034dc2c77854e7.jpg","text":"TemporaryFile(/tmp/multipartBody538475229927293684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115577464,"filename":"image_05012025_23_06_02_577723_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910139","file1":"1326910137","file0":"1326910136","file4":"1326910143","file5":"1326910146","file3":"1326910141"},"map_files_photo_id_array":[{"photo_id":"1326910146","filename":"file5"},{"photo_id":"1326910139","filename":"file2"},{"photo_id":"1326910143","filename":"file4"},{"photo_id":"1326910137","filename":"file1"},{"photo_id":"1326910136","filename":"file0"},{"photo_id":"1326910141","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910143":["hashtag1","hashtag2"]},{"1326910137":["hashtag1","hashtag2"]},{"1326910146":["hashtag1","hashtag2"]},{"1326910139":["hashtag1","hashtag2"]},{"1326910136":["hashtag1","hashtag2"]},{"1326910141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910143, 1326910137, 1326910146, 1326910139, 1326910136, 1326910141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.666802644729614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:19:22.756312
SELECT 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/07/image_05012025_23_07_02_810912_0002.jpg', '/home/pi/Desktop/images/05012025/23/07/image_05012025_23_07_02_810912_0003.jpg', '/home/pi/Desktop/images/05012025/23/08/image_05012025_23_08_02_945262_0000.jpg', '/home/pi/Desktop/images/05012025/23/08/image_05012025_23_08_02_945262_0001.jpg', '/home/pi/Desktop/images/05012025/23/08/image_05012025_23_08_02_945262_0002.jpg', '/home/pi/Desktop/images/05012025/23/08/image_05012025_23_08_02_945262_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/07/image_05012025_23_07_02_810912_0002.jpg
/home/pi/Desktop/images/05012025/23/07/image_05012025_23_07_02_810912_0003.jpg
/home/pi/Desktop/images/05012025/23/08/image_05012025_23_08_02_945262_0000.jpg
/home/pi/Desktop/images/05012025/23/08/image_05012025_23_08_02_945262_0001.jpg
/home/pi/Desktop/images/05012025/23/08/image_05012025_23_08_02_945262_0002.jpg
/home/pi/Desktop/images/05012025/23/08/image_05012025_23_08_02_945262_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":["1326910153","1326910155","1326910157","1326910154","1326910156","1326910159"],"photo_ids_order":["1326910153","1326910154","1326910155","1326910156","1326910157","1326910159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9b653a56b0449446a58622eace9f5512.jpg","text":"TemporaryFile(/tmp/multipartBody4150680458510597893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115637744,"filename":"image_05012025_23_07_02_810912_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c5dbf49d952c90fef9066b2e98facfc5.jpg","text":"TemporaryFile(/tmp/multipartBody1338536591528500058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115637744,"filename":"image_05012025_23_08_02_945262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fcc0772877d64c23d0dce0678badbd60.jpg","text":"TemporaryFile(/tmp/multipartBody4816703327084354969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115637744,"filename":"image_05012025_23_08_02_945262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1cc0d41aa3ec7cb4b6f1c6edb48e98b0.jpg","text":"TemporaryFile(/tmp/multipartBody2226354977534897878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115637744,"filename":"image_05012025_23_07_02_810912_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/23c2540d6e313e06ee43c65bd7f198b9.jpg","text":"TemporaryFile(/tmp/multipartBody5349060684083879596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115637744,"filename":"image_05012025_23_08_02_945262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d117f07027474d4220547dab333619ee.jpg","text":"TemporaryFile(/tmp/multipartBody4759248016753555175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115637744,"filename":"image_05012025_23_08_02_945262_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910155","file1":"1326910154","file0":"1326910153","file4":"1326910157","file5":"1326910159","file3":"1326910156"},"map_files_photo_id_array":[{"photo_id":"1326910159","filename":"file5"},{"photo_id":"1326910155","filename":"file2"},{"photo_id":"1326910157","filename":"file4"},{"photo_id":"1326910154","filename":"file1"},{"photo_id":"1326910153","filename":"file0"},{"photo_id":"1326910156","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910153":["hashtag1","hashtag2"]},{"1326910155":["hashtag1","hashtag2"]},{"1326910157":["hashtag1","hashtag2"]},{"1326910154":["hashtag1","hashtag2"]},{"1326910156":["hashtag1","hashtag2"]},{"1326910159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910153, 1326910155, 1326910157, 1326910154, 1326910156, 1326910159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.174068450927734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:20:22.007974
SELECT 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/09/image_05012025_23_09_03_185876_0000.jpg', '/home/pi/Desktop/images/05012025/23/09/image_05012025_23_09_03_185876_0001.jpg', '/home/pi/Desktop/images/05012025/23/09/image_05012025_23_09_03_185876_0002.jpg', '/home/pi/Desktop/images/05012025/23/09/image_05012025_23_09_03_185876_0003.jpg', '/home/pi/Desktop/images/05012025/23/10/image_05012025_23_10_02_293323_0000.jpg', '/home/pi/Desktop/images/05012025/23/10/image_05012025_23_10_02_293323_0001.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/09/image_05012025_23_09_03_185876_0000.jpg
/home/pi/Desktop/images/05012025/23/09/image_05012025_23_09_03_185876_0001.jpg
/home/pi/Desktop/images/05012025/23/09/image_05012025_23_09_03_185876_0002.jpg
/home/pi/Desktop/images/05012025/23/09/image_05012025_23_09_03_185876_0003.jpg
/home/pi/Desktop/images/05012025/23/10/image_05012025_23_10_02_293323_0000.jpg
/home/pi/Desktop/images/05012025/23/10/image_05012025_23_10_02_293323_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.680068969726562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 23:20:41.968355
SELECT 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/09/image_05012025_23_09_03_185876_0000.jpg', '/home/pi/Desktop/images/05012025/23/09/image_05012025_23_09_03_185876_0001.jpg', '/home/pi/Desktop/images/05012025/23/09/image_05012025_23_09_03_185876_0002.jpg', '/home/pi/Desktop/images/05012025/23/09/image_05012025_23_09_03_185876_0003.jpg', '/home/pi/Desktop/images/05012025/23/10/image_05012025_23_10_02_293323_0000.jpg', '/home/pi/Desktop/images/05012025/23/10/image_05012025_23_10_02_293323_0001.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/09/image_05012025_23_09_03_185876_0000.jpg
/home/pi/Desktop/images/05012025/23/09/image_05012025_23_09_03_185876_0001.jpg
/home/pi/Desktop/images/05012025/23/09/image_05012025_23_09_03_185876_0002.jpg
/home/pi/Desktop/images/05012025/23/09/image_05012025_23_09_03_185876_0003.jpg
/home/pi/Desktop/images/05012025/23/10/image_05012025_23_10_02_293323_0000.jpg
/home/pi/Desktop/images/05012025/23/10/image_05012025_23_10_02_293323_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":["1326910170","1326910173","1326910176","1326910178","1326910180","1326910168"],"photo_ids_order":["1326910168","1326910170","1326910173","1326910176","1326910178","1326910180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/90f42544615fa90267c7a3a3ded8b568.jpg","text":"TemporaryFile(/tmp/multipartBody4528175217440300284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115717044,"filename":"image_05012025_23_09_03_185876_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d2f5b78f55f0effa4edfa53aadbe3bc3.jpg","text":"TemporaryFile(/tmp/multipartBody5592510082703082132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115717044,"filename":"image_05012025_23_09_03_185876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f33eeee30992646a71e74ec1e124be3d.jpg","text":"TemporaryFile(/tmp/multipartBody279584057482524389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115717044,"filename":"image_05012025_23_09_03_185876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f95b34e144a6d277532b63248bc4255b.jpg","text":"TemporaryFile(/tmp/multipartBody7747596667698103409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115717044,"filename":"image_05012025_23_10_02_293323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1333d17b617df3b75cde24eef770e0ea.jpg","text":"TemporaryFile(/tmp/multipartBody4680378237299538893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115717044,"filename":"image_05012025_23_10_02_293323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d1d544a586c9f3ae3daa08662b8b7133.jpg","text":"TemporaryFile(/tmp/multipartBody909684327034789968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115717044,"filename":"image_05012025_23_09_03_185876_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910173","file1":"1326910170","file0":"1326910168","file4":"1326910178","file5":"1326910180","file3":"1326910176"},"map_files_photo_id_array":[{"photo_id":"1326910180","filename":"file5"},{"photo_id":"1326910173","filename":"file2"},{"photo_id":"1326910178","filename":"file4"},{"photo_id":"1326910170","filename":"file1"},{"photo_id":"1326910168","filename":"file0"},{"photo_id":"1326910176","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910170":["hashtag1","hashtag2"]},{"1326910173":["hashtag1","hashtag2"]},{"1326910176":["hashtag1","hashtag2"]},{"1326910178":["hashtag1","hashtag2"]},{"1326910180":["hashtag1","hashtag2"]},{"1326910168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910170, 1326910173, 1326910176, 1326910178, 1326910180, 1326910168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.493056297302246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:21:52.119230
SELECT 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/10/image_05012025_23_10_02_293323_0002.jpg', '/home/pi/Desktop/images/05012025/23/10/image_05012025_23_10_02_293323_0003.jpg', '/home/pi/Desktop/images/05012025/23/11/image_05012025_23_11_02_455212_0000.jpg', '/home/pi/Desktop/images/05012025/23/11/image_05012025_23_11_02_455212_0001.jpg', '/home/pi/Desktop/images/05012025/23/11/image_05012025_23_11_02_455212_0002.jpg', '/home/pi/Desktop/images/05012025/23/11/image_05012025_23_11_02_455212_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/10/image_05012025_23_10_02_293323_0002.jpg
/home/pi/Desktop/images/05012025/23/10/image_05012025_23_10_02_293323_0003.jpg
/home/pi/Desktop/images/05012025/23/11/image_05012025_23_11_02_455212_0000.jpg
/home/pi/Desktop/images/05012025/23/11/image_05012025_23_11_02_455212_0001.jpg
/home/pi/Desktop/images/05012025/23/11/image_05012025_23_11_02_455212_0002.jpg
/home/pi/Desktop/images/05012025/23/11/image_05012025_23_11_02_455212_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":["1326910191","1326910185","1326910187","1326910192","1326910189","1326910183"],"photo_ids_order":["1326910183","1326910185","1326910187","1326910189","1326910191","1326910192"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9da21f401711193492bee7624ce8b84c.jpg","text":"TemporaryFile(/tmp/multipartBody3977029733883746832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115787079,"filename":"image_05012025_23_11_02_455212_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d33f58cd44a1346c9ecb2c3542d7f3e9.jpg","text":"TemporaryFile(/tmp/multipartBody7259585413083014402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115787079,"filename":"image_05012025_23_10_02_293323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2993016022f09bebdf52e9b7fefa71e8.jpg","text":"TemporaryFile(/tmp/multipartBody2492491056609223426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115787079,"filename":"image_05012025_23_11_02_455212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/42fef6116e100d1151f144ab809a9d13.jpg","text":"TemporaryFile(/tmp/multipartBody1415155614008580857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115787079,"filename":"image_05012025_23_11_02_455212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/25a1af3c27aaf046f478d5be923d3461.jpg","text":"TemporaryFile(/tmp/multipartBody7196635206238799225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115787079,"filename":"image_05012025_23_11_02_455212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1237f307640e3ded5a2f324ec2fca39e.jpg","text":"TemporaryFile(/tmp/multipartBody6128132219599960069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115787079,"filename":"image_05012025_23_10_02_293323_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910187","file1":"1326910185","file0":"1326910183","file4":"1326910191","file5":"1326910192","file3":"1326910189"},"map_files_photo_id_array":[{"photo_id":"1326910192","filename":"file5"},{"photo_id":"1326910187","filename":"file2"},{"photo_id":"1326910191","filename":"file4"},{"photo_id":"1326910185","filename":"file1"},{"photo_id":"1326910183","filename":"file0"},{"photo_id":"1326910189","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910191":["hashtag1","hashtag2"]},{"1326910185":["hashtag1","hashtag2"]},{"1326910187":["hashtag1","hashtag2"]},{"1326910192":["hashtag1","hashtag2"]},{"1326910189":["hashtag1","hashtag2"]},{"1326910183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910191, 1326910185, 1326910187, 1326910192, 1326910189, 1326910183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.09983563423157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:22:52.209220
SELECT 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/12/image_05012025_23_12_02_683751_0000.jpg', '/home/pi/Desktop/images/05012025/23/12/image_05012025_23_12_02_683751_0001.jpg', '/home/pi/Desktop/images/05012025/23/12/image_05012025_23_12_02_683751_0002.jpg', '/home/pi/Desktop/images/05012025/23/12/image_05012025_23_12_02_683751_0003.jpg', '/home/pi/Desktop/images/05012025/23/13/image_05012025_23_13_02_783712_0000.jpg', '/home/pi/Desktop/images/05012025/23/13/image_05012025_23_13_02_783712_0001.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/12/image_05012025_23_12_02_683751_0000.jpg
/home/pi/Desktop/images/05012025/23/12/image_05012025_23_12_02_683751_0001.jpg
/home/pi/Desktop/images/05012025/23/12/image_05012025_23_12_02_683751_0002.jpg
/home/pi/Desktop/images/05012025/23/12/image_05012025_23_12_02_683751_0003.jpg
/home/pi/Desktop/images/05012025/23/13/image_05012025_23_13_02_783712_0000.jpg
/home/pi/Desktop/images/05012025/23/13/image_05012025_23_13_02_783712_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":["1326910204","1326910197","1326910201","1326910203","1326910199","1326910202"],"photo_ids_order":["1326910197","1326910199","1326910201","1326910202","1326910203","1326910204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ece2adb1d9d90a0c38b0fffe2edff06f.jpg","text":"TemporaryFile(/tmp/multipartBody8171595050271374262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115847167,"filename":"image_05012025_23_13_02_783712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0adbdca71cb0cde5171ce21fd943926f.jpg","text":"TemporaryFile(/tmp/multipartBody5450214518419075909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115847167,"filename":"image_05012025_23_12_02_683751_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9e5daadc0bf304034aecfd44a005db67.jpg","text":"TemporaryFile(/tmp/multipartBody2220581642873272654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115847167,"filename":"image_05012025_23_12_02_683751_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3a613fdda782a9502c6d29c4043e474d.jpg","text":"TemporaryFile(/tmp/multipartBody3814631281421648784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115847167,"filename":"image_05012025_23_13_02_783712_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9d2c9e8aaaf0cac145ff89eac6673e2.jpg","text":"TemporaryFile(/tmp/multipartBody4786013392150883093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115847167,"filename":"image_05012025_23_12_02_683751_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/204631fb8a29c9d780fec0f30b74da34.jpg","text":"TemporaryFile(/tmp/multipartBody8341870762164720520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115847167,"filename":"image_05012025_23_12_02_683751_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910201","file1":"1326910199","file0":"1326910197","file4":"1326910203","file5":"1326910204","file3":"1326910202"},"map_files_photo_id_array":[{"photo_id":"1326910204","filename":"file5"},{"photo_id":"1326910201","filename":"file2"},{"photo_id":"1326910203","filename":"file4"},{"photo_id":"1326910199","filename":"file1"},{"photo_id":"1326910197","filename":"file0"},{"photo_id":"1326910202","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910204":["hashtag1","hashtag2"]},{"1326910197":["hashtag1","hashtag2"]},{"1326910201":["hashtag1","hashtag2"]},{"1326910203":["hashtag1","hashtag2"]},{"1326910199":["hashtag1","hashtag2"]},{"1326910202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910204, 1326910197, 1326910201, 1326910203, 1326910199, 1326910202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.299713373184204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:23:52.436436
SELECT 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/13/image_05012025_23_13_02_783712_0002.jpg', '/home/pi/Desktop/images/05012025/23/13/image_05012025_23_13_02_783712_0003.jpg', '/home/pi/Desktop/images/05012025/23/14/image_05012025_23_14_02_979606_0000.jpg', '/home/pi/Desktop/images/05012025/23/14/image_05012025_23_14_02_979606_0001.jpg', '/home/pi/Desktop/images/05012025/23/14/image_05012025_23_14_02_979606_0002.jpg', '/home/pi/Desktop/images/05012025/23/14/image_05012025_23_14_02_979606_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/13/image_05012025_23_13_02_783712_0002.jpg
/home/pi/Desktop/images/05012025/23/13/image_05012025_23_13_02_783712_0003.jpg
/home/pi/Desktop/images/05012025/23/14/image_05012025_23_14_02_979606_0000.jpg
/home/pi/Desktop/images/05012025/23/14/image_05012025_23_14_02_979606_0001.jpg
/home/pi/Desktop/images/05012025/23/14/image_05012025_23_14_02_979606_0002.jpg
/home/pi/Desktop/images/05012025/23/14/image_05012025_23_14_02_979606_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":["1326910213","1326910216","1326910215","1326910209","1326910211","1326910214"],"photo_ids_order":["1326910209","1326910211","1326910213","1326910214","1326910215","1326910216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c50ee46e32a5cb6bb71544986ce3369.jpg","text":"TemporaryFile(/tmp/multipartBody5690740444879089922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115907380,"filename":"image_05012025_23_14_02_979606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fc4ade182783c745d43363c851c84a47.jpg","text":"TemporaryFile(/tmp/multipartBody2544038644610355213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115907380,"filename":"image_05012025_23_14_02_979606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/49e45b6aacfafe109912f0e3e598e90a.jpg","text":"TemporaryFile(/tmp/multipartBody6215395145300784562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115907380,"filename":"image_05012025_23_14_02_979606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/534934bf772b8e6d6fef208c84e65913.jpg","text":"TemporaryFile(/tmp/multipartBody6413034315269125784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115907380,"filename":"image_05012025_23_13_02_783712_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8df2880122dd9948f2a8a1df461f305f.jpg","text":"TemporaryFile(/tmp/multipartBody2889420242339697544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115907380,"filename":"image_05012025_23_13_02_783712_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4ccab971a4d9e69f1ba542b0b8bd071c.jpg","text":"TemporaryFile(/tmp/multipartBody3224921998199755971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115907380,"filename":"image_05012025_23_14_02_979606_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910213","file1":"1326910211","file0":"1326910209","file4":"1326910215","file5":"1326910216","file3":"1326910214"},"map_files_photo_id_array":[{"photo_id":"1326910216","filename":"file5"},{"photo_id":"1326910213","filename":"file2"},{"photo_id":"1326910215","filename":"file4"},{"photo_id":"1326910211","filename":"file1"},{"photo_id":"1326910209","filename":"file0"},{"photo_id":"1326910214","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910213":["hashtag1","hashtag2"]},{"1326910216":["hashtag1","hashtag2"]},{"1326910215":["hashtag1","hashtag2"]},{"1326910209":["hashtag1","hashtag2"]},{"1326910211":["hashtag1","hashtag2"]},{"1326910214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910213, 1326910216, 1326910215, 1326910209, 1326910211, 1326910214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.82450461387634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:24:52.579557
SELECT 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/15/image_05012025_23_15_03_114600_0000.jpg', '/home/pi/Desktop/images/05012025/23/15/image_05012025_23_15_03_114600_0001.jpg', '/home/pi/Desktop/images/05012025/23/15/image_05012025_23_15_03_114600_0002.jpg', '/home/pi/Desktop/images/05012025/23/15/image_05012025_23_15_03_114600_0003.jpg', '/home/pi/Desktop/images/05012025/23/16/image_05012025_23_16_02_358782_0000.jpg', '/home/pi/Desktop/images/05012025/23/16/image_05012025_23_16_02_358782_0001.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/15/image_05012025_23_15_03_114600_0000.jpg
/home/pi/Desktop/images/05012025/23/15/image_05012025_23_15_03_114600_0001.jpg
/home/pi/Desktop/images/05012025/23/15/image_05012025_23_15_03_114600_0002.jpg
/home/pi/Desktop/images/05012025/23/15/image_05012025_23_15_03_114600_0003.jpg
/home/pi/Desktop/images/05012025/23/16/image_05012025_23_16_02_358782_0000.jpg
/home/pi/Desktop/images/05012025/23/16/image_05012025_23_16_02_358782_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.700520515441895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:25:21.768054
SELECT 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/15/image_05012025_23_15_03_114600_0000.jpg', '/home/pi/Desktop/images/05012025/23/15/image_05012025_23_15_03_114600_0001.jpg', '/home/pi/Desktop/images/05012025/23/15/image_05012025_23_15_03_114600_0002.jpg', '/home/pi/Desktop/images/05012025/23/15/image_05012025_23_15_03_114600_0003.jpg', '/home/pi/Desktop/images/05012025/23/16/image_05012025_23_16_02_358782_0000.jpg', '/home/pi/Desktop/images/05012025/23/16/image_05012025_23_16_02_358782_0001.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/15/image_05012025_23_15_03_114600_0000.jpg
/home/pi/Desktop/images/05012025/23/15/image_05012025_23_15_03_114600_0001.jpg
/home/pi/Desktop/images/05012025/23/15/image_05012025_23_15_03_114600_0002.jpg
/home/pi/Desktop/images/05012025/23/15/image_05012025_23_15_03_114600_0003.jpg
/home/pi/Desktop/images/05012025/23/16/image_05012025_23_16_02_358782_0000.jpg
/home/pi/Desktop/images/05012025/23/16/image_05012025_23_16_02_358782_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":["1326910234","1326910228","1326910233","1326910236","1326910230","1326910238"],"photo_ids_order":["1326910228","1326910230","1326910233","1326910234","1326910236","1326910238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/823668f533aa0feaf1dcbd4d17b82afc.jpg","text":"TemporaryFile(/tmp/multipartBody4413768650682496395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115996854,"filename":"image_05012025_23_15_03_114600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a049b11446d997b572e1bbf93f29f0c6.jpg","text":"TemporaryFile(/tmp/multipartBody4391715172143198935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115996854,"filename":"image_05012025_23_15_03_114600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/77d10d562a236da6e1985ea972aa4621.jpg","text":"TemporaryFile(/tmp/multipartBody8825208827032596884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115996854,"filename":"image_05012025_23_15_03_114600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9a11af9759a0ba4e0b34aa7cbdf7e06f.jpg","text":"TemporaryFile(/tmp/multipartBody1693166899102150884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115996854,"filename":"image_05012025_23_16_02_358782_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/58121bb3d3566f516226cac30294b35b.jpg","text":"TemporaryFile(/tmp/multipartBody472489486896807686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115996854,"filename":"image_05012025_23_15_03_114600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/49e166a6fe516a01017047adde0ae63a.jpg","text":"TemporaryFile(/tmp/multipartBody3139569328113751508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736115996854,"filename":"image_05012025_23_16_02_358782_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910233","file1":"1326910230","file0":"1326910228","file4":"1326910236","file5":"1326910238","file3":"1326910234"},"map_files_photo_id_array":[{"photo_id":"1326910238","filename":"file5"},{"photo_id":"1326910233","filename":"file2"},{"photo_id":"1326910236","filename":"file4"},{"photo_id":"1326910230","filename":"file1"},{"photo_id":"1326910228","filename":"file0"},{"photo_id":"1326910234","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910234":["hashtag1","hashtag2"]},{"1326910228":["hashtag1","hashtag2"]},{"1326910233":["hashtag1","hashtag2"]},{"1326910236":["hashtag1","hashtag2"]},{"1326910230":["hashtag1","hashtag2"]},{"1326910238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910234, 1326910228, 1326910233, 1326910236, 1326910230, 1326910238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.418402433395386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:26:31.904893
SELECT 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/16/image_05012025_23_16_02_358782_0002.jpg', '/home/pi/Desktop/images/05012025/23/16/image_05012025_23_16_02_358782_0003.jpg', '/home/pi/Desktop/images/05012025/23/17/image_05012025_23_17_02_523145_0000.jpg', '/home/pi/Desktop/images/05012025/23/17/image_05012025_23_17_02_523145_0001.jpg', '/home/pi/Desktop/images/05012025/23/17/image_05012025_23_17_02_523145_0002.jpg', '/home/pi/Desktop/images/05012025/23/17/image_05012025_23_17_02_523145_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/16/image_05012025_23_16_02_358782_0002.jpg
/home/pi/Desktop/images/05012025/23/16/image_05012025_23_16_02_358782_0003.jpg
/home/pi/Desktop/images/05012025/23/17/image_05012025_23_17_02_523145_0000.jpg
/home/pi/Desktop/images/05012025/23/17/image_05012025_23_17_02_523145_0001.jpg
/home/pi/Desktop/images/05012025/23/17/image_05012025_23_17_02_523145_0002.jpg
/home/pi/Desktop/images/05012025/23/17/image_05012025_23_17_02_523145_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":["1326910252","1326910245","1326910254","1326910247","1326910249","1326910243"],"photo_ids_order":["1326910243","1326910245","1326910247","1326910249","1326910252","1326910254"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f527c8f6f3335a82c3bf18214839304d.jpg","text":"TemporaryFile(/tmp/multipartBody5010427433716513130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116067016,"filename":"image_05012025_23_17_02_523145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dc39cf8378932f74e544fc7b7b56a10b.jpg","text":"TemporaryFile(/tmp/multipartBody6990605057844476151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116067016,"filename":"image_05012025_23_16_02_358782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/69999a06bedad8124b9d5964a1919edb.jpg","text":"TemporaryFile(/tmp/multipartBody8935749509141352450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116067016,"filename":"image_05012025_23_17_02_523145_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/02df46e87bfc414d5fc4a18a88738e61.jpg","text":"TemporaryFile(/tmp/multipartBody8176212572619500475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116067016,"filename":"image_05012025_23_17_02_523145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/522bd722186b79bafca88af284df372e.jpg","text":"TemporaryFile(/tmp/multipartBody908987734967928510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116067016,"filename":"image_05012025_23_17_02_523145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/fad22456729c186698d99fef81e95d4e.jpg","text":"TemporaryFile(/tmp/multipartBody5721571917174979235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116067016,"filename":"image_05012025_23_16_02_358782_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910247","file1":"1326910245","file0":"1326910243","file4":"1326910252","file5":"1326910254","file3":"1326910249"},"map_files_photo_id_array":[{"photo_id":"1326910254","filename":"file5"},{"photo_id":"1326910247","filename":"file2"},{"photo_id":"1326910252","filename":"file4"},{"photo_id":"1326910245","filename":"file1"},{"photo_id":"1326910243","filename":"file0"},{"photo_id":"1326910249","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910252":["hashtag1","hashtag2"]},{"1326910245":["hashtag1","hashtag2"]},{"1326910254":["hashtag1","hashtag2"]},{"1326910247":["hashtag1","hashtag2"]},{"1326910249":["hashtag1","hashtag2"]},{"1326910243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910252, 1326910245, 1326910254, 1326910247, 1326910249, 1326910243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.70337510108948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:27:32.064850
SELECT 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/18/image_05012025_23_18_02_689169_0000.jpg', '/home/pi/Desktop/images/05012025/23/18/image_05012025_23_18_02_689169_0001.jpg', '/home/pi/Desktop/images/05012025/23/18/image_05012025_23_18_02_689169_0002.jpg', '/home/pi/Desktop/images/05012025/23/18/image_05012025_23_18_02_689169_0003.jpg', '/home/pi/Desktop/images/05012025/23/19/image_05012025_23_19_02_959663_0000.jpg', '/home/pi/Desktop/images/05012025/23/19/image_05012025_23_19_02_959663_0001.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/18/image_05012025_23_18_02_689169_0000.jpg
/home/pi/Desktop/images/05012025/23/18/image_05012025_23_18_02_689169_0001.jpg
/home/pi/Desktop/images/05012025/23/18/image_05012025_23_18_02_689169_0002.jpg
/home/pi/Desktop/images/05012025/23/18/image_05012025_23_18_02_689169_0003.jpg
/home/pi/Desktop/images/05012025/23/19/image_05012025_23_19_02_959663_0000.jpg
/home/pi/Desktop/images/05012025/23/19/image_05012025_23_19_02_959663_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":["1326910263","1326910266","1326910260","1326910265","1326910259","1326910261"],"photo_ids_order":["1326910259","1326910260","1326910261","1326910263","1326910265","1326910266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/44590f5ad8113055150ae2f150d79e37.jpg","text":"TemporaryFile(/tmp/multipartBody6833648294790059156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116127065,"filename":"image_05012025_23_18_02_689169_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e1df6fdb2d5f5290be73e06c0dfa08f1.jpg","text":"TemporaryFile(/tmp/multipartBody8631538941819865397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116127065,"filename":"image_05012025_23_19_02_959663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3302ee9e46aab9d832f65f79609ff688.jpg","text":"TemporaryFile(/tmp/multipartBody3058208937646653271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116127065,"filename":"image_05012025_23_18_02_689169_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/642a0354aae8a4cd9a6cda10b096d9ee.jpg","text":"TemporaryFile(/tmp/multipartBody718668018258555866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116127065,"filename":"image_05012025_23_19_02_959663_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d72191da28d7203acd2f0f816076a998.jpg","text":"TemporaryFile(/tmp/multipartBody7219694160635315969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116127065,"filename":"image_05012025_23_18_02_689169_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad2d75c4cccd0bb31f288c852865cad8.jpg","text":"TemporaryFile(/tmp/multipartBody8816187935388580126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116127065,"filename":"image_05012025_23_18_02_689169_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910261","file1":"1326910260","file0":"1326910259","file4":"1326910265","file5":"1326910266","file3":"1326910263"},"map_files_photo_id_array":[{"photo_id":"1326910266","filename":"file5"},{"photo_id":"1326910261","filename":"file2"},{"photo_id":"1326910265","filename":"file4"},{"photo_id":"1326910260","filename":"file1"},{"photo_id":"1326910259","filename":"file0"},{"photo_id":"1326910263","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910263":["hashtag1","hashtag2"]},{"1326910266":["hashtag1","hashtag2"]},{"1326910260":["hashtag1","hashtag2"]},{"1326910265":["hashtag1","hashtag2"]},{"1326910259":["hashtag1","hashtag2"]},{"1326910261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910263, 1326910266, 1326910260, 1326910265, 1326910259, 1326910261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.43479061126709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 23:28:42.269120
SELECT 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/19/image_05012025_23_19_02_959663_0002.jpg', '/home/pi/Desktop/images/05012025/23/19/image_05012025_23_19_02_959663_0003.jpg', '/home/pi/Desktop/images/05012025/23/20/image_05012025_23_20_03_159231_0000.jpg', '/home/pi/Desktop/images/05012025/23/20/image_05012025_23_20_03_159231_0001.jpg', '/home/pi/Desktop/images/05012025/23/20/image_05012025_23_20_03_159231_0002.jpg', '/home/pi/Desktop/images/05012025/23/20/image_05012025_23_20_03_159231_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/19/image_05012025_23_19_02_959663_0002.jpg
/home/pi/Desktop/images/05012025/23/19/image_05012025_23_19_02_959663_0003.jpg
/home/pi/Desktop/images/05012025/23/20/image_05012025_23_20_03_159231_0000.jpg
/home/pi/Desktop/images/05012025/23/20/image_05012025_23_20_03_159231_0001.jpg
/home/pi/Desktop/images/05012025/23/20/image_05012025_23_20_03_159231_0002.jpg
/home/pi/Desktop/images/05012025/23/20/image_05012025_23_20_03_159231_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.766340732574463 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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:29:03.047350
SELECT 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/19/image_05012025_23_19_02_959663_0002.jpg', '/home/pi/Desktop/images/05012025/23/19/image_05012025_23_19_02_959663_0003.jpg', '/home/pi/Desktop/images/05012025/23/20/image_05012025_23_20_03_159231_0000.jpg', '/home/pi/Desktop/images/05012025/23/20/image_05012025_23_20_03_159231_0001.jpg', '/home/pi/Desktop/images/05012025/23/20/image_05012025_23_20_03_159231_0002.jpg', '/home/pi/Desktop/images/05012025/23/20/image_05012025_23_20_03_159231_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/19/image_05012025_23_19_02_959663_0002.jpg
/home/pi/Desktop/images/05012025/23/19/image_05012025_23_19_02_959663_0003.jpg
/home/pi/Desktop/images/05012025/23/20/image_05012025_23_20_03_159231_0000.jpg
/home/pi/Desktop/images/05012025/23/20/image_05012025_23_20_03_159231_0001.jpg
/home/pi/Desktop/images/05012025/23/20/image_05012025_23_20_03_159231_0002.jpg
/home/pi/Desktop/images/05012025/23/20/image_05012025_23_20_03_159231_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":["1326910299","1326910289","1326910280","1326910286","1326910297","1326910294"],"photo_ids_order":["1326910280","1326910286","1326910289","1326910294","1326910297","1326910299"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f502e51bd279e9efc9cd13db56f8222.jpg","text":"TemporaryFile(/tmp/multipartBody6353704412132519216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116218298,"filename":"image_05012025_23_20_03_159231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6cd1fb51638b57cd7bbf8da0ce681d04.jpg","text":"TemporaryFile(/tmp/multipartBody5310045418691617794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116218298,"filename":"image_05012025_23_20_03_159231_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6675bd9e90c5eaa47cbae1eaade9d6dd.jpg","text":"TemporaryFile(/tmp/multipartBody4415937856303457322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116218298,"filename":"image_05012025_23_19_02_959663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/56ba0c0133408c493ac9cf74b7b68209.jpg","text":"TemporaryFile(/tmp/multipartBody6732118469745341729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116218298,"filename":"image_05012025_23_19_02_959663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ef2b53a3f6d3a06831d49c8ced60b1aa.jpg","text":"TemporaryFile(/tmp/multipartBody8331051701829158128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116218298,"filename":"image_05012025_23_20_03_159231_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c45536b635e8fb47be32c9d6d17710b3.jpg","text":"TemporaryFile(/tmp/multipartBody8966448326195752794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116218298,"filename":"image_05012025_23_20_03_159231_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910289","file1":"1326910286","file0":"1326910280","file4":"1326910297","file5":"1326910299","file3":"1326910294"},"map_files_photo_id_array":[{"photo_id":"1326910299","filename":"file5"},{"photo_id":"1326910289","filename":"file2"},{"photo_id":"1326910297","filename":"file4"},{"photo_id":"1326910286","filename":"file1"},{"photo_id":"1326910280","filename":"file0"},{"photo_id":"1326910294","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910299":["hashtag1","hashtag2"]},{"1326910289":["hashtag1","hashtag2"]},{"1326910280":["hashtag1","hashtag2"]},{"1326910286":["hashtag1","hashtag2"]},{"1326910297":["hashtag1","hashtag2"]},{"1326910294":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910299, 1326910289, 1326910280, 1326910286, 1326910297, 1326910294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.11865830421448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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:30:03.082943
SELECT 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/21/image_05012025_23_21_02_325310_0000.jpg', '/home/pi/Desktop/images/05012025/23/21/image_05012025_23_21_02_325310_0001.jpg', '/home/pi/Desktop/images/05012025/23/21/image_05012025_23_21_02_325310_0002.jpg', '/home/pi/Desktop/images/05012025/23/21/image_05012025_23_21_02_325310_0003.jpg', '/home/pi/Desktop/images/05012025/23/22/image_05012025_23_22_02_600280_0000.jpg', '/home/pi/Desktop/images/05012025/23/22/image_05012025_23_22_02_600280_0001.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/21/image_05012025_23_21_02_325310_0000.jpg
/home/pi/Desktop/images/05012025/23/21/image_05012025_23_21_02_325310_0001.jpg
/home/pi/Desktop/images/05012025/23/21/image_05012025_23_21_02_325310_0002.jpg
/home/pi/Desktop/images/05012025/23/21/image_05012025_23_21_02_325310_0003.jpg
/home/pi/Desktop/images/05012025/23/22/image_05012025_23_22_02_600280_0000.jpg
/home/pi/Desktop/images/05012025/23/22/image_05012025_23_22_02_600280_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":["1326910306","1326910314","1326910317","1326910319","1326910310","1326910316"],"photo_ids_order":["1326910306","1326910310","1326910314","1326910316","1326910317","1326910319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9dad4f2f4d30f222f34abc8d572f77b1.jpg","text":"TemporaryFile(/tmp/multipartBody4213010022721961960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116278122,"filename":"image_05012025_23_21_02_325310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c00af45340c6fa41a78341b1f514ceb9.jpg","text":"TemporaryFile(/tmp/multipartBody2521697323640428486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116278122,"filename":"image_05012025_23_21_02_325310_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/382a283c24d359b6914e596dd0654a37.jpg","text":"TemporaryFile(/tmp/multipartBody5841213565780877946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116278122,"filename":"image_05012025_23_22_02_600280_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a33ceebbad0723b737bf2d6f26546be3.jpg","text":"TemporaryFile(/tmp/multipartBody3668078374861602032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116278122,"filename":"image_05012025_23_22_02_600280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4cf21d7b15c6e11344eb6c7bc4bfc9fb.jpg","text":"TemporaryFile(/tmp/multipartBody5823945256923689943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116278122,"filename":"image_05012025_23_21_02_325310_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5e7484424ed7f3a3757217e53c93f706.jpg","text":"TemporaryFile(/tmp/multipartBody898975274813809383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116278122,"filename":"image_05012025_23_21_02_325310_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910314","file1":"1326910310","file0":"1326910306","file4":"1326910317","file5":"1326910319","file3":"1326910316"},"map_files_photo_id_array":[{"photo_id":"1326910319","filename":"file5"},{"photo_id":"1326910314","filename":"file2"},{"photo_id":"1326910317","filename":"file4"},{"photo_id":"1326910310","filename":"file1"},{"photo_id":"1326910306","filename":"file0"},{"photo_id":"1326910316","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910306":["hashtag1","hashtag2"]},{"1326910314":["hashtag1","hashtag2"]},{"1326910317":["hashtag1","hashtag2"]},{"1326910319":["hashtag1","hashtag2"]},{"1326910310":["hashtag1","hashtag2"]},{"1326910316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910306, 1326910314, 1326910317, 1326910319, 1326910310, 1326910316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.232749223709106 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-05 23:31:21.860703
SELECT 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/22/image_05012025_23_22_02_600280_0002.jpg', '/home/pi/Desktop/images/05012025/23/22/image_05012025_23_22_02_600280_0003.jpg', '/home/pi/Desktop/images/05012025/23/23/image_05012025_23_23_02_652879_0000.jpg', '/home/pi/Desktop/images/05012025/23/23/image_05012025_23_23_02_652879_0001.jpg', '/home/pi/Desktop/images/05012025/23/23/image_05012025_23_23_02_652879_0002.jpg', '/home/pi/Desktop/images/05012025/23/23/image_05012025_23_23_02_652879_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/22/image_05012025_23_22_02_600280_0002.jpg
/home/pi/Desktop/images/05012025/23/22/image_05012025_23_22_02_600280_0003.jpg
/home/pi/Desktop/images/05012025/23/23/image_05012025_23_23_02_652879_0000.jpg
/home/pi/Desktop/images/05012025/23/23/image_05012025_23_23_02_652879_0001.jpg
/home/pi/Desktop/images/05012025/23/23/image_05012025_23_23_02_652879_0002.jpg
/home/pi/Desktop/images/05012025/23/23/image_05012025_23_23_02_652879_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":["1326910333","1326910327","1326910335","1326910329","1326910337","1326910331"],"photo_ids_order":["1326910327","1326910329","1326910331","1326910333","1326910335","1326910337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1b839c610e026cadcd455a4cc5b46486.jpg","text":"TemporaryFile(/tmp/multipartBody7428189943306386934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116356947,"filename":"image_05012025_23_23_02_652879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/76d85e668abfa7d1dccd4f757cf0717e.jpg","text":"TemporaryFile(/tmp/multipartBody3958670955625324436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116356947,"filename":"image_05012025_23_22_02_600280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/11541584b2fda3700acfeec28c7c2bea.jpg","text":"TemporaryFile(/tmp/multipartBody6968103908767367121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116356947,"filename":"image_05012025_23_23_02_652879_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/83e65bce2d4c9ad8dba78e8cfde12fa3.jpg","text":"TemporaryFile(/tmp/multipartBody8363714707712787291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116356947,"filename":"image_05012025_23_22_02_600280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6defb9007e29f72d73cad352aae4b580.jpg","text":"TemporaryFile(/tmp/multipartBody5967475103426441833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116356947,"filename":"image_05012025_23_23_02_652879_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8e1d1708fcf42ba9db085a2617587839.jpg","text":"TemporaryFile(/tmp/multipartBody8420595943102302208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116356947,"filename":"image_05012025_23_23_02_652879_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910331","file1":"1326910329","file0":"1326910327","file4":"1326910335","file5":"1326910337","file3":"1326910333"},"map_files_photo_id_array":[{"photo_id":"1326910337","filename":"file5"},{"photo_id":"1326910331","filename":"file2"},{"photo_id":"1326910335","filename":"file4"},{"photo_id":"1326910329","filename":"file1"},{"photo_id":"1326910327","filename":"file0"},{"photo_id":"1326910333","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910333":["hashtag1","hashtag2"]},{"1326910327":["hashtag1","hashtag2"]},{"1326910335":["hashtag1","hashtag2"]},{"1326910329":["hashtag1","hashtag2"]},{"1326910337":["hashtag1","hashtag2"]},{"1326910331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910333, 1326910327, 1326910335, 1326910329, 1326910337, 1326910331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.05635714530945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:32:22.002231
SELECT 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/24/image_05012025_23_24_02_843231_0000.jpg', '/home/pi/Desktop/images/05012025/23/24/image_05012025_23_24_02_843231_0001.jpg', '/home/pi/Desktop/images/05012025/23/24/image_05012025_23_24_02_843231_0002.jpg', '/home/pi/Desktop/images/05012025/23/24/image_05012025_23_24_02_843231_0003.jpg', '/home/pi/Desktop/images/05012025/23/25/image_05012025_23_25_02_962063_0000.jpg', '/home/pi/Desktop/images/05012025/23/25/image_05012025_23_25_02_962063_0001.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/24/image_05012025_23_24_02_843231_0000.jpg
/home/pi/Desktop/images/05012025/23/24/image_05012025_23_24_02_843231_0001.jpg
/home/pi/Desktop/images/05012025/23/24/image_05012025_23_24_02_843231_0002.jpg
/home/pi/Desktop/images/05012025/23/24/image_05012025_23_24_02_843231_0003.jpg
/home/pi/Desktop/images/05012025/23/25/image_05012025_23_25_02_962063_0000.jpg
/home/pi/Desktop/images/05012025/23/25/image_05012025_23_25_02_962063_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":["1326910339","1326910344","1326910346","1326910349","1326910340","1326910342"],"photo_ids_order":["1326910339","1326910340","1326910342","1326910344","1326910346","1326910349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e7eeb8c6e1dcf051d71d8f34e78f0aeb.jpg","text":"TemporaryFile(/tmp/multipartBody4337823342334589234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116416945,"filename":"image_05012025_23_24_02_843231_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/61fb669eb986bcd76bad7c0efb7f3518.jpg","text":"TemporaryFile(/tmp/multipartBody6709615047990649257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116416945,"filename":"image_05012025_23_24_02_843231_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2aef7b1b5311fb85da8ce6c05a0d0d42.jpg","text":"TemporaryFile(/tmp/multipartBody2135042222280622579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116416945,"filename":"image_05012025_23_25_02_962063_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dbc8cdbfc7c619d7ac099445b8d5ab42.jpg","text":"TemporaryFile(/tmp/multipartBody7279202386944878062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116416945,"filename":"image_05012025_23_25_02_962063_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0fbadc1ef4b64ce7ea1a68a280994e46.jpg","text":"TemporaryFile(/tmp/multipartBody6467769328300685439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116416945,"filename":"image_05012025_23_24_02_843231_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1a520bf88a7e5f479badadfdaec1c08f.jpg","text":"TemporaryFile(/tmp/multipartBody8187845499020836212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116416945,"filename":"image_05012025_23_24_02_843231_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910342","file1":"1326910340","file0":"1326910339","file4":"1326910346","file5":"1326910349","file3":"1326910344"},"map_files_photo_id_array":[{"photo_id":"1326910349","filename":"file5"},{"photo_id":"1326910342","filename":"file2"},{"photo_id":"1326910346","filename":"file4"},{"photo_id":"1326910340","filename":"file1"},{"photo_id":"1326910339","filename":"file0"},{"photo_id":"1326910344","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910339":["hashtag1","hashtag2"]},{"1326910344":["hashtag1","hashtag2"]},{"1326910346":["hashtag1","hashtag2"]},{"1326910349":["hashtag1","hashtag2"]},{"1326910340":["hashtag1","hashtag2"]},{"1326910342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910339, 1326910344, 1326910346, 1326910349, 1326910340, 1326910342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.95152807235718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:33:22.189183
SELECT 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/25/image_05012025_23_25_02_962063_0002.jpg', '/home/pi/Desktop/images/05012025/23/25/image_05012025_23_25_02_962063_0003.jpg', '/home/pi/Desktop/images/05012025/23/26/image_05012025_23_26_02_121103_0000.jpg', '/home/pi/Desktop/images/05012025/23/26/image_05012025_23_26_02_121103_0001.jpg', '/home/pi/Desktop/images/05012025/23/26/image_05012025_23_26_02_121103_0002.jpg', '/home/pi/Desktop/images/05012025/23/26/image_05012025_23_26_02_121103_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/25/image_05012025_23_25_02_962063_0002.jpg
/home/pi/Desktop/images/05012025/23/25/image_05012025_23_25_02_962063_0003.jpg
/home/pi/Desktop/images/05012025/23/26/image_05012025_23_26_02_121103_0000.jpg
/home/pi/Desktop/images/05012025/23/26/image_05012025_23_26_02_121103_0001.jpg
/home/pi/Desktop/images/05012025/23/26/image_05012025_23_26_02_121103_0002.jpg
/home/pi/Desktop/images/05012025/23/26/image_05012025_23_26_02_121103_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":["1326910359","1326910356","1326910358","1326910360","1326910363","1326910357"],"photo_ids_order":["1326910356","1326910357","1326910358","1326910359","1326910360","1326910363"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/52024af1bfa1b13fb6484c611e8badde.jpg","text":"TemporaryFile(/tmp/multipartBody7613794511598360397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116477080,"filename":"image_05012025_23_26_02_121103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1c93c8aafff2bc7021ded9a98e897c12.jpg","text":"TemporaryFile(/tmp/multipartBody3790874316808967293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116477080,"filename":"image_05012025_23_25_02_962063_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/db6e62847d6536a015e6aee6e6bd637d.jpg","text":"TemporaryFile(/tmp/multipartBody8869934239354948248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116477080,"filename":"image_05012025_23_26_02_121103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/eae27e6c712984dbe2a879e48c1223fc.jpg","text":"TemporaryFile(/tmp/multipartBody5262606236509576726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116477080,"filename":"image_05012025_23_26_02_121103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/463741a31cbc4df2c6f3c7e761776129.jpg","text":"TemporaryFile(/tmp/multipartBody4378008240194350895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116477080,"filename":"image_05012025_23_26_02_121103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/13f5fa8e247b52b6d94ad09c665f166d.jpg","text":"TemporaryFile(/tmp/multipartBody2467772312346069544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116477080,"filename":"image_05012025_23_25_02_962063_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910358","file1":"1326910357","file0":"1326910356","file4":"1326910360","file5":"1326910363","file3":"1326910359"},"map_files_photo_id_array":[{"photo_id":"1326910363","filename":"file5"},{"photo_id":"1326910358","filename":"file2"},{"photo_id":"1326910360","filename":"file4"},{"photo_id":"1326910357","filename":"file1"},{"photo_id":"1326910356","filename":"file0"},{"photo_id":"1326910359","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910359":["hashtag1","hashtag2"]},{"1326910356":["hashtag1","hashtag2"]},{"1326910358":["hashtag1","hashtag2"]},{"1326910360":["hashtag1","hashtag2"]},{"1326910363":["hashtag1","hashtag2"]},{"1326910357":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910359, 1326910356, 1326910358, 1326910360, 1326910363, 1326910357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.63596200942993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:34:32.326386
SELECT 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/27/image_05012025_23_27_02_325034_0000.jpg', '/home/pi/Desktop/images/05012025/23/27/image_05012025_23_27_02_325034_0001.jpg', '/home/pi/Desktop/images/05012025/23/27/image_05012025_23_27_02_325034_0002.jpg', '/home/pi/Desktop/images/05012025/23/27/image_05012025_23_27_02_325034_0003.jpg', '/home/pi/Desktop/images/05012025/23/28/image_05012025_23_28_02_467295_0000.jpg', '/home/pi/Desktop/images/05012025/23/28/image_05012025_23_28_02_467295_0001.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/27/image_05012025_23_27_02_325034_0000.jpg
/home/pi/Desktop/images/05012025/23/27/image_05012025_23_27_02_325034_0001.jpg
/home/pi/Desktop/images/05012025/23/27/image_05012025_23_27_02_325034_0002.jpg
/home/pi/Desktop/images/05012025/23/27/image_05012025_23_27_02_325034_0003.jpg
/home/pi/Desktop/images/05012025/23/28/image_05012025_23_28_02_467295_0000.jpg
/home/pi/Desktop/images/05012025/23/28/image_05012025_23_28_02_467295_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.46802282333374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:34:52.336725
SELECT 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/27/image_05012025_23_27_02_325034_0000.jpg', '/home/pi/Desktop/images/05012025/23/27/image_05012025_23_27_02_325034_0001.jpg', '/home/pi/Desktop/images/05012025/23/27/image_05012025_23_27_02_325034_0002.jpg', '/home/pi/Desktop/images/05012025/23/27/image_05012025_23_27_02_325034_0003.jpg', '/home/pi/Desktop/images/05012025/23/28/image_05012025_23_28_02_467295_0000.jpg', '/home/pi/Desktop/images/05012025/23/28/image_05012025_23_28_02_467295_0001.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/27/image_05012025_23_27_02_325034_0000.jpg
/home/pi/Desktop/images/05012025/23/27/image_05012025_23_27_02_325034_0001.jpg
/home/pi/Desktop/images/05012025/23/27/image_05012025_23_27_02_325034_0002.jpg
/home/pi/Desktop/images/05012025/23/27/image_05012025_23_27_02_325034_0003.jpg
/home/pi/Desktop/images/05012025/23/28/image_05012025_23_28_02_467295_0000.jpg
/home/pi/Desktop/images/05012025/23/28/image_05012025_23_28_02_467295_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":["1326910380","1326910377","1326910386","1326910374","1326910382","1326910384"],"photo_ids_order":["1326910374","1326910377","1326910380","1326910382","1326910384","1326910386"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e59d9b9a944a0df29692c07c9254730e.jpg","text":"TemporaryFile(/tmp/multipartBody3336280287923045980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116567220,"filename":"image_05012025_23_27_02_325034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c0c957f302e7ab7b30c755ca0924933f.jpg","text":"TemporaryFile(/tmp/multipartBody1419289513202673065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116567220,"filename":"image_05012025_23_27_02_325034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c88342fc63f04ea8eab1b5d0df80d3c3.jpg","text":"TemporaryFile(/tmp/multipartBody4894202340053497458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116567220,"filename":"image_05012025_23_28_02_467295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/999480930b623656c32a6c720fcb3da0.jpg","text":"TemporaryFile(/tmp/multipartBody913876188636766636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116567220,"filename":"image_05012025_23_27_02_325034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c75cb2ebd2716ddbb5e77fe140c43604.jpg","text":"TemporaryFile(/tmp/multipartBody3327148921712531982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116567220,"filename":"image_05012025_23_27_02_325034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/258a8880394ad3ca751cf363c141f623.jpg","text":"TemporaryFile(/tmp/multipartBody1287061748641065669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116567220,"filename":"image_05012025_23_28_02_467295_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910380","file1":"1326910377","file0":"1326910374","file4":"1326910384","file5":"1326910386","file3":"1326910382"},"map_files_photo_id_array":[{"photo_id":"1326910386","filename":"file5"},{"photo_id":"1326910380","filename":"file2"},{"photo_id":"1326910384","filename":"file4"},{"photo_id":"1326910377","filename":"file1"},{"photo_id":"1326910374","filename":"file0"},{"photo_id":"1326910382","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910380":["hashtag1","hashtag2"]},{"1326910377":["hashtag1","hashtag2"]},{"1326910386":["hashtag1","hashtag2"]},{"1326910374":["hashtag1","hashtag2"]},{"1326910382":["hashtag1","hashtag2"]},{"1326910384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910380, 1326910377, 1326910386, 1326910374, 1326910382, 1326910384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.01833963394165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:35:52.500753
SELECT 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/28/image_05012025_23_28_02_467295_0002.jpg', '/home/pi/Desktop/images/05012025/23/28/image_05012025_23_28_02_467295_0003.jpg', '/home/pi/Desktop/images/05012025/23/29/image_05012025_23_29_02_612437_0000.jpg', '/home/pi/Desktop/images/05012025/23/29/image_05012025_23_29_02_612437_0001.jpg', '/home/pi/Desktop/images/05012025/23/29/image_05012025_23_29_02_612437_0002.jpg', '/home/pi/Desktop/images/05012025/23/29/image_05012025_23_29_02_612437_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/28/image_05012025_23_28_02_467295_0002.jpg
/home/pi/Desktop/images/05012025/23/28/image_05012025_23_28_02_467295_0003.jpg
/home/pi/Desktop/images/05012025/23/29/image_05012025_23_29_02_612437_0000.jpg
/home/pi/Desktop/images/05012025/23/29/image_05012025_23_29_02_612437_0001.jpg
/home/pi/Desktop/images/05012025/23/29/image_05012025_23_29_02_612437_0002.jpg
/home/pi/Desktop/images/05012025/23/29/image_05012025_23_29_02_612437_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":["1326910392","1326910394","1326910388","1326910397","1326910396","1326910390"],"photo_ids_order":["1326910388","1326910390","1326910392","1326910394","1326910396","1326910397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7b37e7d20b82bafabe10005103cfc4e9.jpg","text":"TemporaryFile(/tmp/multipartBody3781055570520781043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116627689,"filename":"image_05012025_23_29_02_612437_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ac3362ad20b54982f3bc031bee83a48d.jpg","text":"TemporaryFile(/tmp/multipartBody5944060640053051526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116627689,"filename":"image_05012025_23_29_02_612437_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/852907a5b6f5a047a707646bb3d3ca58.jpg","text":"TemporaryFile(/tmp/multipartBody5191209482925984573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116627689,"filename":"image_05012025_23_28_02_467295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5ee3a9e19d9f7d7540f12ddda7d3839e.jpg","text":"TemporaryFile(/tmp/multipartBody7168493454649696549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116627689,"filename":"image_05012025_23_29_02_612437_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d186b658b3c1366b4981e04153b23cf3.jpg","text":"TemporaryFile(/tmp/multipartBody8240666817702130604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116627689,"filename":"image_05012025_23_29_02_612437_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b60b4726b5095948b8610159d5b04e58.jpg","text":"TemporaryFile(/tmp/multipartBody1669960041297172191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116627689,"filename":"image_05012025_23_28_02_467295_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910392","file1":"1326910390","file0":"1326910388","file4":"1326910396","file5":"1326910397","file3":"1326910394"},"map_files_photo_id_array":[{"photo_id":"1326910397","filename":"file5"},{"photo_id":"1326910392","filename":"file2"},{"photo_id":"1326910396","filename":"file4"},{"photo_id":"1326910390","filename":"file1"},{"photo_id":"1326910388","filename":"file0"},{"photo_id":"1326910394","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910392":["hashtag1","hashtag2"]},{"1326910394":["hashtag1","hashtag2"]},{"1326910388":["hashtag1","hashtag2"]},{"1326910397":["hashtag1","hashtag2"]},{"1326910396":["hashtag1","hashtag2"]},{"1326910390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910392, 1326910394, 1326910388, 1326910397, 1326910396, 1326910390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.07432699203491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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:37:02.560353
SELECT 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/30/image_05012025_23_30_02_859138_0000.jpg', '/home/pi/Desktop/images/05012025/23/30/image_05012025_23_30_02_859138_0001.jpg', '/home/pi/Desktop/images/05012025/23/30/image_05012025_23_30_02_859138_0002.jpg', '/home/pi/Desktop/images/05012025/23/30/image_05012025_23_30_02_859138_0003.jpg', '/home/pi/Desktop/images/05012025/23/31/image_05012025_23_31_03_066402_0000.jpg', '/home/pi/Desktop/images/05012025/23/31/image_05012025_23_31_03_066402_0001.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/30/image_05012025_23_30_02_859138_0000.jpg
/home/pi/Desktop/images/05012025/23/30/image_05012025_23_30_02_859138_0001.jpg
/home/pi/Desktop/images/05012025/23/30/image_05012025_23_30_02_859138_0002.jpg
/home/pi/Desktop/images/05012025/23/30/image_05012025_23_30_02_859138_0003.jpg
/home/pi/Desktop/images/05012025/23/31/image_05012025_23_31_03_066402_0000.jpg
/home/pi/Desktop/images/05012025/23/31/image_05012025_23_31_03_066402_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":["1326910411","1326910408","1326910413","1326910404","1326910406","1326910409"],"photo_ids_order":["1326910404","1326910406","1326910408","1326910409","1326910411","1326910413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8e70fc6d262061342ba879f2b263b25b.jpg","text":"TemporaryFile(/tmp/multipartBody1549249843294717556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116697513,"filename":"image_05012025_23_31_03_066402_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6b038b59cc685a63564cf01c640052b6.jpg","text":"TemporaryFile(/tmp/multipartBody3003972870013455646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116697513,"filename":"image_05012025_23_30_02_859138_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/94f917692be366b7ad06b6dc34caa517.jpg","text":"TemporaryFile(/tmp/multipartBody6241929440534996706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116697513,"filename":"image_05012025_23_31_03_066402_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/da037b097c947aece727ce827ac8962a.jpg","text":"TemporaryFile(/tmp/multipartBody5990077495774325629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116697513,"filename":"image_05012025_23_30_02_859138_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e292706b614abe457618f0a7880a243b.jpg","text":"TemporaryFile(/tmp/multipartBody4759875047401581711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116697513,"filename":"image_05012025_23_30_02_859138_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d519689fae78666312a8fc569df63259.jpg","text":"TemporaryFile(/tmp/multipartBody6399326599013237113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116697513,"filename":"image_05012025_23_30_02_859138_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910408","file1":"1326910406","file0":"1326910404","file4":"1326910411","file5":"1326910413","file3":"1326910409"},"map_files_photo_id_array":[{"photo_id":"1326910413","filename":"file5"},{"photo_id":"1326910408","filename":"file2"},{"photo_id":"1326910411","filename":"file4"},{"photo_id":"1326910406","filename":"file1"},{"photo_id":"1326910404","filename":"file0"},{"photo_id":"1326910409","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910411":["hashtag1","hashtag2"]},{"1326910408":["hashtag1","hashtag2"]},{"1326910413":["hashtag1","hashtag2"]},{"1326910404":["hashtag1","hashtag2"]},{"1326910406":["hashtag1","hashtag2"]},{"1326910409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910411, 1326910408, 1326910413, 1326910404, 1326910406, 1326910409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.88232183456421 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:38:22.018206
SELECT 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/31/image_05012025_23_31_03_066402_0002.jpg', '/home/pi/Desktop/images/05012025/23/31/image_05012025_23_31_03_066402_0003.jpg', '/home/pi/Desktop/images/05012025/23/32/image_05012025_23_32_02_225417_0000.jpg', '/home/pi/Desktop/images/05012025/23/32/image_05012025_23_32_02_225417_0001.jpg', '/home/pi/Desktop/images/05012025/23/32/image_05012025_23_32_02_225417_0002.jpg', '/home/pi/Desktop/images/05012025/23/32/image_05012025_23_32_02_225417_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/31/image_05012025_23_31_03_066402_0002.jpg
/home/pi/Desktop/images/05012025/23/31/image_05012025_23_31_03_066402_0003.jpg
/home/pi/Desktop/images/05012025/23/32/image_05012025_23_32_02_225417_0000.jpg
/home/pi/Desktop/images/05012025/23/32/image_05012025_23_32_02_225417_0001.jpg
/home/pi/Desktop/images/05012025/23/32/image_05012025_23_32_02_225417_0002.jpg
/home/pi/Desktop/images/05012025/23/32/image_05012025_23_32_02_225417_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":["1326910423","1326910425","1326910428","1326910419","1326910418","1326910421"],"photo_ids_order":["1326910418","1326910419","1326910421","1326910423","1326910425","1326910428"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bfd426a9a8cb2f4b175811a79f2e27b9.jpg","text":"TemporaryFile(/tmp/multipartBody2857479037264881971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116776934,"filename":"image_05012025_23_32_02_225417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/76d7f22098c2249acab84a26f0b7a825.jpg","text":"TemporaryFile(/tmp/multipartBody2851836254020808578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116776934,"filename":"image_05012025_23_32_02_225417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d68c86057ad7db2095518ca6cf06f418.jpg","text":"TemporaryFile(/tmp/multipartBody5029480832598758478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116776934,"filename":"image_05012025_23_32_02_225417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bf3bc4e4b4a6662f190a3f7ba0d80348.jpg","text":"TemporaryFile(/tmp/multipartBody3573437571754618453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116776934,"filename":"image_05012025_23_31_03_066402_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a41b67168773dc31345d4220bfce945f.jpg","text":"TemporaryFile(/tmp/multipartBody962909706220249948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116776934,"filename":"image_05012025_23_31_03_066402_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f2f1336f847e312e61883cec5a9df38.jpg","text":"TemporaryFile(/tmp/multipartBody7131274518144742691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116776934,"filename":"image_05012025_23_32_02_225417_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910421","file1":"1326910419","file0":"1326910418","file4":"1326910425","file5":"1326910428","file3":"1326910423"},"map_files_photo_id_array":[{"photo_id":"1326910428","filename":"file5"},{"photo_id":"1326910421","filename":"file2"},{"photo_id":"1326910425","filename":"file4"},{"photo_id":"1326910419","filename":"file1"},{"photo_id":"1326910418","filename":"file0"},{"photo_id":"1326910423","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910423":["hashtag1","hashtag2"]},{"1326910425":["hashtag1","hashtag2"]},{"1326910428":["hashtag1","hashtag2"]},{"1326910419":["hashtag1","hashtag2"]},{"1326910418":["hashtag1","hashtag2"]},{"1326910421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910423, 1326910425, 1326910428, 1326910419, 1326910418, 1326910421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.687495470047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:39:22.228772
SELECT 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/33/image_05012025_23_33_02_427766_0000.jpg', '/home/pi/Desktop/images/05012025/23/33/image_05012025_23_33_02_427766_0001.jpg', '/home/pi/Desktop/images/05012025/23/33/image_05012025_23_33_02_427766_0002.jpg', '/home/pi/Desktop/images/05012025/23/33/image_05012025_23_33_02_427766_0003.jpg', '/home/pi/Desktop/images/05012025/23/34/image_05012025_23_34_02_524259_0000.jpg', '/home/pi/Desktop/images/05012025/23/34/image_05012025_23_34_02_524259_0001.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/33/image_05012025_23_33_02_427766_0000.jpg
/home/pi/Desktop/images/05012025/23/33/image_05012025_23_33_02_427766_0001.jpg
/home/pi/Desktop/images/05012025/23/33/image_05012025_23_33_02_427766_0002.jpg
/home/pi/Desktop/images/05012025/23/33/image_05012025_23_33_02_427766_0003.jpg
/home/pi/Desktop/images/05012025/23/34/image_05012025_23_34_02_524259_0000.jpg
/home/pi/Desktop/images/05012025/23/34/image_05012025_23_34_02_524259_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":["1326910438","1326910443","1326910440","1326910437","1326910439","1326910441"],"photo_ids_order":["1326910437","1326910438","1326910439","1326910440","1326910441","1326910443"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/21677c8bfb43b3c9aa8ba2ac1e6b21f5.jpg","text":"TemporaryFile(/tmp/multipartBody6005104750856274429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116837399,"filename":"image_05012025_23_33_02_427766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/14002eb4c59a193d87b1520961931f55.jpg","text":"TemporaryFile(/tmp/multipartBody529613154257115862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116837399,"filename":"image_05012025_23_34_02_524259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/78bc3a2a4b4438c01b4c577667206e1a.jpg","text":"TemporaryFile(/tmp/multipartBody9087214324305935252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116837399,"filename":"image_05012025_23_33_02_427766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0366931a5a87590ca0c68d100bfec952.jpg","text":"TemporaryFile(/tmp/multipartBody5079921832918484973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116837399,"filename":"image_05012025_23_33_02_427766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f2e5a37f3aca1623cf6717622ffde260.jpg","text":"TemporaryFile(/tmp/multipartBody3882823467494178680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116837399,"filename":"image_05012025_23_33_02_427766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/aeacf174472df92a2f5befe7dade5d2f.jpg","text":"TemporaryFile(/tmp/multipartBody999816165864888857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116837399,"filename":"image_05012025_23_34_02_524259_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910439","file1":"1326910438","file0":"1326910437","file4":"1326910441","file5":"1326910443","file3":"1326910440"},"map_files_photo_id_array":[{"photo_id":"1326910443","filename":"file5"},{"photo_id":"1326910439","filename":"file2"},{"photo_id":"1326910441","filename":"file4"},{"photo_id":"1326910438","filename":"file1"},{"photo_id":"1326910437","filename":"file0"},{"photo_id":"1326910440","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910438":["hashtag1","hashtag2"]},{"1326910443":["hashtag1","hashtag2"]},{"1326910440":["hashtag1","hashtag2"]},{"1326910437":["hashtag1","hashtag2"]},{"1326910439":["hashtag1","hashtag2"]},{"1326910441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910438, 1326910443, 1326910440, 1326910437, 1326910439, 1326910441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.95727729797363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:40:32.392915
SELECT 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/34/image_05012025_23_34_02_524259_0002.jpg', '/home/pi/Desktop/images/05012025/23/34/image_05012025_23_34_02_524259_0003.jpg', '/home/pi/Desktop/images/05012025/23/35/image_05012025_23_35_02_798691_0000.jpg', '/home/pi/Desktop/images/05012025/23/35/image_05012025_23_35_02_798691_0001.jpg', '/home/pi/Desktop/images/05012025/23/35/image_05012025_23_35_02_798691_0002.jpg', '/home/pi/Desktop/images/05012025/23/35/image_05012025_23_35_02_798691_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/34/image_05012025_23_34_02_524259_0002.jpg
/home/pi/Desktop/images/05012025/23/34/image_05012025_23_34_02_524259_0003.jpg
/home/pi/Desktop/images/05012025/23/35/image_05012025_23_35_02_798691_0000.jpg
/home/pi/Desktop/images/05012025/23/35/image_05012025_23_35_02_798691_0001.jpg
/home/pi/Desktop/images/05012025/23/35/image_05012025_23_35_02_798691_0002.jpg
/home/pi/Desktop/images/05012025/23/35/image_05012025_23_35_02_798691_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":["1326910455","1326910449","1326910457","1326910451","1326910450","1326910453"],"photo_ids_order":["1326910449","1326910450","1326910451","1326910453","1326910455","1326910457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/265ce524e8b945ee0434d40b3eebc4e5.jpg","text":"TemporaryFile(/tmp/multipartBody3787256290110937243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116907521,"filename":"image_05012025_23_35_02_798691_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/90c00383b0da925371e1c5694a35f383.jpg","text":"TemporaryFile(/tmp/multipartBody6484714433811679730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116907521,"filename":"image_05012025_23_34_02_524259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3a2e4de087cd6507b7c991792cd9a9b4.jpg","text":"TemporaryFile(/tmp/multipartBody7081190078022060113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116907521,"filename":"image_05012025_23_35_02_798691_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1610bdc42536381664cf4bee7137a63a.jpg","text":"TemporaryFile(/tmp/multipartBody9035086348131335887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116907521,"filename":"image_05012025_23_35_02_798691_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad6c2a56cb9a82f7ccd2a034e61ba4a5.jpg","text":"TemporaryFile(/tmp/multipartBody5233529854314464174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116907521,"filename":"image_05012025_23_34_02_524259_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a3f371a74d8ad313e8f77656b02e3d2a.jpg","text":"TemporaryFile(/tmp/multipartBody7305221320994375540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116907521,"filename":"image_05012025_23_35_02_798691_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910451","file1":"1326910450","file0":"1326910449","file4":"1326910455","file5":"1326910457","file3":"1326910453"},"map_files_photo_id_array":[{"photo_id":"1326910457","filename":"file5"},{"photo_id":"1326910451","filename":"file2"},{"photo_id":"1326910455","filename":"file4"},{"photo_id":"1326910450","filename":"file1"},{"photo_id":"1326910449","filename":"file0"},{"photo_id":"1326910453","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910455":["hashtag1","hashtag2"]},{"1326910449":["hashtag1","hashtag2"]},{"1326910457":["hashtag1","hashtag2"]},{"1326910451":["hashtag1","hashtag2"]},{"1326910450":["hashtag1","hashtag2"]},{"1326910453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910455, 1326910449, 1326910457, 1326910451, 1326910450, 1326910453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.71863794326782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:41:32.583536
SELECT 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/36/image_05012025_23_36_02_884799_0000.jpg', '/home/pi/Desktop/images/05012025/23/36/image_05012025_23_36_02_884799_0001.jpg', '/home/pi/Desktop/images/05012025/23/36/image_05012025_23_36_02_884799_0002.jpg', '/home/pi/Desktop/images/05012025/23/36/image_05012025_23_36_02_884799_0003.jpg', '/home/pi/Desktop/images/05012025/23/37/image_05012025_23_37_03_038907_0000.jpg', '/home/pi/Desktop/images/05012025/23/37/image_05012025_23_37_03_038907_0001.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/36/image_05012025_23_36_02_884799_0000.jpg
/home/pi/Desktop/images/05012025/23/36/image_05012025_23_36_02_884799_0001.jpg
/home/pi/Desktop/images/05012025/23/36/image_05012025_23_36_02_884799_0002.jpg
/home/pi/Desktop/images/05012025/23/36/image_05012025_23_36_02_884799_0003.jpg
/home/pi/Desktop/images/05012025/23/37/image_05012025_23_37_03_038907_0000.jpg
/home/pi/Desktop/images/05012025/23/37/image_05012025_23_37_03_038907_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":["1326910461","1326910464","1326910467","1326910469","1326910463","1326910462"],"photo_ids_order":["1326910461","1326910462","1326910463","1326910464","1326910467","1326910469"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e0d9dd1c695eac665ceee432743d8959.jpg","text":"TemporaryFile(/tmp/multipartBody491737822807216049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116967366,"filename":"image_05012025_23_36_02_884799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d30cd3be1ecfc94a63abac645d1d2836.jpg","text":"TemporaryFile(/tmp/multipartBody3166063144162619190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116967366,"filename":"image_05012025_23_36_02_884799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dd5fc6ec32de00c365098a72ef00d391.jpg","text":"TemporaryFile(/tmp/multipartBody7613242588017451210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116967366,"filename":"image_05012025_23_37_03_038907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3bef1e1dcddb273889d0382ba5bf79d5.jpg","text":"TemporaryFile(/tmp/multipartBody1250436321909692667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116967366,"filename":"image_05012025_23_37_03_038907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/f9a5deb8b1e0008ad8fb4a127e4fc773.jpg","text":"TemporaryFile(/tmp/multipartBody620606737330682070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116967366,"filename":"image_05012025_23_36_02_884799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9fdbf7c71fdabc4cd830284d11480b5e.jpg","text":"TemporaryFile(/tmp/multipartBody1460314895478722981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736116967366,"filename":"image_05012025_23_36_02_884799_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910463","file1":"1326910462","file0":"1326910461","file4":"1326910467","file5":"1326910469","file3":"1326910464"},"map_files_photo_id_array":[{"photo_id":"1326910469","filename":"file5"},{"photo_id":"1326910463","filename":"file2"},{"photo_id":"1326910467","filename":"file4"},{"photo_id":"1326910462","filename":"file1"},{"photo_id":"1326910461","filename":"file0"},{"photo_id":"1326910464","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910461":["hashtag1","hashtag2"]},{"1326910464":["hashtag1","hashtag2"]},{"1326910467":["hashtag1","hashtag2"]},{"1326910469":["hashtag1","hashtag2"]},{"1326910463":["hashtag1","hashtag2"]},{"1326910462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910461, 1326910464, 1326910467, 1326910469, 1326910463, 1326910462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.122156620025635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 23:42:41.802864
SELECT 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/37/image_05012025_23_37_03_038907_0002.jpg', '/home/pi/Desktop/images/05012025/23/37/image_05012025_23_37_03_038907_0003.jpg', '/home/pi/Desktop/images/05012025/23/38/image_05012025_23_38_02_221643_0000.jpg', '/home/pi/Desktop/images/05012025/23/38/image_05012025_23_38_02_221643_0001.jpg', '/home/pi/Desktop/images/05012025/23/38/image_05012025_23_38_02_221643_0002.jpg', '/home/pi/Desktop/images/05012025/23/38/image_05012025_23_38_02_221643_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/37/image_05012025_23_37_03_038907_0002.jpg
/home/pi/Desktop/images/05012025/23/37/image_05012025_23_37_03_038907_0003.jpg
/home/pi/Desktop/images/05012025/23/38/image_05012025_23_38_02_221643_0000.jpg
/home/pi/Desktop/images/05012025/23/38/image_05012025_23_38_02_221643_0001.jpg
/home/pi/Desktop/images/05012025/23/38/image_05012025_23_38_02_221643_0002.jpg
/home/pi/Desktop/images/05012025/23/38/image_05012025_23_38_02_221643_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":["1326910482","1326910476","1326910473","1326910478","1326910480","1326910474"],"photo_ids_order":["1326910473","1326910474","1326910476","1326910478","1326910480","1326910482"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d4d08a7928cb785131a5c1d62a0f6946.jpg","text":"TemporaryFile(/tmp/multipartBody9189383561976290856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117036660,"filename":"image_05012025_23_38_02_221643_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d88dc2422192acd356cbe7eab52818fd.jpg","text":"TemporaryFile(/tmp/multipartBody8055558025125665577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117036660,"filename":"image_05012025_23_38_02_221643_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c5ceeffe2b09e28683e6f4264ebb429e.jpg","text":"TemporaryFile(/tmp/multipartBody3568128352331495383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117036660,"filename":"image_05012025_23_37_03_038907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/dba4a34fd129fd9d8d44f4c456827944.jpg","text":"TemporaryFile(/tmp/multipartBody9768603255813992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117036660,"filename":"image_05012025_23_38_02_221643_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d7b8841085abf8e9fb7efcd343093224.jpg","text":"TemporaryFile(/tmp/multipartBody4517932903172699722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117036660,"filename":"image_05012025_23_38_02_221643_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/caf926752a60ee2e6be59ede20108f5c.jpg","text":"TemporaryFile(/tmp/multipartBody1721331931851506751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117036660,"filename":"image_05012025_23_37_03_038907_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910476","file1":"1326910474","file0":"1326910473","file4":"1326910480","file5":"1326910482","file3":"1326910478"},"map_files_photo_id_array":[{"photo_id":"1326910482","filename":"file5"},{"photo_id":"1326910476","filename":"file2"},{"photo_id":"1326910480","filename":"file4"},{"photo_id":"1326910474","filename":"file1"},{"photo_id":"1326910473","filename":"file0"},{"photo_id":"1326910478","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910482":["hashtag1","hashtag2"]},{"1326910476":["hashtag1","hashtag2"]},{"1326910473":["hashtag1","hashtag2"]},{"1326910478":["hashtag1","hashtag2"]},{"1326910480":["hashtag1","hashtag2"]},{"1326910474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910482, 1326910476, 1326910473, 1326910478, 1326910480, 1326910474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.85737705230713 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 23:43:42.022773
SELECT 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/39/image_05012025_23_39_02_350240_0000.jpg', '/home/pi/Desktop/images/05012025/23/39/image_05012025_23_39_02_350240_0001.jpg', '/home/pi/Desktop/images/05012025/23/39/image_05012025_23_39_02_350240_0002.jpg', '/home/pi/Desktop/images/05012025/23/39/image_05012025_23_39_02_350240_0003.jpg', '/home/pi/Desktop/images/05012025/23/40/image_05012025_23_40_02_561391_0000.jpg', '/home/pi/Desktop/images/05012025/23/40/image_05012025_23_40_02_561391_0001.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/39/image_05012025_23_39_02_350240_0000.jpg
/home/pi/Desktop/images/05012025/23/39/image_05012025_23_39_02_350240_0001.jpg
/home/pi/Desktop/images/05012025/23/39/image_05012025_23_39_02_350240_0002.jpg
/home/pi/Desktop/images/05012025/23/39/image_05012025_23_39_02_350240_0003.jpg
/home/pi/Desktop/images/05012025/23/40/image_05012025_23_40_02_561391_0000.jpg
/home/pi/Desktop/images/05012025/23/40/image_05012025_23_40_02_561391_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":["1326910491","1326910485","1326910499","1326910503","1326910487","1326910495"],"photo_ids_order":["1326910485","1326910487","1326910491","1326910495","1326910499","1326910503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/85ecfe33e76616c735cc40a49c3b4234.jpg","text":"TemporaryFile(/tmp/multipartBody6113407286995867823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117097116,"filename":"image_05012025_23_39_02_350240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7f51965fa3424392dfb67fca782cea6c.jpg","text":"TemporaryFile(/tmp/multipartBody1280731351713828825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117097116,"filename":"image_05012025_23_39_02_350240_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7657f7f019f6183252814ae949c50ef1.jpg","text":"TemporaryFile(/tmp/multipartBody194171801073129444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117097116,"filename":"image_05012025_23_40_02_561391_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/426cc086f40618100a8ac809fdd25295.jpg","text":"TemporaryFile(/tmp/multipartBody2759673755399071176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117097116,"filename":"image_05012025_23_40_02_561391_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/53fe9987bcf9e6f1e64529b146e472ff.jpg","text":"TemporaryFile(/tmp/multipartBody3828935075747380698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117097116,"filename":"image_05012025_23_39_02_350240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5014aa480f486560f9e34133cccd061c.jpg","text":"TemporaryFile(/tmp/multipartBody934039637328746575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117097116,"filename":"image_05012025_23_39_02_350240_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910491","file1":"1326910487","file0":"1326910485","file4":"1326910499","file5":"1326910503","file3":"1326910495"},"map_files_photo_id_array":[{"photo_id":"1326910503","filename":"file5"},{"photo_id":"1326910491","filename":"file2"},{"photo_id":"1326910499","filename":"file4"},{"photo_id":"1326910487","filename":"file1"},{"photo_id":"1326910485","filename":"file0"},{"photo_id":"1326910495","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910491":["hashtag1","hashtag2"]},{"1326910485":["hashtag1","hashtag2"]},{"1326910499":["hashtag1","hashtag2"]},{"1326910503":["hashtag1","hashtag2"]},{"1326910487":["hashtag1","hashtag2"]},{"1326910495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910491, 1326910485, 1326910499, 1326910503, 1326910487, 1326910495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.49801158905029 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 23:44:42.240252
SELECT 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/40/image_05012025_23_40_02_561391_0002.jpg', '/home/pi/Desktop/images/05012025/23/40/image_05012025_23_40_02_561391_0003.jpg', '/home/pi/Desktop/images/05012025/23/41/image_05012025_23_41_02_759799_0000.jpg', '/home/pi/Desktop/images/05012025/23/41/image_05012025_23_41_02_759799_0001.jpg', '/home/pi/Desktop/images/05012025/23/41/image_05012025_23_41_02_759799_0003.jpg', '/home/pi/Desktop/images/05012025/23/42/image_05012025_23_42_02_970623_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/40/image_05012025_23_40_02_561391_0002.jpg
/home/pi/Desktop/images/05012025/23/40/image_05012025_23_40_02_561391_0003.jpg
/home/pi/Desktop/images/05012025/23/41/image_05012025_23_41_02_759799_0000.jpg
/home/pi/Desktop/images/05012025/23/41/image_05012025_23_41_02_759799_0001.jpg
/home/pi/Desktop/images/05012025/23/41/image_05012025_23_41_02_759799_0003.jpg
/home/pi/Desktop/images/05012025/23/42/image_05012025_23_42_02_970623_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":["1326910516","1326910507","1326910509","1326910518","1326910520","1326910513"],"photo_ids_order":["1326910507","1326910509","1326910513","1326910516","1326910518","1326910520"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/077267354535d0ae2d50f79d785dc748.jpg","text":"TemporaryFile(/tmp/multipartBody1446776558578987688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117157292,"filename":"image_05012025_23_41_02_759799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5d6355828d3dc6255469f5f0f7536de8.jpg","text":"TemporaryFile(/tmp/multipartBody320818004740484162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117157292,"filename":"image_05012025_23_40_02_561391_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cd740366a103eebe0e4c7db4127268d7.jpg","text":"TemporaryFile(/tmp/multipartBody3306630531866298092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117157292,"filename":"image_05012025_23_40_02_561391_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/bb833774407c1c63ab9c89b4036adcbd.jpg","text":"TemporaryFile(/tmp/multipartBody2621597818901437486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117157292,"filename":"image_05012025_23_41_02_759799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e2e0955fad7b91fe2ba8ae6c22a78477.jpg","text":"TemporaryFile(/tmp/multipartBody612674016062857975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117157292,"filename":"image_05012025_23_42_02_970623_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0b0000e3d8f94a552c059b911c15272f.jpg","text":"TemporaryFile(/tmp/multipartBody2459954771859176016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117157292,"filename":"image_05012025_23_41_02_759799_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910513","file1":"1326910509","file0":"1326910507","file4":"1326910518","file5":"1326910520","file3":"1326910516"},"map_files_photo_id_array":[{"photo_id":"1326910520","filename":"file5"},{"photo_id":"1326910513","filename":"file2"},{"photo_id":"1326910518","filename":"file4"},{"photo_id":"1326910509","filename":"file1"},{"photo_id":"1326910507","filename":"file0"},{"photo_id":"1326910516","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910516":["hashtag1","hashtag2"]},{"1326910507":["hashtag1","hashtag2"]},{"1326910509":["hashtag1","hashtag2"]},{"1326910518":["hashtag1","hashtag2"]},{"1326910520":["hashtag1","hashtag2"]},{"1326910513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910516, 1326910507, 1326910509, 1326910518, 1326910520, 1326910513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.203423500061035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 23:45:42.406346
SELECT 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/42/image_05012025_23_42_02_970623_0001.jpg', '/home/pi/Desktop/images/05012025/23/42/image_05012025_23_42_02_970623_0002.jpg', '/home/pi/Desktop/images/05012025/23/42/image_05012025_23_42_02_970623_0003.jpg', '/home/pi/Desktop/images/05012025/23/43/image_05012025_23_43_02_151279_0000.jpg', '/home/pi/Desktop/images/05012025/23/43/image_05012025_23_43_02_151279_0001.jpg', '/home/pi/Desktop/images/05012025/23/43/image_05012025_23_43_02_151279_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/42/image_05012025_23_42_02_970623_0001.jpg
/home/pi/Desktop/images/05012025/23/42/image_05012025_23_42_02_970623_0002.jpg
/home/pi/Desktop/images/05012025/23/42/image_05012025_23_42_02_970623_0003.jpg
/home/pi/Desktop/images/05012025/23/43/image_05012025_23_43_02_151279_0000.jpg
/home/pi/Desktop/images/05012025/23/43/image_05012025_23_43_02_151279_0001.jpg
/home/pi/Desktop/images/05012025/23/43/image_05012025_23_43_02_151279_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326910543","1326910545","1326910539","1326910536","1326910529","1326910532"],"photo_ids_order":["1326910529","1326910532","1326910536","1326910539","1326910543","1326910545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1caa625333bc13d878386ea5bdddc5fa.jpg","text":"TemporaryFile(/tmp/multipartBody7556424689028226242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117217508,"filename":"image_05012025_23_43_02_151279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b18a8440fa281f784eb7668a7c0af06d.jpg","text":"TemporaryFile(/tmp/multipartBody6041988035664351617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117217508,"filename":"image_05012025_23_43_02_151279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ebfdc3742de3cbb2645b926cb222e0d1.jpg","text":"TemporaryFile(/tmp/multipartBody6145535595736976163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117217508,"filename":"image_05012025_23_43_02_151279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e884a567ff97410360f94975887f501f.jpg","text":"TemporaryFile(/tmp/multipartBody126551622176084165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117217508,"filename":"image_05012025_23_42_02_970623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b91010135461ede6604129aa57918e2c.jpg","text":"TemporaryFile(/tmp/multipartBody8292932268110558119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117217508,"filename":"image_05012025_23_42_02_970623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3a305e5d65cad2ee91cd0749826331c2.jpg","text":"TemporaryFile(/tmp/multipartBody1006318760719048016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117217508,"filename":"image_05012025_23_42_02_970623_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910536","file1":"1326910532","file0":"1326910529","file4":"1326910543","file5":"1326910545","file3":"1326910539"},"map_files_photo_id_array":[{"photo_id":"1326910545","filename":"file5"},{"photo_id":"1326910536","filename":"file2"},{"photo_id":"1326910543","filename":"file4"},{"photo_id":"1326910532","filename":"file1"},{"photo_id":"1326910529","filename":"file0"},{"photo_id":"1326910539","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910543":["hashtag1","hashtag2"]},{"1326910545":["hashtag1","hashtag2"]},{"1326910539":["hashtag1","hashtag2"]},{"1326910536":["hashtag1","hashtag2"]},{"1326910529":["hashtag1","hashtag2"]},{"1326910532":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910543, 1326910545, 1326910539, 1326910536, 1326910529, 1326910532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.978744983673096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 23:46:42.663862
SELECT 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/43/image_05012025_23_43_02_151279_0003.jpg', '/home/pi/Desktop/images/05012025/23/44/image_05012025_23_44_02_399088_0000.jpg', '/home/pi/Desktop/images/05012025/23/44/image_05012025_23_44_02_399088_0001.jpg', '/home/pi/Desktop/images/05012025/23/44/image_05012025_23_44_02_399088_0002.jpg', '/home/pi/Desktop/images/05012025/23/44/image_05012025_23_44_02_399088_0003.jpg', '/home/pi/Desktop/images/05012025/23/45/image_05012025_23_45_02_543488_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/43/image_05012025_23_43_02_151279_0003.jpg
/home/pi/Desktop/images/05012025/23/44/image_05012025_23_44_02_399088_0000.jpg
/home/pi/Desktop/images/05012025/23/44/image_05012025_23_44_02_399088_0001.jpg
/home/pi/Desktop/images/05012025/23/44/image_05012025_23_44_02_399088_0002.jpg
/home/pi/Desktop/images/05012025/23/44/image_05012025_23_44_02_399088_0003.jpg
/home/pi/Desktop/images/05012025/23/45/image_05012025_23_45_02_543488_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":["1326910563","1326910557","1326910554","1326910562","1326910550","1326910561"],"photo_ids_order":["1326910550","1326910554","1326910557","1326910561","1326910562","1326910563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/94315d72e78d2e3d06478b63f97d83a5.jpg","text":"TemporaryFile(/tmp/multipartBody2512803746112486673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117277617,"filename":"image_05012025_23_45_02_543488_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/633b65744deab1eb573521d71acfd4d9.jpg","text":"TemporaryFile(/tmp/multipartBody8422662912582858220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117277617,"filename":"image_05012025_23_44_02_399088_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/cca59cd0bea7f613a15ffe38add924ce.jpg","text":"TemporaryFile(/tmp/multipartBody3138677107220712908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117277617,"filename":"image_05012025_23_44_02_399088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/1bbcef78615038cd53e0021074dd3208.jpg","text":"TemporaryFile(/tmp/multipartBody1952567113139773707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117277617,"filename":"image_05012025_23_44_02_399088_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ab5a34b4bfc4c2cf540ef7a514d388cf.jpg","text":"TemporaryFile(/tmp/multipartBody7981466109165295165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117277617,"filename":"image_05012025_23_43_02_151279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a157c3c3534b75e1da5e9d3fdf159657.jpg","text":"TemporaryFile(/tmp/multipartBody4963275421060617910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117277617,"filename":"image_05012025_23_44_02_399088_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910557","file1":"1326910554","file0":"1326910550","file4":"1326910562","file5":"1326910563","file3":"1326910561"},"map_files_photo_id_array":[{"photo_id":"1326910563","filename":"file5"},{"photo_id":"1326910557","filename":"file2"},{"photo_id":"1326910562","filename":"file4"},{"photo_id":"1326910554","filename":"file1"},{"photo_id":"1326910550","filename":"file0"},{"photo_id":"1326910561","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910563":["hashtag1","hashtag2"]},{"1326910557":["hashtag1","hashtag2"]},{"1326910554":["hashtag1","hashtag2"]},{"1326910562":["hashtag1","hashtag2"]},{"1326910550":["hashtag1","hashtag2"]},{"1326910561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910563, 1326910557, 1326910554, 1326910562, 1326910550, 1326910561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.312965631484985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 23:47:41.793983
SELECT 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/45/image_05012025_23_45_02_543488_0001.jpg', '/home/pi/Desktop/images/05012025/23/45/image_05012025_23_45_02_543488_0002.jpg', '/home/pi/Desktop/images/05012025/23/45/image_05012025_23_45_02_543488_0003.jpg', '/home/pi/Desktop/images/05012025/23/46/image_05012025_23_46_02_802619_0000.jpg', '/home/pi/Desktop/images/05012025/23/46/image_05012025_23_46_02_802619_0001.jpg', '/home/pi/Desktop/images/05012025/23/46/image_05012025_23_46_02_802619_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/45/image_05012025_23_45_02_543488_0001.jpg
/home/pi/Desktop/images/05012025/23/45/image_05012025_23_45_02_543488_0002.jpg
/home/pi/Desktop/images/05012025/23/45/image_05012025_23_45_02_543488_0003.jpg
/home/pi/Desktop/images/05012025/23/46/image_05012025_23_46_02_802619_0000.jpg
/home/pi/Desktop/images/05012025/23/46/image_05012025_23_46_02_802619_0001.jpg
/home/pi/Desktop/images/05012025/23/46/image_05012025_23_46_02_802619_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326910575","1326910586","1326910580","1326910577","1326910582","1326910573"],"photo_ids_order":["1326910573","1326910575","1326910577","1326910580","1326910582","1326910586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b675ad1a10de11df117c6e3e849eea14.jpg","text":"TemporaryFile(/tmp/multipartBody3543990982247502617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117336758,"filename":"image_05012025_23_45_02_543488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2c1e03220edb9ef376e14b3d150d3770.jpg","text":"TemporaryFile(/tmp/multipartBody6585459462949955915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117336758,"filename":"image_05012025_23_46_02_802619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6ffe8a8c12dedbacc8a09ec022810ffd.jpg","text":"TemporaryFile(/tmp/multipartBody5903327354115682581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117336758,"filename":"image_05012025_23_46_02_802619_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/83455c6226e6bafb50774d817d7baade.jpg","text":"TemporaryFile(/tmp/multipartBody4910134463857293999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117336758,"filename":"image_05012025_23_45_02_543488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b4741f82c3b9637fa34a5b05caafb4fa.jpg","text":"TemporaryFile(/tmp/multipartBody4014041598083883934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117336758,"filename":"image_05012025_23_46_02_802619_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/82293838e5a6f384737d4f298f685511.jpg","text":"TemporaryFile(/tmp/multipartBody2031547221859163333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117336758,"filename":"image_05012025_23_45_02_543488_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910577","file1":"1326910575","file0":"1326910573","file4":"1326910582","file5":"1326910586","file3":"1326910580"},"map_files_photo_id_array":[{"photo_id":"1326910586","filename":"file5"},{"photo_id":"1326910577","filename":"file2"},{"photo_id":"1326910582","filename":"file4"},{"photo_id":"1326910575","filename":"file1"},{"photo_id":"1326910573","filename":"file0"},{"photo_id":"1326910580","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910575":["hashtag1","hashtag2"]},{"1326910586":["hashtag1","hashtag2"]},{"1326910580":["hashtag1","hashtag2"]},{"1326910577":["hashtag1","hashtag2"]},{"1326910582":["hashtag1","hashtag2"]},{"1326910573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910575, 1326910586, 1326910580, 1326910577, 1326910582, 1326910573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.929006814956665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 23:48:41.994644
SELECT 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/46/image_05012025_23_46_02_802619_0003.jpg', '/home/pi/Desktop/images/05012025/23/47/image_05012025_23_47_02_996600_0000.jpg', '/home/pi/Desktop/images/05012025/23/47/image_05012025_23_47_02_996600_0001.jpg', '/home/pi/Desktop/images/05012025/23/47/image_05012025_23_47_02_996600_0002.jpg', '/home/pi/Desktop/images/05012025/23/47/image_05012025_23_47_02_996600_0003.jpg', '/home/pi/Desktop/images/05012025/23/48/image_05012025_23_48_02_255476_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/46/image_05012025_23_46_02_802619_0003.jpg
/home/pi/Desktop/images/05012025/23/47/image_05012025_23_47_02_996600_0000.jpg
/home/pi/Desktop/images/05012025/23/47/image_05012025_23_47_02_996600_0001.jpg
/home/pi/Desktop/images/05012025/23/47/image_05012025_23_47_02_996600_0002.jpg
/home/pi/Desktop/images/05012025/23/47/image_05012025_23_47_02_996600_0003.jpg
/home/pi/Desktop/images/05012025/23/48/image_05012025_23_48_02_255476_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":["1326910608","1326910598","1326910616","1326910604","1326910594","1326910612"],"photo_ids_order":["1326910594","1326910598","1326910604","1326910608","1326910612","1326910616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/596731d59d26ebf67523ec87af7fc37f.jpg","text":"TemporaryFile(/tmp/multipartBody3781890879416378327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117396877,"filename":"image_05012025_23_47_02_996600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/6529bc9aba2be42fff7b2321489c8f93.jpg","text":"TemporaryFile(/tmp/multipartBody3669897648988408197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117396877,"filename":"image_05012025_23_47_02_996600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5588042a9061a052d6c641b97784d425.jpg","text":"TemporaryFile(/tmp/multipartBody4515105239629241465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117396877,"filename":"image_05012025_23_48_02_255476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3be10470aa4ed2e521fea9e52167345b.jpg","text":"TemporaryFile(/tmp/multipartBody9062048639384864431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117396877,"filename":"image_05012025_23_47_02_996600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ca8c9d8b7bba05b42dbd94875cde963d.jpg","text":"TemporaryFile(/tmp/multipartBody4644199042982586698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117396877,"filename":"image_05012025_23_46_02_802619_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/9045a1db0ae48a70436a4859a26d523e.jpg","text":"TemporaryFile(/tmp/multipartBody8706254974661166283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117396877,"filename":"image_05012025_23_47_02_996600_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910604","file1":"1326910598","file0":"1326910594","file4":"1326910612","file5":"1326910616","file3":"1326910608"},"map_files_photo_id_array":[{"photo_id":"1326910616","filename":"file5"},{"photo_id":"1326910604","filename":"file2"},{"photo_id":"1326910612","filename":"file4"},{"photo_id":"1326910598","filename":"file1"},{"photo_id":"1326910594","filename":"file0"},{"photo_id":"1326910608","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910608":["hashtag1","hashtag2"]},{"1326910598":["hashtag1","hashtag2"]},{"1326910616":["hashtag1","hashtag2"]},{"1326910604":["hashtag1","hashtag2"]},{"1326910594":["hashtag1","hashtag2"]},{"1326910612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910608, 1326910598, 1326910616, 1326910604, 1326910594, 1326910612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.82130742073059 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 23:49:42.161278
SELECT 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/48/image_05012025_23_48_02_255476_0001.jpg', '/home/pi/Desktop/images/05012025/23/48/image_05012025_23_48_02_255476_0002.jpg', '/home/pi/Desktop/images/05012025/23/48/image_05012025_23_48_02_255476_0003.jpg', '/home/pi/Desktop/images/05012025/23/49/image_05012025_23_49_02_371926_0000.jpg', '/home/pi/Desktop/images/05012025/23/49/image_05012025_23_49_02_371926_0001.jpg', '/home/pi/Desktop/images/05012025/23/49/image_05012025_23_49_02_371926_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/48/image_05012025_23_48_02_255476_0001.jpg
/home/pi/Desktop/images/05012025/23/48/image_05012025_23_48_02_255476_0002.jpg
/home/pi/Desktop/images/05012025/23/48/image_05012025_23_48_02_255476_0003.jpg
/home/pi/Desktop/images/05012025/23/49/image_05012025_23_49_02_371926_0000.jpg
/home/pi/Desktop/images/05012025/23/49/image_05012025_23_49_02_371926_0001.jpg
/home/pi/Desktop/images/05012025/23/49/image_05012025_23_49_02_371926_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326910636","1326910621","1326910624","1326910634","1326910631","1326910627"],"photo_ids_order":["1326910621","1326910624","1326910627","1326910631","1326910634","1326910636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/da626a17a135a1b418e18260478be839.jpg","text":"TemporaryFile(/tmp/multipartBody3226183604328081116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117457099,"filename":"image_05012025_23_49_02_371926_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5c48ef7dcbb5f1c356832ee7c9cb448b.jpg","text":"TemporaryFile(/tmp/multipartBody7400364884477449254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117457099,"filename":"image_05012025_23_48_02_255476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/06ba05b7053b83f59dcc5fc0b7212d92.jpg","text":"TemporaryFile(/tmp/multipartBody6395583989104307983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117457099,"filename":"image_05012025_23_48_02_255476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e8bdf38458fb2d014b5e3fe998a1cd82.jpg","text":"TemporaryFile(/tmp/multipartBody79900783323081362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117457099,"filename":"image_05012025_23_49_02_371926_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d64514216d97f586f9788df55a6f6371.jpg","text":"TemporaryFile(/tmp/multipartBody1529324654180783910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117457099,"filename":"image_05012025_23_49_02_371926_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/880b20123e57351c8e413dfbe966c36c.jpg","text":"TemporaryFile(/tmp/multipartBody2837462416074742118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117457099,"filename":"image_05012025_23_48_02_255476_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910627","file1":"1326910624","file0":"1326910621","file4":"1326910634","file5":"1326910636","file3":"1326910631"},"map_files_photo_id_array":[{"photo_id":"1326910636","filename":"file5"},{"photo_id":"1326910627","filename":"file2"},{"photo_id":"1326910634","filename":"file4"},{"photo_id":"1326910624","filename":"file1"},{"photo_id":"1326910621","filename":"file0"},{"photo_id":"1326910631","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910636":["hashtag1","hashtag2"]},{"1326910621":["hashtag1","hashtag2"]},{"1326910624":["hashtag1","hashtag2"]},{"1326910634":["hashtag1","hashtag2"]},{"1326910631":["hashtag1","hashtag2"]},{"1326910627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910636, 1326910621, 1326910624, 1326910634, 1326910631, 1326910627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.44478988647461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 23:50:42.320534
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/23/49/image_05012025_23_49_02_371926_0003.jpg', '/home/pi/Desktop/images/05012025/23/50/image_05012025_23_50_02_502406_0000.jpg', '/home/pi/Desktop/images/05012025/23/50/image_05012025_23_50_02_502406_0001.jpg', '/home/pi/Desktop/images/05012025/23/50/image_05012025_23_50_02_502406_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/49/image_05012025_23_49_02_371926_0003.jpg
/home/pi/Desktop/images/05012025/23/50/image_05012025_23_50_02_502406_0000.jpg
/home/pi/Desktop/images/05012025/23/50/image_05012025_23_50_02_502406_0001.jpg
/home/pi/Desktop/images/05012025/23/50/image_05012025_23_50_02_502406_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.774020910263062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 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:51:03.088911
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/23/49/image_05012025_23_49_02_371926_0003.jpg', '/home/pi/Desktop/images/05012025/23/50/image_05012025_23_50_02_502406_0000.jpg', '/home/pi/Desktop/images/05012025/23/50/image_05012025_23_50_02_502406_0001.jpg', '/home/pi/Desktop/images/05012025/23/50/image_05012025_23_50_02_502406_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/49/image_05012025_23_49_02_371926_0003.jpg
/home/pi/Desktop/images/05012025/23/50/image_05012025_23_50_02_502406_0000.jpg
/home/pi/Desktop/images/05012025/23/50/image_05012025_23_50_02_502406_0001.jpg
/home/pi/Desktop/images/05012025/23/50/image_05012025_23_50_02_502406_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326910656","1326910659","1326910661","1326910654"],"photo_ids_order":["1326910654","1326910656","1326910659","1326910661"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7fd49d19090519d940c72d5394a4aa7e.jpg","text":"TemporaryFile(/tmp/multipartBody8110769871608996268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117533341,"filename":"image_05012025_23_50_02_502406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/41814293cbe58f0d62f9ab0f8721dec4.jpg","text":"TemporaryFile(/tmp/multipartBody413117092152381762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117533341,"filename":"image_05012025_23_50_02_502406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/026835c3b065908c1e5e4e0bc987e12a.jpg","text":"TemporaryFile(/tmp/multipartBody8128442828330566132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117533341,"filename":"image_05012025_23_50_02_502406_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/afb7fb51b7991175064c7005174a27c2.jpg","text":"TemporaryFile(/tmp/multipartBody5202817786446871628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117533341,"filename":"image_05012025_23_49_02_371926_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910659","file1":"1326910656","file0":"1326910654","file3":"1326910661"},"map_files_photo_id_array":[{"photo_id":"1326910659","filename":"file2"},{"photo_id":"1326910656","filename":"file1"},{"photo_id":"1326910654","filename":"file0"},{"photo_id":"1326910661","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910656":["hashtag1","hashtag2"]},{"1326910659":["hashtag1","hashtag2"]},{"1326910661":["hashtag1","hashtag2"]},{"1326910654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910656, 1326910659, 1326910661, 1326910654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.54745936393738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:51:52.398294
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/23/50/image_05012025_23_50_02_502406_0003.jpg', '/home/pi/Desktop/images/05012025/23/51/image_05012025_23_51_02_598854_0000.jpg', '/home/pi/Desktop/images/05012025/23/51/image_05012025_23_51_02_598854_0001.jpg', '/home/pi/Desktop/images/05012025/23/51/image_05012025_23_51_02_598854_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/50/image_05012025_23_50_02_502406_0003.jpg
/home/pi/Desktop/images/05012025/23/51/image_05012025_23_51_02_598854_0000.jpg
/home/pi/Desktop/images/05012025/23/51/image_05012025_23_51_02_598854_0001.jpg
/home/pi/Desktop/images/05012025/23/51/image_05012025_23_51_02_598854_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":["1326910674","1326910677","1326910671","1326910669"],"photo_ids_order":["1326910669","1326910671","1326910674","1326910677"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/0425cef2018a5ae6dd537cf03c0199de.jpg","text":"TemporaryFile(/tmp/multipartBody2368527869578329494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117582564,"filename":"image_05012025_23_51_02_598854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d4c3f4a1407e5cb9032c8b7cdc7b27d1.jpg","text":"TemporaryFile(/tmp/multipartBody806992399523379855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117582564,"filename":"image_05012025_23_51_02_598854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/deb55d15bcd2f8b41411a45c7471a7c1.jpg","text":"TemporaryFile(/tmp/multipartBody7060358501548144226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117582564,"filename":"image_05012025_23_51_02_598854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7a6b16c65d82585b058316dde1f81d2a.jpg","text":"TemporaryFile(/tmp/multipartBody4491342108673920026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117582564,"filename":"image_05012025_23_50_02_502406_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910674","file1":"1326910671","file0":"1326910669","file3":"1326910677"},"map_files_photo_id_array":[{"photo_id":"1326910674","filename":"file2"},{"photo_id":"1326910671","filename":"file1"},{"photo_id":"1326910669","filename":"file0"},{"photo_id":"1326910677","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910674":["hashtag1","hashtag2"]},{"1326910677":["hashtag1","hashtag2"]},{"1326910671":["hashtag1","hashtag2"]},{"1326910669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910674, 1326910677, 1326910671, 1326910669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.38897895812988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-05 23:52:32.535000
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/23/51/image_05012025_23_51_02_598854_0003.jpg', '/home/pi/Desktop/images/05012025/23/52/image_05012025_23_52_02_842503_0000.jpg', '/home/pi/Desktop/images/05012025/23/52/image_05012025_23_52_02_842503_0001.jpg', '/home/pi/Desktop/images/05012025/23/52/image_05012025_23_52_02_842503_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/51/image_05012025_23_51_02_598854_0003.jpg
/home/pi/Desktop/images/05012025/23/52/image_05012025_23_52_02_842503_0000.jpg
/home/pi/Desktop/images/05012025/23/52/image_05012025_23_52_02_842503_0001.jpg
/home/pi/Desktop/images/05012025/23/52/image_05012025_23_52_02_842503_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326910689","1326910691","1326910685","1326910687"],"photo_ids_order":["1326910685","1326910687","1326910689","1326910691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/09da76ad7eba75c10c4ce805b655458a.jpg","text":"TemporaryFile(/tmp/multipartBody3295338803944115962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117622626,"filename":"image_05012025_23_52_02_842503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/c382bffd55d91e76f56444a506e19bf7.jpg","text":"TemporaryFile(/tmp/multipartBody2369049560843648291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117622626,"filename":"image_05012025_23_52_02_842503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/01028dd12a0799bff7cf886a921a17ab.jpg","text":"TemporaryFile(/tmp/multipartBody5404416060982221855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117622626,"filename":"image_05012025_23_51_02_598854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/36afb991ae09647409eead146603a3dd.jpg","text":"TemporaryFile(/tmp/multipartBody2794228042608399969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117622626,"filename":"image_05012025_23_52_02_842503_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910689","file1":"1326910687","file0":"1326910685","file3":"1326910691"},"map_files_photo_id_array":[{"photo_id":"1326910689","filename":"file2"},{"photo_id":"1326910687","filename":"file1"},{"photo_id":"1326910685","filename":"file0"},{"photo_id":"1326910691","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910689":["hashtag1","hashtag2"]},{"1326910691":["hashtag1","hashtag2"]},{"1326910685":["hashtag1","hashtag2"]},{"1326910687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910689, 1326910691, 1326910685, 1326910687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.24564456939697 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:53:22.749185
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/23/52/image_05012025_23_52_02_842503_0003.jpg', '/home/pi/Desktop/images/05012025/23/53/image_05012025_23_53_02_973821_0000.jpg', '/home/pi/Desktop/images/05012025/23/53/image_05012025_23_53_02_973821_0001.jpg', '/home/pi/Desktop/images/05012025/23/53/image_05012025_23_53_02_973821_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/52/image_05012025_23_52_02_842503_0003.jpg
/home/pi/Desktop/images/05012025/23/53/image_05012025_23_53_02_973821_0000.jpg
/home/pi/Desktop/images/05012025/23/53/image_05012025_23_53_02_973821_0001.jpg
/home/pi/Desktop/images/05012025/23/53/image_05012025_23_53_02_973821_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326910698","1326910695","1326910700","1326910696"],"photo_ids_order":["1326910695","1326910696","1326910698","1326910700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ed2f89c6a7a4fb2a83b3bb2d132e9bad.jpg","text":"TemporaryFile(/tmp/multipartBody7388866166619418564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117672933,"filename":"image_05012025_23_53_02_973821_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/82f57b87dedbae644cad4c313f5e95aa.jpg","text":"TemporaryFile(/tmp/multipartBody5820694119464168579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117672933,"filename":"image_05012025_23_52_02_842503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/5f73e0b6f4e2543dacacf35b6f8ee06f.jpg","text":"TemporaryFile(/tmp/multipartBody5179877842960522867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117672933,"filename":"image_05012025_23_53_02_973821_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/7e32dc01f05d386e0b0e7490be055aa9.jpg","text":"TemporaryFile(/tmp/multipartBody8018555778373948279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117672933,"filename":"image_05012025_23_53_02_973821_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910698","file1":"1326910696","file0":"1326910695","file3":"1326910700"},"map_files_photo_id_array":[{"photo_id":"1326910698","filename":"file2"},{"photo_id":"1326910696","filename":"file1"},{"photo_id":"1326910695","filename":"file0"},{"photo_id":"1326910700","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910698":["hashtag1","hashtag2"]},{"1326910695":["hashtag1","hashtag2"]},{"1326910700":["hashtag1","hashtag2"]},{"1326910696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910698, 1326910695, 1326910700, 1326910696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.116918087005615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:54:21.923097
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/23/53/image_05012025_23_53_02_973821_0003.jpg', '/home/pi/Desktop/images/05012025/23/54/image_05012025_23_54_03_113773_0000.jpg', '/home/pi/Desktop/images/05012025/23/54/image_05012025_23_54_03_113773_0001.jpg', '/home/pi/Desktop/images/05012025/23/54/image_05012025_23_54_03_113773_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/53/image_05012025_23_53_02_973821_0003.jpg
/home/pi/Desktop/images/05012025/23/54/image_05012025_23_54_03_113773_0000.jpg
/home/pi/Desktop/images/05012025/23/54/image_05012025_23_54_03_113773_0001.jpg
/home/pi/Desktop/images/05012025/23/54/image_05012025_23_54_03_113773_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326910708","1326910705","1326910710","1326910706"],"photo_ids_order":["1326910705","1326910706","1326910708","1326910710"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ffec402a21b943686b5ff984c3f779d6.jpg","text":"TemporaryFile(/tmp/multipartBody337970223699100508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117732226,"filename":"image_05012025_23_54_03_113773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/b7efd63dad587eeb195ee0ad93568479.jpg","text":"TemporaryFile(/tmp/multipartBody3424051192811307220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117732226,"filename":"image_05012025_23_53_02_973821_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/a8c6a7a10c43f50976320e3612baca2c.jpg","text":"TemporaryFile(/tmp/multipartBody4337603080411319270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117732226,"filename":"image_05012025_23_54_03_113773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/e21baee986c4398c3d1ee89e8ef30619.jpg","text":"TemporaryFile(/tmp/multipartBody6781385259863526605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117732226,"filename":"image_05012025_23_54_03_113773_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910708","file1":"1326910706","file0":"1326910705","file3":"1326910710"},"map_files_photo_id_array":[{"photo_id":"1326910708","filename":"file2"},{"photo_id":"1326910706","filename":"file1"},{"photo_id":"1326910705","filename":"file0"},{"photo_id":"1326910710","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910708":["hashtag1","hashtag2"]},{"1326910705":["hashtag1","hashtag2"]},{"1326910710":["hashtag1","hashtag2"]},{"1326910706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910708, 1326910705, 1326910710, 1326910706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.837366342544556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:55:22.121867
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/23/54/image_05012025_23_54_03_113773_0003.jpg', '/home/pi/Desktop/images/05012025/23/55/image_05012025_23_55_02_268817_0000.jpg', '/home/pi/Desktop/images/05012025/23/55/image_05012025_23_55_02_268817_0001.jpg', '/home/pi/Desktop/images/05012025/23/55/image_05012025_23_55_02_268817_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/54/image_05012025_23_54_03_113773_0003.jpg
/home/pi/Desktop/images/05012025/23/55/image_05012025_23_55_02_268817_0000.jpg
/home/pi/Desktop/images/05012025/23/55/image_05012025_23_55_02_268817_0001.jpg
/home/pi/Desktop/images/05012025/23/55/image_05012025_23_55_02_268817_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1326910878","1326910803","1326910719","1326910852"],"photo_ids_order":["1326910719","1326910803","1326910852","1326910878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/4f19808e63767c795a6ba50991b2769e.jpg","text":"TemporaryFile(/tmp/multipartBody999374386360193426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117792424,"filename":"image_05012025_23_55_02_268817_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2d26fc9c8c3d2155f3d8677afc1dcdb7.jpg","text":"TemporaryFile(/tmp/multipartBody7806732928888654720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117792424,"filename":"image_05012025_23_55_02_268817_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/26d507b035ec6c4016dd08dca7098a2d.jpg","text":"TemporaryFile(/tmp/multipartBody4493039346614782345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117792424,"filename":"image_05012025_23_54_03_113773_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/2a325791a8acb5c31ccf46df23f57fa2.jpg","text":"TemporaryFile(/tmp/multipartBody484084963135424795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117792424,"filename":"image_05012025_23_55_02_268817_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326910852","file1":"1326910803","file0":"1326910719","file3":"1326910878"},"map_files_photo_id_array":[{"photo_id":"1326910852","filename":"file2"},{"photo_id":"1326910803","filename":"file1"},{"photo_id":"1326910719","filename":"file0"},{"photo_id":"1326910878","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326910878":["hashtag1","hashtag2"]},{"1326910803":["hashtag1","hashtag2"]},{"1326910719":["hashtag1","hashtag2"]},{"1326910852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326910878, 1326910803, 1326910719, 1326910852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.399856090545654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:56:22.269106
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/23/55/image_05012025_23_55_02_268817_0003.jpg', '/home/pi/Desktop/images/05012025/23/56/image_05012025_23_56_02_440505_0000.jpg', '/home/pi/Desktop/images/05012025/23/56/image_05012025_23_56_02_440505_0001.jpg', '/home/pi/Desktop/images/05012025/23/56/image_05012025_23_56_02_440505_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/55/image_05012025_23_55_02_268817_0003.jpg
/home/pi/Desktop/images/05012025/23/56/image_05012025_23_56_02_440505_0000.jpg
/home/pi/Desktop/images/05012025/23/56/image_05012025_23_56_02_440505_0001.jpg
/home/pi/Desktop/images/05012025/23/56/image_05012025_23_56_02_440505_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.828376531600952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /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-05 23:56:42.225002
SELECT 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 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05012025/23/55/image_05012025_23_55_02_268817_0003.jpg', '/home/pi/Desktop/images/05012025/23/56/image_05012025_23_56_02_440505_0000.jpg', '/home/pi/Desktop/images/05012025/23/56/image_05012025_23_56_02_440505_0001.jpg', '/home/pi/Desktop/images/05012025/23/56/image_05012025_23_56_02_440505_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/55/image_05012025_23_55_02_268817_0003.jpg
/home/pi/Desktop/images/05012025/23/56/image_05012025_23_56_02_440505_0000.jpg
/home/pi/Desktop/images/05012025/23/56/image_05012025_23_56_02_440505_0001.jpg
/home/pi/Desktop/images/05012025/23/56/image_05012025_23_56_02_440505_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":["1326911199","1326911157","1326910915","1326911156"],"photo_ids_order":["1326910915","1326911156","1326911157","1326911199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/8c3d1e6cea750eecee04e3cc48256fc3.jpg","text":"TemporaryFile(/tmp/multipartBody1311588678454652275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117872438,"filename":"image_05012025_23_56_02_440505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/d8c8f46fb7f54b34ce2c8a444eb0fba0.jpg","text":"TemporaryFile(/tmp/multipartBody1540951073957417331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117872438,"filename":"image_05012025_23_56_02_440505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/ad4b06b312eab5b2eae60dee44d5a01e.jpg","text":"TemporaryFile(/tmp/multipartBody3031927956441527906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117872438,"filename":"image_05012025_23_55_02_268817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/5/3dd6084323cd30d47bf1b16161cc4805.jpg","text":"TemporaryFile(/tmp/multipartBody4730724700566884527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736117872438,"filename":"image_05012025_23_56_02_440505_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1326911157","file1":"1326911156","file0":"1326910915","file3":"1326911199"},"map_files_photo_id_array":[{"photo_id":"1326911157","filename":"file2"},{"photo_id":"1326911156","filename":"file1"},{"photo_id":"1326910915","filename":"file0"},{"photo_id":"1326911199","filename":"file3"}],"portfolio_id":19417920,"hashtag_by_photo_ids":[{"1326911199":["hashtag1","hashtag2"]},{"1326911157":["hashtag1","hashtag2"]},{"1326910915":["hashtag1","hashtag2"]},{"1326911156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19417920 used, photo_id : ArrayBuffer(1326911199, 1326911157, 1326910915, 1326911156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.22894477844238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-05 23:57:22.398739
SELECT 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 4 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'] : 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
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
